Kagami / boram

:film_strip: Cross-platform graphical WebM converter
https://github.com/Kagami/boram/releases
433 stars 30 forks source link

0.3.1 not working on OS X 10.9.5 (Mavericks) #11

Closed romaincointepas closed 7 years ago

romaincointepas commented 7 years ago

After opening a video file:

screen shot 2017-02-26 at 3 46 18 am
Kagami commented 7 years ago

Thanks for the report. Seems like ffmpeg needs --disable-filter=coreimage configure flag. I will make new build.

Kagami commented 7 years ago

Though according to this table it should be available since 10.4. Does ls -l /System/Library/Frameworks/CoreImage.framework return something?

Kagami commented 7 years ago

Or maybe it was in /System/Library/Frameworks/QuartzCore.framework/Versions/A/Frameworks/CoreImage.framework in old versions of Mac OS, according to Google. Need to either fix paths, or disable.

Try to extract ffmpeg-noci.zip inside boram/Resources/app directory. Will it help?

romaincointepas commented 7 years ago

Indeed:

$ ls -l /System/Library/Frameworks/CoreImage.framework
ls: /System/Library/Frameworks/CoreImage.framework: No such file or directory
$ ls /System/Library/Frameworks/QuartzCore.framework/Versions/A/Frameworks/CoreImage.framework
CoreImage   Headers     Resources   Versions

Extracted (and overwrote) all files from ffmpeg-noci.zip inside the app folder, there is now a new error when opening a file:

screen shot 2017-02-26 at 6 11 45 am
Kagami commented 7 years ago

Funny, this was fixed 3 days ago: https://github.com/FFmpeg/FFmpeg/commit/dcd3418a35a Let me rebuild from HEAD and also use fixed path to CoreImage instead.

Kagami commented 7 years ago

Try ffmpeg-cifix-vboxfix.zip

Kagami commented 7 years ago

ping

romaincointepas commented 7 years ago

Oh sorry, I missed that notification somehow. Just copied/replaced all files from ffmpeg-cifix-vboxfix.zip in the app folder, I still get the same error it seems:

screen shot 2017-02-28 at 10 17 49 pm

Also, if you intend to support OS X 10.9+, you need to either brew install mpv from OS X 10.9 or build it yourself, correct? Do you have access to a OS X 10.9 VM or the Install OS X Mavericks.app installer?

Kagami commented 7 years ago

You're right, libavcodec.dylib still includes that R_2020 symbol for some reason even though commit above should have been fixed it… Maybe there is another issue.

Recompiled ffmpeg and mpv with --disable-videotoolbox, try ffmpeg-cifix-novbox.zip. Better to investigate exact reason, but should be ok as a temporal fix.

if you intend to support OS X 10.9+, you need to either brew install mpv from OS X 10.9 or build it yourself

I guess it's not mandatory. Just disable use of APIs not availble in earlier versions.

romaincointepas commented 7 years ago

Works great, that solved it!

What version of OS X are you using to build interop.cc?

Kagami commented 7 years ago

Sierra. Nice, I will publish updated binaries in the new release then.

Created #12 to fix this properly.

romaincointepas commented 7 years ago

Could you share the updated make-mac64-deps.sh script used to build boram 0.3.2?

Kagami commented 7 years ago

Pushed latest version which uses ffmpeg from HEAD. For 0.3.2 I used fixed Formula (brew edit ffmpeg → add --disable-videotoolbox).