So I managed to add proof of concept support for
Intra -V4L2_CID_MPEG_VIDEO_INTRA_REFRESH_PERIOD,
auds (V4L2_CID_MPEG_VIDEO_AU_DELIMITER),
slicing (V4L2_CID_MPEG_VIDEO_MULTI_SLICE_MAX_MB)
to the driver.
Also added SEIs in (nice to have)
However, I need a bit more help regaring intra.
From testing, I cannot make out what MMAL_VIDEO_INTRA_REFRESH_CYCLIC actually does.
To properly support V4L2_CID_MPEG_VIDEO_INTRA_REFRESH_PERIOD, I think MMAL_VIDEO_INTRA_REFRESH_CYCLIC_MROWS
would be the easiest - since i found out that in this case i can just set cir_mbs such that a refresh completes after 1 cycle.
I also need some confirmation on the algrithm to calculate cir_mbs though (best from someone with knowledge about the driver internals.
And a last question - rpivid doesn't do slicing on >720p, and i can confirm the encoding doesn't start with slicing & >720p, which is kinda annoying, since in general slicing 'makes more sense' the bigger the frame is.
Is that a hard or soft limit in the driver internals ? Is theresomeone at rpi foundation who coul remove such a soft limit from the actual actual driver ?
Intra -V4L2_CID_MPEG_VIDEO_INTRA_REFRESH_PERIOD,
auds (V4L2_CID_MPEG_VIDEO_AU_DELIMITER),
slicing (V4L2_CID_MPEG_VIDEO_MULTI_SLICE_MAX_MB)
to the driver.
Also added SEIs in (nice to have)
However, I need a bit more help regaring intra.
From testing, I cannot make out what MMAL_VIDEO_INTRA_REFRESH_CYCLIC actually does.
To properly support V4L2_CID_MPEG_VIDEO_INTRA_REFRESH_PERIOD, I think MMAL_VIDEO_INTRA_REFRESH_CYCLIC_MROWS
would be the easiest - since i found out that in this case i can just set cir_mbs such that a refresh completes after 1 cycle.
I also need some confirmation on the algrithm to calculate cir_mbs though (best from someone with knowledge about the driver internals.
And a last question - rpivid doesn't do slicing on >720p, and i can confirm the encoding doesn't start with slicing & >720p, which is kinda annoying, since in general slicing 'makes more sense' the bigger the frame is.
Is that a hard or soft limit in the driver internals ? Is theresomeone at rpi foundation who coul remove such a soft limit from the actual actual driver ?
Statistics: Posted by Consti10^100 — Sat Jan 27, 2024 9:11 am