Try to playback video on the RPi on Nerves
This is the start of a simple video player for the Raspberry Pi.
The C source code is currently the Raspberry Pi's hello_video
sample app with
a Makefile
that builds with Nerves.
To try, add this project to your deps and add a small .h264
movie to your
rootfs_overlay
. Anywhere is fine. If your movie is too big (>100 MB), it will
be too large for the default Nerves images. If that's the case, try uploading it
to the application partition using sftp
or some other way. I've been using
test.h264
Boot your image and try running:
iex> RpiVideo.play("/path/to/test.h264")
If your video isn't an H.264 video, you'll need to convert it.
Try installing ffmpeg
and running:
ffmpeg -i /path/to/input.mov output.h264