Hi, In avcodec library, the AVPacket structure seems to provide your needs.
https://www.ffmpeg.org/doxygen/2.5/structAVPacket.html To parse each packet you'll need to: - Register codecs - Open file - Read frame (AVFrame structure) - Read packet - Extract what you need. Plenty of examples in the FFMPEG sources. Good luck. Fixta. Le 4 août 2015 à 13:42, Self User <[email protected]> a écrit : > Hi all, > > > I am using c++ code under redgat/ubuntu. > > > My goaI is to parse each TS packet (each 188 bytes) and for each extract its > field values. > > > What lib function should I use ? > > > Can you give an example for this kind of parsing? > > > > Thanks > > > > LibUser > > _______________________________________________ > Libav-user mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/libav-user
_______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
