vaapih264enc and x264enc usage for encoding MVC / stereo?

Víctor M. Jáquez L. vjaquez at igalia.com
Wed Dec 28 18:38:22 UTC 2016


Hi,

First thing to check is does your hardware support MVC?

You can know that by running `vainfo`

And you should see

      VAProfileH264MultiviewHigh      : VAEntrypointEncSlice
      VAProfileH264StereoHigh         : VAEntrypointEncSlice


Second thing is that setting the profile via capsfilters is not supported yet
by the vaapi encoders: https://bugzilla.gnome.org/show_bug.cgi?id=757941

Finally, I haven't tested MVC encoding personally, but grepping the source
code the way how MVC encoding is selected is if the number of views in
upstream is equal or bigger than 2.


vmjl

On 12/28/16 at 12:32pm, Jérôme Carretero wrote:
> Hi,
> 
> 
> 
> I'm running out of google-fu to find documentation on how it's possible
> to try and use h264 encoding with MVC profiles.
> 
> 
> I am under the impression that the following should work to encode
> side-by-side stereoscopic video:
> 
> ... ! vaapih264enc ! video/x-h264,profile=stereo-high ! h264parse ! ...
> 
> But the resulting videos don't seem to be in the right profile.
> 
> 
> Then, there is MVC, and I really had trouble finding *anything* on that.
> 
> 
> 
> Best regards,


More information about the gstreamer-devel mailing list