Jump to content

After recording task to convert TS into MP4


itksso

Recommended Posts

After running DVBViewer in out TVSERVER for some months, our school is planning to deploy a DAM system (Digital Asset Management). This DAM system doesn't allow the streaming of TS files.

 

So I have been asked to convert our TS files, the output of our multi gigabytes HD recordings, to a more suitable format like MP4.

 

For this I have created a post recording task with the following command I found in Internet:

 

ffmpeg.exe -i "{SOURCE_FILE}" -vcodec copy -acodec "{PATH_FILENAME}.mp4"

 

The command works and our DAM system is able to import the resulting mp4 ans stream it.

 

My only worry is that when the the mp4 is streamed to full screen the the quality is not so good.

 

As I'm not really sure what the command is doing, my question is if, perhpas, there is a better command

to make the conversion from TS to MP4.

 

Link to comment

For HD recordings the best solution is -vcodec copy (the h.264 video stream is simply copied to the new video container, nothing is changed there)

But -acodec doesn't make any sense, remove it or use -acodec copy if the audio is already AAC by you channels.

 

Or replace it with -strict experimental -map 0:a -acodec aac to convert the first audio trek to AAC.

 

And you could add -metadata title="{TITLE}" -metadata description="{SUBTITLE}" -metadata comment="{CHANNEL} recorded with DVBViewer Recording Service" to include some informations in the meta data of the file. ;)

 

here is a description in German about this.

http://www.DVBViewer.tv/forum/topic/55397-automatisch-eine-mp4-aus-aufnahmen-generieren/

 

And if you don't know what a command is used for you find the explanation here:

https://www.ffmpeg.org/ffmpeg-all.html

  • Like 1
Link to comment
  • 3 years later...
On 2/3/2015 at 7:31 PM, Tjod said:

 

And you could add -metadata title="{TITLE}" -metadata description="{SUBTITLE}" -metadata comment="{CHANNEL} recorded with DVBViewer Recording Service" to include some informations in the meta data of the file. ;)

hi

is it a list for supported metadata? like: "{SUBTITLE}" , "{TITLE}"  , "{CHANNEL}" , etc ... ?

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...