Maybe it will be a ridiculous question...
I've been looking around for 3 hours how to get the batch to run the ffprobe command without randomly expanding %
inside the -read_intervals
command.
Batch:
for %%a in ("*.mkv") do ffprobe -read_intervals 1%16 -v error -skip_frame nokey -show_entries frame=pkt_pts_time -select_streams v -of csv=p=0 -i "%%a" >> KFS.txt
It would be the basic command. However 1%16
is seen as %1
. Even putting 1%%16
or 1%%%16
continues to expand the %1
. I tried any combination with ("" '' @ ^)
read this link 10 times (and many more).
The command on normal Windows CMD works fine. It is its batch conversion that gives problems.
-read_intervals
use x%x
as the interval system.
Thanks in advance to those who explain me how to solve.
1%%16
should work.