[alsa-devel] Broken playback
Hi All,
i'm new so sorry in advance if i do any errors.
I have integrated my hw decoder inside ffmpeg that is working fine, but while playing through alsa the sound comes broken in the sense that it is playing for 3 seconds, stops for 1 plays again for 3 sec and stop again and so on.
How I can delay the palyback in order to accumulate some decoded buffers to prevent this and to not afflict the decoder when playback is stopping?
Thanks, Gabriele _________________________________________________________________ Scarica GRATIS le emoticon della tua squadra del cuore e il calendario di serie A! http://www.emoticons-livemessenger.com/pages/msnitcalcio/index.htm
Gabriele Melia wrote:
How I can delay the palyback in order to accumulate some decoded buffers
You have to read and decode some data before you start playing. Alternatively, you could play some silence before the first decoded data, but this would desynchronize the audio and video streams.
HTH Clemens
participants (2)
-
Clemens Ladisch
-
Gabriele Melia