Brightness off in videos recorded with Jetson-Utils

We have developed an application on an Orin AGX that grabs cameras and presents them in a 3D scene using OpenGL.
There is a recording feature which takes the framebuffer and records it as a H.264 video.
We noticed that the colors in the recorded file where significantly darker than on the screen.
Investigating further it seems that bright colors are made brighter and dark colors darker.
For the Windows version of our software we record using FFMPEG which doesn’t show this change in colors.
In both cases we feed the same RGB(A) framebuffer into the library.
I haven’t found what we should do differently. It looks to me as if the Jetson-Utils library assumes the image is sRGB while it is RGB or something like that. How do I use it correctly? The performance is great otherwise.


In the attached file you can see how the colors differ when I feed in a picture instead of camera video. Already the gray lines between the tiles show a difference in brightness.

Hi,
For information, which Jetpack version you are using?

That was tested with JetPack 5.0.2

Hi,
Jetpack 5.0.2 is an old release. We would suggest try later 5.1.3 or 6.0GA. Certain issues are fixed in later releases.

Ok, thanks. The latest I can get from the manufacturer is JetPack 5.1.2 any use trying that out?
I didn’t find any clues in the release notes pointing to this kind of thing.

We tried with JetPack 5.1.2 (the latest we can get for our hardware), but the recorded video is still as before.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.