-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello list,

I try to use libavcodec and libavformat in a Qt4 C++ program to decode
MP3-streams. The program has an object waiting for incoming
TCP-connections and creates a new object of another class per
connection. Every object created this way shall decode MP3-data and
store the decoded samples in a per-object circular buffer. The parent
object (the one listening for tcp-connections) then collects the audio
data from time to time by calling a function of the "decoder-objects"
and further processes the samples (and passing it to the audio server).

All this works fine with one object. As soon as a second MP3-stream is
added, the first one stops and you can hear bits of both streams. Sound
like buggy/invalid MP3-data from time to time but none of the two
running libavcodec-decoders spit any warning/error.

Does anyone have expirience with this topic (one decoder per object)?
Are there any pitfalls I might have hit? Any points why my
above-explained algorithm might not work?

If you think seeing code might help you understand the issue better, I
can post it or put in on my server to be viewed. Two classes including
headers and implementation is a bit much for a list.

Best regards,
        Jannis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkymBuoACgkQeYlewm37lbhPBQCeMcaQGCDNfuNqh5FCI5yJFgcY
4OkAn0XW9ewJWF5s0Nw9E46JKC0HK4CT
=9BPW
-----END PGP SIGNATURE-----
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to