Created
August 14, 2018 14:03
-
-
Save rubeniskov/b78e22269cdf6cd3399dfb9c29eec1c7 to your computer and use it in GitHub Desktop.
ffmpeg raspberry pi camera
This file contains hidden or 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
sudo apt-get update | |
sudo apt-get install -y \ | |
libomxil-bellagio-dev \ | |
libvpx-dev | |
git clone --depth 1 https://github.com/FFmpeg/FFmpeg.git ffmpeg && cd ffmpeg | |
./configure \ | |
--arch=armel \ | |
--target-os=linux \ | |
--enable-libvpx \ | |
--enable-omx \ | |
--enable-omx-rpi | |
make -j$(nproc) | |
sudo modprobe bcm2835-v4l2 | |
./ffmpeg -r 25 -s 1280x800 -i /dev/video0 -c:v libvpx http://127.0.0.1:8090/feed1.ffm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment