Re: AVI to JPEG, Huffman informations missing?

Bernhard Praschinger <[email protected]> Sat, 29 Jan 2011 08:12:16 +0100
Newsgroups gmane.comp.video.mjpeg.devel
Message-ID <[email protected]>
Hallo


Torsten Mohr wrote:
> Hello,
>
> i try to convert an AVI to single JPEGs.  I do this with an own script
> in Python, that i develop at the moment.
> It all works fine, i can go through the single chunks in the AVI and
> extract all informations, i can also extract the single frames for
> WAV and for JPEG.
> But the JPEG in the AVI don't seem to contain valid huffman tables, there
> is no segment FF C4 as in normal JPEG files.
>
> I wonder now where to get the necessary information when converting an
> AVI to a sequence of JPEG files.  Are the missing information in the AVI
> stream header or the AVI main header?  Are they in the chunk "strd"?

According to the chipspech of the zoran integrated jpeg codec the 
huffman tables are optional. The huffman tabels are loaded by the driver 
to the endocer.


Have you checked if lavtrans addes a default huffman table, when you 
export a single image ? (-i Option)


auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: [email protected]
www: http://www.lysator.liu.se/~gz/bernhard

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d