Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
12th June 2010, 21:26 | #1625 | Link | |
Registered User
Join Date: Jan 2002
Posts: 581
|
how do you make Avisynth 64 bit working. I have tried this one: http://85.230.118.163/showthread.php?t=152800 and my avisynth script is like this:
Quote:
Also when I run the avisynth install is says: 64-bit windows not detected. This is wrong, because I'm running 64 bit windows 7... So are you using the same avisynth as me ? |
|
12th June 2010, 21:32 | #1626 | Link |
Guest
Join Date: Jan 2002
Posts: 21,901
|
Thank you, Stephen and nixo.
64: 29.28 32: 26.70 So the gain from 32 -> 64 is not so great (although 10% is not insignificant). I was remarking more on the boost from the i7-980X versus my old E8500 dual core. I'm not used to real-time encoding of HD video. Blue_MiSfit was right: "It will make whatever you had before seem like a toy!" Last edited by Guest; 12th June 2010 at 21:40. |
12th June 2010, 21:35 | #1628 | Link |
Registered User
Join Date: May 2008
Posts: 1,618
|
GZZ, I don't want to take this too far OT, but make sure:
1) You've installed joshyd's build by running the install.cmd as an admin AFTER installing Avisynth x86. 2) You've copied the 64-bit DGMultiDecodeNV.dll to your plugins64 directory. 3) You have a 64-bit YV12 decoder (e.g., ffdshow installed and configured) and are previewing the script in a 64-bit build of MPC-HC. 4) You're attempting to encode with a 64-bit build of x264. |
12th June 2010, 21:46 | #1630 | Link | |
Registered User
Join Date: Sep 2006
Posts: 82
|
Quote:
I forgot about DGSplit. (Please note though that until 17 minutes ago I was also recording BBC HD while encoding and I didn't want to push my luck doing much else, also the Missus had urgent on-line shopping to do). OK we have two samples: one edited by VideoRedo and one trimmed by DGSplit. The VideoRedo one causes the error, the DGSplit one doesn't. BBCHDEditedByVideoRedo.rar BBCHDTrimmedByDGSplit.rar Please note that using DGIndexNV's "Output trimmed TS" produces a TS that then provokes the error if you try to index it again in DGIndexNV. Also note that VideoRedo have a similar file trimmer, but it too must change something because its output also provokes the error. The stream came from BBC HD (on Sat) via a Technisat Skystar HD2 card, captured using DVBViewer Pro 4.2.1.0. DVBViewer is set to "Adjust PAT/PMT" as this was necessary in the past for BBC HD; it may no longer be so. Finally, the unedited stream, indexed with in and out points in DGIndexNV, seems to be successfully encoding in MeGui, it passed the "hang point" at the end of the first pass where the edited version failed. Thanks in advance. Last edited by Clumpco; 12th June 2010 at 21:50. |
|
12th June 2010, 21:50 | #1631 | Link | ||
Guest
Join Date: Jan 2002
Posts: 21,901
|
Quote:
Quote:
|
||
12th June 2010, 22:46 | #1632 | Link | |
Registered User
Join Date: Nov 2003
Location: WI, USA
Posts: 54
|
Quote:
I've always noticed the issue Clumpco described (I imagine many Vista/Win7 users have), but it's not a big deal. Since you're running XP, it makes sense you wouldn't see it. |
|
12th June 2010, 23:22 | #1633 | Link | |
Registered User
Join Date: Sep 2004
Posts: 1,295
|
Quote:
Thanks. |
|
13th June 2010, 01:24 | #1634 | Link | |
Guest
Join Date: Jan 2002
Posts: 21,901
|
Quote:
Both the VideoRedo and DGIndexNV TS trimmers could be more intelligent about this but it would be tricky to implement. If they do it, I'll do it. Last edited by Guest; 13th June 2010 at 01:28. |
|
13th June 2010, 08:43 | #1637 | Link |
Registered User
Join Date: Oct 2009
Location: crow-land
Posts: 540
|
Well, here's an example - drag and drop a PAL 1440x1080i TFF .mpg onto this .bat file.
Code:
@echo on REM HD 1080i for WDTV Live (not 1088i) REM SETLOCAL ENABLEDELAYEDEXPANSION set PARF1=%~f1% set PARF2=%~dpn1% set parpath=%~dp1% set pard2v=%~dpn1%.d2v set pardgi=%~dpn1%.dgi set PARtemp=%~1%-temp.MP4 set PARmp4=%~dpn1%.MP4 set PARAC3mp4=%~dpn1%.AC3.MP4 set PARMP2mp4=%~dpn1%.MP2.MP4 set parAC3=%~dpn1%.ac3 set parMP2=%~dpn1%.mp2 "C:\software\DGindex\DGIndexNV.exe" -i "%PARF1%" -a -o "%pardgi%" -e IF EXIST "%parAC3%" DEL "%parAC3%" FOR %%A in ("%~dpn1*ms.ac3") DO ( ECHO ------------------ ECHO Deleting "%parAC3%" DEL "%parAC3%" ECHO Renamnig "%%~A" to "%parAC3%" MOVE "%%~A" "%parAC3%" ECHO ------------------ ) IF EXIST "%parMP2%" DEL "%parMP2%" FOR %%A in ("%~dpn1*ms.mp2") DO ( ECHO ------------------ ECHO Deleting "%parMP2%" DEL "%parMP2%" ECHO Renamnig "%%~A" to "%parMP2%" MOVE "%%~A" "%parMP2%" ECHO ------------------ ) SET avs1=%PARF2%.avs echo # "%avs1%" > "%avs1%" echo LoadPlugin("C:\SOFTWARE\DGindex\DGMultiDecodeNV.dll") >> "%avs1%" echo LoadPlugin("C:\SOFTWARE\DGindex\DGDecode.dll") >> "%avs1%" echo LoadPlugin("C:\Program Files\AviSynth 2.5\plugins-zzz\NNEDI2.dll") >> "%avs1%" echo LoadPlugin("C:\Program Files\AviSynth 2.5\plugins-zzz\Yadifmod.dll") >> "%avs1%" echo LoadPlugin("C:\Program Files\AviSynth 2.5\plugins-zzz\DePan.dll") >> "%avs1%" echo LoadPlugin("C:\Program Files\AviSynth 2.5\plugins-zzz\AGC.dll") >> "%avs1%" echo LoadPlugin("C:\Program Files\AviSynth 2.5\plugins-zzz\Cnr2.dll") >> "%avs1%" echo LoadPlugin("C:\Program Files\AviSynth 2.5\plugins-zzz\dctfilter.dll") >> "%avs1%" echo LoadPlugin("C:\Program Files\AviSynth 2.5\plugins-zzz\fft3dfilter.dll") >> "%avs1%" echo LoadPlugin("C:\Program Files\AviSynth 2.5\plugins-zzz\degrainmedian.dll") >> "%avs1%" echo LoadPlugin("C:\Program Files\AviSynth 2.5\plugins-zzz\Convolution3d.dll") >> "%avs1%" echo LoadPlugin("C:\Program Files\AviSynth 2.5\plugins-zzz\despot.dll") >> "%avs1%" echo LoadPlugin("C:\Program Files\AviSynth 2.5\plugins-zzz\WarpSharp.dll") >> "%avs1%" echo LoadPlugin("C:\Program Files\AviSynth 2.5\plugins-zzz\aWarpSharp.dll") >> "%avs1%" echo LoadPlugin("C:\Program Files\AviSynth 2.5\plugins-zzz\mt_masktools.dll") >> "%avs1%" echo LoadPlugin("C:\Program Files\AviSynth 2.5\plugins-zzz\mvtools2.dll") >> "%avs1%" echo LoadPlugin("C:\Program Files\AviSynth 2.5\plugins-zzz\Unfilter.dll") >> "%avs1%" echo LoadPlugin("C:\Program Files\AviSynth 2.5\plugins-zzz\AddgrainC.dll") >> "%avs1%" echo LoadPlugin("C:\Program Files\AviSynth 2.5\plugins-zzz\hqdn3d.dll") >> "%avs1%" echo # ------------------------------------------------------------------------------------- >> "%avs1%" echo LoadPlugin("C:\Program Files\AviSynth 2.5\plugins-zzz\VariableBlur.dll") >> "%avs1%" echo LoadPlugin("C:\Program Files\AviSynth 2.5\plugins-zzz\FFTQuiver.dll") >> "%avs1%" echo # ------------------------------------------------------------------------------------- >> "%avs1%" echo #LoadPlugin("C:\Program Files\AviSynth 2.5\plugins-zzz\RemoveGrain.dll") >> "%avs1%" echo LoadPlugin("C:\Program Files\AviSynth 2.5\plugins-zzz\RemoveGrainSSE2.dll") >> "%avs1%" echo #LoadPlugin("C:\Program Files\AviSynth 2.5\plugins-zzz\Repair.dll") >> "%avs1%" echo LoadPlugin("C:\Program Files\AviSynth 2.5\plugins-zzz\RepairSSE2.dll") >> "%avs1%" echo #LoadPlugin("C:\Program Files\AviSynth 2.5\plugins-zzz\RemoveDirt.dll") >> "%avs1%" echo LoadPlugin("C:\Program Files\AviSynth 2.5\plugins-zzz\RemoveDirtSSE2.dll") >> "%avs1%" echo Import("C:\Program Files\AviSynth 2.5\LimitedSharpenFaster.avs") >> "%avs1%" echo Import("C:\Program Files\AviSynth 2.5\Deblock_QED_MT2.avs") >> "%avs1%" echo DGMultiSource("%pardgi%",deinterlace=2) #deinterlace=2 means double rate deinterlacing >> "%avs1%" echo AssumeTFF() >> "%avs1%" echo Assumefps(25) >> "%avs1%" echo trim(1,-999999) # fix a double-framerate bug in NV per http://forum.doom9.org/showthread.php?p=1391556#post1391556 >> "%avs1%" echo #LAST.HEIGHT==1080 ? AddBorders(int left, int top, int right, int bottom) : LAST >> "%avs1%" echo LAST.HEIGHT==1080 ? AddBorders(0,0,0,8) : LAST >> "%avs1%" echo #Deblock_QED_MT2() #default quant1=24 >> "%avs1%" echo #Deblock_QED_MT2(quant1=28) >> "%avs1%" echo #Deblock_QED_MT2(quant1=32) >> "%avs1%" echo #Deblock_QED_MT2(quant1=36) >> "%avs1%" echo #Deblock_QED_MT2(quant1=40) >> "%avs1%" echo #Deblock_QED_MT2(quant1=44) >> "%avs1%" echo #Deblock_QED_MT2(quant1=48) >> "%avs1%" echo #Deblock_QED_MT2(quant1=24,aOff1=1,bOff1=2,quant2=24,aOff2=2,bOff2=4) >> "%avs1%" echo #Deblock_QED_MT2(quant1=36,aOff1=1,bOff1=2,quant2=24,aOff2=2,bOff2=4) >> "%avs1%" echo Deblock_QED_MT2(quant1=48,aOff1=1,bOff1=2,quant2=24,aOff2=2,bOff2=4) >> "%avs1%" echo #LimitedSharpenFaster(smode=4,strength=100) >> "%avs1%" echo UnFilter(15,15) >> "%avs1%" echo AssumeTFF() #choose the SAME field order like before deinterlacing >> "%avs1%" echo SeparateFields().SelectEvery(4,0,3).Weave() #reinterlace. >> "%avs1%" echo AssumeTFF() #choose the SAME field order like before deinterlacing >> "%avs1%" echo AssumeFPS(25) >> "%avs1%" echo LAST.HEIGHT==1088 ? cropbottom(8) : LAST >> "%avs1%" echo SetPlanarLegacyAlignment(True) >> "%avs1%" "C:\software\X264\x264.exe" --thread-input --threads 3 --profile high --level 4.1 --preset fast --interlaced --tff --no-cabac --bitrate 8000 --sar 4:3 -o "%PARtemp%" "%AVS1%" IF NOT EXIST "%parMP2%" "C:\software\ffmpeg\0-LATEST-BETA\bin\ffmpeg.exe" -i "%PARF1%" -y -ar 44100 -ac 2 -ab 224k -acodec mp2 -vol 768 "%parMP2%" IF EXIST "%parAC3%" "C:\SOFTWARE\MP4box\MP4Box.exe" -add "%PARtemp%" -add "%parAC3%":lang=eng -new "%PARAC3mp4%" IF EXIST "%parMP2%" "C:\SOFTWARE\MP4box\MP4Box.exe" -add "%PARtemp%" -add "%parMP2%":lang=eng -new "%PARMP2mp4%" DEL "%PARtemp%" DEL "%parAC3%" DEL "%parMP2%" DEL "%avs1%" DEL "%pard2v%" pause exit REM SAR = DAR / PAR REM for 16:9 720x576i use --sar=16:11 (most 4:3 are in 16:9 shell frame nowadays, so use this) REM for 16:9 1440x1080i use --sar=4:3 REM for 16:9 1920x1080i use --sar=1:1 REM REM http://developer.divx.com/docs/divx_plus_hd/Creation_with_x264/ REM Interlaced resolution Support SARs REM 1920x1080i50 1:1 (16:9 frame) REM 1440x1080i50 1:1 (4:3 frame), 4:3 (16:9 frame) REM 720x576i50 1:1, 16:11 (16:9 frame), 12:11 (4:3 frame) REM 704x576i50 1:1, 16:11 (16:9 frame), 12:11 (4:3 frame) REM 480x576i50 1:1, 24:11 (16:9 frame), 18:11 (4:3 frame) REM 352x576i50 1:1, 32:11 (16:9 frame), 24:11 (4:3 frame) REM REM 1920x1080i60 1:1 (16:9 frame) REM 1440x1080i60 1:1 (4:3 frame), 4:3 (16:9 frame) REM 720x480i60 1:1, 40:33 (16:9 frame), 10:11 (4:3 frame) REM 704x480i60 1:1, 40:33 (16:9 frame), 10:11 (4:3 frame) REM 640x480i60 1:1 (4:3 frame) REM 480x480i60 1:1, 20:11 (16:9 frame), 15:11 (4:3 frame) REM 352x480i60 1:1, 80:33 (16:9 frame), 20:11 (4:3 frame) REM |
13th June 2010, 09:42 | #1638 | Link |
Registered User
Join Date: Nov 2003
Posts: 1,281
|
x264.exe --preset slow --tune film --crf 20 --aq-mode 2 -o x:\output.mkv x:\input.avs
__________________
http://www.7-zip.org/ |
13th June 2010, 12:03 | #1639 | Link | |
Registered User
Join Date: Sep 2006
Posts: 82
|
Quote:
And again thanks |
|
|
|