jessedewaard
Posts: 8
Joined: Sat Sep 01, 2012 10:07 pm

OMXPlayer not starting

Sat Sep 01, 2012 10:17 pm

I want to play movies on the Raspbian hard float(newest version 16-8) but omxplayer is just not starting.
I tried different movies(all h264) but i get the same result:

For example Simpsons the movie trailer:

pi@raspberrypi ~ $ sudo omxplayer "The Simpsons Movie - Trailer.mp4"
file : The Simpsons Movie - Trailer.mp4 reult 13 format mov,mp4,m4a,3gp,3g2,mj2 audio streams 1 video streams 1 chapters 0 subtitles 0

have a nice day ;)

Nice.... but no video/audio.
What am i doing wrong(-o hdmi makes no difference)??
I had this on the previous version of raspbian too but at some point the audio started to work but now even thats not working.

I also tried to update with apt-get upgrade omxplayer but the newest version is also not working.

fredjam
Posts: 83
Joined: Thu Jul 19, 2012 3:19 am
Location: London UK

Re: OMXPlayer not starting

Sun Sep 02, 2012 12:51 am

Try this.
1. Rename the file and get rid of all the spaces in the filename.
then in a terminal enter omxplayer -o HDMI TheSimpsonsMovie-Trailer.mp4
If you don't include the -o (the letter o) option and HDMI then you won't get anywhere
and if you mispell the filename you won't get anywhere. I don't know if omxplayer objects
to spaces in the filename but once you have got it working you can experiment and
find out.

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5537
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: OMXPlayer not starting

Sun Sep 02, 2012 1:02 am

What memory split are you using?

jessedewaard
Posts: 8
Joined: Sat Sep 01, 2012 10:07 pm

Re: OMXPlayer not starting

Sun Sep 02, 2012 9:28 am

Im sure i spelled the name correct. Itried it with an other demo from the movie Serenity and named that file serenity.mp4 but that also didnt work. And the -o hdmi also does not work(its only for audio). The problem is that it does not play(it stops immediately) with all my movies. I know my movies are correct h264 encoded.

About the memory: it's the highest for the cpu so i think 16-gpu and 224-cpu option?
Do i have to adres more ram to the gpu??

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5537
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: OMXPlayer not starting

Sun Sep 02, 2012 9:31 am

jessedewaard wrote:Im sure i spelled the name correct. Itried it with an other demo from the movie Serenity and named that file serenity.mp4 but that also didnt work. And the -o hdmi also does not work(its only for audio). The problem is that it does not play(it stops immediately) with all my movies. I know my movies are correct h264 encoded.

About the memory: it's the highest for the cpu so i think 16-gpu and 224-cpu option?
Do i have to adres more ram to the gpu??
Yes, GPU decodes the video, so you need at least 192M/64M split.

jessedewaard
Posts: 8
Joined: Sat Sep 01, 2012 10:07 pm

Re: OMXPlayer not starting

Sun Sep 02, 2012 11:25 am

Thanks that worked.

Return to “Troubleshooting”