quack1
Posts: 2
Joined: Wed Apr 17, 2013 6:37 pm

Imossible to watch to h264 720p .mkv videos with omxplayer

Wed Apr 17, 2013 6:43 pm

Hello all,

I'm looking for a solution to this problem for a couple of weeks, I've seen many blog posts, documentation and forums, but nothing change.
I try to watch to a 720p h264 .mkv video with omxplayer on my "headless" rapsberry pi (booting without X.11), connected to my TV with hdmi.

I launch omxplayer with the following command :
$ omxplayer -o hdmi video.mkv
The first time I run it, I have sound but no video on the screen. The next times, nothing happened. omxplayer stop directly...
$ omxplayer -o hdmi video.mkv
Video codec omx-h264 width 1280 height 720 profile 100 fps 23.976025

have a nice day ;)
Do you have a solution to this problem so I can watch to my videos directly from my RPi ?
Thank you!

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

Re: Imossible to watch to h264 720p .mkv videos with omxplay

Wed Apr 17, 2013 7:20 pm

What gpu_mem split do you have?
You probably need gpu_mem=64, and possibly more if using subtitles.

quack1
Posts: 2
Joined: Wed Apr 17, 2013 6:37 pm

Re: Imossible to watch to h264 720p .mkv videos with omxplay

Wed Apr 17, 2013 7:23 pm

Where can I update this value ? /boot/config.txt ?

EDIT I set gpu_mem to 64 and it's fine! Even with subtitles!
Thank you very much

Return to “Beginners”