- 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
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)
Is any omxplayer developer interested in checking them out ?
(PS: they are way too large for a forum or email attachement)
-
- Raspberry Pi Engineer & Forum Moderator
- Posts: 5712
- Joined: Wed Aug 17, 2011 7:41 pm
- Location: Cambridge
Re: omxplayer - GPU enabled video player
Posting mediainfo (http://mediainfo.sourceforge.net/en) is the first step. Will show if they are out of spec for 4.1.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)
You can share them on dropbox.
Re: omxplayer - GPU enabled video player
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!
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
- 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
file1.mkvdom 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.
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
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
Thanks.
-
- Raspberry Pi Engineer & Forum Moderator
- Posts: 5712
- Joined: Wed Aug 17, 2011 7:41 pm
- Location: Cambridge
Re: omxplayer - GPU enabled video player
No need to post them. We support high profile profile 4.1, as used by Blu-Rays.psergiu wrote: file1.mkvI will PM you the download links once dropbox finishes syncing (tomorrow morning).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
Thanks.
We don't support 5.1 profile. And 16 reference frames is just ridiculous...
- 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
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.
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.
-
- Raspberry Pi Engineer & Forum Moderator
- Posts: 5712
- Joined: Wed Aug 17, 2011 7:41 pm
- Location: Cambridge
Re: omxplayer - GPU enabled video player
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.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.
Are you claiming that Blu-Rays are not high enough quality for your TV?
- 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
dom wrote: Are you claiming that Blu-Rays are not high enough quality for your TV?


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.
Re: omxplayer - GPU enabled video player
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.
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.
- 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
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.
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.
Re: omxplayer - GPU enabled video player
Hi! I try opening streaming from my dreambox but when I do it, I've got some problem.
Link stream is proper, because it's working in vlc.
Where can be a problem?
Regards
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 ;)
Where can be a problem?
Regards
- 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
gawcio90 - have you purchased & installed a MPEG2 licence ? The stream "mpegts" looks to be a MPEG2.
Re: omxplayer - GPU enabled video player
psergiu - Do you think it's a problem? Yes you're right - it's MPEG2.
- 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
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.
Re: omxplayer - GPU enabled video player
Hi! It's working fine! Tell me how can I make some playlist for omxplayer? From dreambox I've got: 'playlist.m3u'
Re: omxplayer - GPU enabled video player
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.
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.
Re: omxplayer - GPU enabled video player
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!
Re: omxplayer - GPU enabled video player
I can't get any HDMI sound from MP3 stream out of my Raspbian, tried the modprobe command but no-go...
It will sit there doing nothing until I hit CONTROL-C, it then gives me a message:
"-o local" works using the 3.5" plug but I want to listen it through the TV's speakers... Any ideas?
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
Code: Select all
strg-c catched
have a nice day ;)
Re: omxplayer - GPU enabled video player
SOLVED:
HDMI audio now works after editing /boot/config.txt and uncommenting hdmi_drive=2 (remove the # symbol in front of it and reboot)
HDMI audio now works after editing /boot/config.txt and uncommenting hdmi_drive=2 (remove the # symbol in front of it and reboot)
Re: omxplayer - GPU enabled video player
Hi, it's possibile to use omxplayer as a VDR output interface just like xine (but with hardware accelation support of cuorse) ?
Thanks
Thanks
-
- Posts: 2
- Joined: Mon Jan 21, 2013 7:22 am
Re: omxplayer - GPU enabled video player
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
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
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
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
Re: omxplayer - GPU enabled video player
Hi
Can I set omxplayer that show movie all the time. Could you tell me, how do it?
Can I set omxplayer that show movie all the time. Could you tell me, how do it?
Re: omxplayer - GPU enabled video player
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
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
-
- Raspberry Pi Engineer & Forum Moderator
- Posts: 5712
- Joined: Wed Aug 17, 2011 7:41 pm
- Location: Cambridge
Re: omxplayer - GPU enabled video player
That's now the default behaviour after this commit: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
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.
Re: omxplayer - GPU enabled video player
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.psergiu wrote:There is a particular scene in that "ridiculous" file where thousands of birds are flying - http://i37.tinypic.com/107jqec.jpg
Thanks,