Project

General

Profile

Cutting commercials directly in a recorded file

Added by Daniel P over 2 years ago

hi all,

I managed to install TVHeadend in a docker container on my raspberry pi, got it to work with my IPTV provider (TV7, the TV offering of init7, a great Swiss ISP) and record TV. I am now at the point of trying to cut commercials with comskip. I got it working to make the extra files in the same folder as the recording to indicate the commercial breaks. I tried to use those files to make chapters and leave the original recording untouched, but I realized that my end client device doesn't recognize chapters (I watch the show later on my ipad with the TVhclient app which has VLC included).

So now, I need to cut the original recording. Has anyone done that? Is it ok to modify the original file or will TVHeadend get confused? I saw that the /config/dvr/log folder contained text files of the recordings with metadata like the "info" in the "files" section which shows the duration, start, stop and size. Those will be all different if I cut the original recording. Does TVHeadend rely on this information in the text file? What is it used for?

Thanks for any pointers!