[MEncoder-users] Convert MTS to MP4: Video and audio out of sync

Ooe Eoo ooe8eoo at yahoo.com
Wed Apr 13 14:41:55 CEST 2016


I agree that FFmpeg is a better option. 

The reason why I am trying out mencoder is because an application we have is using mencoder as the video rendering engine. The mp4 output has this video/audio sync issue when the input is mts video.
I am trying to figure out whether it is due to a bug in mencoder or the parameters are used incorrectly. 

    On Wednesday, 13 April 2016, 18:49, Moritz Barsnick <barsnick at gmx.net> wrote:
 

 On Wed, Apr 13, 2016 at 09:18:54 +0000, Ooe Eoo wrote:
> I am new to mencoder. Appreciate if you could help me to correct my command line.

If you're new, perhaps you should go directly to ffmpeg instead of
mencoder. mencoder is unmaintained (unlike mplayer). And I personally
have had better experience with regard to sync with ffmpeg than
mencoder, which is why I moved to the former.

> > mencoder.exe mts_video.mts -oac copy -ovc lavc -o mp4_video.mp4

ffmpeg -i mts_video.mts -c:a copy -c:v copy mp4_video.mp4

Moritz
_______________________________________________
MEncoder-users mailing list
MEncoder-users at mplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users

   


More information about the MEncoder-users mailing list