PDA

View Full Version : Automatic splitting of audio files from HD-DVD / Bluray, how?


shanghai2004
1st August 2008, 09:51
Hi,

I have some HD-DVD and Bluray discs with concerts. I want to use the audio to play on a portable music player like iPod.

As iPod doesn't support the MKA files I use for PC, so I need to split the audio file per chapter for easy navigation on the iPod.

I extract the audio (flac) and a file with the chapter info with eac3to no problem.

Manually splitting the file would take a lot of time as most concerts have over 30 chapters.

To automatically split the audio file, it would be great to have one of the following:
- Something like ChapterXtractor but then for Bluray and HD-DVD that produces something that BeSplit can use.
- Or an audio splitter program that can use the information from the chapter file directly.

Any hint to where I can search would be very nice!

Inspector.Gadget
3rd August 2008, 04:33
I did something like what you're looking to do. First I demuxed a Blu-ray LPCM track from its M2TS container to a .pcm file. I then wrote a wav header onto it with sox and corrected the channel order with wavewizard. I was able to encode the resulting WAV to FLAC: my first thought was to then make a Matroska file with the FLAC and the chapter file from the Blu-ray disk and then split by chapters and demux the resulting FLAC files. That didn't work because mkvextract cannot extract A_FLAC for some reason. Instead, I converted the chapters file to a cue sheet by modifying the chapter times as follows: 00:01:30.500 in the chapters file became 01:30:37 on the cue sheet because there are 74 frames (well, 75) in a CDDA second, rather than 1000 milliseconds in a second as it appears in the chapter file. I was then able to split the FLAC file with the resulting cue sheet and proceed as usual.