[Libav-user] MPEG-2 bitstream & huffman coding

Vojtěch Král vojtech at kral.hk
Sun Feb 2 11:09:19 CET 2014


That looks promising, thanks a lot!
Regards ~VK

On 2014-02-02 01:37, Pierre Brice wrote:
> One reference you might want to check is  Digital Video: An
> Introduction to MPEG2-2, Barry, G. Haskell, Atul Puri, and Arun N.
> Netravali, 1997, It has information about the bitstream structure.
> Best regards
> P. B.
> 
> 
> On Sat, Feb 01, 2014 at 06:52 AM, Vojtěch Král wrote:
> 
>> Hello,
>>   for my current project I need to learn about MPEG-2 video bitstream 
>> format
>> as well as how huffman/vlc coding is applied for MPEG-2.
>> Using ffmpeg I can extract raw stream, using libav I'm able to extract 
>> raw frames.
>> 
>> Would it be possible to extract raw data after vlc decoding but before 
>> video decoding?
>> This would be very useful because I could study the bitstream 
>> structure on real data.
>> I am willing to modify libav code if need be. I have already 
>> identified the parts of libav
>> code which implement vlc decoding. (It seems it's also used by other 
>> codecs.)
>> I'd be glad if you could point me in general direction as to how this 
>> could be done.
>> 
>> Also, is there any information source describing MPEG-2 bistream 
>> format besides the standard?
>> The standard itself is very large, very verbose and it's quite a 
>> challenge to find and extract
>> relevant information.
>> 
>> Thanks for any advice.
>> Best Regards,
>> Vojtěch Král
>> 
>> _______________________________________________
>> Libav-user mailing list
>> Libav-user at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/libav-user
>> 
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user


More information about the Libav-user mailing list