return0__ has quit [Read error: Connection reset by peer]
return0e_ has joined #linux-amlogic
buzzmarshall has joined #linux-amlogic
return0__ has joined #linux-amlogic
return0e_ has quit [Ping timeout: 268 seconds]
return0__ has quit [Read error: Connection reset by peer]
return0e_ has joined #linux-amlogic
formruga has joined #linux-amlogic
mag_ has joined #linux-amlogic
mag_ is now known as mag
return0e_ has quit [Read error: Connection reset by peer]
return0e_ has joined #linux-amlogic
<formruga>
Hi. Do someone know if is possible to decode h264 movie with v4l2h264dec (GStreamer 1.16.2) on Odroid N2 (Linux 5.5-rc6, firmware g12a_h264.bin from linux-firmware 20200120)?
<formruga>
I asked, because for "gst-launch-1.0 filesrc location=sintel_trailer-720p.mp4 ! parsebin ! v4l2h264dec ! fakesink dump=yes", I don't get any decoded frame (pipeline goes to playing). I got warning: "WARN v4l2allocator gstv4l2allocator.c:1369:gst_v4l2_allocator_dqbuf:<v4l2h264dec0:pool:src:allocator> V4L2 provided buffer has bytesused 0
<formruga>
which is too small to include data_offset 0"
<chewitt>
ndufresne ^ were you responsible for GStreamer support? .. I forget anything that's not ffmpeg :)
<ndufresne>
it's just hobby on this platform for me, but I'm please to help
<ndufresne>
formruga: this is kernel badly behaving, ffmpeg code does not do bound checks, that's why chewitt didn't notice ;-D
<ndufresne>
formruga: I'm super late on testing, but narmstrong send v4 of "media: meson: vdec: Add compliant H264 support", which I have doubt made it for 5.5, but is likely to fix these type of errors
<chewitt>
formruga: does the kernel source you're using have the H264 vdec code merged?
<chewitt>
it's not upstream yet, only MPEG2
<chewitt>
patches are available tho, so easy to patch in
<ndufresne>
I'd give v4 a try really, first one passing the latest v4l2-compliance
<formruga>
chewitt: I see. When I saw in dmesg that kernel driver search for g12a_h264.bin, I assume that the driver support h.264. My fault.
<formruga>
Thanks for explanations. I will check v4.
<chewitt>
it depends on who's sources you're using
<formruga>
I took nightly version of Armbian, which is pointed on linux-meson.com.
<chewitt>
that's probably using a derivative of my sources so H264 should be patched in; maybe v3 not v4