[Libav-user] may I use ffmpeg API just for decoding

Anton Shekhovtsov shekh.anton at gmail.com
Mon Mar 26 02:55:40 EEST 2018


2018-03-26 2:00 GMT+03:00 YIRAN LI <mrfun.china at gmail.com>:

>
> 2018-03-24 22:59 GMT+11:00 Carl Eugen Hoyos <ceffmpeg at gmail.com>:
>
>> 2018-03-24 11:13 GMT+01:00, YIRAN LI <mrfun.china at gmail.com>:
>>
>> > 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 may misunderstand your question but I would of course prefer
>> if you report any issues you find with our avi demuxer.
>>
>> ​Thanks Carl, no there's nothing wrong with ffmpeg avi demuxer. Just my
> boss for some reason want to have our own demuxer...
>
> May I read out video/audio packet from my own demuxer and send them to
> ffmpeg APIs just for decoding?
>
>
>>
>
>> Carl Eugen
>> _______________________________________________
>> Libav-user mailing list
>> Libav-user at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/libav-user
>>
>
>
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
>
It is doable but you need not only packets but also other attributes in a
format which makes sense for FFMpeg. For instance, figuring out what is
block_align is mad.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20180326/13943a02/attachment.html>


More information about the Libav-user mailing list