[FFmpeg-user] Audio and Video is out of sync after convert from dvbt source

Schte Bo schtebo at gmail.com
Thu Nov 8 20:08:34 CET 2012


Hi,

i use kaffeine with dvbt to save some tv shows (*.m2t).
after that i convet this records from (*.m2t) to (*.mp4) with following
command (to save some space):

------ 8< ----------------------------
for f in *.m2t

do

ffmpeg -i "$f" -vcodec libx264 -crf 21 -acodec aac -ac 2 -ab 192000 -strict
experimental -refs 3 -threads 4 "${f%.m2t}.mp4"

done
------ >8 ----------------------------

audio & video is in sync in the source (*.m2t) but
after converting the file to (*.mp4)  the destination file is out of sync
between audio & video.
over the course of the movie it gets progressively worse. i think because
of dropped frames.

is there any option to keep audio & video in sync?


thx stefan


More information about the ffmpeg-user mailing list