digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   Simple Guide on converting AVI to KVCD (http://www.digitalfaq.com/archives/encode/4909-simple-guide-converting.html)

gsolis 08-06-2003 09:33 AM

Simple Guide on converting AVI to KVCD
 
Convert AVI to KVCD


Let me start by greeting and thanking those who came up with KVCD, their able hands have given us the gift of quality into VCD and the power to amuse our ?knowledgeable? friends on ?How can you fit a complete movie on a single CD ?? ? and then ?How did you got that high a quality on a VCD ?

I have written this guide as a small contribution for the not so experienced user like myself. Some might find it to be a bad guide, but I just wanted to put together a simple step by step guide to those who don?t like using too many tools and software and don?t understand a whole lot about settings.

Software used:
  • GSpot
    VirtualDub
    TMPGEnc
    BeSweet
  • 1. First you have to determine the quality of your source AVI file. This is because if you want to use a resolution of 528 x 480 on your TMPGEnc template you must have a higher resolution on your source AVI file.[list:9acffef9e2]a. Open GSpot, select File --> Open, and open the AVI file.
    b. Write down the relevant information. The ?x:y? information will tell you how high your KVCD template resolution can be. It?s also usable the size of the file, the FPS, the bit rate of the video and audio. If your resolution is lower than 528 x 480 you should use a 352 x 240 template.
2. Split the audio and video
  • a. Open VirtualDub, select File --> Open video file?, and open the AVI file.
    b. Select Audio --> Direct Stream Copy and Audio --> Source Audio.
    c. Select File --> Save Wav?, select a file name and click OK.
    d. After the audio is done, select Audio --> No Audio.
    e. Select Video Direct Stream Copy.
    f. Select File --> Save as AVI?, select a file name and click OK.
    g. You?ll end up with an AVI file with just the video, and a wav file with just the audio.
3. Convert wav to mp2:
  • a. Open BeSweet
    b. On Input, select the wav created in the pervious step.
    c. Check ?Use MPA Decoder? and ?Downconvert Sample Rate?
    d. On the Output drop down menu, select MP2.
    e. I usually use 128KB/s so click on the Copy Command to Clipboard, then open the command prompt, paste the command and edit the ?B? parameter to 128 and press enter.
    f. You should get a MP2 file with the sound of the movie.
4. Encode the video to m1v.
  • a. Open TMPGEnc. If the project wizard comes up, just click on cancel.
    b. On the lower part of the screen click on ?Load? and select the KVCD Template with the best possible resolution.
    c. This means:


    Higher than ¦ Lower Than ¦ Resolution
    __________________________________
    720 x 480 ¦ -------------- ¦ 720 x 480
    528 x 480 ¦ 720 x 480 ¦ 528 x 480
    352 x 240 ¦ 528 x 480 ¦ 352 x 240
    ------------ ¦ 352 x 240 ¦ Too low quality

    d. On ?Video Source? click on ?Browse? and select the avi file created by Virtualdub on step 2 of this guide.
    e. On ?Stream Type? select ?ES (Video Only)?
    f. Here come the tricky part? if you have CQmatic you can easily calculate the CQ that your encoding needs to fit on a single CD, but if you don?t have it, you can start the encoding, and wait until at least 5% of encoding, and determine, from the size of the m1v file if you have to lower the CQ or not. To do this, divide the size of the m1v file when it gets to 5% of encoding by 0.05 and if is greater than 550MB or so, it might not fit depending also on the size of the audio file. The more bitrate the movie has the lower the CQ has to be.
    g. If you do have to change the CQ, first stop the encoding by clicking on ?Stop?, then click on ?Settings?, select the ?Video? tab, click on ?Setting? on the ?Rate Control Mode? and set your CQ, click on ?OK? and ?Start? the encoding again until you get the results you want.
5. Multiplex the video and audio files.
  • a. I simply use the MPEG Tools on TMPGEnc. So select File --> MPEG Tools?, select the Simple Multiplex tab.
    b. On ?Video Input? click on ?Browse? and select the m1v file created on step 4.
    c. On ?Audio Input? click on ?Browse? and select the MP2 file created on step 3.
    d. On ?Output File? click on ?Browse? and select the output MPG file name and location.
    e. Click on Run and wait a few minutes.
6. Toast it
  • a. Open Nero Burning ROM
    b. Select Video CD and uncheck ?Create standard compliant CD?
    c. If you want a menu, on the ?Menu? tab check ?Enable Menu?. I like to download the image of movie poster I?m burning, and put it on a menu as the ?Background picture? on the menu tab.
    d. Click on ?New?
    e. Find the MPG file created on step 5 on the right hand window, and drag it to the left window. If you got your CQ right you should not have gone pass the red line of 700MB.
    f. Burn the CD and try it on your DVD standalone player. Please note that there are some DVD players that only play 352x240 KVCD and the ones that play them all. I have a Pioneer DV-355 and it plays all KVCDs.
[/list:u:9acffef9e2]

TITIB 09-07-2003 09:22 AM

invalid MPEG audio stream
 
I red the article 'Convert AVI to KVCD' you wrote on kvcd.net, which is very useful.
I used BeSweet GUI 0.6 in step 3 to convert wav to mp2. I changed the 'B parameter' to 128 (I hope so, it's not very well explained in your guide). The mp2 file seems OK.
After encoding the video to m1v (step 4), I tried to multiplex the video and audio files with the MPEG tools in TMPGEnc.
Trying to load the mp2 file, I get the error message 'invalid MPEG audio stream' from TMPGEnc. :(
Have you got some explanation ?
Thank you.
Thierry

Dialhot 09-07-2003 12:26 PM

All post concerning avi MUST be posted in the AVI->KVCD forum.

Please, move your thread or it will be closed. Thank you.

kwag 09-07-2003 02:26 PM

Thread moved and made "Sticky" ;)

-kwag

Konatone 01-24-2004 11:58 PM

Hiya and thanks for the guide.

I wonder if you could put me on the right path though. I'm ok until I get to the part with besweet, Im using the GUI and copy to cmd command doesn't work, i'm getting an invalid path or filename error which i cant seem to fathom and with the besweet wizard when i press 'Go!' i just get a blank notepad file open up and thats it. I getting fairly pissed off with it 'cause i know its something i've done or not done..well i think..can anyone help?

wgamer 01-26-2004 06:06 AM

should we not burn it as non-compliant
svcd?

Dialhot 01-26-2004 06:23 AM

All depend on wich format you choose to multiplex. If you muxed as VCD non standard, you have to burn as non compliant VCD.
If you muxed as "Super VideoCD", you burn as "SVCD".

DJArekTripleSL 02-22-2004 10:41 PM

i get "illegal mpeg audiostream" in step 5 when i try and open the mp2 file with TMPGEnc... any idea why?

Dialhot 02-23-2004 05:33 AM

Your mp2 seems to not be a mp2. How did oyu obtained it ? Didn't you make any mistake ?

DJArekTripleSL 02-23-2004 04:29 PM

i made it with besweet, i followed the steps exactly outlined here

Dialhot 02-23-2004 07:28 PM

Try an other source. If the problem is the same, then you have to find what you are doing wrong. But if the second source is okay, then your first one is somehow corrupted (and I really don't see why).

DJArekTripleSL 02-23-2004 07:52 PM

ya, i tried a different one and the same thing happened :/

Dialhot 02-23-2004 08:00 PM

Quote:

Originally Posted by DJArekTripleSL
ya, i tried a different one and the same thing happened :/

So you are doing somethign wrong with besweet. Be sure to select MP2 and not MP3 ! Can you tell me the size of you MP2, it's bitrate, and it's lenght in minutes ?

Or try an other audio encoder if you know one better (headache, DbPowerAmp...).

DJArekTripleSL 02-25-2004 12:05 AM

Size: 67977844 bytes
Header found at: 417 bytes
Length: 4248 seconds (70mins48seconds)
MPEG 1.0 layer 3
128kbit, 163016 frames
44100Hz Joint Stereo

Dialhot 02-25-2004 04:42 AM

What do you call "when I try to open the mp2 with tmpegnc" ?
More precision on this point please. Step by step.

DJArekTripleSL 02-25-2004 11:17 AM

5. Multiplex the video and audio files.
a. I simply use the MPEG Tools on TMPGEnc. So select File --> MPEG Tools?, select the Simple Multiplex tab.
b. On ?Video Input? click on ?Browse? and select the m1v file created on step 4.
c. On ?Audio Input? click on ?Browse? and select the MP2 file created on step 3

When i try and add the mp2 file in step 5C thats when i get the illegal audiostream file message.

Dialhot 02-25-2004 03:12 PM

I don't ask you to copy/paste what is written above :-(
I want YOU to explain what YOU do, step by step, without reading the guide ! You MUST do an error somewhere.

BTW, use bbmpeg to make the muxing and stop using this guide.

undertaker229 02-26-2004 08:21 PM

Dont be so hard on him, he´s not making any mistakes...

I did the same old things, and the TMPGEnc doesnt get it, and says it´s illegal... I´ll try now with that BBmpeg thing, that hasnt made any trouble yet.

Greetings Guys!!!

R.-

Dialhot 02-26-2004 08:55 PM

The problem is that there is really _NO_ reason for that. I do everything with tmpgenc and never have any problem in muxing.

That's why I'm quite sure there is something that is wrong in the method. The guide is correct, so I can only be something you do that is wring. But I can't discover what :-(

undertaker229 02-27-2004 09:31 AM

It seems that the problem may be in the wav > mp2 conversion.

I tried using BBMpeg. The multiplex had a lot of trouble (said there was a lot of underflow. If I let the bitrate in 0, so he calculates it, the final file was too big...)

Anyway, using the 0 bitrate, or the default bitrate (option in BBmpeg settings/program stream settings) when I played the multiplexed final file it had no audio.

I tried playing the mp2 file alone, and the Windows Media Player crashed...
May be the mp2 has something wrong when done with besweet, and it doesnt work good.

Can you explain how to make a good conversion with BeSweet? (in case we are missing something)
Is there another good, reliable program to do the conversion wav > mp2?
Is it normal for my Windows Media Player to not play a mp2?
Do I need something else in my PC to "understand"mp2?

Thanks!!
R.-


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