[Libav-user] Audio playing to fast using fflplay

Alex Cohn alexcohn at netvision.net.il
Thu May 16 07:18:28 CEST 2013

On 16 May 2013 04:40, "iwastemoretimethanu" <willbeas88 at gmail.com> wrote:
> For reference, my test output is supposed to be 20 seconds. With
>        my current settings, this is 100 video frames and 100 audio
>        frames at 5 FPS.
>      o All 20 seconds of audio play in the first 5 seconds of the
>        video, which shouldn't be happening simply because the audio and
>        video are being encoded side-by-side (write_audio_frame() is
>        being called directly after write_video_frame()).

I think that most container formats don't support audio at 5 FPS. I would
recommend to split the audio stream into 20 ms packets.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20130516/159ad6b1/attachment.html>

More information about the Libav-user mailing list