digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   KVCD: Help with Multiplex!? (http://www.digitalfaq.com/archives/encode/11144-kvcd-multiplex.html)

JoJoFunyan 07-26-2004 06:27 PM

KVCD: Help with Multiplex!?
 
Alright, When I try to Multiplex the video and audio. When I click on browse for Audio and open the MP2 it says "Illegal MPEG Audiostream". What did I do wrong? Any Help??

kwag 07-26-2004 06:33 PM

Re: Help with Multiplex!
 
Quote:

Originally Posted by JoJoFunyan
What did I do wrong? Any Help??

How did you encode the audio :?:
With what tool :?:

-kwag

JoJoFunyan 07-26-2004 06:43 PM

I used BeSweet. Im following this guys guide and his steps are:

a. open besweet
b. On input, select the wav
c. Check ?use MPA decoder? and ?downcovert sample rate?
d. On the output drop down menu, select MP2
e. I usually use 128 kb/s so click on 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 sound file

I do all of the steps except step E. I dont understand what he is telling me to do? If you could give me your steps that would be great!

Dialhot 07-26-2004 07:10 PM

This guy is slow and never saw that you can change the bitrate directly in the GUI (tab "2lame") so he edit manually the command line generated :-)

JoJoFunyan 07-26-2004 07:13 PM

What? So what do i gotta do to fix my audio?

Dialhot 07-26-2004 07:17 PM

Quote:

Originally Posted by JoJoFunyan
What? So what do i gotta do to fix my audio?

Don't know because if you really did that, the result should be okay.

can you copy the command line to the clipboard (there is a button on the GUI for that) and paste it here please ?

JoJoFunyan 07-26-2004 07:18 PM

"C:\Program Files\Joey\BeSweet 1\BeSweet.exe" -core( -input "C:\Program Files\Joey\Movies\King Arthur\King Arthur.wav" -output "C:\Program Files\Joey\MPG's\King Arthur.mp2" -logfilea "C:\Program Files\Joey\BeSweet 1\BeSweet.log" ) -ssrc( --rate 44100 ) -toolame( -m s -b 128 -e )

There ya go...

Prodater64 07-26-2004 07:24 PM

And the section of log file of your encoded mp2?

JoJoFunyan 07-26-2004 07:37 PM

what? Im new to all the KVCD stuff. Just last week I started to make VCDs and now Im trying to get into the KVCDs so sorry if Im going slow. but what file do you want now?

Dialhot 07-26-2004 07:38 PM

I confirm that all is okay, so show us the log file as Pro already asked.

That is this file : C:\Program Files\Joey\BeSweet 1\BeSweet.log

But please, just post the part that concern this encoding if there is more than this in the file.

Prodater64 07-26-2004 07:40 PM

C:\Program Files\Joey\BeSweet 1\BeSweet.log

But only the section related to your mp2. Or better delete it and do wav to mp2 convertion again. Then open log file copy test and post it here.

JoJoFunyan 07-26-2004 07:42 PM

Logging start : 07/26/04 , 18:18:46.

C:\Program Files\Joey\BeSweet 1\BeSweet.exe -core( -input C:\Program Files\Joey\Movies\King Arthur\King Arthur.wav -output C:\Program Files\Joey\MPG's\King Arthur.mp2 -logfilea C:\Program Files\Joey\BeSweet 1\BeSweet.log ) -ssrc( --rate 44100 ) -toolame( -m s -b 128 -e )

[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : C:\Program Files\Joey\Movies\King Arthur\King Arthur.wav
[00:00:00:000] | Output: C:\Program Files\Joey\MPG's\King Arthur.mp2
[00:00:00:000] | Floating-Point Process: Yes
[00:00:00:000] +------ Shibatch -----
[00:00:00:000] | Source Sample-Rate: 24.0KHz
[00:00:00:000] | Dest. Sample-Rate: 44.1KHz
[00:00:00:000] | Attenuation : 0.0db
[00:00:00:000] +-------- LAME -------
[00:00:00:000] | Bitrate method : CBR
[00:00:00:000] | MP3 bitrate : 128
[00:00:00:000] | Channels Mode : Joint Stereo
[00:00:00:000] | Error Protection: No
[00:00:00:000] +---------------------
[01:56:51:600] Conversion Completed !
[01:56:51:600] Actual Avg. Bitrate : 127kbps
[00:23:14:000] <-- Transcoding Duration
Logging ends : 07/26/04 , 18:42:00.

There it is, Thanks!

Dialhot 07-26-2004 07:46 PM

Quote:

Originally Posted by JoJoFunyan
[00:00:00:000] | Source Sample-Rate: 24.0KHz

You did nothing wrong. Your source is the guilty. Besweet can't handle that correctly.

You must do the samplerate convertion manually with SSRC. DO you know how to use it ?
Or you can do that with tmpgenc also (he can outpout wav ! Look into the "File" menu).

JoJoFunyan 07-26-2004 07:47 PM

hmm im lost. haha. If you could just give me step by step on what I need to do from here on out. Thanks! :lol:

Prodater64 07-26-2004 07:52 PM

When you open Besweet gui you can see at the right several tabs or buttons. Press on 2lame and check following boxes:
SampleRate and in box beside write 48
Encoding Mode and in pulldown box select dual channel
Total Bitrate and in box beside write 128
Add Error Protection
Engine, I prefer mp2enc, but others toolame. Some encodings will be bad with toolame and not with mp2enc. It is up to you.
Encode again and I think that it will be ok.

JoJoFunyan 07-26-2004 07:55 PM

Thank you much for the help. Hopefully it will work this time! THANKS!

Dialhot 07-26-2004 08:15 PM

Quote:

Originally Posted by Prodater64
SampleRate and in box beside write 48

Pro, the problem is not in the output samplerate. It is in the SOURCE one !

Besweet can't handle exotic samplerates in entry. 24 Khz is exotic :-)

@JoJoFunyan
Open tmpgenc, load the original source (I guess this is an avi) as video source; It should appear also in the "audio" source (Else you won't be abble to handle it this way :-()
No go in the 'file' menu and select "output to file -> wav file". Put the name of the wav file you want and select "PCM, 44,100 kHz; 16 bits; Stereo" as output Type. Click on "Save".

It should (I hope !) generate a wav in 44.1Khz and not 24Khz. And besweet will convert it with no problem.

JoJoFunyan 07-26-2004 08:23 PM

Well I did what prodater said and It seems to be working now. My only question is in TMPGenc when I multiplex, For the type what do I want it on? I selected MPEG-1 Video CD(not standard). Does that work? Thanks!

Dialhot 07-26-2004 08:26 PM

Quote:

Originally Posted by JoJoFunyan
Well I did what prodater said and It seems to be working now.

Pro, you should buy a loto ticket :-). It seems that as 24 is half 48 then this work where 44.1 does not :-P.

Quote:

My only question is in TMPGenc when I multiplex, For the type what do I want it on? I selected MPEG-1 Video CD(not standard). Does that work? Thanks!
Yes it is ! (if you encoded in MPEG1 of course).

JoJoFunyan 07-26-2004 08:27 PM

Great, Thanks for all the help guys!!

Dialhot 07-26-2004 08:28 PM

Note: be carefull some standalone does not handle well KVCD with 48Khz audio.

JoJoFunyan 07-26-2004 08:28 PM

oo but next time I want to do this. For the Sample Rate will I always want it on 48? or do I just uncheck that next time? Thanks!

Dialhot 07-26-2004 08:33 PM

No, do not uncheck it else the samplerate will be the same of the source and if the source is something else than 44.1 or 48, that won't be correct.

If your player handle 48 with no problem, you can let it on this value. Else [b]change[b] the value and put 44.1

JoJoFunyan 07-26-2004 08:48 PM

Ok, Thanks for all the help!

Prodater64 07-26-2004 09:37 PM

Quote:

Originally Posted by Dialhot
Pro, you should buy a loto ticket :-). It seems that as 24 is half 48 then this work where 44.1 does not :-P.

You don't understand Phil. The 48 is in 2Lame options, Input options, you are saying to 2Lame that input bitrate is 48, ssrc in main window (Besweet) must to stay checked downconvert sample rate.
Even source has a rare samplerate or not at all like raw audio (always when header info is not present), BeSweet will take it as 48000Hz, and encode will give a valid mp2.

Prodater64 07-26-2004 09:49 PM

Excuseme, only for to be clear.
ssrc check downconvert sample rate always when you are encoding audio for KVCD. Uncheck it if you want mp2 for KDVD.
In 2Lame options, check Input Options, sample rate and write 48 always when your source has 48Khz, or in rare cases, like yours, today. If your source is 44.1, write 44.1 or uncheck it, as 44.1 is default source sample rate.

Dialhot 07-26-2004 09:55 PM

Quote:

Originally Posted by Prodater64
Even source has a rare samplerate or not at all like raw audio (alway when header info is not present), BeSweet will take it as 48000Hz, and encode will give a valid mp2.

Oh. You mean that you just "fool" besweet by telling it a wrong input samplerate and that's enought to obtain a good result ?
I really never thought it can work like this 8O. Logically if the source is 24 and you tell to besweet it is 48, then the audio should be distort :?
Thanks for the tip, I will try next time I need it.

Mr. Pink 07-29-2004 11:06 PM

I too have the problems with the bsweet in the kvcd from scratch guide
I was assuming that this:----------------------------------------
00:00:00:000] +-------- LAME -------
[00:00:00:000] | Bitrate method : CBR
[00:00:00:000] | MP3 bitrate : 128 <---------------------------part here
[00:00:00:000] | Channels Mode : Joint Stereo
[00:00:00:000] | Error Protection: No

Means you are outputing MP3
audio.

Did you get MP3 or MP2 ? MP3 would be an illegal source right ?
That guide has a lot of holes in it for us noobs.

Prodater64 07-30-2004 05:00 AM

Quote:

Originally Posted by Mr. Pink
I too have the problems with the bsweet in the kvcd from scratch guide
I was assuming that this:----------------------------------------
00:00:00:000] +-------- LAME -------
[00:00:00:000] | Bitrate method : CBR
[00:00:00:000] | MP3 bitrate : 128 <---------------------------part here
[00:00:00:000] | Channels Mode : Joint Stereo
[00:00:00:000] | Error Protection: No

Means you are outputing MP3
audio.

Did you get MP3 or MP2 ? MP3 would be an illegal source right ?
That guide has a lot of holes in it for us noobs.

LAME will give you an illegal mp3 for KVCD/KDVD.
You need to use 2Lame or mp2enc. You have several buttons for set what you want. In main window you have a drop-down box to select mp2 as output. In 2Lame window you can select 2Lame or mp2enc encoder, output bitrate, etc.


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