[Ffmpeg-devel] flv audio problem

Víctor Paesa wzrlpy
Tue Jan 2 00:06:03 CET 2007

> i am trying to strip out a specific section in an existing flv video and
> create a new flv video of the shortened clip.
> the command i am using is as follows:
> /usr/local/bin/ffmpeg  -i <source>.flv -acodec copy -ss 15 -t 20 -b 64k
> -sameq <destination>.flv
> the clipping works fine, but the audio won't sync up at all. it is
> clipping
> the audio correctly, but it is starting the audio 15 seconds late, (or
> however far into the original i am starting, ie: if i am clipping from
> 0:10
> to 0:40, the audio won't start playing until the 0:10 mark in the new flv.
> any suggestions?
> to create the onMetaTag event i am using flvtool2

The order of parameters matters, try:

ffmpeg -ss 15 -t 20 -i <source>.flv -acodec copy -b 64k -sameq


P.S. This kind of questions belong to the "ffmpeg-user" list, more than
to the "ffmpeg-devel" one.

More information about the ffmpeg-devel mailing list