Posts: 645
Threads: 75
Joined: 2015 Feb
Thanks: 1143
Given 406 thank(s) in 227 post(s)
Country:
Converting a 5.1 AC3 track to WAV is giving me errors in both ffmpeg and eac3to due to reaching its file limit.
The result still seems to play correctly, but looks like the headers are screwed and media players can't determine its correct length.
What is the correct way to convert multi-channel audio to WAV? Or is it possible to fix the headers?
Apologies if this has been asked before but I couldn't find anything with search.
Posts: 1,747
Threads: 73
Joined: 2015 Mar
Thanks: 351
Given 313 thank(s) in 141 post(s)
Country:
You need to use WAVE64 format. eac3to can handle it if I remember correctly, the file extension would be .w64
deleted user
Unregistered
Thanks:
Given thank(s) in post(s)
^ What he said.
There's also the RF64 standard as an alternative which I believe keeps the .wav file ending but I'm not sure if I ever saw a program that creates/handles that reliably or at all.
https://en.wikipedia.org/wiki/RF64
Fun fact, you can make MPC-HC accept wave64 files by giving them the .wav file extension, heh.
Posts: 1,225
Threads: 51
Joined: 2019 Oct
Thanks: 943
Given 654 thank(s) in 384 post(s)
Country:
2021-03-28, 05:43 PM
(This post was last modified: 2021-03-28, 05:44 PM by pipefan413.)
Both right, aye. It gets more complicated if you want to keep everything 32-bit float, as I found recently myself, but if you're doing what I think you're doing, you can just convert to either .w64 or .rf64 initially, do what you want to do, then export as mono .wav and dither & encode those. Just make sure you keep track of which channel is which so you don't end up with LFE in your right surround channel or whatever. I can probably give you a hand if you need it; I can't do a whole lot of actual editing myself just now because my system's tied up with massive data transfer stuff that I don't want to slow down by reading and writing from drives while it's happening, but I can at least talk, hahah. I'm inclined to suggest WAVE64 over RF64 after experimenting with both but I suppose it depends what exactly you're doing and in which software.