Skip to content

RaspiVid -sg tries opening new imv files when not requested #346

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

Closed
6by9 opened this issue Oct 17, 2016 · 1 comment
Closed

RaspiVid -sg tries opening new imv files when not requested #346

6by9 opened this issue Oct 17, 2016 · 1 comment
Assignees

Comments

@6by9
Copy link
Contributor

6by9 commented Oct 17, 2016

As noted at https://www.raspberrypi.org/forums/viewtopic.php?f=43&t=162951#p1054066, command line raspivid --nopreview -v --segment 5000 --start 1 -t 10000 -o test%d.mpg logs

Starting component connection stage
Connecting camera video port to encoder input port
Opening output file "test1.mpg"
Enabling encoder output port
Starting video capture
Opening output file "test2.mpg"
Failed to open new file "(null)"
Opening output file "test3.mpg"
Failed to open new file "(null)"
Opening output file "test4.mpg"
Failed to open new file "(null)"
Finished capture
Closing down

When switching to a new segment, https://github.com/raspberrypi/userland/blob/master/host_applications/linux/apps/raspicam/RaspiVid.c#L1196 doesn't check that IMVs are wanted before trying to open the new file.

6by9 added a commit to 6by9/userland that referenced this issue Nov 11, 2016
raspberrypi#346
RaspiVid with -sg set but no IMV filename would
try to update to a new IMV file for which it didn't
have a filename.
@6by9 6by9 self-assigned this Nov 11, 2016
popcornmix pushed a commit that referenced this issue Nov 11, 2016
#346
RaspiVid with -sg set but no IMV filename would
try to update to a new IMV file for which it didn't
have a filename.
@6by9
Copy link
Contributor Author

6by9 commented Nov 12, 2016

Fixed via #354

@6by9 6by9 closed this as completed Nov 12, 2016
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

1 participant