Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seemless Transitions #5

Open
RichShumaker opened this issue Mar 2, 2015 · 1 comment
Open

Seemless Transitions #5

RichShumaker opened this issue Mar 2, 2015 · 1 comment

Comments

@RichShumaker
Copy link

So I have been doing a bunch of research on this and it seems that some people have gotten 'looping' to work seemlessly with the OMX Player.
Unfortunately it crashes after a certain amount of time.
Here is a discussion of the looping
popcornmix/omxplayer#187
This is of course looping 1 video so I am not sure how it would handle a list of videos.

So I did some more research and found this method from years ago that works well, Here is the link to the post http://www.sundh.com/blog/2013/10/loop-videos-seamlessly-omxplayer/

It is pretty straight forward.
You start 2 videos and play the first and pause the second.
When the first ends you start the second and there is no gap in playback.
Then you start a 3rd video which could be the first video again and pause it.
Then you repeat to infinity.
I wonder if this Python method could be implemented for the RPiVideoLooper.
This method uses a duplicate copy of the video so it can go back and forth.
So if you are using just one video it would be recommend to duplicate it and rename it.

This method is rather straight forward but I am not sure if some other issue might come up as it did with the OMX Player looping with a log file getting to large and crashing things.

@RichShumaker
Copy link
Author

I have used Minibian as the base to rebuild videolooper to see if I could save some space.
It works about 80% as I still need to implement USB and I have an issue between videos.
With the normal Videolooper image(version 3 now I think 3.7GB) it shows up Black between videos
Now when the video goes to 'black' I get the login screen instead of black.
Here is my omxplayer information
omxplayer - Commandline multimedia player for the Raspberry Pi
Build date: Tue, 10 Feb 2015 01:49:30 +0000
Version : 337004e [master]
Repository: https://github.com/popcornmix/omxplayer.git

Ideally it could be seemless but I think I will need to use Python or another programming language to start multiple instances using the method I list above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant