Quantcast Two CDs with AC3 to KVCD? - digitalFAQ.com Forums [Archives]
  #1  
08-10-2004, 06:48 PM
dickwad dickwad is offline
Free Member
 
Join Date: Aug 2004
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
As 1CD encodings go really well now, I decided to try something a little bit more difficult. I have two XViD files with AC3 sound that I would like to encode to one KVCD. The only topic I could find concerning this was: http://www.kvcd.net/forum/viewtopic.php?t=5967.

Obviously I can use:

Code:
Avisource("xvid_part1.avi,false")++Avisource("xvid_part2.avi,false")
In my AVS script to load both parts in TMPGEnc for encoding. I assume it will simply paste the two files together and output one .m1v file. But what to do with the audio? If this it the case, I obviously need to convert (read: demux from the XViD files) the audio in a likewise manner. So I would end up with one .AC3 file aswell.

Don't be afraid to answer. Thanks!
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  
08-10-2004, 08:05 PM
Prodater64 Prodater64 is offline
Free Member
 
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
Hi: Demux both files with VirtualDubMod or save wav (audio full procesing mode). Transcode from ac3 or wav to mp2 with Besweet or Headac3he. Put both mp2 isolates in a folder and in that folder do a direct access with following command line:
Code:
copy /b *.mp2 final.mp2
Execute it and in a while you will obtain your final mp2.

Another way would be that you change your settings (option, environmental settings, audio engine) in TMPGEnc pointing at toolame as your audio encoder (you must to have toolame in your PC)
Change your avs script to:
Code:
Avisource("xvid_part1.avi,true")++Avisource("xvid_part2.avi,true")
and in TMPGEnc load your script, load your template and select stream type "System (Video+Audio)

You can also take a look at http://www.avisynth.org/Splice
AlignedSplice is an avisynth function that permits you to join 2 o more clips without audio sync problems. (I never used it, but just in case...)
Reply With Quote
  #3  
08-11-2004, 07:29 AM
gamma gamma is offline
Free Member
 
Join Date: Nov 2003
Location: Rotterdam (The Netherlands)
Posts: 237
Thanks: 0
Thanked 0 Times in 0 Posts
Usually i do this:

open file 1 in vdub, then choose in the file menu "append avi segment" and choose file 2. Then save the ac3 file using direct stream copy.

BTW. You can now also choose to save the joined avi without the audio, to use for your script.
Reply With Quote
  #4  
08-11-2004, 11:00 AM
dickwad dickwad is offline
Free Member
 
Join Date: Aug 2004
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks guys! I'm going to give your methods a try!
Reply With Quote
  #5  
08-22-2004, 02:23 PM
dickwad dickwad is offline
Free Member
 
Join Date: Aug 2004
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
I've got a nice KVCD now I'll give a short explanation of how I did it (was a couple of days ago):

- Opened xvid_part1.avi in VirtualDubMOD and then appended xvid_part2.avi to it.
- In VirtualDubMOD I demuxed the audiostream in .AC3.
- Used BeSweet to encode the .AC3 directly to .MP2 (2 channels, 112kbps, 44khz)
- Made a small modification in my AVS script and changed the first line to:

Code:
Avisource("xvid_part1.avi")++Avisource("xvid_part2.avi")
- Loaded the KVCD template, unlock template and my AVS script in TMPGEnc.
- Changed stream type to ES (Video only).
- Changed bitrate and aspect ratio.
- Saved the project and used CQMatic to predict the proper CQ for 1CD.
- Used bbMPEG to mux video+audio.
- Final .MPG file was 837MB so I had to overburn (as usual.. I always set audio to 128kbps in CalcuMatic even though I use 112kbps audio and it still isn't accurate enough. But it's better than nothing and I'm only doing 1x prediction).
- Burn failed at ~820MB but luckily the end credits are about 4 minutes long, so the entire movie was still on the disc.
- Disc played fine and quality was nice. The transition from part1 to part2 wasn't even noticable!



By the way: after my first try and burn, after being half way through the movie I suddenly noticed the subtitles were starting over again. I fucked up in Subtitle Workshop (joined the subtitles for part1 with each other, instead of part1 and part2 with each other). So I had to re-encode the entire movie again. Mistakes are part of life
Reply With Quote
  #6  
08-23-2004, 08:23 PM
Prodater64 Prodater64 is offline
Free Member
 
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
A very good solution!
Reply With Quote
Reply




Thread Tools



 
All times are GMT -5. The time now is 09:02 AM  —  vBulletin © Jelsoft Enterprises Ltd