So i still have test file i made older post.
Sad thing is i have lost source changes i made to the lib to get it working. It may be on my Pentium III machine.
But i think i can get it to compile and work again. Maybe will try newer version.
In this video i ran it in X Window. But it will work also strait no console.
So it is time to test how well this 486 will play mpeg videos. I downloaded oldest version of Mplayer, configured with minimal settings (disabled all that is not needed). Compiled and tested out how well it runs.
First video is without sound.
Second video has sound, reduced to one channel only.
So it can somewhat play, but any larger video then last on here will not play with sound. With -framedrop option it shows black screen and plays audio. Without sound it really slow.
So time to investigate how can i speed this up.
Bad:
No hardware yuv
No SIMD ( :D)
No hardware sound accl
Good
Hardware BITBLT
Without profiling mplayer it is clear that mpeg idct takes most of the time.
So, how to speed this up even more. I did search on internet and it cant be made any faster, at least on 486.
Sure, there must be something that can be done.
I found this (http://jpegclub.org/jidctred/), uses 4x4 or 1x1 transform on 8x8 block.
Can we do this with mpeg 8x8 image block? If DCT coefficients are on left top corner we can reduce transform complexity by setting x1, x2, x4, x7 to zero. If we compile with -O3 option we get faster code, as gcc optimizes out some code. Do the same with column filter. Yes, it will reduce video quality.
Success. It plays better.
Tested with only 2x2 block, but quality of the video was not really good. With the last video. It was blocky. First video played smoothly.