I've just downloaded and installed the latest version of rasparian OS and I've run into a problem with raspivid where the segmented output file name has stopped working.
This is my full command line:
sudo raspivid -w 1280 -h 720 -o Video_%04d.h264 -ex night -sg 3000 -wr 144 -sn 0 -t 0 -fps 7 -rot 180 -b 700000
However with this command line, the file produced is always Video_0011.h264. Even with %03d, it also produces the same file name. So even when it moves to the next file name, it just writes to the same file.
I've managed to get around the issue by using Video_%d.h264 instead for now, and this appears to work, though obviously doesn't output in the format I was originally trying to achieve (Video_0000.h264).
Is there a bug or something? I've updated to the latest version of everything and latest firmware.
My raspivid version is 1.3.12.