2021-01-10, 12:40 PM
[Help] 7 mono WAV files to 6.1
|
2021-01-10, 01:26 PM
(This post was last modified: 2021-01-10, 02:25 PM by Chewtobacca.)
(2021-01-10, 12:40 PM)allldu Wrote: And I suspect same goes for Dolby TrueHD? I'm afraid so. EDIT: The issue isn't simply that PCM is raw and therefore cannot have a ".1" channel. (If that were so, then all six-track PCM would be treated as 6.0, and all eight-track PCM would be treated as 8.0, which is not the case.) Rather, the issue is also about the assumption made about PCM streams by hardware, etc. Six-track and eight-track streams are correctly assumed to be 5.1 and 7.1 respectively because those are the default/"only" channel configurations, but seven-track audio has two valid channel configurations (6.1 and 7.0), which is what causes the confusion, hence the modification made to eac3to's default behavior when converting 6.1 to PCM for BD. Thanks given by: allldu
Here's some batch files I made for converting 6 mono waves to 5.1 and 8 mono waves to 7.1 using ffmpeg. Save these as a text file with the .bat file extension in the same folder as your ffmpeg.exe.
I just drag the 6 or 8 files and drop on the batch file, and it does all the work. Just make sure to name the files in the correct order. I typically add _1, _2, _3, etc. to the file names in the correct order. For example: audio_1.wav (Left Channel) audio_2.wav (Right Channel) audio_3.wav (Center Channel) audio_4.wav (LFE Channel) audio_5.wav (Surr. / Side Left Channel) audio_6.wav (Surr. / Side Right Chanel) *audio_7.wav (Back Left Channel) *audio_8.wav (Back Right Channel) Note that you can use the script to batch processes as many files as you want, for instance dropping 18 wav files will create 3 5.1 files. Also note that ffmpeg will automatically set the default channel mask for 5.1 / 7.1. These batch files can easilty be altered to suit a different channel format, as well. For 24bit pcm, 6mono --> 5.1 wav. (if you are working with 16 bit audio, you can leave out the "-c:a pcm_s24le" text below. Code: @ECHO OFF For 24bit pcm, 8mono --> 7.1 wav. (if you are working with 16 bit audio, you can leave out the "-c:a pcm_s24le" text below. Code: @ECHO OFF I typically output to wav for this, and convert to flac using eac3to. eac3to is able to convert wav to flac, even for file sizes larger than the 2or 4GB limit for wav. |
« Next Oldest | Next Newest »
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
![]() |
[Help] Detect whether 2.0 Audio is Dual Mono or Stereo | GjRedo | 2 | 1,110 |
2023-12-09, 08:35 PM Last Post: Doctor M |
Getting Two Audio Files to Sync | Lio | 3 | 3,110 |
2019-11-12, 05:33 AM Last Post: deleted user |
|
AudioMedian Tool (Median from multiple audio files) | deleted user | 5 | 4,758 |
2019-08-23, 03:05 PM Last Post: deleted user |
|
Editing mkv files | Serums | 2 | 3,702 |
2018-06-21, 08:46 AM Last Post: Serums |
Users browsing this thread: 1 Guest(s)