Skip to content

pause state not working in veye_raspivid #11

@turbel

Description

@turbel

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions