Thread: VirtualDub2
View Single Post
Old 18th December 2022, 21:47   #1148  |  Link
GAP
Registered User
 
Join Date: Sep 2020
Posts: 135
Quote:
Originally Posted by StainlessS View Post
"Requested frame not found"

From another of your threads, [EDIT: GAP threads]


From this [GAP] thread,
https://forum.doom9.org/showthread.php?t=183052

Maybe suggest trying the batch script with that error producing clip,
BAT(same thread) = https://forum.doom9.org/showthread.p...05#post1948505

See if ffmpeg gives any further info in error message for the missing frame,
perhaps it can even auto conceal the error. (producing legal output clip)
EDIT:
OR smaller bat script. Output UT_Video, AVI.

SomethingOrOther.bat
Code:
setlocal

REM Where to Find ffmpeg
set FFMPEG="C:\BIN\ffmpeg.exe"

REM Where to get input file, No terminating Backslash, "." = current directory
set INDIR="."


REM Where to place output file, No terminating Backslash.
set OUTDIR="D:"


FOR %%A IN (*.wmv *.mpg *.avi *.flv *.mov *.mp4 *.m4v *.RAM *.RM *.mkv *.TS *.ogv *264 *.webm *.m2v *.VOB) DO (
  %FFMPEG% -i "%INDIR%\%%A" -vcodec utvideo -acodec pcm_s16le "%OUTDIR%\%%~nxA.AVI"

)

Pause
Output AVI to to D: drive. Input types in BLUE (can try adding more at end of list, eg " *.abc", SPACE separatedf from other extensions).

Create CONVERT Folder. Copy bat and source clips into that folder.
Ensure FFMPEG line points to your ffmpeg binary.
Run the bat.
(The Bat dont like SPACES nor weird foreign chars in filenames)
Do you need to make the output directory the same as the FFMPEG folder? I tried this and it could not go on without an output directory.
GAP is offline   Reply With Quote