[Libav-user] n00b question : decompressing into a contiguous pixmap

Carl Eugen Hoyos cehoyos at ag.or.at
Mon Jan 28 14:35:31 CET 2013


René J.V. Bertin <rjvbertin at ...> writes:

> I'm looking for some pointers/explanation/help on how to 
> decompress, say mp4v, content into a contiguous
> pixmap expected by a 3rd party multimedia framework. 
> After being informed of the movie's width, height
> and depth, the framework provides me with a destination 
> baseAdr and a rowBytes value, describing a contiguous 
> pixmap of size height * rowBytes, in which the decoded 
> pixels are stored

This sounds like a general description of the decoding 
procedure, did you look into doc/examples/ ? 

> without inter-pixel or inter-line padding (except for 
> possibly a few empty bits at the end of each line). 
> The pixel format is clearly RGBA or ARGB.

These lines are more difficult to understand...

Note that ffplay does not support playing RGBA (or ARGB), 
so it may not be the best example application for this 
task.

Carl Eugen



More information about the Libav-user mailing list