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

Set autoexposure only once per orbital pass #13

Open
nrwahl2 opened this issue Jun 4, 2023 · 1 comment
Open

Set autoexposure only once per orbital pass #13

nrwahl2 opened this issue Jun 4, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@nrwahl2
Copy link
Contributor

nrwahl2 commented Jun 4, 2023

Russell reported:

The payloads to be transmitted from the satellite to the ground are short movies (currently 12 frames) constructed using ffmpeg from frames extracted from a usb webcam's v4l stream. The problem I encountered is that each movie restarts the usb webcam stream and resets the autoexposure, which takes a significant portion of the 12 frames to settle out. The obvious solution to this is to refactor the looping so that the usb-webcam stream is only started once per orbital pass, rather than once per mp4. A python program grabs the accumulated frames and manages the processes that create and transmit the movies.

@nrwahl2 nrwahl2 added the bug Something isn't working label Jun 4, 2023
@RussellSenior
Copy link

RussellSenior commented Jun 6, 2023

line 93 in current https://github.com/oresat/oresat-live-software/blob/master/camera/camera.py: subprocess.call(capture_command.split()) is inside the loop. This should get moved outside the loop, so it starts once, and the rest of the file processing/handling adjusted to grab the right number of frames for ffmpeg.

@nrwahl2 nrwahl2 assigned bpranaw and unassigned sashetov Sep 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Backlog
Development

No branches or pull requests

4 participants