Converting VCD to KVCD is only half length of original?
I'm trying to re-encode a VCD movie to KVCD but after TMPGenc is done the KVCD is only about 1/2 the length of the original. I have tried two different scripts but the results are the same. I have also tried it on 2 different movies, same results. The movies are PAL. Here are the scripts:
SCRIPT 1 LoadPlugin("d:\filters\MPEG2Dec3.dll") LoadPlugin("d:\filters\BlockBuster.dll") LoadPlugin("d:\filters\atc.dll") LoadPlugin("d:\filters\dctfilter.dll") LoadPlugin("d:\filters\deen.dll") LoadPlugin("d:\filters\undot.dll") LoadPlugin("d:\filters\asharp.dll") LoadPlugin("d:\filters\mpegdecoder.dll") #DirectShowSource("d:\work\movie.mpg") Mpegsource("d:\work\movie.mpg") Undot() ConvertToYV12 deen() BlindPP() ATC(2,3,5,0.5,false) DCTFilter(1,1,1,1,1,1,0.5,0) Blockbuster(method="noise",detail_min=1,detail_max =100,variance=2,seed=1) #LanczosResize(352, 238, 0, 5, 352, 278) Blockbuster (method="noise",detail_min=1,detail_max=3,variance =0.1,seed=1) asharp(1,4) TemporalSoften(2,7,7,3,2) #AddBorders(0, 1, 0, 1) Limiter() SCRIPT 2 LoadPlugin("e:\filters\asharp.dll") LoadPlugin("e:\filters\atc.dll") LoadPlugin("e:\filters\blockbuster.dll") LoadPlugin("e:\filters\convolution3dyv12.dll") LoadPlugin("e:\filters\dctfilter.dll") LoadPlugin("e:\filters\deen.dll") LoadPlugin("e:\filters\gripfit_yv12.dll") LoadPlugin("e:\filters\mpeg2dec3.dll") LoadPlugin("e:\filters\mpegdecoder.dll") LoadPlugin("e:\filters\stmedianfilter.dll") LoadPlugin("e:\filters\undot.dll") LoadPlugin("e:\filters\unfilter.dll") Mpegsource("d:\work\movie.mpg") BlindPP(cpu=4) Blockbuster(method="noise",detail_min=1,detail_max =3,variance=0.1,seed=1) Convolution3D(1, 6, 12, 6, 8, 2.8, 0) GripCrop(352, 240, source_anamorphic=false) GripSize(resizer="LanczosResize") Undot() TemporalSoften(2,7,7,3,2) DCTFilter(1,1,1,1,1,1,0.5,0) #Blockbuster(method="noise",detail_min=1,detail_ma x=10,variance=0.3,seed=5623) GripBorders() |
MPEGDecoder doesn't always work very well. Try opening the MPG file with DirectShowSource, make sure you use the latest Avisynth version as lots of DirectShowSource issues were fixed.
|
I tried Directshow but the output movie was very jerky and not smooth.
|
So for that movie your only way is to convert it in huffyuy avi format with tmpgenc, then use this avi as source.
I know, it's boring, but I had to do that again last night. |
How would I go about converting it to .avi using TMPGenc? Can I use Virtualdub?
|
Quote:
Whith tmpgenc it's simple : open it, load the mpeg as source, go in file menu and select "output to file" -> avi. There you select "huffyuy" as video codec and "pcm" as audio codec. And run. |
Thanks, I will give that a try. I tried to encode one last time with the script using Directshow and I noticed that the output was not jerky as mentioned before but rather the movie was being slowed down. For example in the original file, if a name in the opening screen appeared at 32 secs using Media Player, in the output movie it appears at 92 secs. Can't seem to understand while it would slow the movie down.
|
One of the problem that have avisynth to handle a mpeg1 is in the determination of the framerate. It's possible that it has detected a framerate too hight and as it encodes it at 23.976 (or 25) im/s, the movie is in slow motion.
Just an idea... |
With DirectShowSource, you can (often must) specify the framerate of the source with the fps= parameter.
|
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.