[FFmpeg-user] Video and audio out of sync - general question
ffmpeg at frank.haefemeier.eu
Mon Nov 19 23:48:29 CET 2012
Am Montag, den 19.11.2012, 10:59 -0700 schrieb Roger Pack:
> > I am converting HD video (H264, mp2/ac3, TS container) captured from
> > cable TV into mp4 container (x264, aac). I am also copy (if existing the
> > original ac3 stream as an additional stream into the mp4 container,
> > especially in case of a 5.1 audio.
> > Sometimes happens the audio is not in sync with video. In this case I
> > use the asyncts filter with 'first_pts=0'. This works well but only if I
> > encode all audio streams.
> > Is it really necessary to encode instead of copy? I tried to copy the
> > stream and using the filter, but the audio was still not in sync. Is
> > there a special order of parameter relevant?
> So in your input the audio is in sync but not the output? Full command
> line and console output please?
Sorry for the misunderstanding, I am not a native english speaker. But
if I understand my own writing correct, I did not say the input was in
sync. The input was as well not in sync and it was happen after cutting
of the original file with TSDoctor.
I am currently starting some tests and will get in contact with the
author after I collect some test cases.
But if I have an example with sync input but not the output, I will
collect all necessary data and send it to this thread. I am sure it will
happen, because I have a huge backlog of video material;-)
Again, sorry for the misunderstandings.
More information about the ffmpeg-user