User avatar
psergiu
Posts: 224
Joined: Mon Nov 07, 2011 8:36 am
Location: TX, U.S.A. (was: RO, E.U.)
Contact: Website

Re: omxplayer - GPU enabled video player

Tue Sep 11, 2012 2:28 pm

I have found two h264 files that omxplayer is unable to play (black screen, sound is okay).
Is any omxplayer developer interested in checking them out ?
(PS: they are way too large for a forum or email attachement)

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

Re: omxplayer - GPU enabled video player

Tue Sep 11, 2012 2:55 pm

psergiu wrote:I have found two h264 files that omxplayer is unable to play (black screen, sound is okay).
Is any omxplayer developer interested in checking them out ?
(PS: they are way too large for a forum or email attachement)
Posting mediainfo (http://mediainfo.sourceforge.net/en) is the first step. Will show if they are out of spec for 4.1.
You can share them on dropbox.

JF002
Posts: 94
Joined: Sat Feb 04, 2012 8:49 am
Contact: Website

Re: omxplayer - GPU enabled video player

Tue Sep 11, 2012 7:58 pm

Hi!

I'm currently trying to embed OmxPlayer into my own code.
I manage to play audio file, seek, pause,...

But it's not easy to understand Omxplayer code and to find what I need. It would be so much easier if I had some information from the one(s) who wrote the code.
Do you know if the developper(s) (Huceke?) read the forum? Or any way to get in touch with him?

Thanks!
My web site : https://codingfield.com

User avatar
psergiu
Posts: 224
Joined: Mon Nov 07, 2011 8:36 am
Location: TX, U.S.A. (was: RO, E.U.)
Contact: Website

Re: omxplayer - GPU enabled video player

Wed Sep 12, 2012 5:44 pm

dom wrote: Posting mediainfo (http://mediainfo.sourceforge.net/en) is the first step. Will show if they are out of spec for 4.1.
You can share them on dropbox.
file1.mkv

Code: Select all

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L5.1
Format settings, CABAC : Yes
Format settings, ReFrames : 16 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 53mn 20s
Bit rate : 11.3 Mbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.227
Stream size : 4.12 GiB (94%)
Writing library : x264 core 55 svn-655
Encoding settings : cabac=1 / ref=16 / deblock=1:-2:-1 / analyse=0x3:0x133 / me=umh / subme=7 / brdo=1 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=0 / threads=2 / nr=0 / decimate=0 / mbaff=0 / bframes=3 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=3 / wpredb=1 / bime=1 / keyint=250 / keyint_min=25 / scenecut=40(pre) / rc=2pass / bitrate=11305 / ratetol=1.5 / rceq='blurCplx^(1-qComp)' / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30
Default : Yes
Forced : No
file2.mkv

Code: Select all

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L5.1
Format settings, CABAC : Yes
Format settings, ReFrames : 8 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 1h 2mn
Bit rate : 4 334 Kbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.087
Stream size : 1.86 GiB (85%)
Writing library : x264 core 58 r798M 17e5dac
Encoding settings : cabac=1 / ref=8 / deblock=1:-3:-3 / analyse=0x3:0x133 / me=umh / subme=6 / me-prepass=0 / brdo=1 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=1 / cqm=2 / deadzone=6,6 / chroma_qp_offset=0 / threads=6 / nr=0 / decimate=1 / mbaff=0 / bframes=3 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=1 / wpredb=1 / bime=1 / keyint=250 / keyint_min=25 / scenecut=40(pre) / rc=2pass / bitrate=4334 / ratetol=1.0 / rceq='blurCplx^(1-qComp)' / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:0.7:15.0
Language : Japanese
Default : Yes
Forced : No
I will PM you the download links once dropbox finishes syncing (tomorrow morning).
Thanks.

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

Re: omxplayer - GPU enabled video player

Wed Sep 12, 2012 5:49 pm

psergiu wrote: file1.mkv

Code: Select all

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L5.1
Format settings, CABAC : Yes
Format settings, ReFrames : 16 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 53mn 20s
Bit rate : 11.3 Mbps
Width : 1 920 pixels
Height : 1 080 pixels
...
file2.mkv 
[code]Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L5.1
Format settings, CABAC : Yes
Format settings, ReFrames : 8 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 1h 2mn
Bit rate : 4 334 Kbps
Width : 1 920 pixels
Height : 1 080 pixels
I will PM you the download links once dropbox finishes syncing (tomorrow morning).
Thanks.
No need to post them. We support high profile profile 4.1, as used by Blu-Rays.
We don't support 5.1 profile. And 16 reference frames is just ridiculous...

User avatar
psergiu
Posts: 224
Joined: Mon Nov 07, 2011 8:36 am
Location: TX, U.S.A. (was: RO, E.U.)
Contact: Website

Re: omxplayer - GPU enabled video player

Wed Sep 12, 2012 6:19 pm

Ok, canceling dropbox upload.

Is that is a limitation of omxplayer or of the VideoCore ?
In case it's the latter ... that's not good for some people's plans to rely on RPi as a media player.

There is a particular scene in that "ridiculous" file where thousands of birds are flying - http://i37.tinypic.com/107jqec.jpg
In any lower compression mode it looks awful (like in the above screenshot).
In this 5.1 profile file you can make out the fluttering of the wings - not white pixelated blotches.
It matters if you have a large screen TV.

Thanks.

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

Re: omxplayer - GPU enabled video player

Wed Sep 12, 2012 6:50 pm

psergiu wrote: Is that is a limitation of omxplayer or of the VideoCore ?
In case it's the latter ... that's not good for some people's plans to rely on RPi as a media player.

There is a particular scene in that "ridiculous" file where thousands of birds are flying - http://i37.tinypic.com/107jqec.jpg
In any lower compression mode it looks awful (like in the above screenshot).
In this 5.1 profile file you can make out the fluttering of the wings - not white pixelated blotches.
It matters if you have a large screen TV.

Thanks.
The source of the "birds" clip was a Blu-Ray, so it was 4.1 profile with 4 reference frames. There is no need to go higher for 1080p content.
Are you claiming that Blu-Rays are not high enough quality for your TV?

User avatar
psergiu
Posts: 224
Joined: Mon Nov 07, 2011 8:36 am
Location: TX, U.S.A. (was: RO, E.U.)
Contact: Website

Re: omxplayer - GPU enabled video player

Wed Sep 12, 2012 8:30 pm

dom wrote: Are you claiming that Blu-Rays are not high enough quality for your TV?
:D No. :D But a lot of the "High Quality" movie files you can ... find ... around ... are using this profile. And other media center boxes, even 3 year old models, are able to play those files a-Ok.

So anyone who wants to upgrade his old movie player from a (for example) 2009 2nd gen WD TV (or any other player with a Sigma Designs SMP86xx or simmilar/better chip) to a Raspberry Pi (because it's all the rage now, and it has CEC) can become a bit dissapointed. Even my old 1st gen 2008 WD TV was able to display those files (but with lots of frame drops).

Thanks a lot.

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

Re: omxplayer - GPU enabled video player

Sun Sep 16, 2012 1:56 am

The Pi is designed as an educational project to help interest children in learning to program.
The fact that it plays full HD video and hi-fi surround sound through its HDMI interface is a
welcome bonus. The WD media players you mention cost 2 or three times as much as a PI
and even they can't play the files you want to play.. You are expecting far too much from a cheap
mobile phone chip. This isn't a quad core PC with 16G memory. You will have to spend more
money and look elsewhere for a solution.

User avatar
psergiu
Posts: 224
Joined: Mon Nov 07, 2011 8:36 am
Location: TX, U.S.A. (was: RO, E.U.)
Contact: Website

Re: omxplayer - GPU enabled video player

Sun Sep 16, 2012 5:27 am

As i said - some people will be slightly disappointed.
I am not. I already have a better use for that Pi that i tried XBMC on. I'm amazed that it can do what it does at this price.
If anyone from Broadcom, in the future, ever wants to try to improve the VideoCore decoder (for fun and/or profit), drop me a PM and i'll send you those troublesome files.
Thank you.

gawcio90
Posts: 4
Joined: Tue Sep 18, 2012 11:45 am

Re: omxplayer - GPU enabled video player

Tue Sep 18, 2012 11:50 am

Hi! I try opening streaming from my dreambox but when I do it, I've got some problem.

Code: Select all

root@raspberrypi:/home/pi/whitey-0.1# omxplayer http://192.168.0.99:8001/1:0:1:13ED:5DC:13E:820000:0:0:0:
file : http://192.168.0.99:8001/1:0:1:13ED:5DC:13E:820000:0:0:0: reult 0 format mpegts audio streams 1 video streams 1 chapters 0 subtitles 1

have a nice day ;)
Link stream is proper, because it's working in vlc.
Where can be a problem?
Regards

User avatar
psergiu
Posts: 224
Joined: Mon Nov 07, 2011 8:36 am
Location: TX, U.S.A. (was: RO, E.U.)
Contact: Website

Re: omxplayer - GPU enabled video player

Tue Sep 18, 2012 12:36 pm

gawcio90 - have you purchased & installed a MPEG2 licence ? The stream "mpegts" looks to be a MPEG2.

gawcio90
Posts: 4
Joined: Tue Sep 18, 2012 11:45 am

Re: omxplayer - GPU enabled video player

Tue Sep 18, 2012 1:21 pm

psergiu - Do you think it's a problem? Yes you're right - it's MPEG2.

User avatar
psergiu
Posts: 224
Joined: Mon Nov 07, 2011 8:36 am
Location: TX, U.S.A. (was: RO, E.U.)
Contact: Website

Re: omxplayer - GPU enabled video player

Tue Sep 18, 2012 1:39 pm

As the title of this thread say, omxplayer is a GPU enabled video player. If you did not activated the MPEG2 licence, the GPU is unable to decode MPEG2 files.

gawcio90
Posts: 4
Joined: Tue Sep 18, 2012 11:45 am

Re: omxplayer - GPU enabled video player

Thu Sep 20, 2012 3:53 pm

Hi! It's working fine! Tell me how can I make some playlist for omxplayer? From dreambox I've got: 'playlist.m3u'

djsput
Posts: 4
Joined: Sun Sep 23, 2012 4:04 pm

Re: omxplayer - GPU enabled video player

Sun Sep 23, 2012 6:06 pm

Hi ! is it possible to realise seek to position feature for the omxplayer ?
like : omxplayer --jumpto 01:03:14 -o hdmi "your file"
or when you watch a video online, seek it like : seek 20:24 (stands for seek 20 min and 24 sec)
because seeking online videos is not working and when you have an stream error, you have to watch the video again from the beginning.

Hej-san
Posts: 2
Joined: Sun Nov 11, 2012 1:35 pm

Re: omxplayer - GPU enabled video player

Sun Nov 11, 2012 1:46 pm

I don't get this to work. I think it's because the link isn't working, but I don't know. Please help me!

m4f1050
Posts: 6
Joined: Tue Nov 27, 2012 6:25 pm

Re: omxplayer - GPU enabled video player

Wed Nov 28, 2012 4:57 am

I can't get any HDMI sound from MP3 stream out of my Raspbian, tried the modprobe command but no-go...

Code: Select all

pi@raspberrypi ~ $ sudo modprobe snd_bcm2835
pi@raspberrypi ~ $ omxplayer -o hdmi http://208.53.138.125:8294
file : http://208.53.138.125:8294 result 0 format mp3 audio streams 1 video streams 0 chapters 0 subtitles 0
Audio codec mp3 channels 2 samplerate 44100 bitspersample 16
Subtitle count : 0 state off : index 0
It will sit there doing nothing until I hit CONTROL-C, it then gives me a message:

Code: Select all

strg-c catched

have a nice day ;)
"-o local" works using the 3.5" plug but I want to listen it through the TV's speakers... Any ideas?

m4f1050
Posts: 6
Joined: Tue Nov 27, 2012 6:25 pm

Re: omxplayer - GPU enabled video player

Wed Nov 28, 2012 6:39 am

SOLVED:

HDMI audio now works after editing /boot/config.txt and uncommenting hdmi_drive=2 (remove the # symbol in front of it and reboot)

homer314
Posts: 2
Joined: Fri Nov 30, 2012 1:04 am

Re: omxplayer - GPU enabled video player

Fri Nov 30, 2012 1:20 am

Hi, it's possibile to use omxplayer as a VDR output interface just like xine (but with hardware accelation support of cuorse) ?

Thanks

spillthewine
Posts: 2
Joined: Mon Jan 21, 2013 7:22 am

Re: omxplayer - GPU enabled video player

Mon Jan 21, 2013 7:40 am

Pi Nood here.

I have Rev B and here's my setup:

Old Telly running off the Composite jack, Wireless Mouse and KB, Flash drive with MP4 Movie on it attached to USB.

I left this at the Console prompt. ( pi@raspberrypi) Hadn't logged into X for the session.

I SSH'd onto the Pi with my adjacent laptop using MOBAXTerm
and ran the OmxPlayer just plain jane like so

Code: Select all

pi@raspberrypi :  omxplayer TheNameOfTheMovie.mp4
The movie started (video & sound) on the TV attached to the composite jack. Played all the way through.

Marvelous:

I've read a workaround to have had it play on the screen (Laptop) I ran the ssh session from but...
When the movie ends, the composite screen just stays black...never goes back to the pi@raspberrypi prompt.

Keyboard commands from the ssh session were working so I could pause and skip around while the movie was playing but I no longer have access or control of the composite screen...I can play the movie file again, and even a different one and they continue to be displayed on the composite screen.

Is there a way to regain controll (get to the prompt) on the composite screen without rebooting?

Hope that wasn't too confusing...as to WHY i did this? Cuz I wanted to see what would happen.

Many thanks

arti0504
Posts: 24
Joined: Wed Jan 30, 2013 8:40 am

Re: omxplayer - GPU enabled video player

Thu Feb 07, 2013 7:57 am

Hi

Can I set omxplayer that show movie all the time. Could you tell me, how do it?

bigjig
Posts: 1
Joined: Sun Apr 21, 2013 12:11 pm

Re: omxplayer - GPU enabled video player

Sun Apr 21, 2013 1:42 pm

Hello all, I don't have a problem with omxplayer as such...

All I want to do is disable the log file it generates. I have looked everywhere and found no solution so wondering if any of you fellows might know?

I just do not want the log file to be created when I quit omxplayer. Any suggestions will be appreciated. Thanks

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

Re: omxplayer - GPU enabled video player

Sun Apr 21, 2013 2:05 pm

bigjig wrote:Hello all, I don't have a problem with omxplayer as such...

All I want to do is disable the log file it generates. I have looked everywhere and found no solution so wondering if any of you fellows might know?

I just do not want the log file to be created when I quit omxplayer. Any suggestions will be appreciated. Thanks
That's now the default behaviour after this commit:
https://github.com/huceke/omxplayer/com ... c7b7cea40d

You can build from source, or install a deb file from here:
http://omxplayer.sconde.net/
to get this.

Holliss
Posts: 16
Joined: Fri Apr 19, 2013 12:33 pm
Location: London

Re: omxplayer - GPU enabled video player

Sun Apr 21, 2013 3:50 pm

psergiu wrote:There is a particular scene in that "ridiculous" file where thousands of birds are flying - http://i37.tinypic.com/107jqec.jpg
Sorry for straying off topic, can someone please remind me of the name of the clip that bird scene is from please, had a copy of it ages ago and now can't remember it's name for the life of me.
Thanks,

Return to “Media centres”