# omxh264enc properties 

**URL:** <https://forums.developer.nvidia.com/t/omxh264enc-properties/58827>\
**Category:** Jetson TX2\
**Created:** [March 6, 2018, 8:59am UTC](https://forums.developer.nvidia.com/t/omxh264enc-properties/58827 "2018-03-06T08:59:33Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nostalgie](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Nostalgie](https://forums.developer.nvidia.com/u/Nostalgie)\
**Post date:** [March 6, 2018, 8:59am UTC](https://forums.developer.nvidia.com/t/omxh264enc-properties/58827/1 "2018-03-06T08:59:33Z")

</div>

Hi everybody,

I have a project that aims to access the hardware encoder of NVIDIA Jetson TX2 to develop an adaptive video compression solution where we can change the parameters of the encoder to respect the bit-rate constraints in real time and on the fly. So now I should find the values of encoder’s parameters which help me to obtain the best quality of my video after encoding. Hope that someone can help me in the following :

1. Now I have a simple pipeline : yuv file → encoder → h264 file → decoder → yuv’ file, I should change the parameters of the encoder to obtain the best quality of yuv’ file accordind to the input yuv file, so I start to change the parameters that I can find by typing the command : gst-inspect-1.0 omxh264enc, but there are some parameters that don’t affect the quality. Can someone help me to know which parameters I should change to improve the quality and if there are more details (or a documentation) about each property (because as not expert in the field of video compression, the information provided by gst-inspect-1.0 are not sufficient for me).

2. How we can change the encoder parameters on the fly ?

3. In order to access the encoder in real-time and to change its properties on the fly, it is better to use the gstreamer API or the MMAPI ?

I hope that I succeed to explain what I need in a good way, but my problem that I am not very good in English not also in video compression, so excuse me for my errors … and hope that someone can help me !!

Regards,

---

<div class="post-metadata">

**Author:** ![DaneLLL](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/danelll/32/14043_2.png) [@DaneLLL](https://forums.developer.nvidia.com/u/DaneLLL)\
**Post date:** [March 6, 2018, 10:26am UTC](https://forums.developer.nvidia.com/t/omxh264enc-properties/58827/2 "2018-03-06T10:26:30Z")

</div>

Hi Nostalgie,  
For gstreamer, you can refer to  
[https://devtalk.nvidia.com/default/topic/1020558/jetson-tx1/h265-decode-failed/post/5196041/#5196041](https://devtalk.nvidia.com/default/topic/1020558/jetson-tx1/h265-decode-failed/post/5196041/#5196041)

Below encoder property can be changed on the fly:

```auto
bitrate : Target bitrate
"force-IDR" : void user_function (GstElement* object);

```

For MM API, please refer to tegra\_multimedia\_api/samples/01\_video\_encode

---

<div class="post-metadata">

**Author:** ![Nostalgie](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Nostalgie](https://forums.developer.nvidia.com/u/Nostalgie)\
**Post date:** [March 6, 2018, 2:29pm UTC](https://forums.developer.nvidia.com/t/omxh264enc-properties/58827/3 "2018-03-06T14:29:01Z")

</div>

Thanks DaneLL for ur reply,

But can you tell me please, why some parameters don’t affect the quality of the output. When changing some parameters like : temporal-tradeoff, quant-i-frames … we don’t observe any changes in the output.

Regards,

---

<div class="post-metadata">

**Author:** ![Nostalgie](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Nostalgie](https://forums.developer.nvidia.com/u/Nostalgie)\
**Post date:** [March 6, 2018, 2:41pm UTC](https://forums.developer.nvidia.com/t/omxh264enc-properties/58827/4 "2018-03-06T14:41:50Z")

</div>

I can say that they don’t have effect on the encoder …

---

<div class="post-metadata">

**Author:** ![DaneLLL](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/danelll/32/14043_2.png) [@DaneLLL](https://forums.developer.nvidia.com/u/DaneLLL)\
**Post date:** [March 7, 2018, 2:48am UTC](https://forums.developer.nvidia.com/t/omxh264enc-properties/58827/5 "2018-03-07T02:48:05Z")

</div>

Please refer to  
[url][Jetson TX1 H.265 video quality - Jetson TX1 - NVIDIA Developer Forums](https://devtalk.nvidia.com/default/topic/1017697/jetson-tx1/jetson-tx1-h-265-video-quality/post/5183593/#5183593%5B/url%5D)

---

<div class="post-metadata">

**Author:** ![nadeemm](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/nadeemm/32/367020_2.png) [@nadeemm](https://forums.developer.nvidia.com/u/nadeemm)\
**Post date:** [October 18, 2021, 6:28pm UTC](https://forums.developer.nvidia.com/t/omxh264enc-properties/58827/6 "2021-10-18T18:28:22Z")

</div>

Closed on October 18, 2021, 6:28pm UTC


