stikonas has quit [Read error: Connection reset by peer]
stikonas has joined #linux-rockchip
<wv>
Hello, I just started my rk3288-based board with mainline kernel (panfrost+mesa+wayland), using yocto. What I'm still lacking is hardware accelerated video decoding via gstreamer. How to do that? Any hints?
stikonas has quit [Read error: Connection reset by peer]
mx08 has quit [Server closed connection]
<phh>
wv: first step is checking you have /dev/videoX entries matching the hw video accelerator
mx08 has joined #linux-rockchip
stikonas has joined #linux-rockchip
<wv>
phh, I have no /dev/videoX entries.
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<phh>
you did your board's dts yourself? does it have video decoder enabled?
<wv>
it's rockchip-rk3288-evb-act8846
<wv>
but I just checkt the kernel config,and it was lacking hantro. I guess that is what I need?
<phh>
yup
<wv>
so the correct thing to do then is getting hantro in kernel + v4l2 of gstreamer?
<phh>
yes. gstreamer-side you probably want specifically the v4l2m2m modules i think
<wv>
and that will all automagically integrate?
<phh>
I don't quite remember how it works on gstreamer sorry, but I'd say "no". everytime I tried I ended up manually giving the pipeline
<wv>
:-) Thanks, I'll give it a try
warpme has joined #linux-rockchip
<phh>
fwiw raspberry pies also use the same v4l m2m stateless kernel API for some decoders, so if you find such documentations they can be relevant
<phh>
fwiw, when experimenting with those things, I had better luck with ffmpeg than with gstreamer. Specifically there is a fork of ffmpeg done by rpi which contains latest up-to-date fixes (mainline ffmpeg already has great support)
minute has joined #linux-rockchip
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
macromorgan has joined #linux-rockchip
<wens>
w/ gstreamer you need the ugly plugins, that will have the v4l2 stateless stuff.
<wens>
and you need a recent enough version
<phh>
wens: they'll automatic enable on their own, or you need to explicitly pop the pipeline manually?
<wens>
you could use gst123 if you don't want to figure out the pipeline yourself
warpme has joined #linux-rockchip
<macromorgan>
I hate to ask this (because the correct answer is "why don't you try macromorgan"), but is anyone working on the VOP2 support for the rk3588?
<macromorgan>
DRM scares me
<wv>
phh, wens, v4l2codecs are in gstreamer-plugins-bad, and when udev flag is enabled, it will do it all automagicaly
<wv>
I just figured :-)
stikonas has quit [Quit: Konversation terminated!]
stikonas has joined #linux-rockchip
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wv has quit [Quit: Client closed]
psydroid has joined #linux-rockchip
vagrantc has joined #linux-rockchip
dsimic has quit [Quit: Going offline for now]
dsimic has joined #linux-rockchip
warpme has joined #linux-rockchip
dsimic has quit [Quit: Going offline for now]
dsimic has joined #linux-rockchip
dsimic has quit [Client Quit]
dsimic has joined #linux-rockchip
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hanetzer has quit [Read error: Connection reset by peer]
hanetzer has joined #linux-rockchip
warpme has joined #linux-rockchip
chewitt has quit [Quit: Zzz..]
<mriesch>
macromorgan: not to my knowledge
<mriesch>
:-(
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
asriel has quit [Quit: Don't drink the water. They put something in it to make you forget.]
macromorgan has quit [Quit: Leaving]
stikonas has quit [Read error: Connection reset by peer]
stikonas has joined #linux-rockchip
a1batross has quit [Server closed connection]
warpme has joined #linux-rockchip
crabbedhaloablut has quit []
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
stikonas has quit [Read error: Connection reset by peer]
stikonas has joined #linux-rockchip
warpme has joined #linux-rockchip
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hanetzer has quit [Ping timeout: 246 seconds]
hanetzer has joined #linux-rockchip
dlg has quit [Read error: Connection reset by peer]
psydroid has quit [Remote host closed the connection]