Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Create Large 5.1 FLAC (Read 4067 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Create Large 5.1 FLAC

Ok, here's the situation... I've 6 48khz 24bit mono wave files (they are quite big, is the sound from a film), and I wanna create a 5.1 flac from them... is this possible?

I've tried to do the following:
- merge them with wavewizard (WaveFmtEx output, ignore size in header)
- set manually the Channel Mask to 0x3F
- encode with flac 1.2.0 with this command: "flac infile.wav --best --ignore-chunk-size" (I use this switch because otherwise the encode doesn't even start, I think cause the wave hasn't a size in the header)

Doing these steps results in a incomplete file, cause the encoder gives me: "ERROR: got partial sample"

Any idea?

Create Large 5.1 FLAC

Reply #1
doesn't the format hve to be WAVEFOREMATEXTENSIBLE to have a channel mask?


p.s. if you do the same process with a very short clip and it doesn't work, upload/host it and I can take a look.

Create Large 5.1 FLAC

Reply #2
Exactly, that's what I meant with WaveFmtEx...
With smaller files the encode seems to work good, so I thought the problem was cause by some sort of "error" (or corrupt data) in the bigger files, by they all encode ok when I take them one by one...

Create Large 5.1 FLAC

Reply #3
Maybe you can reproduce it:
- create a long (at least 2 hours) 24 bit 48 khz wave file
- mux 6 of these files with wavewizard
- try to flac it

Create Large 5.1 FLAC

Reply #4
hmm, is the file >4GB?  that will not work either since wav does not support files that big.  if it is using zero chunk sizes as a hack, that could be made to work with --ignore-chunk-sizes but flac 1.2.0 does not support it.

Create Large 5.1 FLAC

Reply #5
Currently, it may be possible to create a large multichannel FLAC file by following the steps:

1. use Windows Media Mono to Multichannel Wave Combiner 9 Series
This command line tool will combine 2, 6 or 8 mono WAV files into an audio-only AVI file that can be used as a source with the Windows Media Encoder 9 Series.
2. use VLC to transcode AVI file to FLAC. If needed, see also Advanced streaming using the command line.

Create Large 5.1 FLAC

Reply #6
I've already tried --ignore-chunk-size, but it results in that error described in the first post...
Now I'm trying a new approach to the thing, using raw samples instead of a wav as source... eac3to can successfully complete the encode in this way...

Edit: success!!!