Quantcast Converting VCD to KVCD is only Half Length of Original? - digitalFAQ.com Forums [Archives]
  #1  
12-05-2003, 01:53 PM
jim620 jim620 is offline
Free Member
 
Join Date: Dec 2003
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
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, 27
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()
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  
12-05-2003, 02:04 PM
Boulder Boulder is offline
Free Member
 
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #3  
12-05-2003, 02:13 PM
jim620 jim620 is offline
Free Member
 
Join Date: Dec 2003
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
I tried Directshow but the output movie was very jerky and not smooth.
Reply With Quote
  #4  
12-05-2003, 06:19 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #5  
12-05-2003, 07:48 PM
jim620 jim620 is offline
Free Member
 
Join Date: Dec 2003
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
How would I go about converting it to .avi using TMPGenc? Can I use Virtualdub?
Reply With Quote
  #6  
12-06-2003, 08:24 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by jim620
How would I go about converting it to .avi using TMPGenc? Can I use Virtualdub?
You can but vdub give me synch problem half of the time. So I never use it for that.

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.
Reply With Quote
  #7  
12-06-2003, 05:43 PM
jim620 jim620 is offline
Free Member
 
Join Date: Dec 2003
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #8  
12-06-2003, 06:06 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
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...
Reply With Quote
  #9  
12-07-2003, 03:50 AM
Boulder Boulder is offline
Free Member
 
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
With DirectShowSource, you can (often must) specify the framerate of the source with the fps= parameter.
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
KVCD: Movie length vs keep as much quality as possible? JJJ99 Video Encoding and Conversion 2 11-04-2004 09:13 AM
KVCD Movie Length is wrong? ratuna Video Encoding and Conversion 1 10-30-2003 04:15 PM
KVCD: Movie length only half? Pr0z4C Video Encoding and Conversion 1 06-17-2003 02:45 PM
KVCD: 704x480 max movie length on 1 CD-R 80? bman Video Encoding and Conversion 0 05-25-2003 01:22 AM
Encoding: Video length vs audio length? theskid Video Encoding and Conversion 1 08-03-2002 12:14 PM

Thread Tools



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