ValveSoftware / source-sdk-2013

The 2013 edition of the Source SDK
https://developer.valvesoftware.com/wiki/SDK2013_GettingStarted
Other
3.84k stars 2.02k forks source link

libffmpegsumo.dylib Missing From Mac Depot #226

Open alanedwardes opened 10 years ago

alanedwardes commented 10 years ago

bin/libffmpegsumo.dylib is missing from the Mac Depot of the Source SDK Base 2013 on Steam, meaning that WebM videos won't play in the Chromium Embedded Framework (so in turn vgui::HTML) on Mac OSX.

This is not an issue for Linux, bin/libffmpegsumo.so exists in its depot and Windows seems to play WebM fine without it.

alanedwardes commented 10 years ago

This doesn't actually require much action to fix - if anyone else wants to fix this, just grab ffmpegsumo.so from the Linux depot.

This is the same dynamic library Valve is shipping with Steam on OSX, so should work fine:

# Steam on OSX
$ md5 /Applications/Steam.app/Contents/MacOS/osx32/ffmpegsumo.so
MD5 (/Applications/Steam.app/Contents/MacOS/osx32/ffmpegsumo.so) = 0c8a5dff0a072048f804a74662279f2d

# Included with Source SDK 2013 Linux binary depot
$ md5 bin/ffmpegsumo.so 
MD5 (bin/ffmpegsumo.so) = 0c8a5dff0a072048f804a74662279f2d

There's an issue here that also sheds some light on why .so is used instead of .dylib: https://github.com/rogerwang/node-webkit/issues/768

I think this issue should remain open until ffmpegsumo.so is included with the Mac depot however.