Interleave a sequence of top/bottom fields

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Interleave a sequence of top/bottom fields

MrDanS

 

I’ve having trouble coming up with a pipeline for a v4l2 source that produces (at 60 buffers per second) a sequence of alternating top/bottom NTSC 240 line fields, that I want to then combine into 480 line frames, also at 60 per second. Each in coming field should just replace its previous data, and emit a new frame.

 

I’m using version 1.8.3.

 

Is this possible?


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Interleave a sequence of top/bottom fields

Nicolas Dufresne-5
Le mercredi 04 avril 2018 à 19:17 +0000, Searles, Dan a écrit :
> I’ve having trouble coming up with a pipeline for a v4l2 source that
> produces (at 60 buffers per second) a sequence of alternating
> top/bottom NTSC 240 line fields, that I want to then combine into 480
> line frames, also at 60 per second. Each in coming field should just
> replace its previous data, and emit a new frame.

The ALTERNATE mode of V4L2 is not currently supported by GStreamer.

>  
> I’m using version 1.8.3.

This is very old.

>  
> Is this possible?

Sure, just need someone to add support for that in GstV4l2 (gst-
plugins-good) and GStreamer in general.

Nicolas
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (201 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Interleave a sequence of top/bottom fields

Baby Octopus
Administrator
In reply to this post by MrDanS
There is no element at the moment to do that, but there is a very hacky way
of doing it!

You can composite the two fields side by side using the compositor to create
1440x240 and then modify the caps of the output of compositor to 720x480
using capsetter(again a hack!). Use videorate if you need to replicate any
field appropriately

~BO



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel