http://en.wikipedia.org/wiki/Planet_Earth_(TV_series) Episode 1. "From Pole to Pole"Holliss wrote: 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,
Re: omxplayer - GPU enabled video player
-
- Raspberry Pi Engineer & Forum Moderator
- Posts: 6424
- Joined: Wed Aug 17, 2011 7:41 pm
- Location: Cambridge
Re: omxplayer - GPU enabled video player
I spotted that sample here:
http://www.auby.no/files/video_tests/
This is the original untouched video from the Blu-Ray. It plays fine for me.
Note there is also a badly encoded version around called killa.mkv which uses 5.1 profile and 16 reference frames.
That's out of spec for the Pi, although I think it did play for me with sufficient gpu_mem.
http://www.auby.no/files/video_tests/
This is the original untouched video from the Blu-Ray. It plays fine for me.
Note there is also a badly encoded version around called killa.mkv which uses 5.1 profile and 16 reference frames.
That's out of spec for the Pi, although I think it did play for me with sufficient gpu_mem.
Re: omxplayer - GPU enabled video player
I downloaded all three 1080p examples and they worked fine.
omxplayer is getting better all the time. There is only one thing I'm really missing: support for usb audio cards, either with alsa or pulse audio.
omxplayer is getting better all the time. There is only one thing I'm really missing: support for usb audio cards, either with alsa or pulse audio.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer
-
- Raspberry Pi Engineer & Forum Moderator
- Posts: 6424
- Joined: Wed Aug 17, 2011 7:41 pm
- Location: Cambridge
Re: omxplayer - GPU enabled video player
Not something I will support. omxplayer plays the audio from the GPU. It has no knowledge of USB or linux or alsa.gkreidl wrote:I downloaded all three 1080p examples and they worked fine.
omxplayer is getting better all the time. There is only one thing I'm really missing: support for usb audio cards, either with alsa or pulse audio.
It would be possible to disable the openmax audio and just use omplayer for the video decode. Then some completely new code could support ALSA audio output from the ARM.
It would be pretty difficult to get audio and video in sync, and not drifting, and to synchronise the play/pause/seek messages. Possible, but someone who wants the feature will have to do the work.
Re: omxplayer - GPU enabled video player
Thanks for the explanation.dom wrote:Not something I will support. omxplayer plays the audio from the GPU. It has no knowledge of USB or linux or alsa.
It would be possible to disable the openmax audio and just use omplayer for the video decode. Then some completely new code could support ALSA audio output from the ARM.
It would be pretty difficult to get audio and video in sync, and not drifting, and to synchronise the play/pause/seek messages. Possible, but someone who wants the feature will have to do the work.
G.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer
flac audio distorted
Flac audio files are played too loud and distorted since version of April 21st. (and also in the current version of yesterday).
After reinstalling omxplayer_0.2.5~git20130326~5b369233 it worked again. So the problem must have occurred between these two versions.
I have the newest firmware installed.
Guenter
After reinstalling omxplayer_0.2.5~git20130326~5b369233 it worked again. So the problem must have occurred between these two versions.
I have the newest firmware installed.
Guenter
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer
Re: omxplayer - GPU enabled video player
I have this issue where if it attempts to play a video (in my case, whitey), omxplayer flashes black and crashes.
EDIT: Never mind, I got it working when updating youtube-dl using.
EDIT: Never mind, I got it working when updating youtube-dl using
Code: Select all
sudo youtube-dl -U
Last edited by BrianXP7 on Wed May 08, 2013 6:13 pm, edited 1 time in total.
Re: omxplayer - GPU enabled video player
@Dom
Could you please modify the omxplayer script for the next release so that it also restores a 24-bit framebuffer:
Guenter
Could you please modify the omxplayer script for the next release so that it also restores a 24-bit framebuffer:
Code: Select all
elif [ "$DEPTH2" == "16" ] || [ "$DEPTH2" == "32" ] || [ "$DEPTH2" == "24" ]; then
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer
- STrRedWolf
- Posts: 26
- Joined: Fri Oct 05, 2012 1:47 am
Re: omxplayer - GPU enabled video player
Anyone actually try a direct RTMP stream? This is what I get (FYI stream is an artwork stream and gets NSFW):
Code: Select all
<U+FEFF>00:00:00 T:0 DEBUG: DllBcm: Using omx system library
00:00:00 T:0 DEBUG: DllOMX: Using omx system library
00:00:00 T:0 DEBUG: DllAvFormat: Using libavformat system library
00:00:00 T:0 DEBUG: DllAvUtilBase: Using libavutil system library
00:00:00 T:0 DEBUG: DllAvCodec: Using libavcodec system library
00:00:00 T:0 DEBUG: DllAvFormat: Using libavformat system library
00:00:00 T:0 ERROR: COMXPlayer::OpenFile - avformat_open_input rtmp://wolf.tv.macrophile.com/oflaDemo/wolftv
Re: omxplayer - GPU enabled video player
Hi, I dont know if this is the right place to ask, but...
I wish to know if is planned to support the wmv1 (Windows Media Video 7/8) codec.
I have a license to VC-1 but only decode wmv3 (Windows Media Video 9).
It is possible to decode this codec by software or the Raspberry Pi dont have the power to implement this.
Thanks in advance!
I wish to know if is planned to support the wmv1 (Windows Media Video 7/8) codec.
I have a license to VC-1 but only decode wmv3 (Windows Media Video 9).
It is possible to decode this codec by software or the Raspberry Pi dont have the power to implement this.
Thanks in advance!
-
- Raspberry Pi Engineer & Forum Moderator
- Posts: 6424
- Joined: Wed Aug 17, 2011 7:41 pm
- Location: Cambridge
Re: omxplayer - GPU enabled video player
There's no hardware support for older wmv codecs. The arm is not powerful to decode in software.antekgla wrote:Hi, I dont know if this is the right place to ask, but...
I wish to know if is planned to support the wmv1 (Windows Media Video 7/8) codec.
I have a license to VC-1 but only decode wmv3 (Windows Media Video 9).
It is possible to decode this codec by software or the Raspberry Pi dont have the power to implement this.
I think you'll have to transcode them, or play them on a different device.
Re: omxplayer - GPU enabled video player
@dom:
any idea, when the broken flac support will be fixed?
any idea, when the broken flac support will be fixed?
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer
-
- Posts: 1
- Joined: Thu May 09, 2013 9:20 pm
Re: omxplayer - GPU enabled video player
Is it possible to use omxplayer with framebuffer devices?
I have a spi tft display and I don't know how can sending rtmp live stream with omxplayer to the spi tft /dev/fb1)
If I use mplayer the code is
Thanks,
marco
I have a spi tft display and I don't know how can sending rtmp live stream with omxplayer to the spi tft /dev/fb1)
If I use mplayer the code is
Code: Select all
sudo mplayer -vo fbdev2:/dev/fb1 -x 128 -y 160 -zoom rtmp://......
marco
-
- Posts: 1
- Joined: Wed May 15, 2013 7:35 am
Re: omxplayer - GPU enabled video player
Hi there,
I am trying to capture a screenshot from the hdmi output on my Pi that is running an omxplayer stream.
I tried to take a snapshot from the framebuffer and save it as a picture. Unfortunately this only returns the console output (debian login form) but not a frame of the video running below.
Any ideas? How does the omxplayer outputs the video to the hdmi port?
Thank you,
the littlehelper
EDIT: Or maybe someone has another idea how to check if the stream is still running or frozen and I need to restart it.
I am trying to capture a screenshot from the hdmi output on my Pi that is running an omxplayer stream.
I tried to take a snapshot from the framebuffer and save it as a picture. Unfortunately this only returns the console output (debian login form) but not a frame of the video running below.
Any ideas? How does the omxplayer outputs the video to the hdmi port?
Thank you,
the littlehelper
EDIT: Or maybe someone has another idea how to check if the stream is still running or frozen and I need to restart it.
Re: omxplayer - GPU enabled video player
mine goes to a black screen and you can see the little monitor in the task bar nothing else eventualy times out and goes back to main screen im running it from a remote computer and going through anolog
-
- Posts: 51
- Joined: Mon Dec 31, 2012 9:17 pm
Re: omxplayer - GPU enabled video player
I'm with marcoraspy, would support for drawing to a secondary framebuffer display (/dev/fb1) be possible?
Thanks!!
Thanks!!
Re: omxplayer - GPU enabled video player
As far as I know, omxplayer does not send anything to any framebuffer at all. The video stream is decoded and displayed directly by the GPU.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer
-
- Posts: 51
- Joined: Mon Dec 31, 2012 9:17 pm
Re: omxplayer - GPU enabled video player
Thanks gkreidl, that would make sense with how much smoother the video plays compared to mplayer.
Re: omxplayer - GPU enabled video player
Yes, the preview display is a overlay on top of the usual framebuffer. Strictly speaking, the GPU can have a number of bitmaps which it composites together in real time - the frame buffer is one, the preview is another. The preview is just on a higher layer so appears over the framebuffer. I think EGL uses another for 2D/3D surfaces, and the HW cursor I am looking at is yet another.gkreidl wrote:As far as I know, omxplayer does not send anything to any framebuffer at all. The video stream is decoded and displayed directly by the GPU.
You can even add your own (AFAIK), this is done using dispmanx calls to the GPU, but it does involved some hairy memory management (since the GPU and ARM have different memory schemes)
Principal Software Engineer at Raspberry Pi Ltd.
Working in the Applications Team.
Working in the Applications Team.
-
- Posts: 85
- Joined: Fri Feb 05, 2016 12:35 am
- Location: Los Angeles, CA, USA, Earth
Re: omxplayer - GPU enabled video player
I was able to download and install omxplayer, but from http://omxplayer.sconde.net/builds/omxp ... _armhf.deb instead of the links above (those have ellipses in the URLs and no longer work).
The player works. From an ssh session:
results in audio/video over HDMI port to my TV, and looks terrific, with low CPU usage on my Pi3. ssh session reports:
and finally:
But I can't get a stream out of my Reolink RLC-423s camera. From my ssh session:
results in no change on my TV, and the following in my ssh session:
but no video. If I press q my ssh session says:
I noticed that the video is way larger than my TV can display, so I played with cropping.
results in the upper left of that video being scaled proportionally to my TV, so I appear to have the crop syntax correct. But:
produces no video. I _do_ get a black screen, which I suppose is progress (vs no change at all when I don't supply the crop option).
I know that URL is correct, because I can copy/paste that into VLC, and I get good video.
Am I passing the URL oxmplayer incorrectly?
That stream has no audio, if that's important.
Thanks!
The player works. From an ssh session:
Code: Select all
omxplayer -o hdmi LeticiaShootsPeacock.mp4
Code: Select all
Video codec omx-h264 width 1920 height 1080 profile 100 fps 27.000000
Error: Unable to open font
Audio codec aac channels 1 samplerate 8000 bitspersample 16
Subtitle count: 0, state: off, index: 1, delay: 0
V:PortSettingsChanged: 1920x1080@27.00 interlace:0 deinterlace:0 anaglyph:0 par:1.00 display:0 layer:0 alpha:255 aspectMode:0
and finally:
Code: Select all
Stopped at: 00:00:06
have a nice day ;)
Code: Select all
omxplayer -o hdmi rtsp://anonymous:password@192.168.1.11:554
Code: Select all
Video codec omx-h264 width 2304 height 1296 profile 100 fps 30.000000
Error: Unable to open font
Audio codec aac channels 1 samplerate 16000 bitspersample 16
Subtitle count: 0, state: off, index: 1, delay: 0
Code: Select all
Stopped at: 00:00:00
have a nice day ;)
Code: Select all
omxplayer -o hdmi LeticiaShootsPeacock.mp4 -b --crop 0,0,640,480
Code: Select all
omxplayer -o hdmi rtsp://anonymous:password@192.168.1.11:554 -b --crop 0,0,640,480
I know that URL is correct, because I can copy/paste that into VLC, and I get good video.
Am I passing the URL oxmplayer incorrectly?
That stream has no audio, if that's important.
Thanks!
Re: omxplayer - GPU enabled video player
The image size of your video stream is too large for the H264 decoder built into the VC4 GPU.
It is specified for "up to 1920x1080p30" (and also works for 1920x1080p60 with an accelerated GPU).
It is specified for "up to 1920x1080p30" (and also works for 1920x1080p60 with an accelerated GPU).
Last edited by gkreidl on Fri Jan 26, 2018 10:29 pm, edited 1 time in total.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer
-
- Posts: 85
- Joined: Fri Feb 05, 2016 12:35 am
- Location: Los Angeles, CA, USA, Earth
Re: omxplayer - GPU enabled video player
Thanks!
Ah, too bad. Is that a hardware limitation?
My Reolink camera's output resolution only goes down to 2304 x 1296.

This is annoying, because my older Reolink camera will output 1080p and 720p. This one is newer and better, so it lacks the lower output resolutions.

I'll have to see if my Pi has enough CPU for ffmpeg to scale it down. Would that work? How does one command omxplayer to take a feed from ffmpeg processing a stream? There are examples for processing a file, but how does that work for a stream? I have ffmpeg pushing a stream to an RTMP ingestor (e.g. YouTube streaming channel), but how do I make it available for omxplayer to pick up?
Thanks!