StevenHickson / RPiVideoLooper

Video Looper for the Raspberry Pi
Other
98 stars 36 forks source link

Looper plays videos out of order or skips some #11

Open zachwhalen opened 9 years ago

zachwhalen commented 9 years ago

Hi,

Has anyone else seen this? Sometimes the looper will skip over a video. In my scenario, I have a few long and lots of short videos (a TV program with commercials), and it's occasionally skipping over the long ones. The file itself is fine, and it will play the long videos on the second go-around, but will always skip certain ones on the first loop.

For example, if I have

Then it will play, short1.mp4, short2.mp4, and then long.mp4.

Has anyone seen this behavior? Any ideas where to look for a solution?

ZW

rmcaninch commented 9 years ago

This may be the issue I noticed. In startvideos.sh line 45 should probably be moved to line 50 - this will increment at the bottom of the loop so the 0 index, or first video will play on the first time through.