Re: [PATCH v4 00/15] Move HEVC stateless controls out of staging

From: Adam Ford
Date: Wed Apr 06 2022 - 21:21:26 EST


On Wed, Apr 6, 2022 at 8:34 AM Adam Ford <aford173@xxxxxxxxx> wrote:
>
> On Wed, Apr 6, 2022 at 8:05 AM Benjamin Gaignard
> <benjamin.gaignard@xxxxxxxxxxxxx> wrote:
> >
> >
> > Le 06/04/2022 à 15:02, Nicolas Dufresne a écrit :
> > > Le mercredi 06 avril 2022 à 14:50 +0200, Benjamin Gaignard a écrit :
> > >>> default=1 value=1
> > >>> 1: Frame-Based
> > >>> hevc_start_code 0x00a40a96 (menu) : min=1 max=1
> > >>> default=1 value=1
> > >>> 1: Annex B Start Code
> > >> It is the same so that suggest the issue is coming from GStreamer plugin.
> > > Can you report the GStreamer commit hash you have building on ? Also please
> > > validate the creation date of the plugin (libgstv4l2codecs.so) against your
> > > source update date. Reminder that GStreamer is now mono-repo (just in case).
> > >
> > > https://gitlab.freedesktop.org/benjamin.gaignard1/gstreamer/-/tree/HEVC_aligned_with_kernel_5.15
> > > Hash: 54b7c1f98084c85d103446cc3f2edce42ad53b0f
> > >
> > > Benjamin, can you confirm you have no local changes and this is the hash you are
> > > building from ?
> >
> > Yes that is the hash I'm using without local changes
>
> I was on (gstreamer-HEVC_aligned_with_kernel_5.15) with a hash of
> 4b78eaa48c0c924afd57f85c47396b77497e69f8
>
> Benjamin's hash wasn't listed before, but I did a git pull, and now it is.
>
> I've checked out that hash, and I am rebuilding it now. I'll report my
> findings when it's done. It's building on the imx8mq, so it may take
> some time.

We're getting closer:

# gst-launch-1.0 appsrc num-buffers=0 ! h265parse ! v4l2slh265dec ! fakesink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
Redistribute latency...
New clock: GstSystemClock
Got EOS from element "pipeline0".
Execution ended after 0:00:00.000563180
Setting pipeline to NULL ...
Freeing pipeline ...

GStreamer-H.265-V4L2SL-Gst1.0: GStreamer H.265 V4L2SL decoder for
GStreamer 1.0... ✔️

The statemless decoder appears to show it can do h.265, but it fails
all the fluster tests.

Ran 0/147 tests successfully in 9.376 secs

I checked other V4L2SL decoders and items that previously passed are
failing now, so I think something is wrong or corrupted with my
system.

For some reason, my system seems unstable, so I might reinstall
everything, but it will be a slow process. I don't know if my sd card
is wearing out, or something is wrong, but simple things like mounting
a thumb drive are taking a very long time.

I am not sure when I'll get back to this again, but I'll try to do a
re-install this weekend to see if I can get my system more stable.

adam

>
> adam
>
> >
> > Benjamin
> >
> > >
> > > regards,
> > > Nicolas
> > >