Using ffmpeg instead of the OpenCV VideoWriter will be faster (allows GPU-based encoding), provide significantly higher quality (or even skip re-encoding entirely by using stream copying), and resolve various issues, e.g. with frame skipping. It also exposes some interesting possibilities for parallelism, since now the video encoding can happen in a separate thread/process.
Also need to add template parameter for video output name format, since right now it's hard-coded (e.g. video-DSME-000).
Will resolve #27.
Using ffmpeg instead of the OpenCV VideoWriter will be faster (allows GPU-based encoding), provide significantly higher quality (or even skip re-encoding entirely by using stream copying), and resolve various issues, e.g. with frame skipping. It also exposes some interesting possibilities for parallelism, since now the video encoding can happen in a separate thread/process.
Also need to add template parameter for video output name format, since right now it's hard-coded (e.g.
video-DSME-000).Will resolve #27.