Hi, Thank you for your help.
I would like to get information on what library shall I use for parsing data from a transport stream file MPEG2/h264. I would like to use ffprobe tools but as functions in my program (written in C) returning a structure with stream index codec_name codec_tag and codec_type and extra information. example: struct stream{ int index; char* codec_name; char* codec_tag; char* codec_type; //.... } Actually I am using ffprobe in CLI outputting in JSON format and than I parse the information using cJSON (https://github.com/kbranigan/cJSON) but it is too slow. Best regards, -- Larbi Gharib Diplômé en Génie Électrique à l'Université Laval <http://www.larbizard.com> _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel