Using oneShot Example from tegra multimedia api


Iam running the oneShot example from tegra_multimedia_api sources on an imx290 camera sensor on a jetson nano board using l4t R32.2.1 . However when I want to view the resulting jpeg on windows the image is completely green.

Using gstreamer I can correctly stream the cameras video stream to VLC. What am I missing?

Iam using multimedia lib for Jetson Module TX1, though Iam not 100% sure if it could not be also a TX2. How can I find out? cat /etc/nv_tegra_release | head -n1 gives
# R32 (release), REVISION: 2.1, GCID: 16294929, BOARD: t210ref, EABI: aarch64, DATE: Tue Aug 13 04:28:29 UTC 2019
If you need further information please let me know.

Thanks for your help in advance

Kind regards, Steve

Ok, it looks like if I do 10 shots (with 100fps), in the last picture I can see something but it is very greenish, please check the attachment:

Any ideas whats going wrong here?

Thanks, Steve

Ok, I’ve found the problem. The capture request in the oneshot sample is allocated like this:

    Argus::UniqueObj<Argus::Request> request(

If I change to this:

    Argus::UniqueObj<Argus::Request> request(

I can get proper pictures.

Kind regards, Steve

Glad yo know you resolved the problem, thanks for the update!

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