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

play omxplayer

Thu Apr 30, 2015 7:32 pm

Hi all

I want to play video using omxplayer but
How can I know if the video is running , paused or stop??

Thank you

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

Re: play omxplayer

Thu Apr 30, 2015 7:54 pm

You will see it.
And you can control it with keyboard commands.
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

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

Re: play omxplayer

Thu Apr 30, 2015 8:18 pm

:mrgreen: i need to know by programming ??
Is there flag or command??

piBob
Posts: 10
Joined: Thu Apr 30, 2015 5:44 pm

Re: play omxplayer

Thu Apr 30, 2015 8:33 pm

I feel your pain. I have to make many posts for an answer. If I do get an answer, it only creates many more questions. pi2b is a terrible experience so far. I think this forum is what makes it worse. Well prolly the web pages expaling this pi2b are worst.

johndavies
Posts: 205
Joined: Fri Dec 20, 2013 1:00 pm

Re: play omxplayer

Thu Apr 30, 2015 9:30 pm

Minimal Kiosk Browser is excellent for playing videos. Use the File Manager to find the videofile. They usually end in .avi, .mp4 or .mkv and choose to play it using omxplayergui. You can also play the file directly from the LXTerminal. Type omxplayer, space, the path to the video file most of which you can see at the top of the File Manager. On my Raspberry Pi it is set out as follows:
omxplayer /media/videos/the name of the directory the videofile is in if there is one/the videofile.
If there are any spaces in the directory or the videofile, you must put "at the beginning and " at the end
e.g. omxplayer /media/videos/"Kew on a Plate"/"01 - Spring.mp4"
Most directories and videofiles have a full stop or an underscore character as spacers e.g
omxplayer /media/videos/Hitlers.Rise.The.Colour.Films.S01E02/Hitlers.Rise.The.Colour.Films.S01E02.avi. These do not need to be enclosed inside inverted commas.

User avatar
kusti8
Posts: 3439
Joined: Sat Dec 21, 2013 5:29 pm
Location: USA

Re: play omxplayer

Thu Apr 30, 2015 10:08 pm

piBob wrote:I feel your pain. I have to make many posts for an answer. If I do get an answer, it only creates many more questions. pi2b is a terrible experience so far. I think this forum is what makes it worse. Well prolly the web pages expaling this pi2b are worst.

What do you mean? There are more than 4.5 million pis out there. The documentation is the best out of any small hacker device. If you are really struggling then I would just say it's not for you. I got started with no Linux experience with many Web guides and find it very easy.
There are 10 types of people: those who understand binary and those who don't.

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

Re: play omxplayer

Fri May 01, 2015 10:02 am

Is there any solution??

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

Re: play omxplayer

Fri May 01, 2015 10:13 am

hamza wrote:Is there any solution??
There always is. But nobody really understands what you are asking for - at least I don't.
Explain your problem and your situation and you'll find help.
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
DougieLawson
Posts: 38883
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: play omxplayer

Fri May 01, 2015 11:30 am

kusti8 wrote:
piBob wrote:I feel your pain. I have to make many posts for an answer. If I do get an answer, it only creates many more questions. pi2b is a terrible experience so far. I think this forum is what makes it worse. Well prolly the web pages expaling this pi2b are worst.

What do you mean? There are more than 4.5 million pis out there. The documentation is the best out of any small hacker device. If you are really struggling then I would just say it's not for you. I got started with no Linux experience with many Web guides and find it very easy.
Don't feed the troll.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

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

Re: play omxplayer

Fri May 01, 2015 12:38 pm

piBob is not a troll, he's a teacher.
I always thought, that a teacher should know how to study a subject before he starts teaching it, but it seems I'm overly optimistic.
I still remember how much fun my kids had at school, when some teachers tried to teach them "computing", having much more knowledge and experience than their teachers.
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

BMS Doug
Posts: 3824
Joined: Thu Mar 27, 2014 2:42 pm
Location: London, UK

Re: play omxplayer

Fri May 01, 2015 1:19 pm

I remember a teacher telling me that absolute zero was -273 Degrees Kelvin or 0 Degrees Centigrade, he had to call for a second opinion from another teacher as he wouldn't believe me when I told him he had it wrong.

(aka why electrical installation tutors shouldn't try to teach general physics).
Doug.
Building Management Systems Engineer.

Return to “Beginners”