I can't get these scripts to work, I get an error thrown telling me that it there is no function named "audiodubex"
Code:ffmpegsource2("NTSC_MPEG2forDVD_video_test.m2v") AssumeTFF() ConvertToYV12(interlaced=true) yadifmod(edeint=nnedi2())Also, to verify:Code:ffmpegsource2("NTSC_MPEG2forDVD_video_test.m2v") AssumeTFF() ConvertToYV12(interlaced=true) interp=NNEDI2(field=0) Yadifmod(order=0, field=-1, mode=0, edeint=interp)
For using ffmpegsource2 do I really need the Haali splitter installed for MPEG-2 SD DVD-Video program streams or elementary streams? For that matter, is there issue using with an MPEG-2 elementary stream? (No, I don't want to mess with D2V files, I want an alternate direct source access method. That's another discussion.)
Using DirectShowSource2 instead, I tried both scripts.
Code:DSS2("NTSC_MPEG2forDVD_video_test.m2v") AssumeTFF() ConvertToYV12(interlaced=true) yadifmod(edeint=nnedi2())I was expecting higher quality deinterlacing. What I ended up with was blended frames?Code:DSS2("NTSC_MPEG2forDVD_video_test.m2v") AssumeTFF() ConvertToYV12(interlaced=true) interp=NNEDI2(field=0) Yadifmod(order=0, field=-1, mode=0, edeint=interp)
What am I missing here?
(This is why I hate Avisynth. For as much as people can show how well it works, it always seems to fail in real world use. Part of the problem is the complete lack of documentation, or major holes in existing docs, for most of the program and filters.)
I'm using jagabo's (attached) sample animation clip.
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 11 of 11
Thread
-
Want my help? Ask here! (not via PM!)
FAQs: Best Blank Discs • Best TBCs • Best VCRs for capture • Restore VHS -
do I really need the Haali splitter installed for MPEG-2 SD DVD-Video program streams or elementary streams? For that matter, is there issue using with an MPEG-2 elementary stream? (No, I don't want to mess with D2V files, I want an alternate direct source access method. That's another discussion.)
For transport streams, it sometimes gets the FPS incorrect (you have to fix it with AssumeFPS)
What am I missing here?
The ffms2.avsi file in the zip file defines the audiodub function for ffmpegsource2 which dubs audio & video . ".avsi" files are autoloading scripts when put in the plugins folder
Or you could use ffvideosource() if you just want video
FFMpegSource2("video.m2v",atrack=-1)
is the same thing as
vid=FFVideoSource("video.m2v")
aud=FFAudioSource("audio.ac3")
AudioDub(vid,aud)
On this particular sample, field order is TFF, so your script should be as below (for single rate deinterlacing) . NNEDI2 arguments have to match those of yadifmod (yadifmod mode=0 is single rate, order=1 is TFF ; for NNEDI2, field=1 means single rate, TFF)
ffvideosource("VTS_01_1.m2v")
yadifmod(order=1, mode=0, edeint=NNEDI2(field=1))Last edited by poisondeathray; 9th Jul 2010 at 10:20.
-
I think ffvideosource is a lost cause. It keeps giving errors about not having audio. Then it says assumeTFF is invalid. Screw that one.
DSS2 works.
But I still get blending of frames. That's really what I'm more worried about.Want my help? Ask here! (not via PM!)
FAQs: Best Blank Discs • Best TBCs • Best VCRs for capture • Restore VHS -
It works fine here with either (dss2 or ffvideosource) with that video sample above - no blending. Did you use the exact same script posted above? Delete the index created by ffvideosource and re-index it
The problem with DSS2 is that it relies on your directshow filters, and you know the potential problems that can cause. It maybe why you are getting blends
DGIndex is the most consistent and less prone to these issues and things like directshow problems -
Do I not need:
AssumeTFF()
ConvertToYV12(interlaced=true)Want my help? Ask here! (not via PM!)
FAQs: Best Blank Discs • Best TBCs • Best VCRs for capture • Restore VHS -
For that particular sample, it's redundant and not required because it's already in YV12 colorspace.
If you were converting to RGB, then you would have to specify interlaced=true. If you were using vdub filters, you might want to do this (to avoid vdub's YUV=>RGB conversion , you also might want to specify PC.601 matrix for 0-255, so you don't lose 0-15, and 236-255)
The field order was also specified in yadifmod, and nnedi2 , when you used the arguments above
You can leave those lines in if you want, but it won't affect the results.Last edited by poisondeathray; 9th Jul 2010 at 10:59.
-
Beware: DirectShowSource or DSS2 may be deinterlacing even before AviSynth gets the frames. I think that's what's happening in the sample image above (blend deinterlace).
What colorspace the video is in after DirectShowSource or DSS2 will depend on what the MPEG2 decoder put out. Not always YV12. -
Come on lordsmurf - you've been told FOUR times now why it's not working, and even a cursory look over at doom9 would have shown almost everyone use MPEG2source from DGIndex for mpeg2, and almost everyone saying to avoid directshowsource for MPEG2. As for using ffmpeg?!?!?!?!!!!
"lack of documentation" - you're not telling me you read documentation?!?!!!
Cheers,
David. -
Indeed, it was DSS with issues, FF worked better. Thanks for the reminder.
Thanks poison, for the assist on FF, that was a new one for me.Want my help? Ask here! (not via PM!)
FAQs: Best Blank Discs • Best TBCs • Best VCRs for capture • Restore VHS
Similar Threads
-
Virtualdub VCR capture no dropped frames but 5400 inserted frames in 1 hour
By suloku in forum CapturingReplies: 12Last Post: 17th Aug 2011, 22:33 -
need help unblending previously blended frames rather than dropping frames
By BilboFett in forum Video ConversionReplies: 15Last Post: 12th May 2011, 21:15 -
IVTC of 'Castle' episode leaving blended frames (ghosting?)
By txporter in forum Video ConversionReplies: 39Last Post: 2nd Apr 2010, 14:03 -
Frame blended and duplicate frames
By loekverhees in forum Newbie / General discussionsReplies: 7Last Post: 2nd Jan 2010, 09:35 -
inserted frames without dropped frames in VirtualDub capturing VHS
By whschlebaum in forum CapturingReplies: 0Last Post: 23rd Aug 2007, 20:59