Hello, I have to decode mp3 bitstream, which I get from network by means of a proprietary protocol. IIUC, when reading mp3 from file, avformat splits the stream into correct packets/frame, but how can I do this when handling memory streams? Currently, beforeĀ setting a memory chunk to AVPacket.data and passing it to avcodec_decode_audio3(), I just search for FFF marker manually -- but this is obviously not a good idea... So how can I utilize avformat?
Thanks. _______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
