Re: [PATCH 0/8] staging: media: zoran: fusion in one module

From: LABBE Corentin
Date: Mon Sep 06 2021 - 09:50:01 EST


Le Mon, Sep 06, 2021 at 01:03:56PM +0200, Hans Verkuil a écrit :
> Hi Corentin,
>
> I finally had the opportunity to test the staging zoran driver.
>
> I found several issues when running v4l2-compliance -s (I posted a patch
> for that), but more seriously is the fact that trying to capture MJPG
> at resolutions 384x288 or less just hangs my PC. It works OK with 768x576.
>
> I discovered this when running 'v4l2-compliance -s -a -f'.
>
> BTW, why isn't the initial format equal to MJPG 768x576?
> I would expect that for these boards that should be the default format.
>
> Another issue is that the TODO should mention that for video output there
> should be a second video device node. And that's really something that
> has to be done before the zoran driver can be moved out of staging.
>
> It shouldn't be that hard to implement, I think.
>
> Right now it is impossible to run the compliance test for the output, since
> it doesn't even see it as an output.
>
> Regards,
>
> Hans

I work on having a second device for output, (it is the reason of "staging: media: zoran: move videodev alloc" which will help).

But I still have the problem of non working output.

Does output is really needed for going out of staging ?
Probably nobody have it working for ages. The only way to had it was to use an old mplayer output which is broken since so many time.
Note that this plugin will never work again.

The only way to work on output is to use ffmpeg which just recently have suport for writing non-raw video to V4L.

Regards