Hi all!

There's a stream opened, libavformat reports it is an MP3 stream, that's perfect. What I additionally would like to know:
-1) the sample format;
-2) to which MPEG standard does the stream/frame corresponds to (MPEG1, MPEG2 or MPEG2.5);

My questions:
-1) do I have to perform an av_read_frame to get this information?
-2) can I get this data somehow from a substructure of AVFormatContext or from AVPacket after reading a packet from the stream?

Thanks in advance!

Bye,
--
Selmeci, Tamas
http://www.open-st.eu
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to