dirkvdb / ffmpegthumbnailer

Lightweight video thumbnailer that can be used by file managers to create thumbnails for video files
GNU General Public License v2.0
489 stars 70 forks source link

ffmpegthumbnailer does not return an error code #221

Open Zakret opened 1 year ago

Zakret commented 1 year ago

When I pass incorrectly unforeseen arguments to the ffmpegthumbnailer, I should get an error, but instead I get a first frame of video. Because of this behavior, I can get the wrong impression that my input is handled in accordance with my expectations.

e.g.

ffmpegthumbnailer -t clearly wrong input -i ./input.mp4 -o ./output.jpg

Result: no error and output is a first frame of input.mp4