Hi, I successfully ran the export via the command line but couldn’t let it work on multiple files simultaneously.
Here is the command that I’m using
for /r “D:\dump\qq\group1” %i in (*.mp4) do ffmpeg “-hide_banner” “-i” “%i” “-sws_flags” “spline+accurate_rnd+full_chroma_int” “-filter_complex” “tvai_up=model=prob-4:scale=0:w=1440:h=1080:preblur=0.0425178:noise=0.0299358:details=0.5:halo=0.02:blur=0.22795299999999996:compression=0.645083:prenoise=0.02:blend=0.2:device=0:vram=1:instances=2,scale=w=1440:h=1080:flags=lanczos:threads=0” “-c:v” “h264_nvenc” “-profile:v” “high” “-pix_fmt” “yuv420p” “-g” “30” “-preset” “p7” “-tune” “hq” “-rc” “constqp” “-qp” “18” “-rc-lookahead” “20” “-spatial_aq” “1” “-aq-strength” “15” “-b:v” “0” “-map” “0:a?” “-map_metadata:s:a:0” “0:s:a:0” “-c:a” “copy” “-bsf:a:0” “aac_adtstoasc” “-map_metadata” “0” “-map_metadata:s:v” “0:s:v” “-movflags” “frag_keyframe+empty_moov+delay_moov+use_metadata_tags+write_colr” “-bf” “0” “-metadata” “videoai=Enhanced using prob-4; mode: manual; revert compression at 64.50829999999999; recover details at 50; sharpen at 22.795299999999997; reduce noise at 2.9935799999999997; dehalo at 2; anti-alias/deblur at 4.25178; focus fix Off; add noise at 2; and recover original detail at 20. Changed resolution to 1440x1080” “D:\dump\qq\output%~ni.mp4”
and my second command is the same but with group2 folder instead and in a second command prompt.
that means it should do two files at a time one from each folder.
the problem is when I run the second command it aborts the files on group2 one by one and also group1 command starts acting the same.
someone said use && and strip the commands together for each file instead of using " For "
but I have more than 100 videos it’s going to be a headache also I don’t think it’s going t do multiple instances at once.
keep in mind I’m using the command prompt from inside the app. and the prompt works fine with the first command above alone even after I close the GUI …
also running a single file export on each prompt window give the same results so the issue is not with " for " command.
any suggestions will be appreciated.