DVR Recording File Formats

Is there anyway to change the file format from a .ts to mpeg4 when recording tv shows using an HDHomeRun or will I just have to run it through a converter after each show is recorded?

No because what you receive from the tuner is a simple Transport Stream and needs to be saved as a TS type. Once you have the full recording you can convert it to a different package with full indexing atoms such as mp4.

I believe that you can change the container with comskip (commercial detector), if you remove commercials for recordings. I believe there is an option to change the container format when the file is pieced together after removing the commercials

yes, I think I read something about that too, but no idea where.

I would love to have plex/comskip add CHAPTER markers (instead of removing commercials), and save to mp4 or mkv.

in plex there is a post processing script option, but I have not tried using it myself.

plexweb > settings > live tv / dvr > dvr settings > post processing script

edit: see also

https://support.plex.tv/articles/115003944134-removing-commercials/
http://www.kaashoek.com/files/manual.htm

If all you want to do is change the package but not do any conversion of codec then just use a simple command line with ffmpeg. Can easily be wrapped in a batch file and executed as a post processing script.

Will be very fast as well.

you could try something like:

ffmpeg -i video.ts video.mp4

and verify the timing it takes to change the container for your recording and the add it as a post processing script

is com skip for Mac?

No. Per the link posted above: https://support.plex.tv/articles/115003944134-removing-commercials/

yeah I don’t quite understand the post processing script… I know I choose the program but how does the program auto run

I used that feature but it caused the audio to get off and because it creates no back up the whole episode kept getting worse

ffmpeg -i “video.ts” -map 0 -codec copy “video.mp4”
might be a bit better to make sure to copy all streams.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.