I am trying to achieve partial transcode using ffmpeg. The command I am using currently is:
ffmpeg.exe -ss start-time -i source file -t duration -y -s 640x360 -b:v 1024k -vcodec libx264 -r 29.7 -movflags faststart -pix_fmt yuv420p outputfile
In the ffmpeg documentation, I read about -to parameter:
-to position (output) Stop writing the output at position. position may be a number in seconds, or in hh:mm:ss[.xxx] form.
-to and -t are mutually exclusive and -t has priority.
But when I tried -to in place of "-t" , the output was same, I mean the value after -to is taken as duration of out put video. I thought it would treat the value like end time. Am I missing something?