[Mesa-dev] [PATCH 7/7] g3dvl: Rewrite the mpeg 1&2 bitstream parser

Andy Furniss andyqos at ukfsn.org
Mon Aug 29 15:29:43 PDT 2011


Christian König wrote:

> Thanks to you once more, it was just looking at the bytes left in the
> buffer, but not the bits! So we ended up not decoding the last 32 bits
> of a buffer.

That seems to have fixed it.

>
> I just pushed a fix, and I'm really wondering where the heck do you get
> all those nice test videos.

Well, in the case of HD almost all from http://www.w6rz.net .

For SD I can test UK TV from a DVB-T card, or I use streams from

ftp://ftp.tek.com/tv/test/streams/Element/MPEG-Video/625/

The Pendulum I got from an ISO that was linked to from a German 
monitor/tv review site but I don't have a link for that.

Ironically your question made me search to see if I had any other mpeg2 
HD not from w6rz - I found one and it has issues with -vf ffmpeg12vdpau :-)

I've never tested with this before so don't know if it's a regression, 
it renders OK but hangs at the end and then may or may not segfault.

If it doesn't segfault then ddd will show it looping round int the same 
function as shown in my screenshot, which shows the bt and value of 
num_skipped_macroblocks.

Maybe the stream is faulty - http://www.andyqos.ukfsn.org/swan.mpg

The ddd screenshot - http://www.andyqos.ukfsn.org/vdpau-swan-ddd.png


More information about the mesa-dev mailing list