I am working on a art installation that will play video randomly .
i will like to be seamless ans full screen. maybe it will be 4 k video.
what i will like is put all video in one folder and the player will chose randomly any video inside of it depending on the number. so i can add or remove.
is something like this is possible on raspberry pi
I have try some multimedia software like kodi but it have a gab between video.
-
- Posts: 3
- Joined: Tue Jul 17, 2018 8:13 pm
Re: RANDOM VIDEO PLAYER FOR ART INSTALATION
Check out my project, it might give you a starting point. It pays all videos in a folder, the random part should be easy to add. You would have to enumerate them first that random pick a number.
viewtopic.php?f=38&t=218028&sid=6ed4b19 ... e9179c24a9
viewtopic.php?f=38&t=218028&sid=6ed4b19 ... e9179c24a9
-
- Posts: 3
- Joined: Tue Jul 17, 2018 8:13 pm
Re: RANDOM VIDEO PLAYER FOR ART INSTALATION
thanks ltdrum
do the video have a gap (black screen ) between each video or it seamless
do the video have a gap (black screen ) between each video or it seamless
Re: RANDOM VIDEO PLAYER FOR ART INSTALATION
With omxplayer three will always be a small gap, that's just the load time of the video. True seamless will be hard to do with a rpi just based on the processing power. But if you find the process that will work, hopefully the script will get you the rest of the way
Re: RANDOM VIDEO PLAYER FOR ART INSTALATION
Is it just video or do you also need accompanying (lip-sync) audio?maximedrop wrote: ↑Tue Jul 17, 2018 8:21 pmI am working on a art installation that will play video randomly .
i will like to be seamless ans full screen...
-
- Posts: 3
- Joined: Tue Jul 17, 2018 8:13 pm
Re: RANDOM VIDEO PLAYER FOR ART INSTALATION
it just the video no sound videotvjon wrote:Is it just video or do you also need accompanying (lip-sync) audio?maximedrop wrote: ↑Tue Jul 17, 2018 8:21 pmI am working on a art installation that will play video randomly .
i will like to be seamless ans full screen...
Re: RANDOM VIDEO PLAYER FOR ART INSTALATION
In that case, a simpler application will do the job without gaps, providing your source videos are in .h264 form, or if mpeg4 you can quickly convert them on your RPi via something like
gpac.
The app's source code is on your Raspbian µSD card in:
/opt/vc/src/hello_pi/hello_video/
You'll need to build it, so view the README.
Having done that, copy hello_video.bin to an executable path, eg., into:
/home/pi/bin
Attached is a small script I use to play a folder's video content, which also can be copied to:
/home/pi/bin
You can modify it to shuffle the videos for playback.
Finally, cd to your folder of videos, & in a terminal window, type the name of the script & all the videos will play.
gpac.
The app's source code is on your Raspbian µSD card in:
/opt/vc/src/hello_pi/hello_video/
You'll need to build it, so view the README.
Having done that, copy hello_video.bin to an executable path, eg., into:
/home/pi/bin
Attached is a small script I use to play a folder's video content, which also can be copied to:
/home/pi/bin
You can modify it to shuffle the videos for playback.
Finally, cd to your folder of videos, & in a terminal window, type the name of the script & all the videos will play.
- Attachments
-
- hvloop.sh.zip
- (273 Bytes) Downloaded 45 times
Re: RANDOM VIDEO PLAYER FOR ART INSTALATION
That's not correct. My info-beamer pi software is capable of that. It works by preloading and pausing the next video before the current video ends. Once it ends, it unpauses the next video. It works pretty well. Here's some minimal example code: https://github.com/dividuum/info-beamer ... r/seamless. It's also possible to use this ability to create video walls that play videos synced across multiple screens.
info-beamer hosted - A user and programmer friendly digital signage platform for the Pi: https://info-beamer.com/hosted
-
- Posts: 51
- Joined: Fri Aug 01, 2014 11:34 pm
Re: RANDOM VIDEO PLAYER FOR ART INSTALATION
You can try Pi Presents. https://github.com/KenT2/pipresents-gapless