[Open-graphics] decoding video in real-time

Vesa Solonen vsolonen at cc.hut.fi
Sun Apr 22 11:09:30 EDT 2007


On Sun, 22 Apr 2007, Attila Kinali wrote:

> Nice explanation, but it's wrong IMHO. First you need to
> realize that frames in video codecs are sampled _below_
> the niquist criteria. That's why there is a need for
> motion compensation. The second thing is that human
> eyes don't work like ears, they don't percieve movements
> as signal modulations. So the whole argumentation
> about niquist frequency while showing movies falls flat.

Of course they are just sampled on whatever frame rate of choice, but if 
you _resample_ them while playing... And that's what actually happens when 
video is played using asynchronous refresh. Nyquist...

Please test with the clips from:
http://www.kingcot.eclipse.co.uk/unichrome/tvoutTest.html

These play _just_ as they should with some real mpeg decoding hw (like 
dvd-player and dxr3-decoder) and crt. If you know how to do it on 
linux to 50Hz lcd, I'd really really like to know how. 100 Hz crt is just 
fine, but my panel can't do that.

It should be simple as
mplayer -vo xv -vf tfields=1 interlace_test2.mpeg

but it's not.

-Vesa


More information about the Open-graphics mailing list