View Full Version : FFMPEG audio/video synchronization

04-14-2008, 04:16 PM
Hi again,

I知 using FFMPEG.exe on Windows.
Using an exec command in a PHP script I知 converting wmv, mov and mp4 to swf or flv.

Everything goes great but when converting wmv or mov to either swf or flv the audio goes first than the video, so no synchronization in between voices and people when they speak.

How can I solve that?? Warning: I致e only been using FFMPEG for a week ;-)

This is the command that I知 giving to FFMPEG trough the PHP script:
ffmpeg -i movie.mov -ab 64 -ar 44100 -b 200 -r 15 -s 256x188 -y movie.flv

Thanks a lot in advance!!

04-15-2008, 07:59 AM
Never used the program, but taking a stab in the dark from my video experiences:

Are your video's VBR or CBR? I've had issues when making flash videos when using Variable Bit Rates. Perhaps the issue is the input, not the program. Just a guess.

04-15-2008, 04:38 PM
Thanks, but I've tried with several sources (different codifications) and all outputs have the same problem: the video starts playing a few seconds after the audio :confused: