Thanks for taking a quick look at this for me.
I'm not a million percent sure what either of those are - but I assume they are part of the automated Hybrid system? I don't know if DGIndex or DGNVTools are available with Hybrid, Selur could probably tell?
Yep, I had to re-wrap the initial .vob file as (we're assuming) DVDDecrypter did something when ripping from disc because when I loaded the .vob file into Hybrid, no audio was detected for some reason - even though when I play the .vob I have sound? Re-wrapping it in mkv was the only way for Hybrid to see both the audio/video.
I don't know what options are available in Hybrid?
OK, thanks - again I'm assuming that Hybrid generated this in the script via an option I chose? I don't know if there's a way to edit the avs script generated by Hybrid before I start a 'job'. Perhaps Selur can comment?
Thanks.
+ Reply to Thread
Results 121 to 150 of 156
-
-
Not sure, but FFVideoSource and MT were in your script (MT is multithreaded avisynth, FFVideoSource is from FFMpegSource2, a different source filter)
I'm not too familiar with hybrid - Selur can answer those questions
Yep, I had to re-wrap the initial .vob file as (we're assuming) DVDDecrypter did something when ripping from disc because when I loaded the .vob file into Hybrid, no audio was detected for some reason - even though when I play the .vob I have sound? Re-wrapping it in mkv was the only way for Hybrid to see both the audio/video.
.
..
I'll let selur address those hybrid questions
I uploaded longer version with yadifmod/nnedi3/srestore, same script as above
IMO QTMGC does better (as it should) in most scenes (e.g. you can see aliasing in the 1st scene with yadifmod), it's only select sections where yadifmod/nnedi3 does better job. If you were picky you could mix/match sections in the script, or tweak the settings for better results. But the cadence is fine with the srestore script -
Yep, Selur recommended one or two programs a while back, so I'll have to dig those out again. I was using DVDDecrypter, but I believe it hasn't been supported/developed in years, so will need to try something else. Good to know that there wasn't a problem with this source clip though, so I'm assuming having to re-wrap it to mkv is probably what is causing my issues - as my yadifmod sample looked nothing like yours. I still have to do this though, coz Hybrid is not picking up the sound in any of the episodes I have.
Any idea on what settings I should be trying to tweak or where to start? I've been at this one encode for days now - no matter what I apply, nothing is really making a huge difference?
Thanks. -
This comment was just referring to the deinterlacing quality differences between QTGMC and yadifmod/nnedi3. Either will be fine if you use the same script with MPEG2Source, and non MT. As I said earlier, in general QTGMC wins hands down with deinterlacing. But your small sample was proof that there are exceptions (and the reason is it's taking blended information instead of deriving from "clean" fields) . This comment wasn't referring to "big" problems in your encodes (where you have messed up field order or lots of residual blends).
In regards to deinterlacing - If I were doing this and was picky , I would mix & match frames of 2 versions using ReMapFrames() or similar scripts like clipclop() . Basically you mix & match the best frames -
-
Really - It's not that bad . You're just mixing and matching frames of 2 differently filtered versions of the video. ReMapFrames() takes a text list of frame numbers
I think most people would be happy with just QTGMC, Srestore . You only notice the slightly blurrier frames in some scenes when you go frame by frame, most people probably wouldn't notice. But the aliasing (deinterlacing artifacts) you can see in normal motion -
You don't need either ConvertToYV12 lines in that script, they are superfluous
---------------
You only notice the slightly blurrier frames in some scenes when you go frame by frame, most people probably wouldn't notice.
-> @The.King: it might help if you make clear what is bothering you,..
----
a. Hybrid uses Avisynth MT (I can probably add an option to remove all MT specific calls)
b. it will use DGIndex for MPEG-2 content which is inside a mpeg-based container (vob, mpg, ts,...) and ffvideosource if the container is something else
DGNVTools is not supported since it's not freeware.
---------------------
A. To get any further The.King should make it clear what he doesn't like about the current results based on a short source sample (< 30 seconds) and a reencode of it.
B. I doubt Avisynth MT or FFMPEGSource2 are the problem, from my point of view the source is just not consistent. (I suspect the interlace patterns change over time and this way 'simple' solutions won't solve the problem.)Last edited by Selur; 8th Jan 2013 at 02:39.
-
Thanks for the replies.
You only notice the slightly blurrier frames in some scenes when you go frame by frame, most people probably wouldn't notice.
----
Sweet!
Hopefully I've covered this off above but if not, let me know what else you need. I really like Hybrid - I think it's the best GUI I've ever come across - it's just driving me mad that I still can't get a fluid & clear encode and although I am learning more and more about encoding - I obviously don't know enough. Aside from that - about 6 days (a few hours per day) is way too much time to invest to just let this one get the better of me. I feel like if it's the last encode I ever do, I'm going to get this right!
On the basis of knowing how many times I've tried to encode this using different filters - I'm inclined to agree. But I don't want to give up until the likes of you guys say it's a lot cause!
Thanks.
---------------------
Sent from my Smartphone. -
I took the sample from #102 and encoded it:
a. QTGMC(slower) sRestore(25) with AvisynthMT
Code:SetMemoryMax(768) SetMTMode(5,8) LoadPlugin("G:\Hybrid\avisynthPlugins\LoadDll.dll") LoadDll("G:\Hybrid\avisynthPlugins\libfftw3f-3.dll") LoadDll("G:\Hybrid\avisynthPlugins\fftw3.dll") LoadPlugin("G:\Hybrid\avisynthPlugins\Average.dll") LoadPlugin("G:\Hybrid\avisynthPlugins\TIVTC.dll") LoadCPlugin("G:\Hybrid\avisynthPlugins\yadif.dll") LoadPlugin("G:\Hybrid\avisynthPlugins\ffms2.dll") LoadPlugin("G:\Hybrid\avisynthPlugins\VerticalCleanerSSE2.dll") LoadPlugin("G:\Hybrid\avisynthPlugins\TDeint.dll") LoadPlugin("G:\Hybrid\avisynthPlugins\SSE2Tools.dll") LoadPlugin("G:\Hybrid\avisynthPlugins\RepairSSE2.dll") LoadPlugin("G:\Hybrid\avisynthPlugins\RemoveGrainSSE2.dll") LoadPlugin("G:\Hybrid\avisynthPlugins\nnedi3.dll") LoadPlugin("G:\Hybrid\avisynthPlugins\nnedi2.dll") LoadPlugin("G:\Hybrid\avisynthPlugins\nnedi.dll") LoadPlugin("G:\Hybrid\avisynthPlugins\mvtools2.dll") LoadPlugin("G:\Hybrid\avisynthPlugins\mt_masktools-26.dll") LoadPlugin("G:\Hybrid\avisynthPlugins\FFT3DFilter.dll") LoadPlugin("G:\Hybrid\avisynthPlugins\eedi3.dll") LoadPlugin("G:\Hybrid\avisynthPlugins\EEDI2.dll") LoadPlugin("G:\Hybrid\avisynthPlugins\DirectShowSource.dll") LoadPlugin("G:\Hybrid\avisynthPlugins\dfttest.dll") LoadPlugin("G:\Hybrid\avisynthPlugins\AddGrainC.dll") LoadPlugin("G:\Hybrid\avisynthPlugins\DGDecode.dll") Import("G:/Hybrid\avisynthPlugins\QTGMC-3.33.avsi") Import("G:/Hybrid\avisynthPlugins\Srestore.avsi") MPEG2Source(d2v="H:\Temp\88662m2v_deb1536f480475f7d593219aa1afd74c_41.d2v") SetMTMode(2) ConvertToYv12(interlaced=true, matrix="PC.709") #is not needed but does not hurt AssumeBFF() QTGMC(Preset="Slower") srestore(frate=25,omode=6,speed=9,mode=2,thresh=16,cache=-1) # <> sRestore(25) Crop(0,0,718,480) Spline16Resize(704,576) distributor() return(last)
Code:LoadPlugin("G:\Hybrid\avisynthPlugins\DGDecode.dll") LoadPlugin("G:\Hybrid\avisynthPlugins\LoadDll.dll") LoadDll("G:\Hybrid\avisynthPlugins\libfftw3f-3.dll") LoadDll("G:\Hybrid\avisynthPlugins\fftw3.dll") LoadPlugin("G:\Hybrid\avisynthPlugins\Average.dll") LoadPlugin("G:\Hybrid\avisynthPlugins\TIVTC.dll") LoadCPlugin("G:\Hybrid\avisynthPlugins\yadif.dll") LoadPlugin("G:\Hybrid\avisynthPlugins\ffms2.dll") LoadPlugin("G:\Hybrid\avisynthPlugins\VerticalCleanerSSE2.dll") LoadPlugin("G:\Hybrid\avisynthPlugins\TDeint.dll") LoadPlugin("G:\Hybrid\avisynthPlugins\SSE2Tools.dll") LoadPlugin("G:\Hybrid\avisynthPlugins\RepairSSE2.dll") LoadPlugin("G:\Hybrid\avisynthPlugins\RemoveGrainSSE2.dll") LoadPlugin("G:\Hybrid\avisynthPlugins\nnedi3.dll") LoadPlugin("G:\Hybrid\avisynthPlugins\nnedi2.dll") LoadPlugin("G:\Hybrid\avisynthPlugins\nnedi.dll") LoadPlugin("G:\Hybrid\avisynthPlugins\mvtools2.dll") LoadPlugin("G:\Hybrid\avisynthPlugins\mt_masktools-26.dll") LoadPlugin("G:\Hybrid\avisynthPlugins\FFT3DFilter.dll") LoadPlugin("G:\Hybrid\avisynthPlugins\eedi3.dll") LoadPlugin("G:\Hybrid\avisynthPlugins\EEDI2.dll") LoadPlugin("G:\Hybrid\avisynthPlugins\DirectShowSource.dll") LoadPlugin("G:\Hybrid\avisynthPlugins\dfttest.dll") LoadPlugin("G:\Hybrid\avisynthPlugins\AddGrainC.dll") Import("G:/Hybrid\avisynthPlugins\QTGMC-3.33.avsi") Import("G:/Hybrid\avisynthPlugins\Srestore.avsi") MPEG2Source(d2v="H:\Temp\88662m2v_deb1536f480475f7d593219aa1afd74c_41.d2v") ConvertToYv12(interlaced=true, matrix="PC.709") #is not needed but does not hurt AssumeBFF() QTGMC(Preset="Slower") srestore(frate=25,omode=6,speed=9,mode=2,thresh=16,cache=-1) # <> sRestore(25) Crop(0,0,718,480) Spline16Resize(704,576) return(last)
Code:SetMemoryMax(768) SetMTMode(5,8) LoadPlugin("G:\Hybrid\avisynthPlugins\LoadDll.dll") LoadDll("G:\Hybrid\avisynthPlugins\libfftw3f-3.dll") LoadPlugin("G:\Hybrid\avisynthPlugins\Average.dll") LoadPlugin("G:\Hybrid\avisynthPlugins\RemoveGrainSSE2.dll") LoadPlugin("G:\Hybrid\avisynthPlugins\mt_masktools-26.dll") LoadPlugin("G:\Hybrid\avisynthPlugins\TIVTC.dll") LoadPlugin("G:\Hybrid\avisynthPlugins\DGDecode.dll") LoadPlugin("G:\Hybrid\avisynthPlugins\yadifmod.dll") LoadPlugin("G:\Hybrid\avisynthPlugins\nnedi3.dll") Import("G:/Hybrid\avisynthPlugins\Srestore.avsi") MPEG2Source(d2v="H:\Temp\88662m2v_deb1536f480475f7d593219aa1afd74c_41.d2v") SetMTMode(2) ConvertToYv12(interlaced=true, matrix="PC.709") Yadifmod(mode=1,order=0,edeint=nnedi3(field=2)) # settings like suggested before by poisondeathray srestore(frate=25,omode=6,speed=9,mode=2,thresh=16,cache=-1) # <> sRestore(25) Crop(0,0,718,480) Spline16Resize(704,576) distributor() return(last)
Code:LoadPlugin("G:\Hybrid\avisynthPlugins\DGDecode.dll") LoadPlugin("G:\Hybrid\avisynthPlugins\yadifmod.dll") LoadPlugin("G:\Hybrid\avisynthPlugins\nnedi3.dll") LoadPlugin("G:\Hybrid\avisynthPlugins\LoadDll.dll") LoadDll("G:\Hybrid\avisynthPlugins\libfftw3f-3.dll") LoadPlugin("G:\Hybrid\avisynthPlugins\Average.dll") LoadPlugin("G:\Hybrid\avisynthPlugins\RemoveGrainSSE2.dll") LoadPlugin("G:\Hybrid\avisynthPlugins\mt_masktools-26.dll") LoadPlugin("G:\Hybrid\avisynthPlugins\TIVTC.dll") Import("G:/Hybrid\avisynthPlugins\Srestore.avsi") MPEG2Source(d2v="H:\Temp\88662m2v_deb1536f480475f7d593219aa1afd74c_41.d2v") ConvertToYv12(interlaced=true, matrix="PC.709") Yadifmod(mode=1,order=0,edeint=nnedi3(field=2)) # settings like suggested before by poisondeathray srestore(frate=25,omode=6,speed=9,mode=2,thresh=16,cache=-1) # <> sRestore(25) Crop(0,0,718,480) Spline16Resize(704,576) return(last)
Just for the fun of it I also encoded the sequence with qtgmc(preset=placebo) to see what frames sRestore can choose from. (this content has a fps of 59.94 and a lot of blends)Last edited by Selur; 8th Jan 2013 at 08:11.
-
Hi Selur,
Thanks for that - I still see a little distortion in the first 3 seconds of each of your clips - but maybe that's down to the camera work when it was shot as opposed to field blending?
By comparison - the attached is what I am getting - which is not as good as yours. All Yadifmod samples were (YadifMod + NNEDI3 with MT) and all QTGMC samples were QTGMC(slow) sRestore(25) with AvisynthMT. Another thing to note is that ALL my samples were the result of a re-wrapped mkv source as Hybrid couldn't detect the audio from the original .vob file?
You'll be familiar with sample 1 of each, but from sample 2 right through to sample 5, I hope it will show you a decent example of what I mean by atrefacts - whether it's right to left movement like in sample 2, or just not being able to see peoples faces when they're walking from clips 3-5. (I appreciate that there's a lot of movement in clip 5, but even at the start I can't see the guy's face as he walks from the van. When I play the course .vob file in vlc - I can see him pretty clearly!
If this all boils down to using the re-wrapped mkv, would running it through DGIndex and getting a m2v file help? (the source .vob I mean, not the mkv. Probably can't run an mkv through DGIndex anyway.)
Thanks. -
Well that rules that out. I just used DGIndex to save and demux the input .vob file which it did no problem. I then loaded the d2v file into Hybrid as normal, but I got the following error:
Code:Aborting since Hybrid could not identify the frame count of the input(2)!
-
No, Hybrid does not support d2v files as input,... you can use DGIndex to extract audio&video, but I do not think changing the container or using raw streams will help the video quality,...
Thanks for that - I still see a little distortion in the first 3 seconds of each of your clips - but maybe that's down to the camera work when it was shot as opposed to field blending?
-> make a screen shot of the mp4 and the scource (same frame!), use a paint program and circle the distortion that bothers you so others can get a grasp of what the problem is. -
I've been trying to explain it over the last few posts - it's a blending/blurring type of distortion. All you need to do is look at the first 3 seconds or so of any sample and you should be able to see it - be it the guy wearing jeans and how his legs move when he walks, or the first close up of the guy in the suit and how the frames move left->right.
Like you mentioned in a previous post about yadifmod, it might work or look ok for still images - but the problem here is noticeable during movement. The distortion I'm referring to is during a moving scene, not when I pause the video, so I don't see how a screenshot would really help? As I mentioned when posting 5 samples - I think the distortion I'm referring to is cealrly visible (not being able to make our someone's face as they walk etc.) when you play the clip. But here's two screenshots from clip 5 anyway.
What did you make of the 5 samples I uploaded. Can you see the distortion? -
okay, that's blending -> only way around it tweak the restore values, e.g. try speed -25
-
-
compare the scenes with a bob only and you will see if there is hope, if there is no non-blended frame next to the blended frames sRestore can't win,..
-
I wasn't able to reproduce any of your "poor" results on any of your samples, even the long one.
The main differences that I can see were MPEG2Source vs. , srestore settings (this shouldn't make much of a difference), MT.
Your 1st blending sample was just wrong field order (I could reproduce the jerky blends by using the wrong field order)
Selur doesn't seem to have problems either so why are you still having problems ?
I know for a fact MT screws up srestore and some temporal filters for some people (I'm one of them), but for some people it seems to work ok. (There are a bunch of avisynth "bugs" or behaviours that act differently on different setups, another one is the depan-mvtools green bug). It's one of these avisynth "quirks". It affects some people but not others and nobody seem to be able to pin down why. Your computer and/or setup might or might not be one of those predisposed to those issues
I know for a fact FFVideoSource is unreliable with MPEG2 in MKV, at least some of the time for some people
If he's still unable to get good results, I would recommend using MPEG2Source, non MT, no MKV container. I can't think of any other reason why he can't get "good" results
None of his samples uploaded were "inconsistent" so far. They were plain PAL=>NTSC field blends with regular cadence. Can you point out a sample that was inconsistent ?
If the The.King can upload a sample that can conssitently cause problems then we can look look farther at what's causing the problem. So far there are no (big) problem source samples, just the "regular" field blending...
srestore is going to miss a few blends here and there overall, but the encoded/processed samples he's uploaded were riddled with blends, almost every 2nd frame. -
Sorry, not d2v files, but m2v. I was getting that error trying to input an .m2v file??
Just now, I tried putting the m2v file into Hybrid (after demuxing the whole episode in DGIndex - Hybrid wouldn't accept it - error 2 or something.
Took a small segment of the episodesource .vob in the location of my screenshots (to try the SRestore speed of -25), placed the m2v file into Hybrid - no problem! ??
Code:Log Messages
Code:grabbing tool versions,.. finished grabbing tool versions,.. Finished initialization,... Filtering input files,.. -> finished filtering input files analyzing: VTS_01_VOBID_003_1.demuxed.m2v starting auto routines for container number: 1 Detected interlaced Material with 29,../59,.. fps, but didn't detect the material to be telecine. -> finished auto routines for 1. Input is completely analyzed,...
-
Just to reiterate what Selur wrote, Srestore depends on one of the two fields of a frame being 'clean'. If both are blended it'll output a blended frame. Your problem isn't with the filters (usually), but with your source. You have a crappy source. If you're so particular about getting good results, buy the PAL version of whatever this is. Or take it up with the fly-by-night company that released this crummy DVD. But even good companies do it sometimes. Most of the BBC stuff on NTSC DVD is field-blended all to hell.
Or, you can go through it, pick out the frames that remain blended and 'create' new frames from the 'good' ones on either side. And if you thought it was tough getting QTGMC and SRestore going, just wait until you start working with frame interpolation scripts. -
Hybrid wouldn't accept it - error 2 or something.
...
Ahhhh, it crashed half-way through 2nd pass!
Detected interlaced Material with 29,../59,.. fps, but didn't detect the material to be telecine. -
Hybrid definitely accepted m2v files previously (that's how I was able to upload short samples of the source .vob). Maybe I just got lucky.
Any other way of selecting a sample of a .vob file and saving it to a format that Hybrid will accept (aside from re-wrapping it in an .mkv)? -
Haaa, this came from a PAL DVD bought locally in HMV - that's the funny thing. How it's NTSC is beyond me - America has never even heard of it and it hasn't been released to other countries - that I'm aware of.
Then you know the precise situation I am dealing with!
Realistically, life is a little too short to get into that. This has already taken me days as it is. I'm baffled that some genius out there hasn't developed some filter/script/program to deal with this sort of crappy source (without needing a degree to use it) - but I'm more baffled as to why companies produce such a source to begin with? To stop people re-encoding? -
I'm more baffled as to why companies produce such a source to begin with? To stop people re-encoding?
---
will send you a link to a Hybrid version which allows you to disable the MT parts,... -
Yeah, they just run it through a cheap converter box and are done with it. They don't care about doing a proper (and more expensive) conversion. Even though many of us can do a better conversion (given a digitized PAL source) using free software than the 'professionals' can.
It may be R2, but it's not PAL.
Unfortunately, these awful things are my specialty. I've worked on probably more than 1000 DVDs of field-blended PAL-to-NTSC garbage.Last edited by manono; 8th Jan 2013 at 14:47.
-
-
I've worked on probably more than 1000 DVDs of field-blended PAL-to-NTSC garbage.
-
Just to show 4 x consecutive frames and how many are blended - please see attached. This is after the source was loaded & analysed and QTGMC, slower, bob(), SRestore 25fps, limited sharpening, etc. were applied. Not necessarily looking for any thoughts (unless there's a magical cure) - just thought I'd share while I'm waiting on another sample encode to finish.
Thanks.
Similar Threads
-
how to change frame rate on staxrip?
By VistaXP in forum Video ConversionReplies: 6Last Post: 6th Apr 2011, 14:13 -
Need Help With StaxRip Settings For Exact Quality?
By skorpinok in forum Video ConversionReplies: 1Last Post: 29th Aug 2010, 11:36 -
staxrip & volume control
By Danneauxsvh in forum Video ConversionReplies: 0Last Post: 4th Jul 2010, 09:17 -
Which settings for StaxRip and DVD => mkv (x264) ?
By QUEENFAN in forum DVD RippingReplies: 1Last Post: 23rd Dec 2009, 12:34 -
Best settings for VHS Rips useing STAXRIP
By contactadam2002 in forum Video ConversionReplies: 3Last Post: 25th Jun 2009, 17:33