Quantcast From VirtualDub to Avisynth ? - digitalFAQ.com Forums [Archives]
Go Back    digitalFAQ.com Forums [Archives] > Video Production Forums > Avisynth Scripting

Reply
 
LinkBack Thread Tools
  #1  
06-18-2003, 06:10 PM
ftin ftin is offline
Free Member
 
Join Date: May 2003
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts
I have an mpeg which i need to crop and i have done so with virtualdubmod cause i dont know how to with avisynth. So could some
one please tell me (if there is a way) how to frame serve to avisyth from virtualdub so i can then add the filters and so on.


Grateful for any advice . THANKS.
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
06-18-2003, 07:00 PM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
hey ftin,
this will help you:

How do I use 'Open via AviSynth'?

http://forum.doom9.org/showthread.ph...threadid=44244

Reply With Quote
  #3  
06-18-2003, 07:28 PM
Grantman Grantman is offline
Free Member
 
Join Date: Sep 2002
Location: Northfield, IL
Posts: 102
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to Grantman Send a message via AIM to Grantman Send a message via MSN to Grantman Send a message via Yahoo to Grantman
If you able to use Movie Stacker (or the old FitCD) that is the way to go. Even if you are not saving the final Avisynth scripts in Movie Stacker it is excellent for quickly (and automatically) determining the croping paramaters for all types of resizing.

I have tried many strange formats and have not had a problem yet.


Grantman
Reply With Quote
  #4  
06-18-2003, 11:46 PM
ozjeff99 ozjeff99 is offline
Free Member
 
Join Date: May 2002
Location: Sydney, Australia
Posts: 159
Thanks: 0
Thanked 0 Times in 0 Posts
Hi Ftin, if your source is mpeg-1, I agree to still use Virtualdub to open the file as there does not seem to be a stable codec with Avisynth (MpegDecoder () is still a bit unstable I am told). Frameserve is an otption under the file menu and results in setting up a signpost file xyz.vdr.

Use Avisource("xyz.vdr") as the opening command and do all your filtering here rather than in virtualdub. If you want to see the immediate effect of the Avisynth filters, I suggest opening a 2nd session of VirtualdubMod and open your resulting Avisynth .avs file. VirtualdubMod has a great in-built script editor where pressing F5 shows the immediate effect of changes. There is another great avisynth editing program called AVSCompare (search on google) where you can set up multiscreens side by side with the associated scripts. Check it out. Good luck :P

ozjeff99
Reply With Quote
  #5  
06-19-2003, 10:09 AM
ftin ftin is offline
Free Member
 
Join Date: May 2003
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts
Hello every one. Thanks for help but ...

(My sources are both mpeg1 and mpeg2)

1)Virtualdub wont let me open the mpeg2 via avisynth it says something like mpeg2source doesn't exist. ( i tried all the templates).

2)When i load the vdr file in avisynth and use grip fit it says source needs to be YUY2.

Also when i convert an avi using gripfit it comes out 16:9 but when i dont use gripfit it comes out at 4:3. Why is this? and if i wont to make it 16:9 without using gripfit do i just choose anamorphic in moviestacker?

Sorry for so many question at once but i seem to be digging myself a bigger whole every minute.
Reply With Quote
  #6  
06-19-2003, 11:50 AM
ozjeff99 ozjeff99 is offline
Free Member
 
Join Date: May 2002
Location: Sydney, Australia
Posts: 159
Thanks: 0
Thanked 0 Times in 0 Posts
Hi Ftin...your points in order.

1. Latest version of VirtualdubMod should open mpeg2 directly without template.

2. Use command ConvertToYUY2() where you need to.

Gripfit has a parameter anamorphic=false which if you don't use it, it assumes it is true. Syntax is:
GripCrop(480, 576, source_anamorphic=false)

ozjeff99
Reply With Quote
  #7  
06-19-2003, 12:50 PM
ftin ftin is offline
Free Member
 
Join Date: May 2003
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts
I was actually trying to open the mpeg via avisynth in virtualdub but i worked it out , i just added LoadPlugin("C:\Program Files\Encoding\MovieStacker\Filters\MPEG2Dec.dll") to the mpeg2source template.

Could any one tell me if there are any advantages to encode in 16:9 rather than 4:3? cause i have many different aspect ratio sources and would rather keep every thing the same.
Cheers.
Reply With Quote
  #8  
06-20-2003, 08:03 PM
ozjeff99 ozjeff99 is offline
Free Member
 
Join Date: May 2002
Location: Sydney, Australia
Posts: 159
Thanks: 0
Thanked 0 Times in 0 Posts
Hi Ftin, I would check that mpeg2dec opens mpeg2 files correctly that are not from .d2v. I had some problems a while back.

The ouptut depends on what you are displaying in on. If you only have 4:3 screen, use that.
ozjeff99
Reply With Quote
  #9  
06-21-2003, 04:33 AM
ftin ftin is offline
Free Member
 
Join Date: May 2003
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts
Ok cheers ozjeff99.
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Avisynth for Kvcd and virtualdub? Blackie Avisynth Scripting 5 04-20-2004 05:09 AM
virtualdub/avisynth - how do I get an idx file? andybno1 Video Encoding and Conversion 60 01-28-2004 11:26 AM
Avisynth: Optimal script with VirtualDub? mistermickster Avisynth Scripting 6 09-16-2003 10:50 AM
Avisynth: SiwalterS filters for Avisynth and VirtualDub jorel Avisynth Scripting 0 04-13-2003 10:04 AM
Avisynth: How to use virtualdub filters in avisynth? Smoochie3 Avisynth Scripting 1 07-18-2002 12:03 AM




 
All times are GMT -5. The time now is 06:00 PM  —  vBulletin © Jelsoft Enterprises Ltd