projects:raspi_video_loop
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
projects:raspi_video_loop [2014/05/22 21:31] – Julien Deswaef | projects:raspi_video_loop [2015/03/10 22:40] – Julien Deswaef | ||
---|---|---|---|
Line 6: | Line 6: | ||
**First question: does your video needs sound or not?**\\ | **First question: does your video needs sound or not?**\\ | ||
- | If it does not have sound, jump immediatly to the [[# | + | If it does not have sound, jump immediatly to the [[# |
If you need sound, then there is multiple ways with different results and coding styles: [[# | If you need sound, then there is multiple ways with different results and coding styles: [[# | ||
Line 21: | Line 21: | ||
omxplayer --loop | omxplayer --loop | ||
| | ||
- | But still not working with this version: | + | But (still not | or yes | or partly see issue [[https:// |
| | ||
Build date: Sat, 22 Mar 2014 20:58:15 +0000 | Build date: Sat, 22 Mar 2014 20:58:15 +0000 | ||
Line 67: | Line 67: | ||
You will need to [[http:// | You will need to [[http:// | ||
- | The advantage of using openFrameworks is that you can do more than just loop videos and have overlay text, logos, etc... But, adthough | + | The advantage of using openFrameworks is that you can do more than just loop videos and have overlay text, logos, etc... But, though |
===== hello_video ===== | ===== hello_video ===== | ||
Line 91: | Line 91: | ||
With the hello_video.bin file that is generated, you'll only be able to play videos encoded in h264 with no sound. But you'll have a perfect loop, with no gap. | With the hello_video.bin file that is generated, you'll only be able to play videos encoded in h264 with no sound. But you'll have a perfect loop, with no gap. | ||
+ | |||
+ | ===== GStreamer ===== | ||
+ | I've heard of a [[https:// | ||
Line 107: | Line 110: | ||
==== Transcoding a video to h264 ==== | ==== Transcoding a video to h264 ==== | ||
- | This hello_video example is quite strict on what type of video file can be played. If your video file is in a mp4 container, it won't play. The easiest solution to get a working file for me was to start with a list of jpeg files with a 1920 x 1080 resolution and to process it with ffmpeg. Here's the code that worked for me: | + | This [[#hello_video|hello_video]] |
<code bash> | <code bash> |
projects/raspi_video_loop.txt · Last modified: 2015/03/25 04:06 by Julien Deswaef