Log in

View Full Version : Decode audio stream to AC3 per chapter


goweropolis
2nd October 2002, 07:33
Hi guys,

I searched through the forum but didn't see the answer to this question.

I want to rip the audio only from a DVD, and instead of one big AC3 file, I'd like to have individual files for each chapter. Is this possible?

I tried with SmartRipper but it only generates one huge file at a time, so I would have to select a chapter, rip it, select the next chapter, rip it, etc. I'm looking for a batch operation. I tried fiddling with the settings of SmartRipper (which mention splitting files based on chapter) but that didn't seem to work.
Any suggestions?

EDIT # 1
Well I think I may have answered my own question. I was just in the wrong section of the forum! In the "Audio Encoding" section, there's a FAQ about BeSweet that mentions cutting the large AC3 file by chapters using Chapter-X-Tractor. I can't reach that link from work because it's blocked, but will try when I get home tonight. Has anyone used that program before? Is it still not possible to split the AC3 at the ripping stage?

DSPguru
2nd October 2002, 19:02
thread moved to 'Audio Encoding' forum.

goweropolis
3rd October 2002, 06:47
Sorry DSPguru for posting in the wrong forum, I thought it was a ripping process, but I guess it's more of a decoding process.

Anyways, I managed to figure it out. Here are the basic steps:
1. Ripped entire DVD with SmartRipper 2.40
2. Fired up Chapter-X-tractor 0.962 (after copying BeSplit to program directory), opened IFO file, clicked on format tab, chose BeSplit parameter under presets, chose AC3 file under filename, chose directory (for output), clicked on GO.

It wasn't working for me until I changed Header portion. It was placing quotations around input file & prefix output directory, which were giving BeSplit problems. After removing the quotations it worked like a charm. Speedy too! Thanks for the programs DSPguru & Christophe Paris! :)

DSPguru
3rd October 2002, 17:36
Originally posted by goweropolis
It was placing quotations around input file & prefix output directory, which were giving BeSplit problems. After removing the quotations it worked like a charm. Speedy too!weird.. :confused:
it should work just fine.
can you paste the commandline / post logfile ? Thanks for the programs DSPguru & Christophe Paris! :) :)

goweropolis
3rd October 2002, 19:01
I'll post it later when I get home. Stay tuned!

goweropolis
4th October 2002, 01:29
Here's the command line and the results. When I removed the quotations in the command line around the -input & -prefix it worked properly.

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Programs\ChapterXtractor_v0.962>BeSplit -core( -input "C:\dvd\rip\vts_01_([0x
80]_Audio_Not_Specified_AC3(2Ch)_48kHz___)_Delay_0ms.ac3" -prefix "C:\dvd\rip\"
-logfile logfile.txt -type ac3 -ending ) -split( 0.000 535.600 754.434 1339.434
1701.700 1741.567 2282.367 2754.700 2869.534 3095.734 3360.501 3603.601 4046.46
8 4373.634 4992.434 5220.368 5373.768 5819.668 6193.635 )

BeSplit v0.82 by DSPguru.
--------------------------

[00:00:00:000] +------- BeSplit -----
[00:00:00:000] | Input : C:\dvd\rip\vts_01_([0x80]_Audio_Not_Specified_AC3(2Ch)
_48kHz___)_Delay_0ms.ac3
[00:00:00:000] | Output Prefix : C:\dvd\rip" -logfile logfile.txt -type ac3 -en
ding ) -split( 0.000 535.600 754.434 1339.434 1701.700 1741.567 2282.367 2754.7
00 2869.534 3095.734 3360.501 3603.601 4046.468 4373.634 4992.434 5220.368 5373.
768 5819.668 6193.635 )
[00:00:00:000] +---------------------
Error Creating Output file : "(null)".
Quiting...

C:\Programs\ChapterXtractor_v0.962>

DSPguru
4th October 2002, 18:55
smells like a window$ bug.

guelinator
21st December 2002, 13:34
I use a different way to do this.

Use smartripper with stream processing and use the option "direct stream copy" on the requested streams.
At settings use "every chapter".

That gives you a .VOB each chapter.

Now create a batch and use bbtools bbdmux like:

bbdmux vts_01_1.vob 0xBD chapter1.ac3 0x80

that will give you a .ac3 file for each chapter.