Kagami / boram

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

Unknown encoder 'libvorbis' #51

Open Zealotux opened 5 years ago

Zealotux commented 5 years ago

On MacOS Mojave:

ffmpeg -hide_banner -nostdin -y -i file:/Users/zealotux/Downloads/Isolation.mp4 -map 0:v:0 -map 0:a:0 -threads 8 -c:v libvpx -speed 0 -b:v 376k -auto-alt-ref 1 -lag-in-frames 25 -g 128 -pix_fmt yuv420p -vf scale=600:338,setsar=1 -c:a libvorbis -q:a 4 -f webm -pass 2 -passlogfile /var/folders/p1/4k_h9jb17z55r47d2nkxb6x00000gn/T/boram-4216YiZcGo7AmAtu -metadata title=Isolation file:/Users/zealotux/Desktop/Isolation.webm Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'file:/Users/zealotux/Downloads/Isolation.mp4'

Checking with brew info ffmpeg it appears libvorbis is installed, however I have an error Unknown encoder 'libvorbis' during encoding.

Kagami commented 5 years ago

boram uses built-in ffmpeg binary. But I've accidentally disabled libvorbis in latest build of ffmpeg for macOS, thus use of libvorbis cause that error. Will fix it in next boram's release.

Meanwhile, in order to use system ffmpeg you can try in terminal:

BORAM_FFMPEG=ffmpeg /path/to/boram.app/Contents/MacOS/boram
Zealotux commented 5 years ago

Understood, the workaround worked, thank you for your work!