I'll usually extract the track with Invisika and rename it to something short and then use eac3to to convert to flac or encode to dts-hd ma.
eac3to.exe input.pcm output.flac
How to convert PCM into Flac
Re: How to convert PCM into Flac
If you just want to rip seperate audio chapters, try my simple Foobar2000 method :ultradj83 wrote: Sun May 22, 2016 6:21 am Dears,
I'm trying to rip a Bluray Audio disc to FLAC.
This disc contains a video track just showing titles and a 96kHz 24bits 5.1 channels LPCM audio track.
There's only 1 title splitted in 9 chapters, each one containing a song as usual, and here's the issue.
I want to rip each song to a FLAC file, but chapter markers are only seen by players (ex. VLC, Media Player Classic, etc.), while any rip software (ex. Handbrake, MakeMKV) sees a single chapter.
.........
How can I rip any chapters to the related FLAC file?
1. Use MakeMKV to convert BD Audio into a single MKV (title with audio) file.
2. Open the MKV file in foobar2000.exe on your PC.
3. You can see all seperate tracks (chapters per title) in foobar2000.
4. Right-click on select tracks and choose "Convert" to change them to FLAC format.
5. You can set up the conversion format (e.g. mp3, m4a, 24-bit, 16-bit, etc.).
-
burningfool
- Posts: 3
- Joined: Fri Mar 06, 2026 9:18 pm
Re: How to convert PCM into Flac
This has always worked well for me. I usually extract only the stereo tracks for 2-channel listening, and I can easily identify those in the Foobar window.dewen wrote: Thu Mar 06, 2025 5:11 amIf you just want to rip seperate audio chapters, try my simple Foobar2000 method :ultradj83 wrote: Sun May 22, 2016 6:21 am Dears,
I'm trying to rip a Bluray Audio disc to FLAC.
This disc contains a video track just showing titles and a 96kHz 24bits 5.1 channels LPCM audio track.
There's only 1 title splitted in 9 chapters, each one containing a song as usual, and here's the issue.
I want to rip each song to a FLAC file, but chapter markers are only seen by players (ex. VLC, Media Player Classic, etc.), while any rip software (ex. Handbrake, MakeMKV) sees a single chapter.
.........
How can I rip any chapters to the related FLAC file?
1. Use MakeMKV to convert BD Audio into a single MKV (title with audio) file.
2. Open the MKV file in foobar2000.exe on your PC.
3. You can see all seperate tracks (chapters per title) in foobar2000.
4. Right-click on select tracks and choose "Convert" to change them to FLAC format.
5. You can set up the conversion format (e.g. mp3, m4a, 24-bit, 16-bit, etc.).
-
charles555
- Posts: 1
- Joined: Mon Aug 31, 2026 12:30 pm
Re: How to convert PCM into Flac
I wouldn’t suspect the .wav extension by itself. mkvextract determines the output format from the track’s codec type, not simply from the filename extension, and PCM tracks are normally extracted as WAV.steagle wrote: Mon Mar 12, 2012 3:44 pm Bummer, I'll have to take that back... I didn't test the file thoroughly when I posted that. MKVExtract did extract the PCM track successfully, but after encoding to DTS-HD MA with the same number of channels (in this case it was 1.0 Mono), I just get garbled noise in the remuxed MKV. It probably has to do with the fact that I added the .wav extension to the extracted PCM track. But without giving it a usable extension, Windows wouldn't recognize the original file at all and thus the DTS encoding suite wouldn't load it. Anyone else have any experience with these sets of programs?
The garbled result makes me think the DTS encoder may be interpreting the extracted PCM incorrectly — especially the sample rate, bit depth, signedness or endianness. I’d run MediaInfo on the original MKV/PCM track and compare those values with what the DTS-HD encoder is expecting. There have been similar cases with Blu-ray PCM where the track is, for example, 24-bit, 48 kHz and big-endian.
So before changing the extension again, I'd verify the exact PCM parameters and make sure the encoder is getting a proper WAV header describing them. If you post the MediaInfo output for the extracted track, it should be much easier to tell where the mismatch is.