-
Notifications
You must be signed in to change notification settings - Fork 501
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
Omxplayer stops whilst playing wmv files in script #61
Comments
A quick update on this problem. I have managed to get omxplayer looping wmv files for a longer period of time by adding -s and logging output to file. This process works ok but after some time the process stops running and omxplayer gets stuck on what looks like the last frame of the current video being looped. I have no idea where I need to look to fix this problem and the stats output from omxplayer does not give any indication on what has happened. I can provide the scripts I have created so someone can recreate the problem and maybe provide a fix if possible. I have two raspberry pi's which I have tested and both produce the same symptoms of locking up on the last frame and not ending. One way to get around the problem would be the check the actual video duration against omxplayer running process time and if omxplayer runs for longer than video duration then kill omxplayer. I have no idea how to do this, but im guessing I could use ffmpeg -i to get video duration and use this in an argument to check against omxplayer process runtime... This goes beyond my level of expertise so if anyone could show me a way of doing this I would be greatly appreciated, although this wont be needed if omxplayer can be fixed. Please let me know if you need anymore information |
Hi Stu, I'm not a programmer but I have a strong interest in using Pi's as video players in installations and have been undertaking a lot of long term stability testing of looped video playback using various bash scripts I've found online while I learn bash scripting myself. I have had some systems looping continuously for up to 10 days. Cheers, Michael |
Hi Community, i am having a similar problem: Omxplayer is started through a script on startup, running in a loop playing video files from a folder on the raspberry, while output is set to HDMI (-o hdmi), where a tv is connected to. Randomly it kind of stops playing during playback, usually after 1 to 1 1/2 hours when several loops already have been passed. Looking at the processes using ssh from another place due to resolve what is happening, either script and omxplayer seem to run normally, cause omxplayer processes still keep updated (finished playback processes seem to get closed and new playback processes seem to get started like usual) but with no hdmi/tv output anymore. It looks like frozen output (kind of). Like Stu mentioned, enabling logging (-l) within the script does delay the output freezing for somewhat around 30 minutes. Some facts which might help to surround the causing part: The playback script which is started on startup: ===== script start =====
===== script end ===== If i only could find/catch/grab something (e.g. memory or gpu activity) to observe the output which really happens (which means no output/nothing when problem occurs), i could set a watchdog and trigger a clean reboot... that would help for now - even if it unfortunately would not remove the problem itself. Any ideas? Thanks in advance, Olaf |
It's worth identifying if it's just the omxplayer.bin process that has hung (i.e. you can kill it and restart it), or if it's no longer possible to run omxplayer. Obviously keep an eye out for any errors in omxplayer.log (run with -g). |
Actaully, this repo is dead. Please ensure you are running latest omxplayer (http://omxplayer.sconde.net/) |
The problem im having is a little odd! I have omxplayer running in a loop, playing video files from a folder on the raspberry, which starts at boot which displays on tv via composite. This has been working fine for over 2 weeks now without a single problem if I play avi format but if I use wmv it stops at some random place during playback.
When I check to see if omxplayer is still running, its still shows in the process list and the tv has frozen screen until I kill the process.
I get some messages in the omxplayer log which ive attached bellow.
Im using the latest version of raspbian (2012-09-18-wheezy-raspbian) all updated.
omxplayer.log
The text was updated successfully, but these errors were encountered: