Re: [FFmpeg-user] Mjpeg to h264 audio sync problem

2014-12-05 Thread Petr Tresnak
. . . To: ffmpeg-user@ffmpeg.org From: ceho...@ag.or.at Date: Thu, 4 Dec 2014 08:55:54 + Subject: Re: [FFmpeg-user] Mjpeg to h264 audio sync problem Petr Tresnak peter.cherry at quick.cz writes: sound is not synchronized. ffmpeg -i mjpeg.avi -c:v libx264 -preset slow -crf 13

Re: [FFmpeg-user] Mjpeg to h264 audio sync problem

2014-12-05 Thread Christian Ebert
* Petr Tresnak on Friday, December 05, 2014 at 10:34:50 + the sound start is cut and audio is ahead even more with your command line. ffmpeg -i mjpeg.avi -qscale 2 -strict -2 -vcodec mpeg4 -acodec aac out.mp4 encoder : Lavf56.14.100 Duration: 00:00:14.39, start: 0.092880,

Re: [FFmpeg-user] Mjpeg to h264 audio sync problem

2014-12-05 Thread Petr Tresnak
To: ffmpeg-user@ffmpeg.org Subject: Re: [FFmpeg-user] Mjpeg to h264 audio sync problem * Petr Tresnak on Friday, December 05, 2014 at 10:34:50 + the sound start is cut and audio is ahead even more with your command line. ffmpeg -i mjpeg.avi -qscale 2 -strict -2 -vcodec mpeg4 -acodec aac

[FFmpeg-user] Mjpeg to h264 audio sync problem

2014-12-04 Thread Petr Tresnak
Hello, I am trying to convert Canon MJPEG to MP4 (h264/AAC) but after conversion, the start of the audio is cut and sound is not synchronized. ffmpeg -i mjpeg.avi -c:v libx264 -preset slow -crf 13 -pix_fmt yuvj420p -c:a libfdk_aac -b:a 192k output.mp4 or ffmpeg -async 1 -i mjpeg.avi