Public Repository

Last pushed: 8 months ago
Short Description
ffmpeg tested on a Raspberry Pi 3
Full Description

ffmpeg for Raspberry Pi

Continue reading to see the steps taken to create this image

Test environment

  • Raspberry Pi 3
  • Host OS: Raspbian Jessie Lite image (downloaded 2016-09-23-raspbian-jessie-lite.zip from the official site)
  • Docker image: docker pull resin/rpi-raspbian:jessie-20160831

Test with big_buck_bunny videos

Tags with format: bbbunny[number] are used to show the frame size of the video file that is already stored in the image. The videos were downloaded from http://bbb3d.renderfarming.net/download.html

# image: tgogos/ffmpeg:bbbunny-480
ffmpeg -re -i big_buck_bunny_480p_h264.mov -codec copy -f mpegts udp://your_ip:9999

# image: tgogos/ffmpeg:bbbunny-720
ffmpeg -re -i big_buck_bunny_720p_h264.mov -codec copy -f mpegts udp://your_ip:9999

# image: tgogos/ffmpeg:bbbunny-1080
ffmpeg -re -i big_buck_bunny_1080p_h264.mov -codec copy -f mpegts udp://your_ip:9999

tag: 20161007


Downloaded / compiled ffmpeg source code

* Beware that this compilation procedure took a few hours to finish

apt-get update
apt-get upgrade
apt-get install git
git clone git://source.ffmpeg.org/ffmpeg.git
cd ffmpeg
apt-get install build-essential
apt-get install pkg-config
./configure
make
make install

Test

Raspberry (eth0: 10.143.0.246):

ffmpeg -re -i test_video.mp4 -vcodec mpeg4 -an -b 1024k -s 640x480 -f mpegts udp:10.143.0.245:9999?pkt_size=1316

Demo pc (eth0: 10.143.0.245):

ffplay udp://10.143.0.246:9999

tag: 20161011


apt-get install net-tools
apt-get install iputils-ping
apt-get install traceroute
apt-get install nano
Docker Pull Command
Owner
tgogos

Comments (0)