I tested a ffmpeg command to generate thumbnail ffmpeg -y -ss 0 -to 10 -i acb.mp4 -qscale:v 2 -frames:v 1 abc.jpeg
on macOS and it worked fine , whereas it gave error for the same command on ubuntu 18.04.2(AWS EC2) for ffmpeg.
error :
Option to (record or transcode stop time) cannot be applied to input url abc.mp4 -- you are trying to apply an input option to an output file or vice versa. Move this option before the file it belongs to.
Error parsing options for input file abc.mp4.
Error opening input files: Invalid argument
I am using AWS EC2 (ubuntu 18.04.2) , used sudo apt install ffmpeg. Can someone please help me with this , if I have to install it in a different way, or if I am missing something here. Thanks in Advance.