digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   KVCD guide to cram two mpeg-1 videos into one CD-R ? (http://www.digitalfaq.com/archives/encode/9298-kvcd-guide-cram.html)

Abond 04-28-2004 08:15 AM

AFAIK DVD2AVI doesn't work properly with mpeg1 files.

black prince 04-28-2004 10:30 AM

@Abond, Your right about dvd2avi :cry:

@wowiegurl, but this works: :)

Seems there is no easy way to do this and most don't try because
the picture quality can only look worse. But you're mpeg1's total
~900MB and that's not too bad to compress it to 800mb. You
wanted to use KVCD templates and so the process is complicated.
Here's a quick start and I know there will be lots of questions. So,
I'll start with these steps:

1) download "filemerger" to join mpeg1 files as one output file (i.e. movie.mpg)

link: http://home.planet.nl/~doesw008/filemerger.html

2) Use this link to use CQMatic and CalcuMatic:

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

3) When finished video-only, use VirdualDub to extract audio as .wav.

4) Convert .wav to .mp2

5) Use Mplex to merge audio with video as you new mpeg1

6) Burn

-BP

Abond 04-28-2004 10:35 AM

WMA? 8O
Sorry for the remark, I think you meant WAV

black prince 04-28-2004 03:24 PM

@Abond,

Abond wrote:
Quote:

WMA?
Sorry for the remark, I think you meant WAV
Thanks Abond. :? I used VirtualDub to extract the .wav (audio)
from mpeg1 and converted it with Headac3he to .mp2.
I've been rushing around today trying to take care of so many
things :roll:

-BP

rendalunit 04-28-2004 03:50 PM

@WOWIEGURL

Quote:

Originally Posted by boulder
Use the same scripts as with AVI files, only exchange AVISource for DirectShowSource. If you load the AVI file like this: AVISource("path\clip.avi") , use DirectShowSource("path\clip.avi",audio=false,fps=2 5) instead. You should extract the audio in VirtualDubMod and process it separately, that's why the audio has been disabled in the DirectShowSource line.

There is the answer. Do you have avisynth installed?

a basic script would be something like:

a=directshowsource("part1.mpg").killaudio()
b=directshowsource("part2.mpg").killaudio()
movie=a+b
LanczosResize(movie, 352, 288)

then load the .avs into tmpgenc, make a project file, close tmpgenc,
load project file (tpr) with cqmatic set for 1 cd, extract audio from clips with vdub, reencode audio, join m1v file with audio (mp2), burn

KYUSS 04-28-2004 04:56 PM

Quote:

Originally Posted by rendalunit
@WOWIEGURL

Quote:

Originally Posted by boulder
Use the same scripts as with AVI files, only exchange AVISource for DirectShowSource. If you load the AVI file like this: AVISource("path\clip.avi") , use DirectShowSource("path\clip.avi",audio=false,fps=2 5) instead. You should extract the audio in VirtualDubMod and process it separately, that's why the audio has been disabled in the DirectShowSource line.

There is the answer. Do you have avisynth installed?

a basic script would be something like:

a=directshowsource("part1.mpg").killaudio()
b=directshowsource("part2.mpg").killaudio()
movie=a+b
LanczosResize(movie, 352, 288)

then load the .avs into tmpgenc, make a project file, close tmpgenc,
load project file (tpr) with cqmatic set for 1 cd, extract audio from clips with vdub, reencode audio, join m1v file with audio (mp2), burn

how would you join the audio together m8?

cheers
KYUSS

rendalunit 04-28-2004 05:17 PM

@KYUSS,

one way is to load the first mpeg into Goldwave (it extracts audio and converts to wav) ; load the second mpeg and copy the wav to the clipboard ; then paste the second to the end of the first one and save as .wav

or you could extract the audio with VDub and join the wav files with Goldwave, CoolEdit, etc..

ren

kev23m 04-29-2004 04:42 AM

You don't have to join the mpg file.

You can also just encode 2 files seperately and burn , plays without any problem.

Demux the mpg file and get the mp2 Audio file and re-encode to 112 or 128 as required.

predict file size = Video data / runtime

If you have 650mb for video and total runtime of 110 mins with 1st file having runtime 70 mins.

650/110 = 5.90

First Mpg video size will be 5.90*70= 413mb
Secong Mpg file = 237mb.

So just use the script for avi file by Dialhot change the source line
directshowsource("x.mpg").killaudio

The procedure is the same as avi 2 kvcd.

WOWIEGURL 05-06-2004 09:47 AM

Quote:

Originally Posted by kev23m
You don't have to join the mpg file.

You can also just encode 2 files seperately and burn , plays without any problem.

Demux the mpg file and get the mp2 Audio file and re-encode to 112 or 128 as required.

predict file size = Video data / runtime

If you have 650mb for video and total runtime of 110 mins with 1st file having runtime 70 mins.

650/110 = 5.90

First Mpg video size will be 5.90*70= 413mb
Secong Mpg file = 237mb.

So just use the script for avi file by Dialhot change the source line
directshowsource("x.mpg").killaudio

The procedure is the same as avi 2 kvcd.

YOu make it sound soooo easy!! Whats runtime? how long the mpg1 & mpg2 plays for? What do you do with the video sizes? What do you do when the mpgs have dual audio and you want to keep both?

kev23m 05-06-2004 02:01 PM

Runtime is the length of the movie.

Alrite try this , it should be easier.

Use Tmpgenc and Goto Mpeg tools > Merge

Select your multiple mpeg1 files in order and merge them.

Play and check that they are fine and in sync.

Then De-Multiplex the sound from this mpg file.
Encode is to 112kbps or 128 kbps as you like.

Use Dialhot's V4 script and just change the Source line to Directshowsource("movie.mpg").killaudio()
ConverttoYv12()


So just use Cqmatic and let it predict the cq for you.

rendalunit 05-06-2004 11:48 PM

Re: SUGGESTION - DON'T GET OFFENDED
 
Quote:

Originally Posted by WOWIEGURL
There are many posts floating around (not including mine) asking how to go about cram 2 mpg1 into 1 KVCD. If its not too much to ask, could a guide be done on this? It would be very helpful and solve many questions a newbie has about doing this. And perhaps reduce the number of posts made about this subject. THis is just a suggestion...

Quote:

how long the mpg1 & mpg2 plays for? What do you do with the video sizes? What do you do when the mpgs have dual audio and you want to keep both?
You were talking about mpeg-1 in the first post so assuming that's what you're trying to reencode then mpeg-1 doesn't support dual audio streams.

WOWIEGURL 05-07-2004 07:15 AM

Its only kvcd's muxed as svcd's that can support 2 audio streams rite? BUt I don't know how though.COuld you show how to please? Thanks

Black Prince, when I try and do this step
Quote:

2) Use this link to use CQMatic and CalcuMatic:

http://www.kvcd.net/forum/viewtopic.php?t=5145
I find I can't do this because KYUSS stated that you need to use TMPGENC before activating it. SO what do you recommend I do?

By the way after merging the files the sound is in sync with the video.. at least thats one thing thats worked properly

I've changed my file and the information is

352*288 25fps. 44hz mixed stereo,224kbps layer 2. # of frames 200313. Average bitrate 1140kbps. This file has dual audio streams and I would like to keep it as a PAL KVCD. By the way when I try to load the movie that I merged into 1 into tmpgenc it doesn't accept it.Unsupported format.

WOWIEGURL 05-07-2004 07:42 AM

Quote:

Originally Posted by kev23m
Runtime is the length of the movie.

Alrite try this , it should be easier.

Use Tmpgenc and Goto Mpeg tools > Merge

Select your multiple mpeg1 files in order and merge them.

Play and check that they are fine and in sync.

Then De-Multiplex the sound from this mpg file.
Encode is to 112kbps or 128 kbps as you like.

Use Dialhot's V4 script and just change the Source line to Directshowsource("movie.mpg").killaudio()
ConverttoYv12()


So just use Cqmatic and let it predict the cq for you.

After I merged it I only got audio no visual. I'm afraid I'll have to stick with Black Prince's method!! Thanks for your help anyway!! I'm assuming works with 1 audio stream only, correct?

Abond 05-07-2004 08:32 AM

@WOWIEGURL
Well, I read this thread from the beginning and found out that nothing is clear. Now maybe it is not bad idea to explain again what you have and what you want to do with this.

black prince 05-07-2004 08:44 AM

@WOWIEGURL,

Quote:

By the way after merging the files the sound is in sync with the video.. at least thats one thing thats worked properly
Good!! Did use filemerger or what :?: How big is your merged file :?:

Quote:

I've changed my file and the information is

352*288 25fps. 44hz mixed stereo,224kbps layer 2. # of frames 200313. Average bitrate 1140kbps. This file has dual audio streams and I would like to keep it as a PAL KVCD. By the way when I try to load the movie that I merged into 1 into tmpgenc it doesn't accept it.Unsupported format
Dual audio streams are only done with KSVCD. KVCD supports one
audio stream. Try Tmpgenc with just one mpeg-1 file and see if it
will accept it. There are many ways to skin this cat and some are
easier (mine may not be) than others. Dvdavi accepts mpeg-2 format
and it wouldn't reconize your's so I believe your mpeg's are mpeg-1.
If it is dual audio then what language are they (i.e. english, spanish,
etc.) Give us more information about what has worked so far and
that will help us get you to the next step :wink:

-BP

WOWIEGURL 05-07-2004 09:37 AM

Quote:

Originally Posted by Abond
@WOWIEGURL
Well, I read this thread from the beginning and found out that nothing is clear. Now maybe it is not bad idea to explain again what you have and what you want to do with this.

Initially I wanted to cram 2 mpg1 into 1 kvcd with one audio. I tried many methods and it wasn't working. I have now burned all those onto cd - 1 mpg per cd. Now I want to cram part a & b of a movie into 1 cd. THe movie has dual audio - Cantonese/manderin.

Quote:

Originally Posted by Black Prince
Good!! Did use filemerger or what How big is your merged file

Now after combining with filemerger it runs at 1:25:14 at 860 mbs. I tried to use cqmatic and calcumatic but it need something from TMPGENC, namely a .tpr file. This is what I do in TMPGENC

1.Load the VCDPal.mcf template.- I want to make it a PAL cd - with dual audio <- I've noticed there are other .mcf (I think) templates at this address http://www.kvcd.net/dvd-models.html should I download those mcf files and use those instead?Which one of those files do you recommend I use? My files tend not to be high action movies.
2.In the audio source- browse - try to load the merged file.
3.The file is unsupported or can't open.<-MESSAGE FROM TMPGENC -its really pissing me off

Abond 05-07-2004 10:53 AM

Quote:

Originally Posted by WOWIEGURL
Initially I wanted to cram 2 mpg1 into 1 kvcd with one audio. I tried many methods and it wasn't working.

How do you know they are mpeg1?

WOWIEGURL 05-07-2004 11:25 AM

its a vcd source

cweb 05-07-2004 03:12 PM

Quote:

Originally Posted by black prince
Dual audio streams are only done with KSVCD. KVCD supports one
audio stream. Try Tmpgenc with just one mpeg-1 file and see if it
will accept it. There are many ways to skin this cat and some are
easier (mine may not be) than others. -BP

I actually muxed as svcd at least two kvcd's (kvcd3) with dual audio (mp2) without problems. It plays in my dvd player.

cweb 05-07-2004 03:13 PM

The best way would be to use an avisynth script to read the mpeg1 file within Tmpgenc.


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