v4l2 support?

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

v4l2 support?

Gary Thomas
gst-plugins-base 0.10.35 has video4linux2 plugin which includes
the v4l2src element.  Sadly, this no longer builds with newer
tools as <linux/videodev.h> was removed from the kernel in 2.6.38

Looking for an update, I checked the sources for gst-plugins-base 0.11.1
and it seems that video4linux support is now gone?

What's the path forward here?  I really need v4l2src :-)

Thanks

--
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: v4l2 support?

Andrey Nechypurenko-2
> What's the path forward here?  I really need v4l2src :-)

AFAIK it is in plugins-good now:
http://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/sys/v4l2/README
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

DM36x TIAudenc1 missing codec_data

Paul Stuart
In reply to this post by Gary Thomas
Hi,
 After digging into why I can not pipe the output of TIAudenc1 into the
avimux element, I found that the internal implementation of TIAudenc1 is
not packetizing the output into "codec_data" in the caps structure, per
this little snippet:

"Some data streams (like h264, mpeg4, aac), require the generation of
the "codec_data" buffer to be passed off band (in the caps of the sink
pad), in order to be properly muxed into container formats like mp4 or
avi.",
(from http://processors.wiki.ti.com/index.php/GStreamer_Plug-in_2.x_Design)


Since muxing encoded audio into an avi along with one's H.264 video is
fundamental to making "talkies", I'm wondering if I have just selected
the wrong element for audio encoding element or muxer on the DM36x? I
can't be the first person needing to do this.

Before I dive into changing TIAudenc1 to be "mux-able" I just want to
make sure I'm not missing some easier option.

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

Re: DM36x TIAudenc1 missing codec_data

Tim-Philipp Müller-2
On Tue, 2011-11-08 at 14:08 -0800, Paul Stuart wrote:

>  After digging into why I can not pipe the output of TIAudenc1 into the
> avimux element, I found that the internal implementation of TIAudenc1 is
> not packetizing the output into "codec_data" in the caps structure, per
> this little snippet:
>
> "Some data streams (like h264, mpeg4, aac), require the generation of
> the "codec_data" buffer to be passed off band (in the caps of the sink
> pad), in order to be properly muxed into container formats like mp4 or
> avi.",
> (from http://processors.wiki.ti.com/index.php/GStreamer_Plug-in_2.x_Design)
>
>
> Since muxing encoded audio into an avi along with one's H.264 video is
> fundamental to making "talkies", I'm wondering if I have just selected
> the wrong element for audio encoding element or muxer on the DM36x? I
> can't be the first person needing to do this.
>
> Before I dive into changing TIAudenc1 to be "mux-able" I just want to
> make sure I'm not missing some easier option.

Check if they have some kind of "byte[-]stream" property. If yes, try
setting it to FALSE. Alternatively, put an appropriate parser between
the encoder and the container. If the parser is recent enough, it might
convert into the format/packetisation required.

From memory, the these elements cater for both kinds of input and output
though (with out-of-band codec_data in the caps or for bytestream
format).

Cheers
 -Tim

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