FFMpeg Encoding Issue

fszone

Joined: 2007-03-10
Posts: 3
Posted: Tue, 2007-09-11 13:34

Hello,

I am hoping that you guys can provide some support about an encoding issue I'm having with FFMpeg. For some reason, the first few seconds (Anywhere from 2-5 seconds) of the outputted FLV video is nothing but audio, and then the video will kick in later. Throughout the rest of the video, the audio and video are out of sync a few seconds from each other.

It isn't like it's loosing sync through out the video, it looses it at the beginning. Is there a setting I can use to solve this? I've tried adding "-async 1" to the string, and it helps a bit. (Basically the audio stutters for a few seconds, and then starts around the same time as the video starts.) but they still don't match the original video.

Any ideas?

Some Info:
FFmpeg version SVN-r10270, Copyright (c) 2000-2007 Fabrice Bellard, et al.
configuration: --enable-libmp3lame --enable-libogg --disable-mmx --enable-shared
libavutil version: 49.5.0
libavcodec version: 51.42.0
libavformat version: 51.12.2

CPU: Intel Core 2 Duo 2.0GHz on Fedora Core 6.

Thanks