New dev pc
My pentium 3 had some problems with ext2 filesystem. fsck was forced and it made kernel into panic mode. Used Linux Mint 12 cd to fix this but on next reboot same story. Shit happens. So filesystem was dead.
Installed Slackware 10.1 to virtualbox vm. Recompiled kernel, mpg123 and x86free for s3 (need to make post about this).
Configuration of Mplayer
In last post i used Mplayer version 0.90. It is old :D. So i downloaded version 1.3.0.
I used command line to configure it:
./configure --yasm='' --target=i486-Linux --disable-ftp --disable-tv-v4l1 --disable-tv --disable-qtx --disable-real --disable-win32dll --disable-gif --disable-mmx --disable-3dnow --disable-sse --disable-sse2 --disable-sse3 --disable-fastmemcpy --disable-xanim --disable-vm --disable-vesa --disable-svga --disable-xv --disable-jpeg --disable-gl --disable-mga --disable-sdl --disable-fbdev --disable-caca --disable-aa --disable-dga1 --disable-dga2 --disable-tga --disable-md5sum --disable-pnm --disable-mng --disable-libvorbis --disable-esd --enable-libmpeg2-internal --enable-libmpeg2 --disable-decoder=mlp --disable-mencoder --disable-freetype --disable-ass --disable-postproc --disable-unrarexec --disable-vidix --disable-vidix-pcidb --disable-encoder=mlp --disable-parser=mlp --disable-protocol=mlp --disable-demuxer=mlp --disable-muxer=mlpThis is all well and good, but there are problems on config.h and other palces:
- cmov enabled
- i686 enabled
- gcc native enabled (i have old compiler so it will fail, atomic)
- make is version 3.80 (needs version 3.82) or there will be error make: *** virtual memory exhausted. Stop. (http://ppcluddite.blogspot.com/2011/11/) (https://ftp.gnu.org/gnu/make/)
- atomic.c is not compiled (needs manual makefile change)
- need to disable hwaccel drivers in allcodes.c
- unsupported -Werror=format-security option in configure for cc. Configuration fails.
If all these changes are made, it compiles and works.
Compiled file v0.90 2.5MB vs 12MB v1.3.0
At least it plays videos. :D
To test i made some sample files using Shotcut. mp4 file mpeg4 codec QVBR 41% mp3 16000Hz 16kb/s.
./mplayer -af channels=1 -framedrop testfile.mp4
No comments:
Post a Comment