hamza
Posts: 76
Joined: Fri Apr 03, 2015 7:16 pm

how to exit omxplayer loop

Tue Apr 28, 2015 9:25 am

hi all

how can I exit or stop omxplayer loop'' omxplayer --loop /home/pi/video.mp4 ???

User avatar
AndyD
Posts: 2334
Joined: Sat Jan 21, 2012 8:13 am
Location: Melbourne, Australia
Contact: Website

Re: how to exit omxplayer loop

Tue Apr 28, 2015 9:36 am

If you started it from the command line ctrl-c (i.e. hold down ctrl and press c).
If you started it in the background. try killall omxplayer

gkreidl
Posts: 6307
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: how to exit omxplayer loop

Tue Apr 28, 2015 1:30 pm

AndyD wrote:If you started it from the command line ctrl-c (i.e. hold down ctrl and press c).
If you started it in the background. try killall omxplayer
No, use killall "omxplayer.bin". Otherwise the normal screen may not be restored.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

User avatar
AndyD
Posts: 2334
Joined: Sat Jan 21, 2012 8:13 am
Location: Melbourne, Australia
Contact: Website

Re: how to exit omxplayer loop

Tue Apr 28, 2015 8:32 pm

gkreidl wrote:No, use killall "omxplayer.bin". Otherwise the normal screen may not be restored.
Thanks @gkreidl. Yes, I forgot omxplayer runs omxplayer.bin.

hamza
Posts: 76
Joined: Fri Apr 03, 2015 7:16 pm

Re: how to exit omxplayer loop

Tue Apr 28, 2015 10:33 pm

thanx all

hamza
Posts: 76
Joined: Fri Apr 03, 2015 7:16 pm

Re: how to exit omxplayer loop

Mon May 04, 2015 8:52 pm

guys

can I use killall "omxplayer.bin" to stop or exit the video??
are there another commands(by programming ) to stop pause video??
also, how Can I detect(by programming) if the video is running or stop??

thanks alot

_greg_
Posts: 1
Joined: Thu Jun 11, 2020 5:18 am

Re: how to exit omxplayer loop

Thu Jun 11, 2020 5:24 am

I programmed omxplayer to play a video as soon as rasberry PI boots up and loop the video but now i can't exit the screen.
I've tried ctrl c, Q and cant bring up terminal because its overriding my key strokes.
Please could someone advise on any other possible ways I could stop omxplayer.

Return to “Beginners”