[FFmpeg-user] Help: transform 'asyncts=first_pts=0' into new 'aresample' filter

Frank Häfemeier ffmpeg at frank.haefemeier.eu
Sat Feb 2 23:41:59 CET 2013

Am Samstag, den 02.02.2013, 21:31 +0000 schrieb Carl Eugen Hoyos:
> Frank Häfemeier <ffmpeg <at> frank.haefemeier.eu> writes:
> > I am confused. Sorry, but I don't understand the sentence below.
> > You asked previously for a testcase with ie an input sample. This is
> > what I want to provide and asked for a place to upload.
> I just wanted to explain how anxiously I am 
> awaiting a sample.
Now the time is comming to get the long awaited sample:-)

The sample itself is in sync, but after converting it into h.264/aac in
mp4 container the audio is out of sync. You can see and hear it if you
are around 20s when you see people talk.
As I currently understand, the first approx. 0.30s are the problem,
because I found out during my tests (to get the sample), if you skip the
first 0.40s or so (using -ss 00:00:00.40 after -i parameter) the audio
is in sync without using a filter.

30s video sample:
Console output:

Hope it helps.


More information about the ffmpeg-user mailing list