# Different Lossy H264 compression Zed Explorer VS C++ API?

**URL:** <https://community.stereolabs.com/t/different-lossy-h264-compression-zed-explorer-vs-c-api/9090>\
**Category:** C++\
**Created:** [June 16, 2025, 6:12pm UTC](https://community.stereolabs.com/t/different-lossy-h264-compression-zed-explorer-vs-c-api/9090 "2025-06-16T18:12:56Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![onthesofa](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/o/9e8a1a/32.png) [@onthesofa](https://community.stereolabs.com/u/onthesofa)\
**Post date:** [June 16, 2025, 6:12pm UTC](https://community.stereolabs.com/t/different-lossy-h264-compression-zed-explorer-vs-c-api/9090/1 "2025-06-16T18:12:56Z")

</div>

Lossy H264 compression recordings with ZED Explorer produce much better video than SVO\_COMPRESSION\_MODE::H264 from the API with the default bitrate. H264\_LOSSLESS produces files that are too big. What bitrate with SVO\_COMPRESSION\_MODE::H264 would give the same quality as recording in ZED Explorer?

---

<div class="post-metadata">

**Author:** ![Myzhar](https://community.stereolabs.com/user_avatar/community.stereolabs.com/myzhar/32/11_2.png) [@Myzhar](https://community.stereolabs.com/u/Myzhar)\
**Post date:** [June 17, 2025, 9:04am UTC](https://community.stereolabs.com/t/different-lossy-h264-compression-zed-explorer-vs-c-api/9090/2 "2025-06-17T09:04:02Z")

</div>

ZED Explorer uses `0` as the bitrate setting. This means that it’s always the default value for each mode.

---

<div class="post-metadata">

**Author:** ![onthesofa](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/o/9e8a1a/32.png) [@onthesofa](https://community.stereolabs.com/u/onthesofa)\
**Post date:** [June 17, 2025, 9:12am UTC](https://community.stereolabs.com/t/different-lossy-h264-compression-zed-explorer-vs-c-api/9090/3 "2025-06-17T09:12:20Z")

</div>

Thank you Myzhar

This is what I expected, and I used bitrate 0 too - but the output from ZED Explorer is really very different in quality (better) and file size (larger) than that from a C++ application using the same default settings.

---

<div class="post-metadata">

**Author:** ![Myzhar](https://community.stereolabs.com/user_avatar/community.stereolabs.com/myzhar/32/11_2.png) [@Myzhar](https://community.stereolabs.com/u/Myzhar)\
**Post date:** [June 17, 2025, 12:53pm UTC](https://community.stereolabs.com/t/different-lossy-h264-compression-zed-explorer-vs-c-api/9090/4 "2025-06-17T12:53:05Z")

</div>

HI @onthesofa  
I just reported the issue to the ZED SDK team.  
I’m waiting for feedback.

---

<div class="post-metadata">

**Author:** ![onthesofa](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/o/9e8a1a/32.png) [@onthesofa](https://community.stereolabs.com/u/onthesofa)\
**Post date:** [June 17, 2025, 12:56pm UTC](https://community.stereolabs.com/t/different-lossy-h264-compression-zed-explorer-vs-c-api/9090/5 "2025-06-17T12:56:49Z")

</div>

Thanks Myzhar

In both cases we are using 2K@15 FPS.

---

<div class="post-metadata">

**Author:** ![onthesofa](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/o/9e8a1a/32.png) [@onthesofa](https://community.stereolabs.com/u/onthesofa)\
**Post date:** [June 17, 2025, 3:29pm UTC](https://community.stereolabs.com/t/different-lossy-h264-compression-zed-explorer-vs-c-api/9090/6 "2025-06-17T15:29:53Z")

</div>

I think I may misunderstand this:

bool transcode\_streaming\_input = false

Defines whether to decode and re-encode a streaming source.  
Default: false  
Note  
If set to false, it will avoid decoding/re-encoding and convert directly streaming input into a SVO file.  
This saves a encoding session and can be especially useful on NVIDIA Geforce cards where the number of encoding session is limited.  
[compression\_mode] [target\_framerate] and [bitrate] will be ignored in this mode.

After setting to false I get a better result.
