[Libav-user] Does the image2 demuxer work with a custom AVIOContext?

Carl Eugen Hoyos cehoyos at ag.or.at
Sun Jan 12 18:09:30 CET 2014


Robert Krüger <krueger at ...> writes:

> I am having problems programmatically extracting metadata 
> like size and pixel format from a dpx image using a custom 
> AVIOContext. Should that work or does the image2 demuxer 
> only work with files even in the single-file case?

Contrary to all other demuxers, there is no auto-detection 
for image2, so (without looking at the actual code, sorry 
if it actually works differently) you have to either set 
demuxer and decoder or demuxer and a file name suffix.

Hope that helps, Carl Eugen



More information about the Libav-user mailing list