Quantcast Avisynth: Problem Encoding 30fps MPEG1 into NTSC MPEG2 - digitalFAQ.com Forums [Archives]
  #1  
04-21-2004, 11:41 AM
Uruk-hai Uruk-hai is offline
Free Member
 
Join Date: Apr 2004
Location: Middle Earth
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
I have a 320x240, 30fps poor quality MPEG1 videoclip and wanted to convert it into 352x240 NTSC MPEG2 .
I used the following avs script:
Code:
MPEGSource("Video.mpg") 
AssumeFPS(30)
undot() 
asharp(1, 4,hqbf=true) 
Convolution3D(1, 6, 12, 6, 8, 2.8, 0) 
MergeChroma(blur(1.5)) 
MergeLuma(blur(0.1)) 
converttorgb()
However when I fed the avs into Virtualdub and TMPGEnc Plus, the number of frames appeared about half of what it should be. Worse still, there were many color patches on the actress's face and in the dark background and these patches are not there in the original MPEG.

I have to admit that I am new to avisynth and I copied & modified the above script from this forum. I used AVS becoz I wanted to sharpen and de-noise the clip a bit.

Could someone advise me what I have done wrong and how to correct them.
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  
05-04-2004, 07:12 PM
eqlb02 eqlb02 is offline
Free Member
 
Join Date: Jan 2004
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
hi

what you could try doing is using the
the latest ma script done by kwag
and add the following line
Code:
Blockbuster(method="noise",detail_min=1,detail_max=10,variance=0.3,seed=5623)
try not to use anthing else these scripts are good.
but sometimes you might need to add something
but give that a try and see if it helps you out any
Reply With Quote
  #3  
05-04-2004, 09:40 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
For the fps problem : do not use mpegsource but try directshowsource.
Reply With Quote
  #4  
05-05-2004, 02:04 AM
Uruk-hai Uruk-hai is offline
Free Member
 
Join Date: Apr 2004
Location: Middle Earth
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Dialhot
For the fps problem : do not use mpegsource but try directshowsource.
Dialhot. Many thanks!
Regarding the number of frame problem, I looked up the documentation for mpegsource and found that for MPEG1, the number of frame needed to be supplied as the second parameter explicitly. I'll definitely try your suggestion tonite.

Regards
Reply With Quote
  #5  
05-05-2004, 02:47 AM
Uruk-hai Uruk-hai is offline
Free Member
 
Join Date: Apr 2004
Location: Middle Earth
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by eqlb02
hi

what you could try doing is using the
the latest ma script done by kwag
and add the following line
Code:
Blockbuster(method="noise",detail_min=1,detail_max=10,variance=0.3,seed=5623)
Dailhot, one more question. I am confused what exactly MA script is. Is it this one.http://www.kvcd.net/forum/viewtopic.php?t=3483
I did do some search but found that different posts refer to different scripts. Would you mind spell it out again?
Reply With Quote
  #6  
05-05-2004, 11:43 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
A MA script is a script where the level of filtering isn't constant for all the movie but try to follow the motion in the scene : the more the action, the heavier is the filtering (the opposite : in slow motion action, the filtering is slight because else the eye won't be pleased).

What here, in KVCD.net, we refer by "MA script" is commonly the optimal script for DVD sources that you refered in your post.

You can see in the script a "Scripclip" line where the adaptative work is done.
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Mpeg1 vs mpeg2 Pug Video Encoding and Conversion 1 02-08-2004 05:38 PM
Mpeg1 or mpeg2? Wolfi Video Encoding and Conversion 12 11-14-2003 11:21 AM
MPEG1 o MPEG2 ? logan555 Convertire e Codifica dei Video (Italiano) 6 10-14-2003 02:14 AM
DVD vs. VCD - MPEG1 vs. MPEG2 ? Grantman Video Encoding and Conversion 2 08-08-2003 04:42 PM
KVCD: MPEG1 vs. MPEG2 ? Grantman Video Encoding and Conversion 5 09-09-2002 09:29 AM

Thread Tools



 
All times are GMT -5. The time now is 04:47 AM  —  vBulletin © Jelsoft Enterprises Ltd