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

pause state not working in veye_raspivid #11

Open
turbel opened this issue Apr 13, 2021 · 0 comments
Open

pause state not working in veye_raspivid #11

turbel opened this issue Apr 13, 2021 · 0 comments
Assignees

Comments

@turbel
Copy link

turbel commented Apr 13, 2021

According to the documentation, as far as I understand, running veye_raspivid with the --initial flag set to "pause" should not output any video data until the state is set to "record", for example by using the --signal flag and sending a SIGUSR1 signal to the process.

However, running the following command yields a 5 second video recording:

./veye_raspivid --verbose --settings --timeout 5000 --initial pause --output /tmp/signal_pause.h264 --nopreview > /tmp/signal_pause.output 2>&1

No matter what I do with different flags, using signals, not using timeout, etc, I cannot make the "pause" state actually stop the recording.

Am I misunderstanding something, or is the pause state not actually implemented?

For reference, this is the output file from the command above:

camera num -1

veye_raspivid Camera App v1.3.12

Width 1920, Height 1080, filename /tmp/signal_pause.h264
bitrate 17000000, framerate 30, time delay 5000
H264 Profile high
H264 Level 4
H264 Quantisation level 0, Inline headers No
H264 Fill SPS Timings No
H264 Intra refresh type (null), period -1
H264 Slices 1
Wait method : Simple capture
Initial state 'pause'


Preview No, Full screen Yes
Preview window 0,0,1024,768
Opacity 255
mmal: mmal_component_enable w 1920 h 1080 

 raspipreview_create  com 
Encoder component done
mmal: Splitter has 4 output port,you could use num 2,3 for extend
Splitter component done
Starting component connection stage
Connecting camera video port to encoder input port
Opening output file "/tmp/signal_pause.h264"
Enabling encoder output port
mmal: running now!!
Pausing video capture
mmal: running stop!! 0
Finished capture
Closing down
Close down completed, all components disconnected, disabled and destroyed
@mmxuxp mmxuxp self-assigned this Aug 4, 2021
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