[mythtv-users] FFMPeg Commercial cutting puts audio out of sync

Jean-Yves Avenard jyavenard at gmail.com
Sat Sep 13 07:40:52 UTC 2014


On 13 September 2014 13:04, Justin Alcorn <justin at jalcorn.net> wrote:
> Ubuntu 14.04.1 with the real ffmpeg loaded (same problem with the
> avconv version).
>
> I'm trying to take files created in MythTV with a HDPVR, cut the
> commercials and put the video into an MP4 container for use with
> MythRoku.
>
> the command
>
> `ffmpeg -i $file -acodec copy -vcodec copy -f mp4 file.mp4`
>
> Works fine. Once I update the database, I can watch the file in
> MythRoku or Plex.
>

And how do you cut the commercial?

The best approach would to use mythtranscode lossless transcode that
only cut the commercial, and only then use ffmpeg to transcode to
something else


More information about the mythtv-users mailing list