<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;"><font size="2"><span style="font-size:10pt;">Hello,<br>
<br>
I am seeing a strange issue with gstreamer-vaapi on Intel Haswell (</span></font><font size="2"><span style="font-size:10pt;"><font size="2"><span style="font-size:10pt;">i3-4370 CPU)</span></font>, and not sure where to turn.I am running libva 1.6.1 and libva
 Intel driver 1.6.0 on Ubuntu 15.04.<br>
<br>
My issue is that I cannot seem to get the encoder to do anything except constrained baseline, despite asking it to do other profiles.<br>
<br>
If I do something like this:<br>
<br>
gst-launch-1.0 filesrc location=/ramdisk/bbb_sunflower_1080p_30fps_normal.mp4 ! qtdemux ! vaapidecode ! vaapiencode_h264 ! video/x-h264,profile=high ! qtmux ! filesink location=/ramdisk/tmp.mov<br>
<br>
It appears to work fine, but if I check with this:<br>
<br>
avprobe -show_streams /ramdisk/tmp.mov<br>
<br>
the output will indicate:<br>
profile=Constrained Baseline<br>
<br>
No matter what value I put for profile, the output file size is almost identical.<br>
<br>
However, if I change the encode element to:<br>
vaapiencode_h264 dct8x8=1<br>
it does change the output profile.<br>
<br>
My question is, is this correct behavior? My reading of the gstreamer-vaapi source seems to indicate that passing the profile in caps is more restrictive (e.g. ensures compatibility) rather than for configuration. What I would like to do is just be able to
 pass a string that maps to a VA profile that the underlying driver supports. Is there any way to do this? Would this be terrible to implement? (I might do it if someone could point me in the right direction, I've already been reading the code).<br>
<br>
Thanks in advance for any help or pointers that you might able to give me.<br>
-Bill</span></font></div>
</body>
</html>