[Bug 611157] [RFC] more buffer flags and caps fields in gst-video for 3d video

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Mar 28 03:40:39 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=611157
  GStreamer | gst-plugins-base | unspecified

--- Comment #34 from sreerenj <bsreerenj at gmail.com> 2013-03-28 10:40:36 UTC ---
(In reply to comment #30)
> Hi, I am not convinced by the mono_stereo flag. Either you know that's mono or
> stereo, or you don't know and you can't really infer anything. :)

Until now i have seen that only the MPEG-A is mentioning about stereo_mono
mixed stream. The "svmi"(stereo video media information) atom in "stbl" 
container will give the information about whether this the stream is
stereo/mono, how the constituent frames are arranged if it is a stereo frame
etc..We will communicate this info to downstream elements through caps. Once it
get negotiated, we only need to know whether the incoming buffer is stereo or
mono. Which means mono_stereo flag is enough,,right?

Does it make sense??

> Some of the stereo video types are not really masks. e.g. what would
> top-bottom-half|top-bottom-full mean? Probably use a mask that specifies half
> resolution instead. But then, you have also a possible issue with what would
> e.g. interleaved-row|half-resolution mean? In the end, why not make the whole
> thing plain ids like you have for fpa modes? BTW, you also have a gap in the
> enumerations.

The stereo types with suffix "HALF" indicates that the resolution has been
reduced to half either horizontally or vertically in order to pack them to a
single frame. Which means we need an up-sampling operation.
I have seen that only MPEG-A's latest Amendment has separate specification type
value for half/full arrangement. For other specs it is just top_bottom or
side_by_side.And based on the description of up-sampling operations(as per
14496-10),  we can assume that these all are belongs to "-HALF" type.We might
remove "top-bottom-half|top-bottom-full" and
"side-by-side-half|side-by-side-full" enums.  

I haven't seen any explanation about interleaved-row-{half, full} anywhere.
:),,,

FPA mode: you mean ,Frame packing arrangement type in h264? 
Yup, we can remove the
"top-bottom-half|top-bottom-full"/"side-by-side-half|side-by-side-full" and
make them as plane ids starting from zero.
But unfortunately these id values are not unique for all specs :)..So we can
provide our own unique ids and map them based on different Schemes like i did
in the stereo-video-utils.c .

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list