[gst-devel] Video 3D support
martin.bisson at gmail.com
Tue May 18 09:12:26 CEST 2010
I'm currently working on adding video 3D support for GStreamer, and I need a
little advice from the community.
To summarize, I'm basically (starting by) developing a plugin that would
take 2 video streams and convert them into one single stream. The way I see
it, this plugin would be made in the way of this example
http://www.youtube.com/profile?v=UTOwV5IJq48&user=inouek3D (see the "3D"
drop down at the bottom right of the video). This means that there would be
a property in the plugin controlling the format of the output : the two
streams could be merged side-to-side, one-on-top-of-the-other, interleaved,
in a red-green combined video, etc.
My work is based on the proposal made for Google Summer of Code :
http://gstreamer.freedesktop.org/wiki/Video3DSupport , and I would like to
discuss the issue discussed in
https://bugzilla.gnome.org/show_bug.cgi?id=611157. I'm actually trying to
get input on what needs to be added to GStreamer in order to provide proper
3D video support, by adding info to the 3D stream. The different options
could be any combination of:
1) doing nothing : the resulting stream would just be treated as a "normal"
2) adding caps : the caps could have information about the 3D video
information (left-right, top-bottom, red-green, etc.)
3) adding buffer flags : the info would be in the buffer flags, like audio
streams (number of "channels" (left/right video streams seen as left/right
sound channels), etc.)
I would like to hear from interested people to know what would be the best
way to add the 3D video info to the stream. As a fairly new user to
GStreamer, I think the simplest solution (consider the merged stream as a
simple, normal, video stream) is viable, but I guess adding information to
the stream might be useful when it comes to send this stream to 3D devices
or to encoders. That's why I'm asking you guys what flags and/or caps you
think would be useful.
Up 'till know, I have implemented a simple plugin stacking 2 streams one on
top of the other using GstCollectPads. If it can be any use to the
discussion, I'll gladly send it (after cleaning up a little bit of my
experimental dirt). Also, if I'm not being clear, please say so and I'll do
my best to make it clearer.
Hope to hear back from you guys,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gstreamer-devel