Quantcast Quicktime Files to KVCDx3 with Avisynth? - digitalFAQ.com Forums [Archives]
  #1  
04-26-2003, 12:48 PM
Bchteam Bchteam is offline
Free Member
 
Join Date: Jan 2003
Posts: 275
Thanks: 0
Thanked 0 Times in 0 Posts
How can I convert a Quicktime File (.mov) to KVCDx3 with Avisynth???

I mean what kind of Line should I use in the script???

For Instance MPEG has

Code:
DirectShowSource("C:\Sample.mpg")
or VOB

Code:
Mpeg2Source("C:\Sample.d2v")
But what kind of Line shall I use for Quicktime???

Is it compatible with Avisynth, at all???
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  
04-26-2003, 02:05 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
I think you nead a dll called QTRead or something like that. I'm not sure, because I don't convert .MOV files.

-kwag
Reply With Quote
  #3  
04-26-2003, 03:21 PM
Bchteam Bchteam is offline
Free Member
 
Join Date: Jan 2003
Posts: 275
Thanks: 0
Thanked 0 Times in 0 Posts
I tried Google and it really helped.

Now I got some Knowledge about the whole thing and finally have this script:

Code:
#=====================================================#
# -= AviSynth script by MovieStacker v2.0.0 (beta) =- #
#=====================================================#

LoadPlugin("G:\Programme\MovieStacker2.0\Filters\MPEG2Dec.dll")
LoadPlugin("G:\Programme\MovieStacker2.0\Filters\STMedianFilter.dll")
LoadPlugin("G:\Programme\MovieStacker2.0\Filters\GripFit_preview.dll")
LoadPlugin("G:\Programme\MovieStacker2.0\Filters\UnFilter.dll")
LoadPlugin("G:\Programme\MovieStacker2.0\Filters\LegalClip.dll")
LoadVFAPIPlugin("G:\Programme\TMPGEnc-2.510.49.157-Free\QTReader.vfp", "QTReader") 

QTReader("G:\Animatrix\reloaded_teaser_1_640.mov")
ConvertToYUY2()
FlipVertical()
SelectEvery(24,1) #Use (25,1) for NTSC.# 
LegalClip()
GripCrop(528, 480, overscan=2, source_anamorphic=false)
GripSize(resizer="BicubicResize")
STMedianFilter(10, 50, 0, 0, 10, 50)
UnFilter(50, 50)
TemporalSmoother(1, 2)
MergeChroma(blur(1.58))
MergeLuma(blur(0.3))
GripBorders()
LegalClip()
Reply With Quote
  #4  
04-27-2003, 02:56 AM
muaddib muaddib is offline
Free Member
 
Join Date: Jun 2002
Location: São Paulo - Brasil
Posts: 879
Thanks: 0
Thanked 0 Times in 0 Posts
Hi Bchteam,

I just did the exactly same clip and it works perfectly!
I almost can't see any difference from the source!
But the source is 60MB and the encode is 35MB...

My script was a little bit different from yours.
I didn't use STMedianFilter and I let MovieStacker do the resize.
I don't know why, but GripFit was giving me incorrect output with this source resolution.
Also I see no use for GripFit as this source has no black borders.
And finally I resized it to 480x480 and did an MPEG2 NTSC (my DVD only plays MPEG2).
Here is the script:

Code:
#=====================================================#
# -= AviSynth script by MovieStacker v2.0.0 (beta) =- #
#=====================================================#

LoadPlugin("C:\Program Files\MovieStacker\Filters\MPEG2Dec.dll")
LoadPlugin("C:\Program Files\MovieStacker\Filters\UnFilter.dll")
LoadPlugin("C:\Program Files\MovieStacker\Filters\LegalClip.dll")
LoadVFAPIPlugin("C:\Program Files\MovieStacker\Filters\QTReader.vfp", "QTReader") 

QTReader("D:\Trailers\trailer_final_640_dl.mov") 
ConvertToYUY2()
LegalClip()
FlipVertical()
SelectEvery(25,1)
BilinearResize(480, 352, 6, 0, 628, 346)
UnFilter(50, 50)
TemporalSmoother(1, 2)
MergeChroma(blur(1.58))
MergeLuma(blur(0.2))
AddBorders(0, 64, 0, 64)
LegalClip()
This QTReader works really well! Even with the most recent QuickTime movies.
Reply With Quote
  #5  
04-27-2003, 07:44 AM
Bchteam Bchteam is offline
Free Member
 
Join Date: Jan 2003
Posts: 275
Thanks: 0
Thanked 0 Times in 0 Posts
Hi Muaddib,

Which Resize Settings Should I use, if my output was 528x480???
Reply With Quote
  #6  
04-29-2003, 12:00 AM
muaddib muaddib is offline
Free Member
 
Join Date: Jun 2002
Location: São Paulo - Brasil
Posts: 879
Thanks: 0
Thanked 0 Times in 0 Posts
Hi Bchteam,

For no overscan I would go for:
Code:
BilinearResize(528, 352, 13, 0, 614, 346)
(...)
AddBorders(0, 64, 0, 64)
If you want overscan = 2 (resize):
Code:
BilinearResize(496, 320, 3, 0, 634, 346)
(...)
AddBorders(16, 80, 16, 80)
If you want overscan = 2 (overlap):
Code:
BilinearResize(528, 352, 13, 0, 614, 346)
(...)
AddBorders(0, 64, 0, 64)
LetterBox(0, 0, 16, 16)
Reply With Quote
  #7  
04-29-2003, 02:12 AM
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
Quote:
Originally Posted by muaddib
Hi Bchteam,

For no overscan I would go for:
Code:
BilinearResize(528, 352, 13, 0, 614, 346)
(...)
AddBorders(0, 64, 0, 64)
If you want overscan = 2 (resize):
Code:
BilinearResize(496, 320, 3, 0, 634, 346)
(...)
AddBorders(16, 80, 16, 80)
If you want overscan = 2 (overlap):
Code:
BilinearResize(528, 352, 13, 0, 614, 346)
(...)
AddBorders(0, 64, 0, 64)
LetterBox(0, 0, 16, 16)
muaddib,

what the visual differences in tv(or results)
using no overscan,overscan2 or overscan 2(overlap)?

thanks in advance!
Reply With Quote
  #8  
04-29-2003, 02:33 PM
muaddib muaddib is offline
Free Member
 
Join Date: Jun 2002
Location: São Paulo - Brasil
Posts: 879
Thanks: 0
Thanked 0 Times in 0 Posts
NO OVERSCAN:
- Keep the same "visual" film size of the source.
- Encode with no borders.
- Loose bitrate encoding film pixels in the side borders that you will not see in most TVs.

OVERSCAN RESIZE:
- Have smaller height then the source.
- Encode with borders.
- Gain bitrate because of the added black borders that you will not see in most TVs.

OVERSCAN OVERLAP:
- Keep the same "visual" film size of the source.
- Encode with borders.
- Gain bitrate because of the added black borders that you will not see in most TVs.

You can clearly see the difference of the Resize/Overlap in the resizer parameters:
BilinearResize(528, 352, 13, 0, 614, 346) --> overlap (same as no overscan)
BilinearResize(496, 320, 3, 0, 634, 346) --> resize

In this example you can see that the resize method has a difference o 32 lines less then the source.
That's why I prefer the overlap over the resize with widescreen movies.
I like to preserver the same highness of the source.
But the resize method has its good side... resizing to a smaller height, you will have bigger black borders.
Bigger black borders means more compression and smaller file sizes.

Now is up to you to choose your priority. If you need more compression go to the resize method.
If you ask me... I just don't like to watch a movie that has more borders then film.
Reply With Quote
  #9  
04-29-2003, 02:48 PM
Bchteam Bchteam is offline
Free Member
 
Join Date: Jan 2003
Posts: 275
Thanks: 0
Thanked 0 Times in 0 Posts
Hi Muaddib,

If I use GripFit everything works fine but I have those borders which I really don't want.So I go for your way but if I use BilinearResize and AddBorders I get this error Message from TMPGEnc:

"Floating decimal point is divided by 0"

My Source has a resolution of 640x272

How can I solve that???
Reply With Quote
  #10  
04-29-2003, 02:55 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

thank you muaddib

a complete lesson.
you turn it all very simple now.

if i was searching this explanations in
the avisynth.org i only got links to links.

for me is a complete tutorial,very clear!
wise is this:
few words,big explanations.

Reply With Quote
  #11  
04-29-2003, 08:25 PM
muaddib muaddib is offline
Free Member
 
Join Date: Jun 2002
Location: São Paulo - Brasil
Posts: 879
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Bchteam
Hi Muaddib,

If I use GripFit everything works fine but I have those borders which I really don't want.So I go for your way but if I use BilinearResize and AddBorders I get this error Message from TMPGEnc:

"Floating decimal point is divided by 0"

My Source has a resolution of 640x272

How can I solve that???
The problem is that your source is different than mine.
My source resolution is 640x346.
If you want to download the source I have... here it is



@jorel
Reply With Quote
  #12  
04-30-2003, 12:29 AM
Bchteam Bchteam is offline
Free Member
 
Join Date: Jan 2003
Posts: 275
Thanks: 0
Thanked 0 Times in 0 Posts
Hi Muaddib,

Could you please tell me the Resize Settings for a 640x272 resolution,that would be very nice, but there should be no Borders in the output.

And how do you let MovieStacker do resize of Quicktime Movies???
MovieStacker cannot read Quicktime Files.

-Bchteam
Reply With Quote
  #13  
04-30-2003, 12:57 AM
muaddib muaddib is offline
Free Member
 
Join Date: Jun 2002
Location: São Paulo - Brasil
Posts: 879
Thanks: 0
Thanked 0 Times in 0 Posts
OK... I will show you how so you can make it by your self.
Here is what you have to do:

1- Find your MOV resolution. QuickTime Player can tell you that.
2- Open MovieStacker and select any source you have.
3- Uncheck anamorphic and ITU-R options.
4- If your source is PAL, check the PAL option properly. (you can fid it in QT Player too)
5- Select source kind as 1:1 Monitor
6- Manually change the source resolution to the one you found with QuickTime Player.

That's it!
Now you can choose/change the destination as you want and MovieStacker will tell you the resize settings.
Try it, and let me know if it works for you.
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert Quicktime files to kvcd with Avisynth 2.53? fabiana Video Encoding and Conversion 12 02-27-2004 04:47 AM
open 3ivx quicktime file in avisynth? J-Wo Avisynth Scripting 2 01-22-2004 03:29 PM
Quicktime source... serrabastien Conversion et d'Encodage de Vidéo (Français) 1 05-14-2003 04:43 AM
Is there any way to convert MOV Quicktime files? muaddib Video Encoding and Conversion 5 01-26-2003 12:37 PM
Avisynth: Kvcdx3 and blockbuster ARAGORN Avisynth Scripting 0 11-25-2002 11:54 AM

Thread Tools



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