Re: [PATCH] media: venus: allow interlaced video streams
From: Dmitry Baryshkov
Date: Mon Mar 02 2026 - 06:34:04 EST
On Mon, Mar 02, 2026 at 01:01:18PM +0530, Vikash Garodia wrote:
>
> On 3/1/2026 4:05 AM, Dmitry Baryshkov wrote:
> > On Sat, Feb 28, 2026 at 09:54:20PM +0100, Piotr Oniszczuk wrote:
> > >
> > >
> > > > Wiadomość napisana przez Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxxxxxxxx> w dniu 28 lut 2026, o godz. 10:49:
> > > >
> > > > Venus driver errors out on the interlaced streams with the 'field isn't
> > > > supported' error message, which e.g. prevents decoding of the MPEG2
> > > > video streams. Don't error out if the buffer is set to contain
> > > > interlaced data.
> > > >
> > > > Tested with the fluster enabled to handle MPEG2 through Gstreamer:
> > > >
[...]
> > > >
> > > Dmitry,
> > > I applied this on 6.19.4 mainline and give run with interlaced content (hd tv) on qcs6490 (radxa dragon sbc).
> > > Playback fails like this: https://gist.github.com/warpme/a368983678af0a76af85314808773076
> > > pls see a bootom kernel output showing venus failure.
> > > my sw stack plays ok on e.g rpi4 stateful v4l2m2m so i think root cause isn't in my userspace....
> > > pls let me know if anything extra is required to fix venus decoder issue.
> > > br
> >
> >
> > Interesting. So, most likely, H.264 decoder can't cope with it and we
> > need to allow non-NONE fields only for MPEG2. Let's see if Vikash will
> > have any other ideas.
> >
>
> Venus should already support h264 interlace.
I guess, the question is: do we support interlaced H.264 streams?
>
> Piotr, do you see the same failure without this patch ?
>
> Regards,
> Vikash
--
With best wishes
Dmitry