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. Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se |
|
|
#401 | Link |
|
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,838
|
Yes, that's what I mean. When I was an Avisynth user, I always split the QTGMC encode into multiple parts with Trim and encoded with multiple simultaneous ffmpeg calls. Crash-proof at least, and faster too.
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
|
|
|
|
|
#403 | Link |
|
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,694
|
you can try MP_Pipeline, it's stable too, and ofc fast and mt base on every block
__________________
See My Avisynth Stuff |
|
|
|
|
|
#405 | Link |
|
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,694
|
the updates one is safe too
__________________
See My Avisynth Stuff |
|
|
|
|
|
#406 | Link |
|
Registered User
Join Date: Jun 2009
Posts: 40
|
I've gotten a new capture card for my playstation 2 footage. I used to demux .ts files into separate audio and video streams, then load them into avisynth that way, then ran the qtgmc script as seen below without problem.
Now I'm using uncompressed .avi files, and am trying to use the same script: AviSource("C:\Users\Owen\Desktop\2.avi") Crop(0,6,0,0) ConvertToYV12(interlaced=true) ConvertAudioTo16Bit() A2 = last A2 = A2.QTGMC(Preset="slower") TDeint(mode=1, order=1, field=1, edeint=A2, emask=TMM(mode=1, order=1, field=1),slow=2,chroma=false,MI=80,full=false,cthresh=9) But the tdeint using qtgmc no longer works, and the footage remains interlaced. Using QTGMC slower by itself works just fine, but for some reason, I'm having a conflict between the new avi files, and this tdeint qtgmc script. Does anybody have any ideas? I can try to upload a short sample clip of the footage I'm working with if it helps. |
|
|
|
|
|
#408 | Link | |
|
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 11,421
|
Quote:
We dont really like the crop, on interlaced should only be cropped vertical in multiples of 4 otherwise you are trashing the interlacing (whether colorspace is YV12 or anything else). EDIT: Oops, ignore above Too !!!, Interlaced non YV12 can of course be cropped in multiples of 2 guess thats why LM changed his mind, guess we both got out of bed way too early ![]() EDIT: However, result after cropping should be a multiple of 4 if later converting to YV12 with Interlaced=true, otherwise who knows what problems would occur.
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? Last edited by StainlessS; 15th July 2017 at 10:41. |
|
|
|
|
|
|
#409 | Link |
|
Registered User
Join Date: May 2009
Location: Belgium
Posts: 1,787
|
Yes, and in my opinion, if your avi is in yuy2, keep it as is for de-interlacing and convert to YV12 after.
And having 2 A2 in your script is maybe problematic, I would try this ; Code:
AviSource("C:\Users\Owen\Desktop\2.avi")
ConvertAudioTo16Bit()
Crop(0,6,0,-2)
A1 = last
A2 = A1.QTGMC(Preset="slower")
TDeint(mode=1, order=1, field=1, edeint=A2, emask=TMM(mode=1, order=1, field=1),slow=2,chroma=false,MI=80,full=false,cthresh=9)
ConvertToYV12()#not interlaced anymore after TDeint
Code:
AviSource("C:\Users\Owen\Desktop\2.avi")
ConvertAudioTo16Bit()
Crop(0,6,0,-2)
QTGMC(Preset="slower")
TDeint(mode=1, order=1, field=1, edeint=A2, emask=TMM(mode=1, order=1, field=1),slow=2,chroma=false,MI=80,full=false,cthresh=9)
ConvertToYV12()
Code:
AviSource("C:\Users\Owen\Desktop\2.avi")
ConvertAudioTo16Bit()
Crop(0,6,0,-2)
A1=QTGMC(Preset="slower")
TDeint(mode=1, order=1, field=1, edeint=A1, emask=TMM(mode=1, order=1, field=1),slow=2,chroma=false,MI=80,full=false,cthresh=9)
ConvertToYV12()
Last edited by Music Fan; 15th July 2017 at 12:38. Reason: forgot - in crop line, adding suggestions |
|
|
|
|
|
#410 | Link | |
|
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 11,421
|
Quote:
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? |
|
|
|
|
|
|
#412 | Link |
|
Registered User
Join Date: Jun 2009
Posts: 40
|
I had to put ConvertToYV12(interlaced=true) before the deinterlacing script because I was getting the error message: 'TemporalSoften: Scenechange not available on RGB32'
I also had to Crop only 6 pixels off the height of the video because the source footage is 486 pixels high, with black bars of 18 pixels on top and bottom. Cropping 6 of the black off the top made it so it's 480 pixels high, and a multiple of 4. If I crop more or less I get this: 'SeparateFields: YV12 height must be multiple of 4' I'm afraid this doesn't work either. A1=QTGMC(Preset="slower") TDeint(mode=1, order=1, field=1, edeint=A1, emask=TMM(mode=1, order=1, field=1),slow=2,chroma=false,MI=80,full=false,cthresh=9) ConvertToYV12() Just to give some more context, this is where the script originally came from: https://forum.doom9.org/showthread.p...74#post1636574 Back then, we used it for the .ts files, and I wanted the deinterlacer to keep the same framerate. Nowdays, I'm doubling the framerate to 60progressive, hence I have the 1s for mode. Here is the sample footage on google drive (500ish mb) https://drive.google.com/file/d/0B1b...ew?usp=sharing Thanks for helping so far guys! Last edited by Trademark; 15th July 2017 at 15:03. |
|
|
|
|
|
#413 | Link |
|
Registered User
Join Date: Jul 2011
Location: Tennessee, USA
Posts: 266
|
Had to change my mind about my original post, because the colorspace and other specs of the original source weren't clear. I figured more info would be needed.
The latest QTGMC with updated plugins can use YUY2. But I seldom use it, as most other plugins still want YV12, but often YUY2 does look cleaner. |
|
|
|
|
|
#414 | Link |
|
Registered User
Join Date: Jun 2009
Posts: 40
|
AviSource("C:\Users\Owen\Desktop\2.avi")
Crop(0,6,0,0) ConvertToYV12(interlaced=true) ConvertAudioTo16Bit() AssumeTFF() A2 = last A2 = A2.QTGMC(Preset="slower") TDeint(mode=1, order=1, field=1, edeint=A2, emask=TMM(mode=1, order=1, field=1),slow=2,chroma=false,MI=80,full=false,cthresh=9) So I just tried adding AssumeTFF() to my deinterlacing script, and I've tried keeping the modes on tdeint and tmm to 1 and -1, and both yield the same results. It seems as though the tdeint with gtgmc edeint is now working, but the source-filter might not be frame accurate? I get a resulting video that spasms around back and forth. Edit: I can add a .selecteven() after qtgmc, and change modes of tdeint and tmm to 0, and I get a smooth 30fps, but for some reason it's not agreeing with the bobbing for 60fps. Last edited by Trademark; 15th July 2017 at 18:52. |
|
|
|
|
|
#415 | Link |
|
Registered User
Join Date: Jul 2011
Location: Tennessee, USA
Posts: 266
|
Your sample is UYVY (4:2:2), bottom field first, and has 19 pixels top and bottom, not 18. You can get rid of 6 surplus lines to make it 480 height and keep the borders looking fairly even vertically using this in UYVY:
Code:
Crop(0,2,0,-4) Maybe tell us a little history of how this video was created, and possibly how it was borked. For the linked sample, which is just straight deinterlace to 59.94fps, I used this: Code:
Crop(0,2,0,-4) ConvertToYV12(interlaced=true) QTGMC(preset="very fast",border=true) |
|
|
|
|
|
#416 | Link | |
|
Registered User
Join Date: Jun 2009
Posts: 40
|
Here's a little discussion that lead to the creation of that script a while back: https://forum.doom9.org/showthread.p...74#post1636574
The link directs to poisondeathray's post, for which I got the script from. Essentially, I found that QTGMC alone smoothed the text on the video too much, while his script keeps most of benefits of QTGMC, plus keeping the text sharp. I've been using that script without the SelectEven() and putting mode=1on tdeint and tmm to get smooth and buttery 60fps progressive-scan videos, but that was for raw h264 streams demuxed from .ts files. Now I'm recording videos in uncompressed 8-bit yuv with .avi containers. Thanks for clarifying that the video is bottom field first, and not top field first. I've changed my script accordingly: Quote:
This seems to work now! However, if anybody has any suggestions for deinterlacing scripts that can yield even better visual results, I'm always interested. |
|
|
|
|
|
|
#417 | Link |
|
Registered User
Join Date: Dec 2008
Location: Germany
Posts: 173
|
Overall disorders
Tried version 3.57 some weeks ago, but recognizes many issues with it. So went back to 3.32 for a while.
Today I got still many issues with v3.57, mostly temporal problems. I am using exact the same parameters as with 3.32, v3.32 still works without any problems since a very long time. ![]() So it cant be my chain, its definitively version 3.57. Downloaded the latest plugins-pack for 3.57 including the 2 updated plugins. This are my settings, they work fine for 3.32 since many many months, source is still progressive. Code:
QTGMC(Preset="Medium", EdiThreads=6, InputType=1, TR2=2, NoiseProcess=1, NoiseRestore=0.0, StabilizeNoise=true, DenoiseMC=true, Denoiser="dfttest", Sigma=0.5, Sharpness=2.0, SLMode=2, ForceTR=3, SourceMatch=3, MatchEnhance=0.75, FPSDivisor=1) And NO, its not a ghostmovie ;-) Last edited by mbcd; 16th July 2017 at 19:59. |
|
|
|
|
|
#418 | Link |
|
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 7,439
|
But can we be sure that it's not already norm-converted with blending in the "original" material?
We would need a scene from the original material for inspection. I would recommend not to blame software before we are sure that nothing else is to be blamed. |
|
|
|
|
|
#419 | Link |
|
Registered User
Join Date: Dec 2008
Location: Germany
Posts: 173
|
I dont have the source anymore, but I can take ANY source I want, because it is always persistant after I switch from 3.32 to 3.57, doesnt matter what I use as source.
I am for 101% sure that sources are progressive, also why are these problems gone if I switch the same source from 3.57 to 3.32 without changing parameters? Is 3.32 with InputType=1 not also "progressive" ? Why this difference in output? I think that my comment 100% prooves that there are some flaws in 3.57 while ALL is fine with 3.32. Still wondering why I am the only one with that massive problems, so I think it might be my parameters, thats why I posted them too. As none-native american sometimes its hard to understand what some parameters do. Last edited by mbcd; 16th July 2017 at 20:48. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|