Jump to content

After recording task to convert TS into MP4


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 post

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.



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


  • Like 1
Link to post
  • 3 years later...
mani tehrani
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. ;)


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

Link to post

Join the conversation

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

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.

  • Similar Content

    • AnBad
      By AnBad
      welche spezifischen Variablen können an ein zu startendes Programm (.exe, .bat) nach erfolgter Aufnahme weitergegeben werden und wie sieht das aus? {VariableXYZ} oder mit Anführungszeichen oder wie ??
      Gibt es ein Wiki?
    • AnBad
      By AnBad
      ich versuche schon eine ganze Weile eine Batch-Datei nach erfolgter Aufnahme automatisch zu starten. Mir ist schon klar, wo man im DMS die Aufgabe erstellt und dass auch die Aufgabe bei der Aufnahmeprogrammierung angeben werden muss.
      Ich bekomme die Aufgabe jedoch einfach nicht gestartet. Woran kann es liegen?
      ich habe schon die Administratorenrechte total freigegeben auf dem PC. Auch habe ich die Batch Datei in eine .exe umgewandelt. Alles erfolglos.
      hat jemand eine Lösung?
      Vielen Dank
    • ö-r-rf
      By ö-r-rf
      Gibt es beim RS eine Möglichkeit die Prozesspriorität eines per Aufgabe gestarteten Hintergrundprogramms zu beeinflussen?
      Konkret möchte ich mit Handbrake automatisch Aufnahmen in MP4 nach Abschluss einer Aufnahme transkodieren lassen und die Prozesspriorität des Handbrake-Prozesses auf Idle beschränken damit dieser das System ansonsten möglichst wenig beeinflusst - trotz 100% CPU-Auslastung.
      Ich habe erstmal nichts dazu gefunden...
      Oder habe ich etwas übersehen?
      Wenn nicht, irgendwelche Vorschläge?
    • kaarko
      By kaarko
      I recently switched from the external scheduler (because tasks suddenly started failing to start, elthough they existed in Tasks folder in Windws) to the internal one and I found several issues:
      1. If the tast is set to swith the computer to the standby/hibernation mode, the DVBViewer won't switch itself off (it is running after wakeup).
      2. If I change the start time of a recurrent job to a later time (e.g. the TV station starts to broadcast a show an hour later), the DVBViewer will start itself at the original time upon next occurrence of the task (but it starts recording correctly at the set later time, i.e. it runs for an hour and only then starts to record at the new time).
      Both issues cause problems to me if I use the card with other TV viewing application as well and want to set up a task with it (e.g. I have to use the application shipped with my satellite card (Aver3D R889) for recording scrambled channels, because DVBViewer does not support its CI).
      3. (not realted with the internal scheduler, but a general proposal) If a schedule a task, but the hardware is not available when the tasks starts (e.g. because I have disconnected the respective USB tuner), the DVBViewer starts as normally, but, of course, records nothing (zero-byte file) and that when the tasks ends it does not switch itself off. I suggest that in such case it displays the "No hardware available" warning as well. Moreover, it should not be OSD only, but as a separate window like in case of the "Timer shutdown" warning.
  • Create New...