2018-10-15 17:12 GMT+02:00, Ali Osman ŞAHAN <[email protected]>:

> I need to decode (and export as jpg) H.264 and MPEG-2 I-pictures from within
> the source code of an application I'm writing in C. I linked against
> libavcodec in the hope that avcodec_decode_video() could do it but it seems
> that it only works for .mpg and not for raw elementary streams.

The libavcodec H.264 decoder works neither on mpg nor elementary streams
but frames as provided by the H.264 parser, also part of libavcodec.
libavformat supports both mpg and elementary streams (and many other
file formats).

Carl Eugen
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to