Last active
August 1, 2018 18:14
-
-
Save SavinaRoja/3fb4f3ffe9042f019bc2d250c58da258 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#Steps: | |
# sudo apt-get install libomxil-bellagio-dev | |
# install some other stuff, here's at least a partial list | |
# sudo apt-get install libopus-dev libvorbis-dev libx264-dev libx265-dev | |
# libtheora-dev libvpx-dev libzvbi-dev libmp3lame-dev libass-dev | |
# | |
# git clone https://github.com/FFmpeg/FFmpeg.git | |
# cd FFmpeg | |
# Run this configuration | |
# sudo make (-j4 if on rpi2/3) | |
# sudo make install | |
./configure --target-os=linux --arch=armel --enable-mmal --enable-omx \ | |
--enable-omx-rpi --enable-decoder=h264_mmal --enable-decoder=mpeg2_mmal \ | |
--enable-encoder=h264_omx --enable-encoder=h264_omx --enable-libx264 \ | |
--enable-libx265 --enable-nonfree --enable-gpl --enable-avresample \ | |
--enable-shared --enable-libass --enable-libfreetype --enable-libmp3lame \ | |
--enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx \ | |
--enable-libzvbi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
also requires apt-get install libass-dev.
libmp3ame-dev should be libmp3lame-dev