Hi, please help the catthanks
the output of my NumberOfFrame is 3531, but 3531 / 2 = 1765,5 that set /a round to 1765Code:for /f "tokens=1,2 delims=^=" %%g in ('ffprobe64bit333.exe -hide_banner -loglevel fatal -pretty -select_streams v:0 -show_streams "%cd%\avsInput.avs"') DO ( if "%%~g"=="duration_ts" set "NumberOfFrame=%%~h") set /a "NumerOfTotalFrames=%NumberOfFrame%/2"
I wonder: is there a way to tell to the set /a that have to be round "over" so that the final result is 1766 [and not 1765, I need 1766]? tHANKS
+ Reply to Thread
Results 1 to 2 of 2
Similar Threads
-
How exactly does rounding in a JPEG work?
By Videogamer555 in forum Video ConversionReplies: 0Last Post: 25th Dec 2021, 05:59 -
Help using avidemux command line
By aspenx in forum AudioReplies: 7Last Post: 6th Aug 2020, 14:53 -
mkvmerge command line
By barbosa in forum Newbie / General discussionsReplies: 0Last Post: 10th Feb 2019, 07:09 -
vidCoder command line?
By Cazz in forum Video ConversionReplies: 0Last Post: 13th Nov 2018, 16:38 -
tsMuxeR command line
By t00 in forum Blu-ray RippingReplies: 7Last Post: 19th Nov 2017, 12:20