Hi I have a DVD which i want to deinterlace and convert the 29.976FPS to the original FPS. I also like to fix the aspect ratio as DVD is in 4x3 and image maybe stretched. Also like to to improve on the picture quality.
https://www.swisstransfer.com/d/a3c7aeb0-723d-4433-8772-900758398927
+ Reply to Thread
Results 1 to 13 of 13
-
-
Some suggestions after a quick glance:
interlaced handling: QTGMC(preset="fast") + SelectEven()
rainbows: SSIQ
halos: DeHalo_alpha
chroma shift: ChromaShiftSP(X=-2.5,Y=-2.5)
scratches&co: SpotLess adjusted by scene (maybe mask)
additiona border fixes: after cropping BlanceBorders, i.e. "bbmod(clip, cLeft=0, cTop=8, cRight=0, cBottom=8)"
aspect ratio: PAR signaling seems correct, seems straight forward, crop and resize to 1:1 PAR (if you want to increase resolution, keep that DAR and upscale further)
not sure about the general
Cu selurusers currently on my ignore list: deadrats, Stears555, marcorocchini -
Just a quick shot, reverting to the proposals which you have been given in your former threads. Why don't you try and optimize yourself?
Last edited by Sharc; 28th Mar 2026 at 03:35. Reason: Sorry, wrong file was attached, corrected
-
Thanks Selur, I cant get SSIQ & ChromaShiftSP to run on avisynth 64bit. Thanks Sharc, can you share the script please, i cant get same result as your output using avisynth.
This is my script so far:
v = Mpeg2Source("G:\future projects\TransferXL-00vbnTwFTX3X8L\SNAKE DEADLY ACT (Eastern Heroes)\demux\VTS_02_1.d2v", Info=3) # get video
a = LWlibavAudioSource("G:\future projects\TransferXL-00vbnTwFTX3X8L\SNAKE DEADLY ACT (Eastern Heroes)\demux\VTS_02_1 T80 2_0ch 192Kbps DELAY 0ms.ac3") # get audio (decompressed to PCM)
AudioDub(v, a)
AssumeTFF()
QTGMC(preset="fast")
SRestore(frate=25)
import("C:\Users\akuma\AviSynth+\plugins64+\spotle ss.avs")
Crop(4,98,-8,-94) # after this cropping you have a 704x364 frame
source = Last
filtered = source.Spotless(ThSAD=400) # Lower ThSAD for detail preservation
Merge(filtered, source, 0.3) # Re-injects 30% of the original grain/detail
DeHalo_alpha(rx=1.5, ry=1.5, darkstr=1.0, brightstr=1.0)
AssumeFPS(24.0, sync_audio=true) #slowdown if really neededLast edited by Akuma786; 28th Mar 2026 at 11:04.
-
SSIQ -> seems like nobody compiled it for 64bit Avisynth, you will then probably have to look for an alternative
ChromaShiftSP => use ChromaShiftSP2 instead: https://forum.doom9.org/showthread.php?p=1851933#post1851933users currently on my ignore list: deadrats, Stears555, marcorocchini -
As far as I remember something like
then encode with x264 using --sar 10/11 (assuming the player respects the -sar signalling, otherwise resize to square pixels - or whatever you think is right).Code:v=LWLibavVideoSource("VTS_01_1.VOB") a=LWLibavAudioSource("VTS_01_1.VOB") audiodub(v,a) v.Crop(4, 100, -8, -96) QTGMC(preset="fast").SRestore(frate=25) #blends removal Spotless() #some denoiser here, like SMDegrain() or Temporaldegrain2() or MCDegrainSharp(), I don't remember assumeFPS(24,sync_audio=true)Last edited by Sharc; 29th Mar 2026 at 11:10.
-
How is this beneficial compared with using less “agressive” noise filtering settings without that “re-injection” step?filtered = source.Spotless(ThSAD=400) # Lower ThSAD for detail preservation
Merge(filtered, source, 0.3) # Re-injects 30% of the original grain/detail
Is there a benefit to using LWLibavVideoSource rather than MPEG2Source with a VOB input?v=LWLibavVideoSource("VTS_01_1.VOB")
a=LWLibavAudioSource("VTS_01_1.VOB")
Perhaps it circumvents the need to first index the file with dgindex?
What does this do with the audio? Is there a pitch correction? Is there a risk of noticeable artifacts when going from 25FPS to 24 FPS?AssumeFPS(24.0, sync_audio=true) #slowdown if really needed
Since the audio quality seems rather low to begin with (AC3 @ 192kbps), it might be better to keep the audio track unchanged, but perhaps this would cause synchronization issues when going from 29.97FPS to 25FPS.
By the way, small confusion regarding framerates:
It's 30000 : 1001 = 29.97(003).Hi I have a DVD which i want to deinterlace and convert the 29.976FPS to the original FPS.
And 24FPS is usually rendered as 24000 : 1001 = 23.976(024). -
Noise, grain, details preservation is much subject to personal preference. Easy to try out.
LWLibav indexes the file as well and works for many formats. MPEG2Source is for mpeg2 only.Is there a benefit to using LWLibavVideoSource rather than MPEG2Source with a VOB input?
Perhaps it circumvents the need to first index the file with dgindex?
AssumeFPS(24.0, sync_audio=true) #slowdown if really neededSampling rate gets adjusted and the pitch is affected. Pitch shift good or bad depends how it got processed before when converting from film to video (upshift <-> downshift).What does this do with the audio? Is there a pitch correction?
Several ways to change the framerate. For AssumeFPS(xx,sync_audio=true): Pitch is affected unless pitch correction is applied which introduces artifacts itself. For video it's just a slowdown. Frames are the same.Is there a risk of noticeable artifacts when going from 25FPS to 24 FPS?
Yes, unless the video is telecined/detelecined or motion interpolated which keeps the stream duration intact.Since the audio quality seems rather low to begin with (AC3 @ 192kbps), it might be better to keep the audio track unchanged, but perhaps this would cause synchronization issues when going from 29.97FPS to 25FPS.
Yes, should be 60000/1001 for NTSC fieldrate, means 30000/1001 for NTSC framerate. Film rate of 24fps gets downshifted accordingly to 24000/1001 to make it eventually NTSC broadcast compliant by telecining the film to 60000/1001 fields per second video. Blu-ray accepts 24.000 fps progressive though.By the way, small confusion regarding framerates:
And 24FPS is usually rendered as 24000 : 1001 = 23.976(024).Last edited by Sharc; 29th Mar 2026 at 13:55. Reason: quotes and unquotes mess
Similar Threads
-
Help De-interlacing DVD correctly and fixing aspect ratio
By Akuma786 in forum RestorationReplies: 47Last Post: 24th Mar 2026, 14:46 -
Handling Aspect Ratio when going from DVD sources to NLE?
By GMaq in forum EditingReplies: 16Last Post: 3rd Jan 2025, 14:34 -
How to fix DVD aspect ratio please?
By BrownMan in forum Newbie / General discussionsReplies: 12Last Post: 24th Aug 2024, 12:45 -
Fixing interlacing(?) in Youtube video
By corecore in forum Newbie / General discussionsReplies: 0Last Post: 6th Jul 2024, 21:32 -
Converting DVD: Aspect Ratio Error
By SomeoneNeutral in forum Newbie / General discussionsReplies: 3Last Post: 12th Feb 2023, 23:13


Quote
