digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   Encoding Mpeg1 to kvcd - How to predict CQ? (http://www.digitalfaq.com/archives/encode/3548-encoding-mpeg1-kvcd.html)

JoZ 05-08-2003 11:31 PM

Encoding Mpeg1 to kvcd - How to predict CQ?
 
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...

urban tec 05-09-2003 03:48 AM

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.

Kane 05-09-2003 10:16 AM

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

PyRoMaNiA 05-09-2003 10:18 AM

Try using MPEGSource. :wink:

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! :lol:

Kane 05-09-2003 10:41 AM

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!

urban tec 05-09-2003 06:12 PM

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 :oops:

PyRoMaNiA 05-10-2003 10:53 AM

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. :D

Kane 05-11-2003 06:29 PM

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. :D

thx, i´ll give it a try :D

Kane 05-12-2003 05:29 PM

hmm, doesn´t work :cry:

rendalunit 05-14-2003 03:21 PM

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 :roll:

Kane 05-14-2003 03:57 PM

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 :roll:

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

vhelp 05-17-2003 06:56 PM

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


All times are GMT -5. The time now is 08:33 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.