I have the following requirements for the thumbnails:
- scene change should be at least 6% different from the last
select=gt(scene\,0.06)
- aspect ratio is retained at 1280px width
scale='min(1280\, iw):-1'
- minimum of 1 second between each thumbnail
-r 1
- filenames represent the time offset of the thumbnail
-vsync 0 -frame_pts 1
This is currently fed into a command as below:
ffmpeg -copyts -i file.mp4 -vf "select=gt(scene\,0.06),scale='min(1280\, iw):-1'" -r 1 -vsync 0 -frame_pts 1 snapshot.1280.%04d.png -f null
However, I am getting errors in the output:
Using -vsync 0 and -r can produce invalid output files
[image2 @ 0x7f804500a000] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 463 >= 463
Should these be something to worry about in the command or should I ignore them?