narmstrong changed the topic of #linux-amlogic to: Amlogic mainline kernel development discussion - our wiki http://linux-meson.com/ - ml linux-amlogic@lists.infradead.org - official channel moved from Freenode - publicly logged on https://libera.irclog.whitequark.org/linux-amlogic
Ballerbu1g9005 has quit [Ping timeout: 252 seconds]
vagrantc has quit [Quit: leaving]
AM_MXQ_A_2015082 has joined #linux-amlogic
AM_MXQ_A_2015082 has quit [Quit: Client closed]
Ballerburg9005 has joined #linux-amlogic
camus has quit [Quit: camus]
GNUtoo has quit [Write error: Connection reset by peer]
GNUtoo has joined #linux-amlogic
Ballerburg9005 has quit [Ping timeout: 268 seconds]
shoragan has quit [*.net *.split]
steev has quit [*.net *.split]
shoragan has joined #linux-amlogic
steev has joined #linux-amlogic
vagrantc has joined #linux-amlogic
Ballerburg9005 has joined #linux-amlogic
<tortoise> On first attempt, I'm not able to get the v4l2 decoder to work with FFmpeg 4.2's libavcodec on ubuntu on a radxa-zero board. All I get is this error message on stderr
<tortoise> [h264_v4l2m2m @ 0xaaab0ebcd180] output POLLERR
<tortoise> Is there a specific version of ffmpeg I should be using?
<tortoise> I thought I read somewhere that the vdec driver was tested by using ffmpeg? Where does the testing associated stuff live? that is test cases or test runner or what have you?
<tortoise> Oh wait, in dmesg I see a more an informative error message which looks like its the deal:
<tortoise> meson-vdec ff620000.video-decoder: Direct firmware load for meson/vdec/g12a_h264.bin failed with error -2
<tortoise> not sure why thats not in the radxa-zero ubuntu image. But I just copied that bin from the LibreELEC repo and it did get a bit further.
<tortoise> [ 2431.489602] meson-vdec ff620000.video-decoder: esparser_pad_start_code: unable to pad start code
<tortoise> [ 2431.692078] meson-vdec ff620000.video-decoder: esparser: input parsing error
<tortoise> I assume that it's ok to just copy the firmware bin from LibreElec like that. Or am I deranged?
<tortoise> Which just brings me back to my first question. Could it be that a specific version of ffmpeg is needed to do the correct dance with the kernel driver/hardware decoder? I'm guessing that this vb2_plane_size wasn't initialized or to the right size by my ffmpeg's v4l2 code
vagrantc has quit [Quit: leaving]
<tortoise> Nevermind, I figured out the problem was with the bitstream itself and not the driver or ffmpeg.
paddymahoney has joined #linux-amlogic