Skip to content

mmastrac/ffmpeg-omx-rpi-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

FFMPEG configured for OMX on Raspberry Pi

This is an experiment to build a simple docker image that supports ffmpeg w/OMX and MMAL support on the Raspberry Pi, allowing hardware support for encode and decode.

Run it:

docker run -it --rm --device=/dev/vchiq mmastrac/ffmpeg-omx-rpi:latest \
	ffmpeg -c:v h264_mmal -rtsp_transport tcp -i "rtsp://address-of-source" \
	-use_wallclock_as_timestamps 1 -an -f rtp -profile:v baseline -b:v 1M -c:v h264_omx rtp://ip-of-sink:8004

You might need to add the following to your Pi's boot configuration:

gpu_mem = 128

Find it on Docker Hub here: https://hub.docker.com/r/mmastrac/ffmpeg-omx-rpi/

About

FFMPEG configured for OMX on Raspberry Pi

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published