Quantcast Multiple Disc SVCD to Single KVCD - digitalFAQ.com Forums [Archives]
  #1  
02-01-2003, 06:11 PM
gonzopdx gonzopdx is offline
Free Member
 
Join Date: Dec 2002
Location: Corvallis, OR
Posts: 86
Thanks: 0
Thanked 0 Times in 0 Posts
First thing you want to do is run each of your AVSEQ01.MPG's through DVD2AVI to get your .d2v's and .mpa's. I choose to keep it simple and just name them by what disc number they are (ie: 1.d2v, 2.d2v, etc.) If it is an NTSC source, chances are it's telecined, so choose Forced FILM for the Field Operation. If it's PAL, leave it alone.

Next, open two instances of TMPGEnc and open each .d2v in each one (ie: use one to open 1.d2v, the other to open 2.d2v). If your source is PAL (25 fps), you might want to make a simple .avs script with mpeg2source("1.d2v") and a changefps(23.976) if you want to encode at 23.976 -- if you want to encode at 25 fps, leave it be.

Now what you want to do is go into the Source Range tool and find out your cutting points -- ie: where the first disc ends and the second begins. This is important as many multiple disc SVCD's have a 2 second overlap between discs. Scroll through the frames until you find a decent cutting point (close to the end of the first disc and close to the beginning of the second).



Next step is to figure your cropping. Open up the Clip Frame dialog in one of the instances of TMPGEnc and figure where you need to clip. Take note of the clipping amounts and the resulting size.



You're almost ready to create your final .avs script, but there's one more step. Audio. When you run your files through DVD2AVI, you'll have a .mpa for each CD, ie: "1 MPA T01 DELAY -76ms.mpa". Each disc will usually have its own delay -- this is why you have to do each disc individually instead of just chunking them together in DVD2AVI and just having one .d2v for the whole movie.

What you need to do is convert these .mpa's to .wav. This is as simple as this:

Code:
C:\Path\To\Movie>"C:\Path\To\BeSweet.exe" -core( -input "C:\Path\To\Movie\1 MPA T01 DELAY -76ms.mpa" -output "C:\Path\To\Movie\1.wav" -2ch ) -ota( -d -76 )
Do this for each .mpa -- MAKE SURE the number after -d in -ota( ) matches the delay from your source! This is important, or else your audio will be all out of sync and f*cked up

After you do this, you should have some pretty hefty .wav files.

Now, for resizing use your favorite method -- do it manually or use FitCD. I just use some simple math and do it manually to make sure the resulting size will have the almost identical aspect ratio as the source. Take for example a movie for which the source is 480x480, after cropping the video size is 476x280. For a 480x480 encode, to account for overscan your width is always going to be 448. Here's the math. (280/476)*448, rounded up to the nearest pixel, 264. Voila, your resize to should resize to 448x264. Say you want to encode to a 528x480 movie.. (280/476)*528.. simple? I think so =) Say you want to convert from a PAL source (480x576) to SVCD (480x480).. your movie, after cropping, is 476x336.. (480/576)*336=280, then (280/476)*448, rounded to the nearest pixel, 264 -- resulting size: 448x264. Again, simple?

Now you're ready to create your .avs script:

Code:
(...plugins...)

# AudioDub your video sources with your audio sources and trim using your values from above
AudioDub(mpeg2source("1.d2v"),wavsource("1.wav")).trim(0,74430) + AudioDub(mpeg2source("2.d2v"),wavsource("2.wav")).trim(21,66539)

# Crop using your values from Clip Frame above
Crop(2,115,-2,-125)
# Resize using your favorite resizer
BicubicResize(448,264,0,0.6)
If you needed to change the FPS, say for example from a PAL (25fps) source to FILM (23.976fps), your source line would look like this:

Code:
AudioDub(mpeg2source("1.d2v"),wavsource("1.wav")).changefps(23.976).trim(0,74430) + AudioDub(mpeg2source("2.d2v"),wavsource("2.wav")).changefps(23.976).trim(21,66539)
This .avs should give you your whole movie in one shot. Now do your plugins and file size prediction as usual and encode. Make sure you choose Center for your Video Arrange Method in TMPGEnc.

For the audio, what I do is open the .avs in VirtualDub and save a WAV from there, then encode in HeadAC3he as usual. I use VirtualDub as the resulting WAV doesn't give the missing data chunk error when opened in HeadAC3he like a WAV from TMPGEnc does..

Hope this helps! Good luck!
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
02-18-2003, 05:22 PM
Daagar Daagar is offline
Free Member
 
Join Date: May 2002
Posts: 158
Thanks: 0
Thanked 0 Times in 0 Posts
Just a couple counter points after doing a few SVCD to KVCD conversions myself:

1. I've always loaded all SVCD files into DVD2AVI and processed the audio/video into a single file. Though the original author mentions that the audio delay will be different on each file, I have never had an audio sync problem when creating a single .mpa file and converting it to .mp2 directly. This may be dumb luck, I don't know. However, this will _not_ allow you to correct for the 2second overlap between discs! The original author's method will be necessary to use the .trim() functionality in the .avs script. My method is for those that just want quick and dirty conversions.

2. If you want to forget about using FitCD or calculating borders/crop sizes/etc., make use of SansGrips wonderful utilities. For example:

GripCrop(480, 480)
GripSize()
<filters here>
GripBorders()
Letterbox(0,0,16,16)

Note that the letterboxing is optional. I do this instead of adding overscan=2 to the GripCrop line to preserve as much height as possible, while still gaining the benefits of reducing the width. I feel the widescreen borders are large enough already, and I don't need to further expand them. Whichever method you choose, the aspect ratio will be correct.
Reply With Quote
  #3  
02-24-2003, 04:59 AM
Bodyguard Bodyguard is offline
Free Member
 
Join Date: Feb 2003
Location: Houston, TX
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Bodyguard
Sorry I have to post twice my question... But... Anywhere I've gone, I haven't gotten a reply... So....

I have some home movies that were put onto DVDR. The problem is that each DVD is only an hour and a half long. I want to double the amount of video on each DVDR, and converted them into SVCD. Here is where the problem lies: How do I put SVCD files onto DVDR and make it compliant in standalone dvd players? If anyone could give me a link or some tips it would save me a lot of headache. I've already posted in the doom9 site and no one responded. My only hope now lies here...

Basically, how do you put SVCD's into DVDR to get them to play in standalone players?

Once again, I'm extremely sorry for committing this "taboo" act on you guys....
Reply With Quote
  #4  
02-27-2003, 09:01 PM
J-Wo J-Wo is offline
Free Member
 
Join Date: Nov 2002
Location: Toronto, Canada
Posts: 454
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks for this guide, it's very timely for me as I'm trying to convert the 2 disc Chicago SVCD screener into a 1 disc KVCDx3. But I'm having problems with file prediction. Namely, how do I do it!!! I soon realized that my old prediction formulas did not include audio, but in your script you are using the AudioDub() function which muxes audio+video. So how do you do your CQ predictions?
Reply With Quote
  #5  
02-27-2003, 09:51 PM
urban tec urban tec is offline
Free Member
 
Join Date: Nov 2002
Location: West Australia
Posts: 272
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Bodyguard
Sorry I have to post twice my question... But... Anywhere I've gone, I haven't gotten a reply... So....

I have some home movies that were put onto DVDR. The problem is that each DVD is only an hour and a half long. I want to double the amount of video on each DVDR, and converted them into SVCD. Here is where the problem lies: How do I put SVCD files onto DVDR and make it compliant in standalone dvd players? If anyone could give me a link or some tips it would save me a lot of headache. I've already posted in the doom9 site and no one responded. My only hope now lies here...

Basically, how do you put SVCD's into DVDR to get them to play in standalone players?

Once again, I'm extremely sorry for committing this "taboo" act on you guys....
Bodygaurd you have committed the cardinal sin and broken

rule #485766738 sub sec 45678.A apendix c paragrah 3

Quote:
Thou shalt not say sorry just because you dont know the answer and have resorted to asking a question


Ok all fun aside have you managed do this

I was interested to see if the ifoedit method I suggeted in your other post was of any help.
Reply With Quote
  #6  
03-01-2003, 07:30 PM
gonzopdx gonzopdx is offline
Free Member
 
Join Date: Dec 2002
Location: Corvallis, OR
Posts: 86
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by J-Wo
Thanks for this guide, it's very timely for me as I'm trying to convert the 2 disc Chicago SVCD screener into a 1 disc KVCDx3. But I'm having problems with file prediction. Namely, how do I do it!!! I soon realized that my old prediction formulas did not include audio, but in your script you are using the AudioDub() function which muxes audio+video. So how do you do your CQ predictions?
I usually start at around 70 and go up/down from there. I use KVCD Predictor to get the target sample file size.
Reply With Quote
  #7  
03-20-2003, 10:11 AM
J-Wo J-Wo is offline
Free Member
 
Join Date: Nov 2002
Location: Toronto, Canada
Posts: 454
Thanks: 0
Thanked 0 Times in 0 Posts
I just have two questions:

1) If my source SVCD is 480x480, I should encode at that same resolution since my player can handle it, right? There's no point in me encoding at KVCDx3 resolution, 528x480?

2) My player can't play SVCDs but it can play SVCDs that have been converted using the VCD Header Trick. So I have a bunch of those files that I'd like to convert, but I'm not certain if Avisynth can load them as is, or for that matter what command to use. Any ideas? Do I need to do some sort of "reverse" VCD header trick?

Thanks guys.
Reply With Quote
  #8  
03-20-2003, 04:56 PM
gonzopdx gonzopdx is offline
Free Member
 
Join Date: Dec 2002
Location: Corvallis, OR
Posts: 86
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by J-Wo
1) If my source SVCD is 480x480, I should encode at that same resolution since my player can handle it, right? There's no point in me encoding at KVCDx3 resolution, 528x480?
Nope, No point at all =) Just encode at 480x480 or lower.

Quote:
Originally Posted by J-Wo
2) My player can't play SVCDs but it can play SVCDs that have been converted using the VCD Header Trick. So I have a bunch of those files that I'd like to convert, but I'm not certain if Avisynth can load them as is, or for that matter what command to use. Any ideas? Do I need to do some sort of "reverse" VCD header trick?
This could be tricky.. if it's an MPEG1, you could load it using DirectShowSource (I believe that's the right one), but it is going to be slow as molasses and trimming frames probably won't work right..
Reply With Quote
  #9  
03-29-2003, 12:17 AM
J-Wo J-Wo is offline
Free Member
 
Join Date: Nov 2002
Location: Toronto, Canada
Posts: 454
Thanks: 0
Thanked 0 Times in 0 Posts
Okay I've got another question. I love this Audiodub method for joining the two SVCDs cause it really makes a seamless transition if done correctly. But my problem is that my audio does NOT sound at all like the source SVCD. I've tried both tooLame and SCMPX as the audio encoder, but at 128kbps the audio is not as crisp (it's most noticeable when people say words that have strong S's in them). Am I doing something wrong?
Reply With Quote
  #10  
03-29-2003, 12:35 AM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Hi J-Wo,

Encode your audio with HeadAC3he

-kwag
Reply With Quote
  #11  
10-11-2003, 12:16 PM
Zyphon Zyphon is offline
Free Member
 
Join Date: Oct 2003
Location: London, England (UK)
Posts: 1,035
Thanks: 0
Thanked 0 Times in 0 Posts
@ Daagar

I usually use TMPGEnc to multiplex the SVCD's together using the Mpeg Tools and select the Merge & Cut tab and i merge the 2 Mpeg-2 files in there is o.k to do or is it better to join them in DVD2AVI?

Thanx in advance.
__________________
Regards.

Michael.
Reply With Quote
  #12  
10-23-2003, 09:17 PM
Markymoo Markymoo is offline
Free Member
 
Join Date: Aug 2003
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
Why go to all the trouble of joining the 2 files together syncing the sound when you can keep each seperate svcd mpg as it is encode each of them to 2 kvcd mpgs and then load each mpg into vcdeasy if you need to author them to dvd just load both mpgs into dvd author package then make the 2nd mpg to play after the first mpg. Alot less hassle!
Reply With Quote
  #13  
10-23-2003, 10:41 PM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
because the idea in this thread is:
"standards"(more than one) SVCD's to (one) KVCD.....

Reply With Quote
  #14  
10-24-2003, 03:38 AM
Markymoo Markymoo is offline
Free Member
 
Join Date: Aug 2003
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
Yes one KVCD , that could interpreted as 1 kvcd disk but can still be 2 mpg's
Reply With Quote
  #15  
10-24-2003, 07:03 AM
Zyphon Zyphon is offline
Free Member
 
Join Date: Oct 2003
Location: London, England (UK)
Posts: 1,035
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Markymoo
Yes one KVCD , that could interpreted as 1 kvcd disk but can still be 2 mpg's
Lol now your just splitting hairs.
__________________
Regards.

Michael.
Reply With Quote
  #16  
10-24-2003, 07:24 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Markymoo
Yes one KVCD , that could interpreted as 1 kvcd disk but can still be 2 mpg's
By doing this you can have the fist half of the movie encoded at CQ50 and the second half at CQ70.
(if forst part of the movie is high action, and end is romantic comedy )
By joining both MPEG before doing the KVCD you can use an average CQ of 60 for all the movie.

That's the purpose here !
Reply With Quote
  #17  
10-24-2003, 07:30 AM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
believe Phil,

i was thinking:
"i will call Phil to answer this for me!"

you got "my" words!

(telepatic forum?)

Markymoo,.....this is the idea!
Reply With Quote
  #18  
10-24-2003, 04:16 PM
Markymoo Markymoo is offline
Free Member
 
Join Date: Aug 2003
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Dialhot
Quote:
Originally Posted by Markymoo
Yes one KVCD , that could interpreted as 1 kvcd disk but can still be 2 mpg's
By doing this you can have the fist half of the movie encoded at CQ50 and the second half at CQ70.
(if forst part of the movie is high action, and end is romantic comedy )
By joining both MPEG before doing the KVCD you can use an average CQ of 60 for all the movie.

That's the purpose here !
FAIR COMMENT!

for myself i maintain high cq, size not being so critical and interested more in cleaning up the svcd
Reply With Quote
  #19  
12-29-2003, 07:51 PM
Big2hd Big2hd is offline
Free Member
 
Join Date: Jul 2003
Posts: 95
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to Big2hd
Go Figure Another Program(dv2avi) it is not working, this is where I'm at:

Btw Files are already in .mpg format, click open(all files) then i choose all 2 parts.

After that just alot of not responding's and crashes(pretty much every button I push), pls help or better yet a better way to make a 2 disc (s)vcd into 1 kvcd that does not invole using dvd2avi that would sooooo great

Thx In Advance!
Reply With Quote
  #20  
01-14-2004, 05:04 PM
KYUSS KYUSS is offline
Free Member
 
Join Date: Dec 2002
Location: UK
Posts: 80
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Big2hd
or better yet a better way to make a 2 disc (s)vcd into 1 kvcd that does not invole using dvd2avi that would sooooo great

Thx In Advance!

u need to decide if its VCD or SVCD m8........as you say above "(s)vcd"

different methods are required for each.

i like markymoo's approach.......it has worked for me in the past........

Quote:
it is a very basic list guide i am afraid.


For VCD

1. extract mpg's from .bins/Cd's using isobuster or vcdgear or daemon tools.

2. using cqmatic and calcumatic convert each mpg seperately to KVCD approx 200-250mb each.

3. strip the audio from the mpg's using TMPGEnc or rejig (you can compress smaller using headac3 but i never needed to as its already quite small for VCD)

4. mux (join audio to video) using TMPGEnc using the setting mpg 1 VCD non standard. do this for both mpgs.

5. using VCDeasy load your 2 newly compressed mpgs let it scan them....it will probably tell you they need auto padding (this is normal) under the tab 'chapters' choose 10 equidistant chapters and 'OK'.
under the interactive tab make sure that mpg number 2 is set to play after mpg number 1 (this is normally done by default on my version)

6. output file to CD image file recorder setting and then burn with your favourite burning proggy (burnatonce for me Freeware)

thats it!

told you it was basic
u need to make sure that your files are mpeg2 before using dvd2avi.

u might have been unlucky and have an mpeg2 file that has an mpeg1 header if you have downloaded this. (this is used in VCD header trick to let none-svcd playing dvd players play svcd)

and don'y give up m8

lol

cheers
KYUSS
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple DVD's on a Single DVD? Icarus3000 Authoring VCD, DVD, Blu-ray 4 06-21-2006 08:16 AM
Holographic Versatile Disc - 1 terabyte on a single disc! Prodater64 Computers 3 10-29-2005 08:55 PM
how much minutes can I put a a single disc ? Dialhot Video Encoding and Conversion 3 12-05-2004 02:22 PM
Easy Way to CONVERT two-DISc VCD/SVCD TO one-DISc KVCD? DerekBarton Video Encoding and Conversion 5 09-17-2003 11:05 PM
KVCD Guide: Encoding/transcoding a 2-Disc SVCD to a single disc Avalon Video Encoding and Conversion 11 08-14-2003 05:02 PM

Thread Tools



 
All times are GMT -5. The time now is 08:10 PM  —  vBulletin Jelsoft Enterprises Ltd