Log in

View Full Version : Total beginner to Avisynth in great need for HELP


beginner30
15th April 2010, 18:04
Hi guys , i'm probably the 1 milion idiot that hits this forum with question's how do i use yadif or TempGaussMC_beta2 ?
I have some wedding clips that i want to properly deinterlace , the ones you find in adobe and pinnacle are not so good and kind of destroy the motion and image quality , even the ffdshow gives me a better deinterlace so i have to do something.
All good until now , i googled and i googles and found good old virtual dub plus avisynth , how hard can it be i said , when i saw the command line and scripting i was huh???
I persevered and even got yadif to work but what i got is not good.
For example , i started to deinterlace a 1920x1080 50i mp4 , the result was the framerate remained 50 fps and progressive but it went very fast and not synced with audio , then i wanted to deinterlace HDV captured material from a HD1000P camera 1440x1080 and 50i i think , another problem with this too , the aspect ratio changed to 4:3 , huh ?
I'll get into details about what i have in the cripts and maybe you people can help me but right now i got to run , PLEASEEE !!!

Guest
15th April 2010, 19:23
So you just come to whine and then run away without giving a specific case and its details???

How can we help you with that? Maybe offer a shoulder for you to cry on?

beginner30
15th April 2010, 20:05
Got back to give more details.
For the mp4 files i have this to make it work properly
loadcplugin("c:\program files\avisynth 2.5\plugins\yadif.dll")

DirectShowSource("D:\My Movie 1\HDV_0106.mp4" , fps=25 )

Yadif(mode=0,opt=3 )
Problem with this is the motion is jerky , not bad but i don't like 25 fps , it's not smooth , if i make it 30 fps the video part goes faster than normal and out of sync wiht the audio
Media info says the mp4's are 1920x1080 50fps interlaced so i don't know.
Now for the HDV captures
they are avi mpeg2 and media info says they are 1440x1080 and 25 fps interlaced
the framerate remains good for the HDV captures but the aspect ratio gets 4:3 , and it's not my player , i tried tons of codecs and players and they all display 4:3 , even media info says it.
the script i use goes like this for HDV
loadcplugin("c:\program files\avisynth 2.5\plugins\yadif.dll")

DirectShowSource("D:\My Movie 1\Untitled Clip 01 3.mpeg")

Yadif(mode=0,opt=3 )


.
How do i do it ? i open the script with virtual dub and i save in some format , i tried different formats like divx , ffdshow , nothing fixes my problem.
I hope someone can help me with this or guide me to something , i also want to use TempGaussMC_beta2
but the numerous plugins and somewhat hard to understand script discouraged me from using it , i don't even know from where to start.
Excuse my spelling mistakes , english is not my native language so i tried my best to make my post readable.

beginner30
15th April 2010, 20:08
LE
PLugins i use in avisynth are :
DirectShowSource.dll
yadif.dll
Plugins i use in virtualdub to open mp4's
DShowInputDriver.vdplugin

RunningSkittle
15th April 2010, 21:02
please post a sample of your source!

beginner30
15th April 2010, 21:20
please post a sample of your source!

Are you serious ? they are like 1.6 gb , 3 gb , 700 mb
Somebody must have runed into this kind of trouble , a good script that corects my problem would be helpfull.

If sample is really really need it i could cut a clip and make a 10 second one and upload it somewhere , matter of fact i'm gonna do it right now , one with the mp4 and one with the HDV.

beginner30
15th April 2010, 22:02
This is the mp4 ones but i had to make it divx HDV_0106.avi - 23.83MB (http://www.zshare.net/video/750119100d5b226c/)
the HDV ones i captured with pinnacle seems i can't open it with virtualdub , it only works with avisynth and now it doesn't work at all , i looked with media info and they are not mpeg , they are mpeg TS and since i unistalled haalie media aplitter they don't work anymore , i tried a lot of mpeg codecs , damn what a stupid container and damn i think Haali is responsable for making the 4:3 aspect ratio.

Inspector.Gadget
15th April 2010, 22:13
You need to start completely over and bury yourself in reading about Avisynth and video compression generally for about two weeks before you ask for help. Then, when asking for help, you need to use standard English so the rest of us can discern what's actually going on.

Avisynth scripts are not useful "off the rack". You need to understand what every parameter does before you start complaining that something doesn't work.

beginner30
15th April 2010, 22:14
I mess up my computer with a ton of codecs , now not even mp4 and mpeg files work anymore.
I don't want to install coreavc or haali anymore , i need a proffesional H264 codec and a mpeg,mpeg2 proffesional one , codec too not splitter and to work with virtualdub and to be able to compress in one , where do i find them ?

My last option in this mess is to use adobe premiere with magic bullet frames but it's extremely slow and adobe premiere is very hard on my computer , that's why i edit more in pinnacle wich is kiddie stuff compared to adobe.
What to do to make a simple quality deinterlace and not to resorte to reasoure hungry apps ? pleasee help me ? i just need a good script for those 2 type of files and directions where to get the plugins i need to run it.

Inspector.Gadget
15th April 2010, 22:18
Your posting is not comprehensible enough to allow any of us to help you and you're not making any sense talking about "professional" codecs. That's an artificial and unnecessary distinction. If your DirectShow and/or VFW environment is broken in various ways, then the best thing to do is start over: a clean installation of Windows with all relevant service packs and updates, no bloatware, and no messing around with codecs and the registry.

beginner30
15th April 2010, 22:20
You need to start completely over and bury yourself in reading about Avisynth and video compression generally for about two weeks before you ask for help. Then, when asking for help, you need to use standard English so the rest of us can discern what's actually going on.

Avisynth scripts are not useful "off the rack". You need to understand what every parameter does before you start complaining that something doesn't work.

OMG , i don;t want to learn avisynth to be able to make scripts , i just want to deinterlace properly and then edit the files in adobe or pinnacle , is the quality of YADIF or the other one worth the trouble of spending two weeks learning avisynth or should i use magic bullet frames or find some other program to deinterlace ? (deinterlcae straight from codec or editing software)

beginner30
15th April 2010, 22:24
Your posting is not comprehensible enough to allow any of us to help you and you're not making any sense talking about "professional" codecs. That's an artificial and unnecessary distinction. If your DirectShow and/or VFW environment is broken in various ways, then the best thing to do is start over: a clean installation of Windows with all relevant service packs and updates, no bloatware, and no messing around with codecs and the registry.

And after the clean install what codecs should i install for mp4 , mpeg TS and for making DVD's ?
I mean i know i can use Haali or some package of codecs but i hate them and some are not really codecs to appear in editing software as options to encode in that format , they just deocde but not encode.
What i meant professional was actual codecs that let me encode too and not just decode like Haali media splitter or coreAVC , i need real MP4 codec.

beginner30
15th April 2010, 22:28
LE
I tried some elecard codecs but they are restricted to elecard software , they don't seem to work in adobe or pinnacle and no chance for virtualdub , anyways adobe and pinnacle have their own codecs and open about anything.
I think i typed too much :) , i just want virtual dub to work with mpeg TS and mp4 and to make a quality deinterlace , meaning better than what adobe or pinnacle can offer or some codecs ( divx have something in it and even mpg2 for DVD's )

RunningSkittle
15th April 2010, 22:34
Hi! No need to mess with directshow codecs, just stick FFMpegSource2 in your avisynth plugins directory. It does not rely on directshow and is frame accurate.

http://code.google.com/p/ffmpegsource/downloads/list

For encoding use x264 (prefer use cli, but if you must vfw encoder available too)
read here about x264: http://forum.doom9.org/forumdisplay.php?f=77

so it will be like this:
source_video -> avisynth_script->x264.exe->awesome_encode.mp4

skip virtualdub, you dont need it :p

BigDid
15th April 2010, 22:36
Hi beginner30,

I
As already asked by RunningSkittle, please post a sample from your source (lossless, no lossy re-encode please).

For yadif comprehension and use, some links:
http://avisynth.org/mediawiki/Yadif
http://trac.handbrake.fr/wiki/yadif

II
As a beginner (in the forum ) you may choose to ignore some posts, not knowing how to answer. Some tips (without Warranties).

There is no lawyer for the defense here, you will have to refer to the forum rules
http://forum.doom9.org/forum-rules.htm
and plead to a moderator and/or appeal to doom9 if not satisfied by the arbitration (rule4)

The netetiquette is/should be the basic to refer to; like:
http://www.albion.com/netiquette/corerules.html

The forum rules do refer to it; like:
"2) Respect the netiquette..."
"4) Be nice to each other..."

In concrete terms the albion link posted above give some tips like:
Rule1
...""Would I say this to the person's face?" If the answer is no, rewrite and reread. Repeat the process till you feel sure that you'd feel as comfortable saying these words to the live person as you do sending them through cyberspace. "
Rule9
"Some people in cyberspace have more power than others ...Knowing more than others, or having more power than they do, does not give you the right to take advantage of them..."

III
This is my opinion (II) and others may not agree on it so it could be safer for you, if you want to continue the exchange, to do it by PM.

Anyhow, welcome to the forum and enjoy your stay.

Did

beginner30
15th April 2010, 22:51
Thank you for the tips RunningSkittle and BigDid , i will respect the rules to the letter and try to be a good forum member , again thanks for the tips , i'll get to work right away reading and trying ffmpeg.
Tomorow i will post non-processed samples.

RunningSkittle
15th April 2010, 23:07
also you can use dgsplit to cut a section/sample from your source:
http://forum.doom9.org/showthread.php?t=143963

Guest
15th April 2010, 23:17
@beginner30

I've edited two posts now to remove swearing. Per forum rule 4, please do not use profanity. Further such usage can incur strikes.

communist
19th April 2010, 20:00
Now for the HDV captures
they are avi mpeg2 and media info says they are 1440x1080 and 25 fps interlaced
the framerate remains good for the HDV captures but the aspect ratio gets 4:3 , and it's not my player , i tried tons of codecs and players and they all display 4:3 , even media info says it.
HDV is usually captured as ts files (it is MPEG2 after all).
For HDV you want to use DGIndex/Avisynth. Scaling to proper AR can then also be done in Avisynth.

Read the DGIndex manual on how to index and create a project file (d2v), which can be loaded in Avisynth.

A simple script would like this:

LoadPlugin("X:\DGIndex\DGIndex.dll")
MPEG2Source("X:\Blah\meh.d2v")
LanczosResize(1920,1080)