GNOME Bugzilla – Bug 784320
vaapipostproc: Fails to play MVC encoded data correctly
Last modified: 2017-07-03 12:09:29 UTC
Reproduce step 1\ Making MVC encoded data using vaapih264enc gst-launch-1.0 -v videotestsrc pattern=ball name=left videotestsrc name=right glstereomix name=mix \ left. ! video/x-raw,width=640,height=480! glupload ! mix. \ right. ! video/x-raw,width=640,height=480! glupload ! mix. \ mix. ! video/x-raw'(memory:GLMemory)',multiview-mode=frame-by-frame ! queue ! glcolorconvert ! gldownload ! vaapih264enc num-views=2 ! filesink location=mvc_test.264 2\ Playing the produced data gst-play-1.0 mvc_test.264 --videosink="glimagesink output-multiview-mode=side-by-side" -> This fails. While this pipeline is working correctly: gst-launch-1.0 filesrc location=mvc_test.264 ! h264parse ! vaapih264dec ! glimagesink output-multiview-mode=side-by-side This is because vaapipostproc doesn't pass information of multiview mode to src caps.
Created attachment 354671 [details] [review] postprocutil: set multivew-mode/flags to src caps Makes it playing MVC encoded stream by setting multiview mode/flags and views to src caps according to sink caps.
Attachment 354671 [details] pushed as e7bba34 - vaapipostproc: set multivew-mode flags to src caps (I modified a bit the commit log and the patch)
Pushed as 152bbb85 for branch 1.12