+ Reply to Thread
Results 31 to 60 of 67
-
-
Better wait for lollo, I don't see anything obviously wrong with it -
your command line worked as-is except for the different source file:
Code:I:\bin32>ffmpeg.exe -i "C:\Users\davex\Desktop\college-a.avs" -c:v libx264 -crf 17 -preset slow -aspect 4:3 -c:a aac -b:a 128k outputff.mp4 ffmpeg version 4.1.1 Copyright (c) 2000-2019 the FFmpeg developers built with gcc 8.2.1 (GCC) 20190212 configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth libavutil 56. 22.100 / 56. 22.100 libavcodec 58. 35.100 / 58. 35.100 libavformat 58. 20.100 / 58. 20.100 libavdevice 58. 5.100 / 58. 5.100 libavfilter 7. 40.101 / 7. 40.101 libswscale 5. 3.100 / 5. 3.100 libswresample 3. 3.100 / 3. 3.100 libpostproc 55. 3.100 / 55. 3.100 Input #0, avisynth, from 'C:\Users\davex\Desktop\college-a.avs': Duration: 00:02:20.37, start: 0.000000, bitrate: 0 kb/s Stream #0:0: Video: rawvideo (Y42B / 0x42323459), yuv422p, 720x480, 29.97 fps, 29.97 tbr, 29.97 tbn, 29.97 tbc
-
He had the script setup for source I uploaded S1E2 (PAL) 25i.mpg though not sure what all that NTSC stuff is about? Guess could try my NTSC source as well.
Hmm I downloaded the latest ffmpeg from here didn't see any 64 or 32 option. That could be it, pretty sure Lollo said this was 32bit. Thanks I'll check that too. -
Check 32-bit vs 64-bit mismatch, as jagabo said
In the avisynth script eventually use full path for avisynth plugin directory:
Code:plugins_dir="C:\lollo files\QTGMC\AviSynth_plugin_dir\"
-
Very good point. Earlier, I had tried to load a script containing mpeg2source with 64 bit ffmpeg.
But I got a specific message about being unable to load a 32 bit dll
Assuming Avisynth Plus is installed, both32 and 64 bit versions should be available and the bitness of ffmpeg
(As jagabo mentioned) will determine which is used -
OK I installed AviSynthPlus_3.7.3_20230715_vcredist.exe as all I had installed was AviSynth_260.exe. Now I am getting the bit match error.
Code:[avisynth @ 00000254e80b8980] Cannot load a 32 bit DLL in 64 bit Avisynth: 'C:/lollo files/QTGMC/AviSynth_plugin_dir/masktools2_v2.2.30/x86/masktools2.dll'. (script.avs, line 10) [in#0 @ 00000254e8080f40] Error opening input: Unknown error occurred Error opening input file script.avs. Error opening input files: Unknown error occurred
-
Did lollo set up his scripts/plugins with 32-bit usage in mind? Best wait for his input
-
The package was for AviSynth 2.60 32-bit.
Better re-read original post and restart from scratch -
Last edited by ProWo; 2nd Aug 2023 at 07:16.
-
I did and all the same result. However, I managed a work around (though not ideal).
Your script works fine but I hit that snag w/ ffmpeg:
Code:ffmpeg.exe -i script.avs -c:v libx264 -crf 17 -preset slow -aspect 4:3 -c:a aac -b:a 128k output.mp4
I can crop and process, remux the video later it's not terrible. -
ffmpeg should have no problems with AviSynth scripts. But like with VirtualDub you will need a 32 bit version of ffmpeg to use 32 bit AviSynth, a 64 bit version of ffmpeg to use 64 bit AviSynth. I don't think they make 32 bit versions of ffmpeg anymore.
-
-
-
How do I try an NTSC file using Lollo's script? What you suggested TFM().TDecimate()?
His script is:
Code:# plugins directory plugins_dir="AviSynth_plugin_dir\" # QTGMC Import(plugins_dir + "QTGMC.avsi") # Zs_RF_Shared Import(plugins_dir + "Zs_RF_Shared.avsi") # MaskTools2 loadPlugin(plugins_dir + "masktools2_v2.2.30\x86\masktools2.dll") # RgTools loadPlugin(plugins_dir + "RgTools-v1.2\x86\RgTools.dll") # MVTools loadPlugin(plugins_dir + "mvtools-2.7.45-with-depans20210608\x86\mvtools2.dll") # Nnedi3 loadPlugin(plugins_dir + "NNEDI3_v0_9_4_62\x86\Release_W7\nnedi3.dll") # FFTW loadPlugin(plugins_dir + "LoadDLL10\LoadDLL\LoadDLL32.dll") loadDll(plugins_dir + "fftw-3.3.5-dll32\libfftw3f-3.dll") # Srestore Import(plugins_dir + "Srestore\Srestore.avsi") loadPlugin(plugins_dir + "GRunT-v1.02\x86\grunt.dll") # FFmpegSource loadPlugin(plugins_dir + "ffms2-2.40-msvc\x86\ffms2.dll") video_org=FFmpegSource2("S1E2 (PAL) 25i.mpg") video_restored=video_org.AssumeTFF().QTGMC().Srestore() return(video_restored)
-
If you have the TIVTC filters autoloading your script can be as simple as:
Code:FFmpegSource2("filename.ext") TFM() TDecimate()
-
-
You need to download the TIVTC package, containing TFM and TDecimate https://avisynth.nl/index.php/TIVTC
-
-
Put the DLL or AVSI files in AviSynth's plugins folder. For 64 bit AviSynth that's the plugins64+ folder within the AviSynth+ folder. Use TIVTC.dll from the x64 folder of the archive:
C:\Program Files (x86)\AviSynth+\plugins64+\TIVTC.dll
64 bit AviSynth+ will automatically load all plugins and AVSI files located in that folder. -
OK did that but when I run the scrip:
FFmpegSource2("filename.ext")
TFM()
TDecimate()
Some error in line 1 there is no function named FFmpegSource2. I don;t care about ffmpeg, RAW works fine in Virtualdub. So how do I load it in VD and go that route? It's easier.
Similar Threads
-
Which software converts Mpeg2 NTSC to PAL / PAL to NTSC, WITH speed change?
By guy24s in forum Video ConversionReplies: 22Last Post: 27th Jul 2023, 02:42 -
Excel Saga PAL & NTSC DVDs (telecined, field-blended or interlaced?)
By eddebaby in forum Newbie / General discussionsReplies: 4Last Post: 5th Jul 2022, 07:21 -
Converting NTSC->PAL Interlaced DVD Back To NTSC 24FPS???
By SegaSonic91 in forum DVD RippingReplies: 7Last Post: 2nd Oct 2020, 23:55 -
PAL interlaced DVD (Film source) Halo/Mosquito Noise
By camjac251 in forum RestorationReplies: 14Last Post: 5th Feb 2019, 18:29 -
NTSC blended from a PAL source, can't restore it properly
By bruno321 in forum RestorationReplies: 5Last Post: 6th Oct 2018, 10:42