View Single Post
Old 2008-07-21, 11:04   Link #1
Kovensky
Timer
*Fansubber
 
 
Join Date: Jul 2008
Location: Brazil
Age: 34
My MPlayer build

UPDATE: After a long time without entering AnimeSuki, I return to give the url to where I host my builds now: http://kovensky.project357.com. The releases are listed under the "Release History" section.

Get r27492 here. File size for latest version is 7228106 bytes (6,89 MB), CRC checksum is 082420CF.
It works on wine too, and surprisingly fast.
The single file needed is packed with UPX, so I didn't pack it again with 7z/rar/whatever.

If anything breaks, blame movax. If you don't feel satisfied with that, post your problem here or seek me on #mplayer@chat.freenode.net.

Nicholi, from CCCP, also hosts a MPlayer build. His build can be found here, but it is a bit old.

The diff I used to build the latest version will be uploaded later.
The hack to make fontconfig use Windows' font and temp dir can be found here.

IMPORTANT NOTE:
The very first time you run MPlayer, it will take a while to begin playing. It will be building a cache of every font you have installed on your computer. It will load very fast the next time your run it, unless you install/uninstall/modify a font on Windows' font dir or remove the ".cache-2" files on %windir%\Temp.

Changelog -- Date - MPlayer revision (FFmpeg revision) [CRC]:
20080829 - r27492(r15034) [082420CF]: More H.264 fixes and speedups. Assembly magic speedup by Loren Merritt. AC-3 downmixing speedups. The AAC decoder has been fully committed, and already got speed improvements; it is not the default yet on my build due to lack of HE-AAC support. Lots of matroska fixes/new features, but nothing that allows subtitles to work properly *sigh*. Anton Khirnov submitted a patch for ordered chapters support, it is still waiting for bashing from the matroska maintainer. DV100/DVCPRO HD decoding/demuxing implemented. lavf is now the default matroska demuxer upstream, but due to those subtitle problems and higher CPU usage I kept mplayer's internal demuxer as the default. New, simplified config file.
r27448(r14686): Fixed the directx VO. libass improvements and bugfixes. On ffmpeg: more and more h.264 fixes, lavf matroska demuxer practically rewritten with a patch frenzy from aurel, new decoder for Electronic Arts TGV, fixes for Fraps decoder. superdump's AAC decoder is making it's way into the libavcodec tree, expect me to drop faad in a few builds
r27415(r14537): Internal changes: Too many to list. This version includes HIGHLY EXPERIMENTAL support for matroska ordered chapters that is disabled by default, because ASS subtitles can get bad timing. Instructions for enabling it further down the post. libavformat is now used as the default demuxer for MPEG-PS and AVI files; allowing MPlayer to seek on incomplete AVI files without having to rebuild the index. It also makes ffmpeg's own AC-3 decoder work.This build doesn't include liba52, libvorbis, libtremor or libmpeg2; this brought the binary size down. I fixed ffvorbis segfault by disabling it's sse2 code; it triggered some bug on old AMD cpus. New configuration changes: "channels=6" to allow 5.1 audio and "subfont-osd-scale=4", for a smaller but still nicely-sized OSD. Let me know of any audio problems.
r27347(r14373): First cross-compiled version. Minor H.264 fixes, CAVLC related. Dirac support, live555 support.
r27340(r14348): H.264 bugfixes, VC-1 in-loop deblocking and right-mouse-button fullscreen.
r27332(r14332): Work around crashy ffvorbis and buggy libvorbis by using lavf as the default mkv demuxer. And Michael Niedermayer is doing some nice optimizations to H.264 decoding
r27332(r14328): Über Hack fix for fontconfig bug.
r27330(r14320): Initial release.

Basic usage:
Just drag a media file and drop it on "mplayer.exe".
A DOS box will appear with some text. This is mplayer's diagnostic output. Don't close it.
After loading, a window will appear with the video.
To pause/unpause, click mplayer's window. To go fullscreen, right click it.

Keyboard Cheat Sheet:

'q': Quit mplayer
Space: Pause/unpause
Left/Right: Skip 10 seconds backwards/forwards
Up/Down: Skip 1 minute
PgUp/PgDn: Skip 10 minutes
'!'/'@': Go to previous/next chapter
'9'/'0': Decreases/increases volume
'f': Go fullscreen
's': Take screenshot
'o': Shows several levels of on-screen display. The levels are: Disabled, Minimal, Time and Full.
'#': Changes audio track. Broken with OGG/OGM files.
'j': Changes subtitle tracks.
'v': Shows/hides subtitles.
'z'/'x': Changes the subtitles delay.
'd': Enables/disables frame dropping.
'['/']': Decreases/increases speed
Backspace: Go to normal speed

Manual:
Available here.

Release Notes:
This is a copy of the source I use to build MPlayer on Linux with 6 months worth of hacks unworthy to go upstream and a handful of patches that Nicholi used on his build. It is kept synchronized with SVN.
The icon is taken from Gianluigi Tiesi's build (that don't support ASS properly).
If anyone wants mencoder or ffmpeg, let me know.
You can also use MPlayer to play DVDs, encrypted or not. To do that, however, you need to use a MPlayer front-end or the command line. More information on this when I set up my system to build SMPlayer; for now, if you're interested in playing DVDs using MPlayer read the manual.


[B}Matroska Ordered Chapters support[/B]:
To use the experimental Matroska Ordered Chapters support, you will need to enable it manually. If you use mplayer from the command line, simply pass the additional options to it:
Code:
-demuxer lavf
If you use the drag-and-drop method, or want to make lavf demuxing the default; look for a folder called "mplayer" on the same folder where you saved mplayer.exe. Inside it there is a file called "config", without extension. Open that file using Wordpad (Notepad won't work); go to the end and add the following line:
Code:
demuxer=lavf
The Ordered Chapters support has some problems with ASS subtitle timings and if there is any change on the video/audio codec configuration; such as a sudden bitrate/frequency change. The ASS problem is there even without the experimental support, tough; that's the main reason lavf demuxer still isn't the default.

Known Bugs:
- Fixed on r27347. Scab reported problems with H.264 decoding on his computer.
- Fixed on r27347. The new Dirac support is failing to build here. I hate pthreads-w32. Nobody uses Dirac anyway (yet).
- Fixed on r27340. Fullscreen is on Middle-click, not Right-click. My bad .
* Audio stream switching isn't working with OGG/OGM.
- Fixed on r27347. RTSP support is b0rked because I can't get mplayer to link with LIVE555.
* Fixed on r27415. ffvorbis is the VERY crashy and libvorbis is leaking.
* Unconfirmed. r27415's dvdnav:// is failing to initialize. dvd:// is fine. Could be my DVD drive acting up, tough.

Default Configuration:
Code:
ass=1
embeddedfonts=1
fontconfig=1
#vf=screenshot,expand,ass,scale # Allows screenshots and prevents subtitle flickering -- Next version
subfont="Arial" # This is for non-ass subtitles and for the On-Screen Display
framedrop=1
afm=libvorbis # ffvorbis is crashy as hell
lavdopts=threads=2
__________________

MPlayer FTW! Get my win32 build here; now with multithreading
/me is usually idling on #mplayer@chat.freenode.net or #cccp@irc.rizon.net
\SHAMEIMARU/

Last edited by Kovensky; 2008-12-09 at 18:07. Reason: New version
Kovensky is offline