v4l2codecs: Playing 4k H264 portrait videos fails (rk3399 and iMX8MQ)
Trying some test videos from https://floss.social/@rmader/112320017496066938 (with Tuba, but reproducible with gst-play-1.0
) I found that both 4k (2160 × 3840) portrait videos fail to play with the message:
0:00:02.634166952 3308 0xffff88001250 ERROR v4l2codecs-h264dec gstv4l2codech264dec.c:941:gst_v4l2_codec_h264_dec_new_sequence:<v4l2slh264dec0> Failed to negotiate with downstream
0:00:02.634392119 3308 0xffff88001250 ERROR v4l2codecs-decoder gstv4l2decoder.c:344:gst_v4l2_decoder_set_sink_fmt:<v4l2decoder2> VIDIOC_S_FMT failed: Inappropriate ioctl for device
Tested on rk3399 and iMX8MQ (the later not checked whether the error is the same) - with and without !6645
These might be kernel bugs, but they at least break v4l2slh264dec
while vah264dec
handles the same files well on Intel and AMD for me.
Edited by Robert Mader