This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

[HELP] Crash when trying to encode raw uncompressed avi
#4
Avisynth uses:
ClearAutoloadDirs()
SetFilterMTMode("DEFAULT_MT_MODE", MT_MULTI_INSTANCE)
LoadPlugin("C:\Program Files\Hybrid\64bit\Avisynth\avisynthPlugins\LSMASHSource.dll")
LoadPlugin("C:\Program Files\Hybrid\64bit\Avisynth\avisynthPlugins\nnedi3.dll")
LoadPlugin("C:\Program Files\Hybrid\64bit\Avisynth\avisynthPlugins\neo-fft3d.dll")
LoadPlugin("C:\Program Files\Hybrid\64bit\Avisynth\avisynthPlugins\mvtools2.dll")
LoadPlugin("C:\Program Files\Hybrid\64bit\Avisynth\avisynthPlugins\masktools2.dll")
LoadPlugin("C:\Program Files\Hybrid\64bit\Avisynth\avisynthPlugins\RgTools.dll")
Import("C:\Program Files\Hybrid\64bit\Avisynth\avisynthPlugins\mtmodes.avsi")
Import("C:\Program Files\Hybrid\64bit\Avisynth\avisynthPlugins\Zs_RF_Shared.avsi")
Import("C:\Program Files\Hybrid\64bit\Avisynth\avisynthPlugins\QTGMC.avsi")
# loading source: C:\temp\sample.avi
# color sampling RGB24@8, matrix: pc601, scantyp: bottom field first, luminance scale: full
LWLibavVideoSource("C:\temp\sample.avi",cache=false,format="RGB24", prefer_hw=0)
# current resolution: 720x576
# deinterlacing
ConvertToYV24(interlaced=true, matrix="PC.601")
AssumeBFF()
QTGMC(Preset="Very Slow", InputType=0, TR2=0, Sharpness=0.2, SourceMatch=2, Lossless=2, MatchPreset="Very Slow", EZKeepGrain=0.80, NoisePreset="Fast", ediThreads=4)
SelectEven()
# adjust color to YV12 (color matrix: PC.601)
ConvertToYV12()
# setting output fps to 25.000fps
AssumeFPS(25,1)
PreFetch(10)
#  output: color sampling YV24@8, matrix: pc601, scantyp: progressive, luminance scale: full
return last
In the script the shown output color sampling is wrong (YV24@8 should be YV12@8) but that only seems to be a local bug, since ffmpeg assumes correctly YV12 when decoding it.
"C:\Program Files\Hybrid\64bit\ffmpeg.exe" -y -loglevel fatal -noautorotate -nostdin -threads 8 -i "C:\Users\User\AppData\Local\Temp\encodingTempSynthSkript_2024-10-10@10_07_20_9710_0.avs" -an -sn -vf scale=out_color_matrix=rec.601 -sws_flags accurate_rnd+full_chroma_inp -pix_fmt yuv420p -vsync 0 -f rawvideo -

not sure where the problem is.
=> looking into it Smile

Cu Selur
Reply


Messages In This Thread
RE: Crash when trying to encode raw uncompressed avi - by Selur - 10.10.2024, 15:31

Forum Jump:


Users browsing this thread: 1 Guest(s)