Quantcast Encoding MPEG1 to KVCD - How to Predict CQ? - digitalFAQ.com Forums [Archives]
  #1  
05-08-2003, 11:31 PM
JoZ JoZ is offline
Free Member
 
Join Date: Mar 2003
Location: ntsc .us
Posts: 102
Thanks: 0
Thanked 0 Times in 0 Posts
I was reading this topic:

http://www.kvcd.net/forum/viewtopic.php?t=3310

It gave me an idea but... how to predict cq for tmpegenc?

Let say I've 2 xmpeg1 vcd 320x240 with total size 1gb.
I would like to convert them to 1 kvcd 320x240.
How can I predict the cq?

If I do DirectShowSource() and I'm trying to use tok
it tells me I don't have vdub path with is true. There
is no problem to show tok the path to vdub-mp3 but
do I have to demux mpeg1, after that how to make
.avs script that will work in tok? Ufff it's pain in the ass.
I was thinking mpeg1 to kvcd mpeg1 is not that big deal...
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-09-2003, 03:48 AM
urban tec urban tec is offline
Free Member
 
Join Date: Nov 2002
Location: West Australia
Posts: 272
Thanks: 0
Thanked 0 Times in 0 Posts
If it was me I would join the 2 mpeg1 files with mpeg tools in tmpg, then open the 1gb file with dvd2avi and create a project file (.d2v).

You will be left with a small .d2v file and the mpeg audio.

Create an avs script pointing to the .d2v file and load that into Tok and select your mpeg audio file as external audio source.
Reply With Quote
  #3  
05-09-2003, 10:16 AM
Kane Kane is offline
Free Member
 
Join Date: Jan 2003
Posts: 398
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by urban tec
If it was me I would join the 2 mpeg1 files with mpeg tools in tmpg, then open the 1gb file with dvd2avi and create a project file (.d2v).

this won´t work.
cannot open mpeg1 with dvd2avi
you will have to use mpegdecoder, i guess

http://nic.dnsalias.com/MPEGDecoder.html
__________________
greetz Kane
Reply With Quote
  #4  
05-09-2003, 10:18 AM
PyRoMaNiA PyRoMaNiA is offline
Free Member
 
Join Date: Jan 2003
Location: a PAL land (UK)
Posts: 408
Thanks: 0
Thanked 0 Times in 0 Posts
Try using MPEGSource.

Add this to your script:
MPEGSource("file.mpg",#)


where # equals the total number of frames, open it in VDub to find out.

EDiT: Oops, Kane beat me to it!
Reply With Quote
  #5  
05-09-2003, 10:41 AM
Kane Kane is offline
Free Member
 
Join Date: Jan 2003
Posts: 398
Thanks: 0
Thanked 0 Times in 0 Posts
so should i write the number of frames in the

MPEGSource - line in the script?

i sometime have the problem, that the d2v file does not contain the whole film, maybe i can solve this problem!
__________________
greetz Kane
Reply With Quote
  #6  
05-09-2003, 06:12 PM
urban tec urban tec is offline
Free Member
 
Join Date: Nov 2002
Location: West Australia
Posts: 272
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Kane
Quote:
Originally Posted by urban tec
If it was me I would join the 2 mpeg1 files with mpeg tools in tmpg, then open the 1gb file with dvd2avi and create a project file (.d2v).

this won´t work.
cannot open mpeg1 with dvd2avi
you will have to use mpegdecoder, i guess

http://nic.dnsalias.com/MPEGDecoder.html
of course I was thinking of svcd
Reply With Quote
  #7  
05-10-2003, 10:53 AM
PyRoMaNiA PyRoMaNiA is offline
Free Member
 
Join Date: Jan 2003
Location: a PAL land (UK)
Posts: 408
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Kane
so should i write the number of frames in the

MPEGSource - line in the script?

i sometime have the problem, that the d2v file does not contain the whole film, maybe i can solve this problem!
It doesn't work at all for me if I don't write the number of frames... ...you could try it, it'll probably fix your problem.
Reply With Quote
  #8  
05-11-2003, 06:29 PM
Kane Kane is offline
Free Member
 
Join Date: Jan 2003
Posts: 398
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by PyRoMaNiA
Quote:
Originally Posted by Kane
so should i write the number of frames in the

MPEGSource - line in the script?

i sometime have the problem, that the d2v file does not contain the whole film, maybe i can solve this problem!
It doesn't work at all for me if I don't write the number of frames... ...you could try it, it'll probably fix your problem.
thx, i´ll give it a try
__________________
greetz Kane
Reply With Quote
  #9  
05-12-2003, 05:29 PM
Kane Kane is offline
Free Member
 
Join Date: Jan 2003
Posts: 398
Thanks: 0
Thanked 0 Times in 0 Posts
hmm, doesn´t work
__________________
greetz Kane
Reply With Quote
  #10  
05-14-2003, 03:21 PM
rendalunit rendalunit is offline
Free Member
 
Join Date: Apr 2002
Location: san jose, Ca
Posts: 1,148
Thanks: 0
Thanked 0 Times in 0 Posts
Has anyone figured out a good way to do this yet? So far the best way seems to be to load the mpeg1 clip into vdub and convert to huffy avi and start over
Reply With Quote
  #11  
05-14-2003, 03:57 PM
Kane Kane is offline
Free Member
 
Join Date: Jan 2003
Posts: 398
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by rendalunit
Has anyone figured out a good way to do this yet? So far the best way seems to be to load the mpeg1 clip into vdub and convert to huffy avi and start over
it´s strange, sometimes it works perfectly, sometimes not.

i got a mpeg1 file, opened it with mpegdecoder.dll, no problems and did the encoding

after that i wanted to open the encoded file with mpegdecoder.dll, because i wanted to sharpen it a bit. this time the created d2v file showed me a length of 45 min instead of 90min
__________________
greetz Kane
Reply With Quote
  #12  
05-17-2003, 06:56 PM
vhelp vhelp is offline
Free Member
 
Join Date: Jan 2003
Posts: 1,009
Thanks: 0
Thanked 0 Times in 0 Posts
hi rendalunit..


** MPEG-1 source -> vdub -> tmpg

.
.
* what's wrong w/ frameserving (above) your MPEG-1 clip into TMPG via
vdub ??

* Why create a huffy .avi file ??
-vhelp
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Avisynth: Problem encoding 30fps MPEG1 into NTSC MPEG2 Uruk-hai Avisynth Scripting 5 05-05-2004 11:43 AM
Another way to predict CQ using 2 pass encoding azel Avisynth Scripting 0 11-14-2003 01:17 PM
Encoding: How to convert KVCD to MPEG1? SusiBiker Video Encoding and Conversion 1 09-11-2003 07:23 AM
Is there a way to predict the CQ_VBR value Holomatrix Avisynth Scripting 7 01-09-2003 01:40 PM
Encoding KVCD back to MPEG1 Non-standard? narc60 Video Encoding and Conversion 4 07-24-2002 07:32 AM

Thread Tools



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