Pi Box
Posts: 17
Joined: Sun Dec 08, 2013 3:44 am

OMXPlayer question.

Thu Feb 13, 2014 10:17 pm

I need one with native looping support. I am not an expert at linux, and I am trying to move the binaries of one project to the pi. Installing this fork says

Copy over 'omxplayer-dist/*' to the pi '/ ' You may want to specify a valid font path inside the omxplayer shell script.

What does that mean and what should i do? Thank you.

User avatar
redhawk
Posts: 3465
Joined: Sun Mar 04, 2012 2:13 pm
Location: ::1

Re: OMXPlayer question.

Thu Feb 13, 2014 10:20 pm

If you want looping support just write a bash script i.e.

Code: Select all

#!/bin/bash
clear
omxplayer -b $@ > /dev/null 2>&1
$0 $@
Richard S.
Last edited by redhawk on Thu Feb 13, 2014 10:58 pm, edited 2 times in total.

Pi Box
Posts: 17
Joined: Sun Dec 08, 2013 3:44 am

Re: OMXPlayer question.

Thu Feb 13, 2014 10:25 pm

it must be totally seemless.

User avatar
redhawk
Posts: 3465
Joined: Sun Mar 04, 2012 2:13 pm
Location: ::1

Re: OMXPlayer question.

Thu Feb 13, 2014 11:00 pm

Pi Box wrote:it must be totally seemless.
It is :)

Save it as loop run chmod +x loop to make it executable, then to run: ./loop file_to_loop.mp4
To break out just press Ctrl + C on the console.

Richard S.

Pi Box
Posts: 17
Joined: Sun Dec 08, 2013 3:44 am

Re: OMXPlayer question.

Fri Feb 14, 2014 3:06 am

Well that's interesting, I guess I'll try it. Thank you for the input. 1 more question. Does it queue files? Lets say i need it to loop

video.mp4 but then display an image for 30 seconds, then play another .mp4 , then loop it literally seemlessly?

Pi Box
Posts: 17
Joined: Sun Dec 08, 2013 3:44 am

Re: OMXPlayer question.

Fri Feb 14, 2014 3:44 am

That is not seemless at all... can someone please answer my original question

ghans
Posts: 7882
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany

Re: OMXPlayer question.

Fri Feb 14, 2014 7:25 am

• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org

Return to “General discussion”