MPlayer & MEncoder SB67 (Updated 14 Feb 2021)

MPlayer logo

Introduction:

Here are builds of MPlayer and MEncoder for Windows and macOS that I had requests for.
My main focus with these builds is on MEncoder stability, since that is what we use for the media server transcoding, so each release is thoroughly tested to transcode and mux from and to many formats.
Specifically, the stability of outputting H.264 via x264 and MPEG-2 with AC-3 and DTS variants inside MPEG-PS, and WMV with WMA inside ASF, as well as handling different DVD and subtitle inputs.
I test each build for several different things before release, and since Universal Media Server also uses these builds there are many testers who report any bugs which I then fix.

Download for Windows:

Download for macOS:

Older Downloads:

SB66 (macOS)
SB64
SB63
More

Changelog:

2021-02-14 – SB67 for macOS

  • Fixed x264 dependency

2020-07-28 – SB66 for macOS

  • First release for macOS

2016-05-07 – SB65

  • Updated x264 to r2695, which improves speed and quality

2015-10-28 – SB64

  • Updated x264 to r2638
  • Updated fontconfig to 2.11.92

2015-01-22 – SB63

  • Synchronised with r37363, which fixed audio with DVD sources
  • Updated FFmpeg to f845ae0

More

50 Comments

  1. Would be nice if you could add opus support

  2. “I don’t think fdk-aac is supported by MPlayer, is it?”
    -> forget it didn’t realize its a non-free package (so it can’t really incorporated without license issues,..)

  3. SubJunk

    September 16, 2012 at 11:04 am

    @Selur: I tried downloading libopus but WinRAR reports that the archive is corrupt.

  4. worked fine for me,… when downloading from http://downloads.xiph.org/releases/opus/
    (used 7zip to uncompress,…)

  5. Hi,

    It will be great if you create a tutorial on how to compile mplayer on windows. or maybe you can provide the sites that helped you on this and what patches you are applying.

  6. SubJunk

    September 22, 2012 at 6:36 pm

    @Abu Abdullah: Good idea, I will look at making that tutorial. I got most of my info from Sherpya’s page and from Googling errors.

  7. SubJunk

    September 22, 2012 at 6:46 pm

    @Selur: Thanks, looks like I was using the wrong website to download from, it was a SourceForge one. SB39 will have opus support 🙂

  8. nice! btw. regarding a tutorial, a tutorial which would allow cross compiling mplayer on a linux vm like https://github.com/rdp/ffmpeg-windows-build-helpers for ffmpeg would really be great 🙂

  9. @Selur: I don’t know much about that, I don’t use Linux even in a VM. I have considered it in the past and might in the future but for now Windows is doing everything I want

  10. DVD input is broken with current (SB38) mplayer version, works fine with SB37 and prior. I also checked: ( http://www.paehl.com/open_source/?Convert_Tools:MPLAYER_MENCODER ) svn version rev 35211 ->23 sept 2012 from Dirk Paehl which doesn’t have the problem, so seems like you changed something with your builds,..

    mplayer -identify -vo null -ao null -frames 0 dvd://1 -dvd-device “H:\TestClips&Co\DVDs\TestDVD”
    returns something like: http://pastebin.com/VdN88skw

  11. What MinGW (I assume) toolchain do you use? The one from mingw.org is really really old but others (like MinGW-w64) have errors compiling a lot of libs (& fscks up really badly with FriBiDi which I really need) including but not limited to VCD support, libcdio, libmp3lame, fribidi and MPlayer’s configure script has trouble locating a lot of them with how the others are set up.

  12. 1. libdvdread is still broken with SB39
    2. links to SB39 are missing, they still link to SB38

  13. @Selur: I removed SB39, SB40 will have fixed DVD support

    @Josh: I just downloaded MinGW and installed it then built the dependencies, nothing special

  14. @SubJunk: Good to know, thanks for the fast response. 🙂

  15. Well dragon (tdm-gcc) seems to be making updates now, his mingw32 is basically from mingw.org but with a newer gcc.

    Anyway, you can also reduce the size of each executable by about 7MB by using the`strip -s’ command, or `make install’ can do it for you. It’s not much but for people like me with crazy low caps (7GB, 3G is only means of internet) every MB helps.

  16. @Josh: I build my own dependencies, actually the GCC used in SB39 is newer than the one tdm-gcc uses (he uses 4.7.1, me 4.7.2)
    I’ll try the tip for reducing filesize, what does it do? Why does it work?

  17. iirc. strip should remove all symbols from object files or executables, which should be fine static executables unless you want to debug them.

    As aside note:
    This should not be needed if you use -s as linking option for gcc, since ‘-s’ should already remove the symbols, see: http://gcc.gnu.org/onlinedocs/gcc/Link-Options.html

  18. small correction, strip might even be able to remove more symbols (since it should be able to remvoe also symbols that are linked in through other libraries)

  19. without really wanting to but is there any eta on SB40 ?
    (stuck at SB37 atm. since it’s the last version with working DVD support)

  20. Hi SubJunk,

    with SB38 (and SB39, which I’ve downloaded when it was available 🙂 ) I also get this error when I try to play (any) wmv file(s), worked fine up to SB37.

    mplayer.exe _test.wmv
    Fontconfig error: Cannot load default config file
    Cannot find codec matching selected -vo and video format 0x3356.
    Could not open codec.
    ADecoder init failed 🙁
    Invalid number of channels 32000, assuming 2.
    ao_dsound: cannot set primary buffer format (DSERR_INVALIDPARAM), using standard setting (bad quality)ao_dsound: cannot create secondary (stream)buffer (DSERR_INVALIDPARAM)

    MPlayer interrupted by signal 2 in module: ao2_init
    Invalid number of channels 32000, assuming 2.
    Invalid number of channels 32000, assuming 2.
    Invalid number of channels 32000, assuming 2.
    Invalid number of channels 32000, assuming 2.
    Invalid number of channels 32000, assuming 2.
    …..
    (goes on…)

    Best Regards

  21. (The “Fontconfig error” might be induced by myself, as I’ve deleted the “mplayer” and “fonts” directories, as this seems to prevent an update of the font-cache).

  22. @KaFu: does it help if you add -demuxer lavf to the call?

  23. Yes, with “-demuxer lavf” added SB38 & SB39 seem to play the wmv files properly.

  24. @Selur: I’m working on SB40 daily and I think it will be released sometime this week 🙂 Thanks for providing support to KaFu

  25. @SubJunk: No Problem, thanks for SB40, seems like it fixed the DVD problem. 🙂

  26. WMV files also seem to play correct again as well, thanks for the update :)!

  27. FFmpeg 61d5313d94c9e6a86d599de781f287b577b7fe11 fixes a crash with DTS audio when using 2 channels, crash present in SB40. It can be worked around by setting channels to 6 (-channels 6) until it’s updated.

    I guess that GCC 4.7 was bad news since it broke DVD playback.

  28. Strange, thought I posted this a few days ago:
    current version crashs with dts inside a mkv container, seems like the dca decoder is broken, probably also by GCC 4.7 🙁
    -> going back to SB37 for the time beeing since it’s the last build that seemed to work 🙁

  29. @KaFu: Great!

    @Josh: OK, I will apply that patch to the next build, since it seems like if MPlayer is compiled with the versions of FFmpeg with planar audio support, some audio fails (outputs buzzing instead of the audio). So until that’s fixed I’ll have to keep using an older version of FFmpeg.

    @Selur: Will hopefully be fixed in SB41

  30. Please help me.
    It became impossible to use in Japan which mencoder containing libdvdcss by legal revision.
    Are you able to develop mencoder which does not contain libdvdcss?

  31. @Panasony: http://www.paehl.com/open_source/?Convert_Tools:MPLAYER_MENCODER offers mplayer versions with nocss, but afaik these only get updated on mplayer/mencoder updates, not when the dependencies get updated,… (so probably not the best, but maybe a decent alternative)

  32. @Panasony: I can make a build that has no DVD support at all, let me know

  33. @SubJunk: Thanks! SB41 seems to have working DVD and dts support.
    + I guess Panasony would prefer a build with just decss removed and not with the whole DVD support missing. (decss should be a problem for a lot of european countries too, so making a nocss build sound good ;))

  34. @Selur:Thank you for the advice.
    I tried the paehl version (the file name contains “nocss”), however libdvdcss was functioning.

  35. @SubJunk:The guess of Selur is right.
    I desire to be able to Play DVDISO which is not enciphered.

  36. @Selur: Great, glad it’s working 🙂

    @Panasony: I tried to do that but MPlayer needs libdvdcss for DVD support. There is no option to disable it without also disabling DVD support 🙁 I could write a patch for it but I have so many things to do I don’t think I have time for that.

  37. @SubJunk:OK! Thank you.

  38. @SubJunk: 7.1 DTS Decoding is still broken, 5.1 seems to work
    uploaded a sample (30 seconds) for testing to: http://lipqpj.1fichier.com/

  39. Could you make a build with pthreadGC2 integrated into the executable, please? Like the sherpya builds. It would be wonderful.

    It would be good also, if you can make separate builds – for intel, amd & generic.

    Best regards!
    A.

  40. @a.todorov: With regards to the pthread file, I tried when I first started making these builds and it didn’t work. Maybe I’ll try again in the future.
    About the separate builds, I don’t think I’ll do them. My builds are optimised for all CPUs so there is no advantage to be had there.

  41. Well Sherpya has a static one on his site that should work (delete all *pthread* in /lib and extract his) but it’s an older version and tended to have problems with some libs that use pthreads. I couldn’t find anything on how he made it static.

    Also his SDL library video output works but when I compile it myself SDL vo doesn’t work (I noticed SB41 doesn’t have SDL anymore). No info on that so I just use his that somehow works perfectly.

  42. @Josh: Yeah like you said it’s an old version of pthreads. I’d rather use the updated one. I did remove SDL but I can add it again if you want

  43. @Selur: Confirmed the 7.1 DTS bug. Looking into it now.

  44. Thanks for looking into it 🙂

  45. @Selur: There isn’t much I can do about the bug since I don’t really understand the parts of the code that cause it, and don’t have the time right now to learn them. I have created a bug report for it on the MPlayer issue tracker at http://bugzilla.mplayerhq.hu/show_bug.cgi?id=2098

  46. @Selur: We got a reply that a workaround for the bug is to use -channels 8

  47. @SubJunk: Thanks, will try tomorrow and report back 🙂

  48. Thanks for the new release. (the ‘-channels 8’ workaround works!)

  49. @Selur: Great! Also I don’t think SB42 has the bug in the first place, does it?

  50. LOL, you are right, SB42 doesn’t have the bug anymore! 😀

Leave a Reply

Your email address will not be published. Required fields are marked *

© 2023 Spirton

Theme by Anders NorénUp ↑