[Libav-user] may I use ffmpeg API just for decoding
mrfun.china at gmail.com
Tue Mar 27 05:47:41 EEST 2018
2018-03-24 21:13 GMT+11:00 YIRAN LI <mrfun.china at gmail.com>:
> Hi guys,
> Want to confirm one thing. May I write my own demuxer (for example for
> AVI) and only use ffmpeg API for video/audio decoding?
I've found an example video_decode_example at avcodec.c (mine is an old
version so this might have been moved to another place)
in which the codeccontext is initialized with avcodec_alloc_context3 so no
avformat context is needed.
That way I can call av_decode_frame with my own demuxer.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user