I am using ffmpeg on JEtson Xavier NX to split a video into frames as follows
ffmpeg -i input.mkv -r 30 %2d.jpg
This generates output as
1.jpg
2.jpg
3.jpg...etc
However I want to start the counter from a custom number and not 1. For example
32.jpg
33.jpg
....etc
The starting number of the frame should based on some variable that I want to initialize and then it should proceed labeling sequentially from there. How do I do this?