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
