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)

WOWIEGURL 04-25-2004 07:29 AM

KVCD guide to cram two mpeg-1 videos into one CD-R ?
 
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...

black prince 04-25-2004 09:48 PM

@wowiegurl,

Simply open each .mpg file(s) with DVD2AVI as input. Then follow any
of the DVD to KVCD guides. Depending on the mpeg quality and output
resolution will determine picture quality :)

-BP

WOWIEGURL 04-25-2004 10:38 PM

DVD2AVI doesn't seem to like my MPG1 files. What can I do?

black prince 04-25-2004 10:58 PM

@wowiegurl,

Use VirtualDub and go to file --> File Information --> look at video
and audio stream. Let me know what information is there. :)

-BP

WOWIEGURL 04-25-2004 11:05 PM

video 352x288 25fps

audio 44hz 244kbps

thanks so much :oops:

Boulder 04-26-2004 02:54 AM

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.

This way it might work.

Boulder 04-26-2004 03:02 AM

There is one thing I don't understand.

Why do you try to convert VCD material to KVCD? The quality won't be any better, in fact it will suffer greatly from re-encoding. Any DVD-player should be able to play VCDs so that is not the problem.

KYUSS 04-26-2004 03:55 AM

hi boulder,

actually im my limited experience with 2cds to 1 cd KVCD there is no noticable loss after encoding.

so most people prefer to have 1 cd instead of getting up to change em.

i think thats why anyhoo ;)

cheers
KYUSS

WOWIEGURL 04-26-2004 04:11 AM

Quote:

Originally Posted by KYUSS
hi boulder,

actually im my limited experience with 2cds to 1 cd KVCD there is no noticable loss after encoding.

so most people prefer to have 1 cd instead of getting up to change em.

i think thats why anyhoo ;)

cheers
KYUSS

This is the very reason. I've tried trimming off the opening/closing credits but the file has gotten to about 850 mbs. I don't know of any other way of compressing 2 mpg1 into 1 cd, and I've read other posts where people are putting 2 mpg1 into 1 kvcd.But doing this is very difficult as there are not many guides showing how exactly to do this. THat is why I'm suggesting someone do a guide so to minimise posts like these. It will also make things easier for people trying to cram 2 mpg1 into 1 cd, if there is a guide avaliable.

KYUSS 04-26-2004 04:20 AM

have you tried the acp guide m8?


just plough on and try it................what have you wasted? time?

i tell you it works m8 i have done it.

WOWIEGURL 04-26-2004 04:35 AM

I have but got stuck.

Abond 04-26-2004 05:51 AM

Quote:

Originally Posted by WOWIEGURL
But doing this is very difficult ...

Lol. You should determine what is more easy - to change CD's while watching or to cram 2 mpegs in 1 kvcd :D

WOWIEGURL 04-26-2004 06:08 AM

Well I'd rather have 1 cd than 2 but the learning process to doing this is very difficult but I don't mind. Once I figure out how to do things it will be much easier and I'll save more money as well.

Jellygoose 04-26-2004 06:20 AM

Just get a 99min. CD-R, and cram the movie on that one... :roll:

black prince 04-26-2004 10:41 PM

@wowiegurl,

wowiegurl wrote:
Quote:

video 352x288 25fps

audio 44hz 244kbps

thanks so much
This is of coures PAL. Is the audio .mp2 or what? Here's the real
problem though. Your mpg1 vcd files when merged as one will
be greater than 1 80min CDR. I believe you said 850mb. Combining
them into 1 KVCD will not reduce their total very much. You will still
exceed 1 80min CDR. It would look worse when re-encoded at a
lower CQ to fit 1 80min CDR. So, this approach dosen't look promising :cry:

-BP

KYUSS 04-27-2004 02:26 AM

combining them allows you to put 2 800mb (or even 3) mpgs onto 1 cd and the quality is exactly the same as original in my eyes m8......whether its VCD or SVCD.

black prince 04-27-2004 09:36 PM

@KYUSS,

KYUSS wrote:
Quote:

combining them allows you to put 2 800mb (or even 3) mpgs onto 1 cd and the quality is exactly the same as original in my eyes m8......whether its VCD or SVCD.
Let's see, two mpeg-1 800mb each (or even 3), that's 2400mb
compressed onto 1 80min CDR with no quality loss. PLEASEEEEEE!!
share your secret :)

-BP

WOWIEGURL 04-27-2004 09:55 PM

Quote:

Let's see, two mpeg-1 800mb each (or even 3), that's 2400mb
compressed onto 1 80min CDR with no quality loss. PLEASEEEEEE!!
share your secret
No Black Prince. I meant 1 file at 450 mbs and the other is 550 mbs. I want to cram these files onto 1 kvcd.

KYUSS 04-28-2004 02:53 AM

Quote:

Originally Posted by black prince
@KYUSS,

KYUSS wrote:
Quote:

combining them allows you to put 2 800mb (or even 3) mpgs onto 1 cd and the quality is exactly the same as original in my eyes m8......whether its VCD or SVCD.
Let's see, two mpeg-1 800mb each (or even 3), that's 2400mb
compressed onto 1 80min CDR with no quality loss. PLEASEEEEEE!!
share your secret :)

-BP

no secret m8

KVCD/KSVCD templates :P

the cd i have seen with a 3 cd movie put on 1 cdr was svcd.....its QT's5th and the 3rd cd was undersized so i think it was 635mb or something.

but i am not guffing.......to my eyes (maybe they need testing:P ) no quality loss is noticeable.

have you tried it m8?

cheers
KYUSS

black prince 04-28-2004 08:11 AM

@wowiegurl,

wowiegurl wrote:
Quote:

No Black Prince. I meant 1 file at 450 mbs and the other is 550 mbs. I want to cram these files onto 1 kvcd.
Oh, now that's clearer. Start with making sure both mpeg-1 files
have the same resolution (352x288, PAL) and check what the
audio format is (i.e. .mp2). Now check for a PAL version of
KVCD at 352x288 template. As I last remember you had a problem
with DVD2AVI. Could you be more detailed about this problem and
what error messages. What were your settings for DVD2AVI
for video (force file should be OFF). I believe you could get your
movies on 1 KVCD with little or no picture loss :)

-BP

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 02:36 AM  —  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.