This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Omxplayer equivalent
#1
Excited to have my TinkerBoard Smile

I am looking for your recommendations on packages that are equivalent to these Pi packages:

omxplayer

Essentially I want to stream a rtmp stream to HDMI out.
On Pi I just did:

omxplayer -o hdmi --live rtmp://localhost/rtmp/live
Reply
#2
(03-30-2017, 05:15 AM)hblanken Wrote: I am looking for your recommendations on packages that are equivalent to these Pi packages:

omxplayer

Essentially I want to stream a rtmp stream to HDMI out.
On Pi I just did:

omxplayer -o hdmi --live rtmp://localhost/rtmp/live

omxplayer needs OpenMAX aware platform. I do not known port of OpenMAX for MPP (https://github.com/rockchip-linux/mpp) for now.
You can use gstreamer multimedia framework directly "gst-launch" with gstreamer-rk (https://github.com/rockchip-linux/gstreamer-rockchip).
There is "Rockchip Video Player" ( vpu -> mpp -> gstreamer-rk -> qtmultimedia -> player ) see repository https://github.com/rockchip-linux/rk-qt-video
I left this community in Aug 2017 due to bad product quality and community support that did not match my expectation.  Sad
Reply
#3
Thanks for your suggestions, I will look into these. Ideally I do not want to use an decoder/encoder to stream to hdmi out

Can anyone help with this question: How can I stream a rtmp stream to HDMI out on tinker board? What would the command be? Something similar to omxplayer would be great.
Reply
#4
(03-30-2017, 05:15 AM))hblanken Wrote: On Pi I just did:

omxplayer -o hdmi --live rtmp://localhost/rtmp/live

Now you can do it in TinkerOS 1.6 because it contains upgraded gstreamer (1.10.4 eg. >=1.8.1) that is needed for video acceleration (https://github.com/rockchip-linux/gstreamer-rockchip).
You can build gstreamer pipe (search Internet for examples, usage depends on source multiplexing and encoding):


Code:
gst-launch-1.0 rtmpsrc location="rtmp://localhost/rtmp/live live=1" ! ... ! mppvideodec ! kmssink connector-id=65 plane-id=49
gst-launch-1.0 rtmpsrc location="rtmp://localhost/rtmp/live live=1" ! ... ! mppvideodec ! eglglessink

mppvideodec - MPP accelerated video decoder (see gst-inspect-1.0 mppvideodec)
kmssink - KMS with DRM video overlay (see gst-inspect-1.0 kmssink). You must "systemctl stop lightdm" to free access to overlay.
eglglessink - EGL/GLES video overlay inside X11 window (see gst-inspect-1.0 eglglessink).
I left this community in Aug 2017 due to bad product quality and community support that did not match my expectation.  Sad
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)