Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blinking yellow video #23

Open
jbarria opened this issue Jan 11, 2021 · 5 comments
Open

Blinking yellow video #23

jbarria opened this issue Jan 11, 2021 · 5 comments

Comments

@jbarria
Copy link

jbarria commented Jan 11, 2021

Hello guys,

first of all, thank you for this amazing project that allow us using such a great camera with Jetson Nano.

I'm using a RPi HQ camera with Jetson Nano DK in a custom ROV system using this driver and it has been working great in lab environment, but an issue showed up when I did some field tests. As you can see in the attached videos, the video started to blink yellow during 15 - 40 seconds (I edited the videos to extract the clips without exceding the 10MB limit, but I can give the original videos recorded by the Nano if it's necessary). I think it could be related with the sunlight because in both videos it happened when the sun was in the screen. Anyway it was impossible to reproduce it on a lab environment (I tried illuminating the lens of the camera with the flashlight of my cell phone but it didn't happened again).

As context, the GStreamer pipelines I'm using to record are (as a RidgeRun fan I am using GstD and GstInterpipe also in my project):

nvarguscamerasrc ! video/x-raw(memory:NVMM),width=1920,height=1080,framerate=60/1 ! nvvidconv ! queue ! interpipesink
interpipesrc ! queue ! nvvidconv ! textoverlay ! nvvidconv ! nvv4l2h264enc ! h264parse ! matroskamux ! filesink
I know that maybe it's not enough information to make a full diagnostic of what is happening but at least I want to know if you have some idea of where can I check (or maybe some quick solution to test).

Thank you very much in advance for your help.

clip0_short.mp4
clip1_short.mp4
@rrcarlosrodriguez
Copy link
Member

Hi @jbarria , I just answered your issue in devtalk, but let's discuss it over here, even better.

As I said, let's see how it behaves disabling the auto exposure and the auto white balance.

Test 1: aelock=true

Run the pipeline with nvarguscamerasrc aelock=true

Test 1: awblock=true

Run the pipeline with nvarguscamerasrc awblock=true

Let me know the result of both tests and we can continue analyzing what is going on

@jbarria
Copy link
Author

jbarria commented Jan 21, 2021

Thank you very much for your response and I'm sorry for the delayed response but I wanted to run the tests first.

Results:

awblock=true

The problem is still happening. Not any significant change is observed

aelock=true

The problem stopped happening, the screen just turns full white until the light dissapears:

aelock_test.mp4

Anyway, when aelock=true and the light conditions change abruptly, visibility becomes quite bad.

exposurecompensation

You didn't ask me for this test, but I did it anyway because I assumed the problem could be related to exposure.

The problem stop happening when exposurecompensation >= 1.4 but the video is very brightful.

Conclusions

After running the tests it looks like the auto-exposure feature is generating this problem. So I guess the solution is to change the exposuretimerange property.. am I right? do you think the same? I will try playing with that property but it's a little hard to make it blindly. Do you have any suggestion to follow up?

@rrcarlosrodriguez
Copy link
Member

Hi @jbarria , we found an issue in our exposure range and the exposure calculation. I'm not sure if your issue might be related to that but I think it's worth to give it a try. Let us know if that helps and fixes your issue

@jbarria
Copy link
Author

jbarria commented Feb 8, 2021

Hi @rrcarlosrodriguez , I'm sorry but I didn't understand.. what can I try? I still have not been able to fix the problem

@jbarria
Copy link
Author

jbarria commented Feb 17, 2021

Hello @rrcarlosrodriguez , do you have any news regarding the exposure calculation issue? maybe a patch or something that let me confirm that my issue is related?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants