If I use ffprobe to output the duration of a video file with:
ffprobe -i input.mkv -show_entries format=duration -v quiet -of csv="p=0"
I will get something like
How can I get the output in second only without the decimals? I do not mind if ffmpeg or Mediainfo has a better function for this. I just need to get the output in seconds.
I am using CMD in Win10.