digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Avisynth: Problem encoding 30fps MPEG1 into NTSC MPEG2 (http://www.digitalfaq.com/archives/avisynth/9233-avisynth-problem-encoding.html)

Uruk-hai 04-21-2004 11:41 AM

Problem encoding 30fps MPEG1 into NTSC MPEG2
 
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.

eqlb02 05-04-2004 07:12 PM

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

Dialhot 05-04-2004 09:40 PM

For the fps problem : do not use mpegsource but try directshowsource.

Uruk-hai 05-05-2004 02:04 AM

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

Uruk-hai 05-05-2004 02:47 AM

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?

Dialhot 05-05-2004 11:43 AM

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.


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

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.