well explained, i understand now

grazie mille!

On 29/03/13 12:26, Luca Barbato wrote:
On 3/28/13 4:53 AM, Michael Heuberger wrote:
Good to know. Thanks.

Tell me, what's the difference between a decoder and a demuxer then?
a demuxer just unpacks serialized compressed data in stand-alone units
(avpackets) providing some additional context (timestamps and such)

a decoder takes a stand-alone unit (avpackets) and decodes it to a
raw/basic representation (frames containing pixels, audio samples)

in the specific case the image2 demuxer reads from the file system and
creates an avpacket for each image file.

The png/mjpeg/tiff/etc decoder takes the avpacket and decodes it to a
frame of raw pixels.

lu
_______________________________________________
libav-tools mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-tools

--

Binary Kitchen
Michael Heuberger
4c Dunbar Road
Mt Eden
Auckland 1024
(New Zealand)

Mobile (text only) ...  +64 21 261 89 81
Email ................  [email protected]
Website ..............  http://www.binarykitchen.com

_______________________________________________
libav-tools mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-tools

Reply via email to