v4l2src does not support progressive interlacing

Nicolas Dufresne nicolas at ndufresne.ca
Sat Oct 27 15:54:34 UTC 2018


Le sam. 27 oct. 2018 12 h 57, Antoine Villeret <antoine.villeret at gmail.com>
a écrit :

> Hi,
>
> I've built gstreamer from source (with Orc and without opengl)
> with
>
> ~/dev/gstreamer$ git describe --always
> 3eb334a7
> ~/dev/gst-plugins-base$ git describe --always
> a15baf79
> ~/dev/gst-plugins-good$ git describe --always
> 124b66ff
>
> and
> ~/dev/gst-plugins-good$ git  log -1 | head -5
> commit 124b66ffb5fbf7908d985603a2e3b8dba0e3bb2b
> Author: Nicolas Dufresne <nicolas.dufresne at collabora.com>
> Date:   Thu Oct 18 22:23:31 2018 -0400
>
>     v4l2object: Read driver selected interlace mode
>
> Now I have :
> $ gst-launch-1.0 --version
> gst-launch-1.0 version 1.15.0
> GStreamer 1.15.0 (GIT)
> Unknown package origin
>
> test pipeline is the same as previously
> and gst.log is here :
> https://gist.github.com/avilleret/c66b0c2ed7f14c4406eb9c5607efc136
>
> don't hesitate to ask me more test
>

If I'm reading it well, this trace is different, the driver seems to not
implement the mandatory function TRY_FMT. Is that correct?



> best
>
> antoine
>
>
> Le sam. 27 oct. 2018 à 11:57, Nicolas Dufresne <nicolas at ndufresne.ca> a
> écrit :
>
>> Le samedi 27 octobre 2018 à 04:27 -0500, avilleret a écrit :
>> > Hi Nicolas,
>> >
>> > I do have the same issue with a BlueCherry capture card (BT878 -
>> Provideo
>> > PV150) and gsttreamer 1.14.1 on Ubuntu 18.04.
>> >
>> > here is the pipeline :
>> >
>> > GST_DEBUG_NO_COLOR=1 GST_DEBUG="v4l2*:7" gst-launch-1.0 v4l2src
>> > name=video_source device=/dev/video0 !
>> > video/x-raw,format=YUY2,width=768,height=512,framerate=25/1  !
>> videoconvert
>> > ! autovideosink 2> gst.log
>> >
>> > and the result is here :
>> > https://gist.github.com/avilleret/db588687ce5121efc4125a5989a128c9
>> >
>> > note the error on line 408 :
>> > ERREUR : de l’élément /GstPipeline:pipeline0/GstV4l2Src:video_source :
>> > Device '/dev/video0' does not support progressive interlacing
>> >
>> > I'll try to build gstreamer with your patch and let you know.
>>
>> That would be great report. As for now only INTERLEAVED and PROGRESSIVE
>> is supported, the previous report was not that useful to check if the
>> patch works for these two cases.
>>
>> For sequential, I've discussed a bit around, and the dual video meta
>> requirement, that would make such implementation a night mare could
>> likely be dropped. Unless I found any blocker to this, it should be
>> relatively short to implement. Ideally I'd teach the software
>> interlace/deinterlace element to handle that, which is just a different
>> way to index lines after all, it's remains the same format as
>> interleaved. For that, I actually have some HW that would then let me
>> test this support, and test the attached patch.
>>
>> >
>> > Best regards
>> >
>> > Antoine
>> >
>> >
>> >
>> > --
>> > Sent from: http://gstreamer-devel.966125.n4.nabble.com/
>> > _______________________________________________
>> > gstreamer-devel mailing list
>> > gstreamer-devel at lists.freedesktop.org
>> > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20181027/e5a21398/attachment.html>


More information about the gstreamer-devel mailing list