GNOME Bugzilla – Bug 767938
Add support for AVStereo3D API for stereoscopic video
Last modified: 2017-03-16 10:24:24 UTC
See libavutil/stereo3d.h
Created attachment 331107 [details] [review] avviddec: Map any stereo3D info to multiview modes Map any libav Stereo3D side data to GStreamer multiview mode / flags for playback.
Here's the decoder part (tested only with H.264)
Created attachment 331128 [details] [review] avvidenc: Add Stereo3D mapping Add mapping between GStreamer multiview modes/flags and libav Stereo3D frame packings when encoding video.
Comment on attachment 331107 [details] [review] avviddec: Map any stereo3D info to multiview modes Shouldn't this come with code that checks if the multiview mode/flags have changed (per frame) and renegotiate then? Like we do for interlaced for example
(In reply to Sebastian Dröge (slomo) from comment #4) > Comment on attachment 331107 [details] [review] [review] > avviddec: Map any stereo3D info to multiview modes > > Shouldn't this come with code that checks if the multiview mode/flags have > changed (per frame) and renegotiate then? Like we do for interlaced for > example Good point. In case it's not clear, there's also a patch to write for the demuxers and muxers to map AVPacket side-data to GStreamer caps too.
What's the status here?
I didn't get back to working on the patches yet, so no change - the viddec patch needs updating for renegotiation, and we need some patches for the demuxers/muxers case.
Created attachment 348059 [details] [review] avviddec: Map any stereo3D info to multiview modes Map any libav Stereo3D side data to GStreamer multiview mode / flags for playback.
Created attachment 348060 [details] [review] avvidenc: Add Stereo3D mapping Add mapping between GStreamer multiview modes/flags and libav Stereo3D frame packings when encoding video.
I'm not sure it's worth writing the code mapping input/output to/from demuxers/muxers - we don't map or encourage the use of any of the libav muxers that support signalling of multiview information anyway (mp4, mkv, asf)