[FFmpeg-devel] Using ffmpeg library

Lou Logan lou at lrcd.com
Thu Oct 22 23:14:58 CEST 2015


On Thu, 22 Oct 2015 16:04:05 -0400, mohamed larbi gharib wrote:

> 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,


Wrong mailing list. You should ask this on the libav-user mailing list.
ffmpeg-devel is only for patch submissions and discussions involving
the development of FFmpeg.


More information about the ffmpeg-devel mailing list