projects:raspi_video_loop
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
projects:raspi_video_loop [2014/10/15 15:33] – [Raspberry Pi Video Loop] Julien Deswaef | projects:raspi_video_loop [2015/03/25 04:06] (current) – [OMXplayer] 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 26: | Line 26: | ||
Version | Version | ||
| | ||
- | Developpment happens here: https:// | + | Developpment happens here: https:// |
Bendenoz has been working on a [[https:// | Bendenoz has been working on a [[https:// | ||
Until this " | Until this " | ||
+ | |||
+ | **March 2015** : Visited back the repo, and it seems the loop option works now, with some limitations and some bugs as indicated by [[https:// | ||
==== Bash scripting ==== | ==== Bash scripting ==== | ||
Line 59: | Line 61: | ||
I have not taken the time to try it out. It uses pyomxplayer to control multiple instances of OMXPlayer started at once. The idea is that you would start one instance while maintaining another one on pause. Then watch the first instance and right before it reaches the end of the video, start the second one. And so on. | I have not taken the time to try it out. It uses pyomxplayer to control multiple instances of OMXPlayer started at once. The idea is that you would start one instance while maintaining another one on pause. Then watch the first instance and right before it reaches the end of the video, start the second one. And so on. | ||
- | ==== openFrameworks + ofxOMXPlayer ==== | + | ===== openFrameworks + ofxOMXPlayer |
[[http:// | [[http:// | ||
Line 91: | Line 93: | ||
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 112: | ||
==== 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.1413380011.txt.gz · Last modified: 2014/10/15 15:33 by Julien Deswaef