BayLibre / ffmpeg-drm

101 code to validate ffmpeg DRM changes
11 stars 12 forks source link

error: Cannot find plane #4

Open SupremeJulyan opened 3 years ago

SupremeJulyan commented 3 years ago

When I first execute run.sh,the output is: [h264_v4l2m2m @ 0x1b16be20] Could not find a valid device [h264_v4l2m2m @ 0x1b16be20] can't configure decoder 1604472023:00728678 :error: Could not open codec

And then I changed the decoder:h264,the output is:

1604471950:00018876 : ffmpeg-drm: drm: connector: connected 1604471950:00019070 : ffmpeg-drm: available connector(s) 1604471950:00019089 : ffmpeg-drm: connector id:47 1604471950:00019099 : ffmpeg-drm: encoder id:46 crtc id:45 fb id:0 1604471950:00019110 : ffmpeg-drm: width:3840 height:2160 1604471950:00019136 :drm: found planes 3 1604471950:00019187 :error: Cannot find plane 1604471950:00019242 :error: Error initializing drm

How could I solve it?

SupremeJulyan commented 3 years ago

I tried it on AllWinner H6 platform,can you give me some advice?

wasalm commented 3 years ago

Having the same issue on Raspberry Pi 4. For me the issue is that it needs to find a plane supporting pixel format 2795939494 (= 0xA6A6A6 = '||||'). I have no idea how to solve this issue.