Log in

View Full Version : Enc Tool


Cunhambebe
26th August 2006, 04:05
Does any of you know a good tutorial on how to encode with AviSynth using the excellent Enc Tool? I couldn't find anything too clear around here :) so I thought about starting this new thread on this subject. It will certainly help a lot of newbies like me ;) Help will be greatly appreciated. Thanks in advance..

PS:
Let's start it this way...
1)Using DGIndex to save a project file...
2)Then.... :D

unskinnyboy
26th August 2006, 04:38
..then you prepare your avs with your d2v file included. Then follow this (http://jonny.leffe.dnsalias.com/enc/htm/htm/ne.htm).

Cunhambebe
26th August 2006, 05:09
Thanks for taing time to respond...
..then you prepare your avs with your d2v file included.
-This is the problem, I can't make it work... this part is hard :)
Some more explanations would be so great... I'm trying to figure out how to do it reading all AviSynth tutorials but nothing happens, I mean, I can't open the file with WMP - something's wrong.

foxyshadis
26th August 2006, 05:16
Avisynth troubleshooting starts with:

Version()

If that doesn't work, check your avisynth installation. If it does, check your plugins and syntax, and look at the New to Avisynth (http://www.avisynth.org/mediawiki/wiki/Main_Page) links.

Cunhambebe
26th August 2006, 05:35
Thanks for taking time to respond.
Avisynth troubleshooting starts with: Version()
-I don't get it. I've got the last version.
check your avisynth installation
-I have done that. It works with AVI files. I'm trying to load a DGindex project file... .d2v.
check your plugins and syntax
-Where do I put the plug-ins? I fixed the syntax... Oh I see... I've got to find the DGDecode.dll... It's a little more tricky than I expected...
Thanks

Cunhambebe
26th August 2006, 06:09
It works! Now I just have to figure out where to unzip all AviSynth's plug-ins and how to deinterlace, crop, Lanczos4, etc... Any hints on how to write those lines? Thanks in advance... (I wanna load the file in VirtualDubMod in Fast Recompress Mode)
Here's what I've got:
LoadPlugin("C:\unzipped\dgmpgdec148\DGDecode.dll")
MPEG2Source("c:\b_52.d2v").Crop (0, 86, 0, -94).Lanczos4Resize(640,272)

It's funny because without this ".Crop (0, 86, 0, -94)", AviSynth seems to output a de-interlaced file. Does anyone know why? One more question: is there a way to load Donald Graft's De-Interlace Plug-in?
TKS in advance

unskinnyboy
26th August 2006, 06:49
It is not very polite to us if you don't read the links which we give you and ask questions which are already covered in those links, is it? What do you want us to do? Repeat ourselves over and over again? Please read the link which foxyshadis gave you and ask s-p-e-c-i-f-i-c questions (if you face any issues), which we will be glad to answer. Please don't ask questions which are already answered in the guides. Thank you.

Cunhambebe
26th August 2006, 07:42
I see it. Thanks, but I asked the question because I couldn't find an answer there :P

unskinnyboy
26th August 2006, 10:53
I see it. Thanks, but I asked the question because I couldn't find an answer there :P
Really? It is even more unmannered when you ask something, get a reply and then go back and alter your post to make it sound like whoever answered you was speaking gibberish - what you did.

Your initial question was just this much:

Now I just have to figure out where to unzip all AviSynth's plug-ins and how to deinterlace, crop, Lanczos4, etc... Any hints on how to write those lines? Thanks in advance... (I wanna load the file in VirtualDubMod in Fast Recompress Mode)

and everything else above & below it, you added after I replied, did you not?

To try and answer you anyway, please be more clear and give more info. Is your source interlaced? Cropping a source will not de-interlace it, or else I don't understand what you meant. And about loading plugins, either they can be autoloaded by putting them in the Avisynth plugins directory or they can be explicitly loaded using the LoadPlugin(..) function - like you did for DGDecode.dll.

Cunhambebe
26th August 2006, 12:09
Really? It is even more unmannered when you ask something, get a reply and then go back and alter your post to make it sound like whoever answered you was speaking gibberish - what you did.

-First of all, I can't find a real cause that makes you start an argument with me. Secondof all, I have not alteread anything at least not the way you've just showed it - I mean, I didn't do anything on purpose. There's absolutely no reason for that!

I have posted this:
Now I just have to figure out where to unzip all AviSynth's plug-ins and how to deinterlace, crop, Lanczos4, etc... Any hints on how to write those lines? Thanks in advance... (I wanna load the file in VirtualDubMod in Fast Recompress Mode)
Sometime later, as I found out the right way to write a script, I added this:
Here's what I've got:
LoadPlugin("C:\unzipped\dgmpgdec148\DGDecode.dll")
MPEG2Source("c:\b_52.d2v").Crop (0, 86, 0, -94).Lanczos4Resize(640,272)....It's funny because without this ".Crop (0, 86, 0, -94)", AviSynth seems to output a de-interlaced file. Does anyone know why? ...TKS in advance

Then, you came up with your remark.. and I answered politely. Nothing more than that. So when you state this:
and everything else above & below it, you added after I replied, did you not?
I guess you're wrong, sir. The answer is no, I didn't.

Cheers,
Mark

Edit:BTW, thanks for the answer; I've learned that AviSynth has a native de-interlacing function and yes, my video is interlaced. Thanks.

unskinnyboy
26th August 2006, 12:36
-First of all, I can't find a real cause that makes you start an argument with me. Secondof all, I have not alteread anything at least not the way you've just showed it - I mean, I didn't do anything on purpose. There's absolutely no reason for that!

I have posted this:

Sometime later, as I found out the right way to write a script, I added this:


Then, you came up with your remark.. and I answered politely. Nothing more than that. So when you state this:

I guess you're wrong, sir. The answer is no, I didn't.

Cheers,
Mark

Edit:BTW, thanks for the answer; I've learned that AviSynth has a native de-interlacing function and yes, my video is interlaced. Thanks.
I didn't start an argument with you (at least didn't intend to). When someone had given you a link and asked you to read through, then please do so instead of asking the same things again. Then of course the fact that you should have searched before you asked - rule 1 & 1a states that. The rules are there for a reason.

So you asked a very vague question to which I answered, but then later I saw that you edited your post to add that script and a more specific question, which made my reply below it look harsh & unjustified. You should have made a new post to maintain the proper flow of the thread and avoid misunderstandings. Clear?

Sorry if I sounded rude, but if you have gathered the gist of the things (which is to search first, ask later), then I hold no grudges. Peace.

Cunhambebe
26th August 2006, 12:47
Sorry if I sounded rude, but if you have gathered the gist of the things (which is to search first, ask later), then I hold no grudges. Peace.
-C'mon, no problem! Thanks for your remark.
BTW, I did it! Thank God my source (at least this time) is not FILM, so deinterlacing it was somehow easy... Please look waht I've got here:

LoadPlugin("C:\unzipped\dgmpgdec148\DGDecode.dll")
MPEG2Source("c:\b_52.d2v").Crop(0, 86, 0, -94).Lanczos4Resize(640,272, 2)
LoadPlugin("c:\avs_filters\Decomb.dll")
FieldDeinterlace()

All newbies, please take note... lol. Now I am able to load the file in VDMod and/or load it in Enc Tool. Unskinnyboy, thanks for the link on Enc Tool.

Cheers,
Mark

manono
26th August 2006, 13:03
It can be tough over here, eh Cunhambebe? Keep a thick skin and stay cheerful and you'll do fine.

I hope you're taking the advice to heart and reading everything you can get your hands on to educate yourself. It'll pay big dividends for you in the long run.

As perhaps you know, FieldDeinterlace at default settings is a blend deinterlacer. Many (including me) think it's been surpassed by other newer AviSynth deinterlacers. You might give LeakKernelDeint or TDeint a try. Here's a real torture test for deinterlacers. The best ones are real slow, though:

http://heptium.sh.cvut.cz/~integra/deint/

Cunhambebe
26th August 2006, 13:13
t can be tough over here, eh Cunhambebe?
-lol, just a little different from the other forum :D people talking about C++ etc... :scared:
Many (including me) think it's been surpassed by other newer AviSynth deinterlacers. You might give LeakKernelDeint or TDeint a try.
-Thanks for the input. I've already tried KernelDeint with no success at all, but I'll keep trying. By the way, I see the Enc Tool does not encode anything at all - but it gives you all the input on size, etc... Hope I'm right here. I'm reading, and reading...
Cheers and thanks Manono... Glad to c u here.
Mark
Edit: BTW, thanks for the link, manono.
Edit: I see the Enc Tool does not encode anything at all - but it gives you all the input on size (of course that depends on the mode you choose - it does encode the file - great applc!)

manono
26th August 2006, 13:59
Hi-

See, that's the kind of thing that can be answered, although it might help if you'd post the script you're using. First, there are 2 versions, the original KernelDeint by neuron2, and the slightly faster modified version by Leak, known as LeakKernelDeint. You shouldn't mix them up.

So, you load the Plugin (or stick it in your AviSynth Plugins folder, which will cause it to load automatically), and add the line to your script:

LeakKernelDeint(Order=1)#if this is the version you're using and it's TFF

You test the script first in VDub(Mod) before doing anything else with it. VDubMod will often give you an error message to help you pinpoint any problems.

Yeah, I do my real encoding directly in VDubMod. I used jonny's Enc as a compression test front end to help choose the resolution, matrix, and other settings for the file size I wanted.

Cunhambebe
26th August 2006, 15:58
Thanks again for your help, manono. Thank you, really. I have just encoded my first file with AviSynth and VirtualDubMod. I really didn't know what I was missing. Now I fully understand all those remarks on full processing mode and FAST RECOMPRESS (much faster and better), the final quality, etc. AviSynth is definitely a wonderful application; might be a little tricky to learn it, but as soon as you get used to it, I am sure the sky is the limit.

First, there are 2 versions, the original KernelDeint by neuron2, and the slightly faster modified version by Leak, known as LeakKernelDeint. You shouldn't mix them up.
-Thanks for the input. I have both of them around here, but I can't make them work correctly. BTW, my source is BFF...

So, you load the Plugin (or stick it in your AviSynth Plugins folder, which will cause it to load automatically), and add the line to your script:

LeakKernelDeint(Order=1)#if this is the version you're using and it's TFF
-Thanks again. let's see if it works here. I'll reply back with the resutls. Thanks.
Cheers,
Mark

Edit: spelling mistakes :)

unskinnyboy
26th August 2006, 16:22
Just a minor point here - since your source is BFF, you should use LeakKernelDeint(order=0) and not order=1. Read the documentation in the LeakKernelDeint package for more info.

Cunhambebe
26th August 2006, 16:30
Hi, just to let you know:
1)this is my script:
LoadPlugin("C:\unzipped\dgmpgdec148\DGDecode.dll")
MPEG2Source("c:\b_52.d2v").Crop(0, 86, 0, -94).Lanczos4Resize(640,272, 2)
LoadPlugin("c:\avs_filters\LeakKernelDeint\LeakKernelDeint.dll")
LeakKernelDeint(Order=0)

Note: = 0 since my source is BFF.
This is what I get in VirtualDubMod:

Edit: thanks unskinnyboy - I've seen your point overthere.
Anyway: it is not working. The video looks like full of stripes as the camera moves...

manono
26th August 2006, 17:10
Hi-

Usually, unless you're real careful, you deinterlace before the crop and resize. Try this:

LoadPlugin("C:\unzipped\dgmpgdec148\DGDecode.dll")
LoadPlugin("c:\avs_filters\LeakKernelDeint\LeakKernelDeint.dll")
MPEG2Source("c:\b_52.d2v")
LeakKernelDeint(Order=0)
Crop(0, 86, 0, -94)
Lanczos4Resize(640,272)

I don't know what that last "2" in the resize means, so I left it out. If you crop interlaced material before deinterlacing, both the top and bottom crops (if YV12) have to be Mod4. And you almost never resize before deinterlacing as it destroys the field structure.

http://www.avisynth.org/Crop

Cunhambebe
26th August 2006, 17:23
Thank you very much, manono. I'll try it.
That number 2 is for cropping a very thin blue line on the left side of the screen. In fact this value should be there on Crop(2,86,0,-94). Don't know if I'm still doing something wrong. I've been working on this since 7 am here (it's 1:30 pm now). Maybe I need a break.

I've got another question, please. When I encode in VirtualDubMod at Full Processing Mode (not using AviSynth), does that order (deinterlacing first) matters also or anything goes? I've done some encoding there and first I was used to insert the filters this way

1)null transform for cropping;
2)resize (laczos3)
3)Smart Deinterlace
-It worked OK.
Thanks in advance.

Cunhambebe
26th August 2006, 17:32
Thanks again manono, this makes all the difference. It works perfectly. Thank you (let me check out that number 2)...

Cunhambebe
26th August 2006, 18:42
All right. Just some notes here.
In one of the scenes, the camera movement (from zooming to wide, showing a garage) seems a little smoother for the file deinterlaced with FieldDeinterlaced than the other one I used LeakKernelDeint. Don't know if I'm seeing things; anyway...

Now, let's see my script once again:

LoadPlugin("C:\unzipped\dgmpgdec148\DGDecode.dll")
LoadPlugin("c:\avs_filters\LeakKernelDeint\LeakKernelDeint.dll")
MPEG2Source("c:\b_52.d2v")
LeakKernelDeint(Order=0)
Crop(0, 86, 0, -94)
Lanczos4Resize(640,272,2)

About the number 2, right above: I was reading AviSynth manual for Cropping; it says this:
So if you have a 640x480 video, and you want to crop 8 off the left, 2 off the top, 9 off the right, and 4 off the bottom, you would use this: Crop(8,2,-9,-4)

Strangely, as I try to crop one of my values (0 to 2, 86, 0, -94), AviSynth seems to crop the right side and not the left side, as one should expect). On the other hand, inserting that valeu number 2 here: Lanczos4Resize(640,272,2), makes the thing work. Hopefully, there might be an explanation for this :)

Thanks to you all.
Cheers,
Mark

Cunhambebe
27th August 2006, 06:51
I'd like to say that I am more satisfied with FieldDeinterlace than LeakKernelDeint. Now I am testing another way to deinterlace the file with TomsMoComp but it seems difficult, if not impossible to keep both Crop and Resize functions at the bottom lines of the script (what should be done according to manono's tips). This is what I've got here. Is there anyone who would like to explain if it's wrong and why? Thanks in advance..

LoadPlugin("C:\unzipped\dgmpgdec148\DGDecode.dll")
LoadPlugin("c:\avs_filters\TomsMoComp\TomsMoComp_Avisynth\Debug\TomsMoComp.dll")
MPEG2Source("c:\Fish.d2v")
Crop(0, 68, 0, -68)
Lanczos4Resize(640,360)
Bottom=AssumeFrameBased()
Top=Bottom.SeparateFields.Trim(1,0).weave
return Interleave(Bottom.TomsMoComp(0,5,1),Top.TomsMoComp(1,5,1))

unskinnyboy
27th August 2006, 07:28
Try:

LoadPlugin("C:\..DGDecode.dll")
LoadPlugin("C:\..TomsMoComp.dll")
MPEG2Source("C:\Fish.d2v")
TomsMoComp(0,5,1)
Crop(0,68,0,-68)
Lanczos4Resize(640,360)

Cunhambebe
27th August 2006, 14:18
Thanks for your help!
In fact, as you've seen it, I used this part of the script:

Bottom=AssumeFrameBased()
Top=Bottom.SeparateFields.Trim(1,0).weave
return Interleave(Bottom.TomsMoComp(0,5,1),Top.TomsMoComp(1,5,1))

I did it since it came along with the plug-in and I noticed it was intended for BFF sources (as you may know my source is BFF, as I have put it before). This is hard, I mean, finding the right way to write down a script. Thanks again. I'll try your script and post back with the results.

Now, if you please let me ask another question...;)
I was just wondering how to load MPEG2/m2v files in AviSynth. I took a look at this page http://www.avisynth.org/LoadVFAPIPlugin but I found an error while trying to download the plug-in for m2v. Could you please tell me how to load MPEG2/m2v files in AviSynth?
Thanks in advance :)

unskinnyboy
27th August 2006, 15:09
Thanks for your help!
In fact, as you've seen it, I used this part of the script:

Bottom=AssumeFrameBased()
Top=Bottom.SeparateFields.Trim(1,0).weave
return Interleave(Bottom.TomsMoComp(0,5,1),Top.TomsMoComp(1,5,1))

I did it since it came along with the plug-in and I noticed it was intended for BFF sources (as you may know my source is BFF, as I have put it before). This is hard, I mean, finding the right way to write down a script. Thanks again. I'll try your script and post back with the results.
That script came *with* the plugin you say? Where exactly? I can't find anything such in Readme_TomsMoComp.txt. I suspect you saw it in a wrong context. That script snippet is for deinterlacing and converting a BFF source to 60 fps, not for what you intend to use it for.

Now, if you please let me ask another question...;)
I was just wondering how to load MPEG2/m2v files in AviSynth. I took a look at this page http://www.avisynth.org/LoadVFAPIPlugin but I found an error while trying to download the plug-in for m2v. Could you please tell me how to load MPEG2/m2v files in AviSynth?
Thanks in advance :)
Why aren't you still not using search?
http://forum.doom9.org/showthread.php?t=83579

manono
27th August 2006, 15:38
Hi-

I was just wondering how to load MPEG2/m2v files in AviSynth. I took a look at this page http://www.avisynth.org/LoadVFAPIPlugin but I found an error while trying to download the plug-in for m2v.

Don't even think about using a VFAPI. Slow, inferior results, and obsolete 5 years ago. Get the DGMPGDec package here:

http://neuron2.net/dgmpgdec/dgmpgdec.html

First read the documentation that comes with it half a dozen times; the DGDecodeManual, the DGIndexManual, and the QuickStart Guide. Then take DGIndex and the DGDecode.dll and stick them somewhere. Open your VOB(s) or M2V in DGIndex and make a D2V Project File (File->Save Project) which will also give you the audio (if from a VOB). Use that D2V in an AviSynth script like so:

LoadPlugin("C:\Path\To\DGDecode.dll")
MPEG2Source("C:\Path\To\Video.d2v")

Add in your other .dlls after the first line, and your other commands or filters after the second line. That's the basis for encoding from MPEG sources (like DVDs).

By the way, unless you can find a way to steer this conversation back to XviD, this had better be continued in the AviSynth Forum. There you can meet a whole new bunch of hardasses. :)

Cunhambebe
27th August 2006, 15:59
Thanks to both of you for taking your time to respond and to help me.
manono:
unless you can find a way to steer this conversation back to XviD, this had better be continued in the AviSynth Forum
-You're right manono. Sorry.
There you can meet a whole new bunch of hardasses
-lol lol - Life is difficult isn't it? A whole new experience day after day... :)
Don't even think about using a VFAPI...Get the DGMPGDec package here:
-I've already donwload it. That's DGIndex!! Thanks for the input manono and thanks for the script!

unskinnyboy:
That script came *with* the plugin you say? Where exactly?
-When you unzip the file, there are so, so many documents... must have made a mistake. This file, actually a script is locared in the folder named "TomsMoComp_Avisynth". It says: # This script is only for BottomFirst material.
Why aren't you still not using search?
-I'm sorry. I'll download the file and try it for testing purposes, in spite of manono's remarks. Thanks, really and sorry for not using "search" before asking something around here. Thank you.

Cheers,
Mark
Edit: spelling

unskinnyboy
27th August 2006, 17:25
-When you unzip the file, there are so, so many documents... must have made a mistake. This file, actually a script is locared in the folder named "TomsMoComp_Avisynth". It says: # This script is only for BottomFirst material.
Ah, that one. The name (TomsMoComp_60Bottom.avs) should have given a hint to what it was, it is an example script for doing what I said it could - deinterlace and convert a BFF source to 60 fps.

Regards
Joe Hardass

Cunhambebe
27th August 2006, 20:13
Thanks for the tip, Joe Hard.. lol lol
I'd like to thank you once again for the script. It works fine!
Cheers,
Mark

cool9
29th August 2006, 22:07
This is an Enc question.
Not sure how to interpret the compressability results vs. CQM used. If I use jaw1CD CQM during the compression test and I get 69% does that mean I can move up to a higher bitrate CQM? Or does it mean use Jaw1cd and push my minimum quantizers up and lower my curve compression? (I used Shark v3HR on my first test and got 45%.) 2-pass encodings, of course.

I'm using this as a guide:
http://forum.doom9.org/showthread.php?p=796900#post796900

Cunhambebe
30th August 2006, 04:29
I'm sure I'm not the right person to answer your questions since I'm a total newbie with Enc Tool. I was making some tests today and I still know too little how to get the most of this application. Thanks for the link. Have you tried this one?
http://jonny.leffe.dnsalias.com/
Anyway, let's wait for some experienced friends to help us with this...:D

Cunhambebe
15th September 2006, 03:00
One more question:
I see the Enc Tool is an excellent piece of software, etc. On the other hand I can't see how I can render a small portion to see the quality I'll get... Help will be greatly appreciated.
Thanks in advance.

BigDid
15th September 2006, 04:10
One more question:
I see the Enc Tool is an excellent piece of software, etc. On the other hand I can't see how I can render a small portion to see the quality I'll get... Help will be greatly appreciated.
Thanks in advance.
Hi Mark,

Back on the board and glad to see you were not drowned by different posters or advices :)

Regarding enc, may I point out my previous post on the subject: http://forum.doom9.org/showthread.php?p=866169#post866169
There is a short but clear help html file ( index.htm) included with enc v1.03. Start from there and you will be able to render 5% of the files to see the quality.

This is what cool9 was reporting. for his particular exemple, using jawor1cd (usually for 700Mb encodes) 69% is good, even too good so he could have changed cqm or settings to get around 60%

If you can follow the enc tutorial but have difficulties with it's logic, then you can try my first suggestion: use AutoGK to get the logic/feel of the encoding process or even just read the AGK tutorial to get some benefit.

Rome was not built in one day (french saying).Cheers.

Did

Edit:
PS: I forgot to specify the excellent AutoGK tutorial was made by Manono, with whom you already exchanged in this thread :)

Cunhambebe
16th September 2006, 04:16
Hi BidDig, merci pour votre réponse; thanks for taking time to respond!
Back on the board and glad to see you were not drowned by different posters or advices
-lol, lol - I'm getting important and moving up the ladder fast. This is happening because I'm learning AviSynth :)
Thanks for pointing out your previous post and thanks for the link. I've already read the help file and it works great; I have no difficulties following the tutorial. In fact, before posting the question above (previous message), I had already used the application (Enc Tool) with great success, but I thought the software would be able to render a real portion of the video to let you "see" the quality (no only previewing the size, etc).
Thanks again for pointing Manono's AutoGK tutorial.
Rome was not built in one day (french saying).
Merci, je sais ça... lol; mais vous êtes sûr que cette maxime est française? lol
Merci beaucoup and Thanks a lot.

manono
16th September 2006, 04:46
Not bad for a Portagee speaker. :)

BigDid
16th September 2006, 18:29
... I had already used the application (Enc Tool) with great success, but I thought the software would be able to render a real portion of the video to let you "see" the quality (no only previewing the size, etc)...
Hi Mark,

Easy, in avisynth with your settings (or the ones used to feed enc) last line, add:
SelectRangeEvery(300,15)
for PAL and make a one pass Q=2 encode and you'll get à 5% visible video comparable to the comptest.

No need for thanks, taken directly from my last AGK encode comptest.avs :)

Edit @Manono, Brasilian do speak portuguese but they are more than that and I had the chance to meet some fantastic brasilian people (women mainly ;) )

Did

Cunhambebe
16th September 2006, 21:31
Hi there...
Not bad for a Portagee speaker
-What kind of language is that Manono? LOL You mean, Brazilian Portuguese...:D

BidDid:
Easy, in avisynth with your settings (or the ones used to feed enc) last line, add:
SelectRangeEvery(300,15)
for PAL and make a one pass Q=2 encode and you'll get à 5% visible video comparable to the comptest.

-Thank you very much, Bigdid, but we are PAL-M in Brazil only for broadcasting (PAL-M is a kind of NTSC, notice the "M", running at 29,97 but with the PAL color palette).
That means PAL (European) does not work in Brazil. For videos, the old VHS and the DVDs, we are NTSC like USA (our TVs work with both systems NTSC and PAL-M) :D So, would you please help me out with a line like that for NTSC? Thanks in advance.
Thanks also for your compliment on Brazilian people. La langue française a un prestige extraodinaire au Brésil et tout les français comme les autres francophones, sont vraimment chez eux ici.
Merci mes amis!
...je suis un tout petit perroquet.. lol

BigDid
17th September 2006, 18:28
...Thank you very much, Bigdid, but we are PAL-M in Brazil only for broadcasting (PAL-M is a kind of NTSC, notice the "M", running at 29,97 but with the PAL color palette).
That means PAL (European) does not work in Brazil. For videos, the old VHS and the DVDs, we are NTSC like USA (our TVs work with both systems NTSC and PAL-M) :D So, would you please help me out with a line like that for NTSC? ...
Hi Mark,

From the avisynth manual:
"SelectRangeEvery (clip, int "every", int "length", int "offset", bool "audio")
This filter is available starting from v2.5. The filter selects length number of frames every n frames, starting from frame offset. Default values are: Select 50 frames every 1500 frames, starting with first selection at frame 0. (every = 1500, length = 50, offset = 0)."

So to get 5% you can set 300/15 or 280/14 which I believe is more common for NTSC (if wrong statement please correct) :
SelectRangeEvery(clip, 280, 14)

I use Avsedit 1.1.1.3 to edit the .avs . It has an editor for parameters and preview frame by frame or using MPC and a help that links whatever function used to the avisynthmanual; even if old (2003), updated in 2006 and still very useful; thanks to the the authors Stax, Wilbert etc... :)

Did

Edit: more details and some cleaning

Cunhambebe
17th September 2006, 18:50
Hi there...
BigDid:
I use Avsedit 1.1.1.3 to edit the .avs....
-Thanks again for your help and thanks for the input. I'm going to try it... I'll reply as soon as I finish some tests here.
Cheers...
Mark :)

Cunhambebe
7th October 2006, 14:52
Sorry for the late reply (a lot of work to do around here), but I've only found Avsedit version 1.1.1.0 and not .3 as you had stated above. :o

BigDid
7th October 2006, 17:27
Sorry for the late reply (a lot of work to do around here), but I've only found Avsedit version 1.1.1.0 and not .3 as you had stated above. :o
Hi Mark,

This is really a basic problem :eek:

Using google and searching for "avsedit", I have on 1st page n° 5 , free codec and a download page: http://www.free-codecs.com/AVSEdit_download.htm

You had a capital of 3 queries, you just lost one ;)
If you loose all of them I will do like Sirber, I will get a paypal account and ask to be paid in "time", because time is money :D

Cheers

Did

Cunhambebe
7th October 2006, 18:16
:) Oh merci..... Tu vas bien? Ça va la forme? Thanks again!