# Vaapih264enc has property tune=high-compression and vah264enc does not have this one

**URL:** https://discourse.gstreamer.org/t/vaapih264enc-has-property-tune-high-compression-and-vah264enc-does-not-have-this-one/565
**Category:** Application Development
**Created:** [November 20, 2023, 8:19pm UTC](https://discourse.gstreamer.org/t/vaapih264enc-has-property-tune-high-compression-and-vah264enc-does-not-have-this-one/565 "2023-11-20T20:19:30Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Joe](https://discourse.gstreamer.org/letter_avatar_proxy/v4/letter/j/b9e5f3/32.png) [@Joe](https://discourse.gstreamer.org/u/Joe)
#### Post date: [November 20, 2023, 8:19pm UTC](https://discourse.gstreamer.org/t/vaapih264enc-has-property-tune-high-compression-and-vah264enc-does-not-have-this-one/565/1 "2023-11-20T20:19:30Z")

</div>

is there any replacement for high-compression in vah264enc? I can not see it with  
gst-inspect-1.0 vah264enc  
My gstreamer version is 1.22.7

---

<div class="post-metadata">

### Author: ![vjaquez](https://discourse.gstreamer.org/user_avatar/discourse.gstreamer.org/vjaquez/32/35_2.png) [@vjaquez](https://discourse.gstreamer.org/u/vjaquez)
#### Post date: [November 21, 2023, 5:38am UTC](https://discourse.gstreamer.org/t/vaapih264enc-has-property-tune-high-compression-and-vah264enc-does-not-have-this-one/565/2 "2023-11-21T05:38:00Z")

</div>

high-compression property just mean the maximum H264 profile available, with the cabac and dct8x8 assigned accordingly.

IMO that property is misleading and breaks the GStreamer’s logic of caps negotiation.

vah264enc does that by default.

---

<div class="post-metadata">

### Author: ![Joe](https://discourse.gstreamer.org/letter_avatar_proxy/v4/letter/j/b9e5f3/32.png) [@Joe](https://discourse.gstreamer.org/u/Joe)
#### Post date: [November 21, 2023, 2:51pm UTC](https://discourse.gstreamer.org/t/vaapih264enc-has-property-tune-high-compression-and-vah264enc-does-not-have-this-one/565/3 "2023-11-21T14:51:07Z")

</div>

Thank you for your reply. Got it.
