Sign inSign up

tgogos/ffmpeg

By tgogos

Updated almost 10 years ago

ffmpeg tested on a Raspberry Pi 3

Image
0

10K+

tgogos/ffmpeg repository overview

ffmpeg for Raspberry Pi

Continue reading to see the steps taken to create this image

Test environment
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

Tag summary

Content type

Image

Digest

Size

487.6 MB

Last updated

almost 10 years ago

docker pull tgogos/ffmpeg