2018-03-24 21:13 GMT+11:00 YIRAN LI <mrfun.ch...@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?
>
>
> Thanks
>

​
Hi guys,

I've found an example video_decode_example@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.


Thanks​
_______________________________________________
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to