need help with 5.1ch 20-bit audio |
![]() ![]() |
need help with 5.1ch 20-bit audio |
Dec 18 2010, 01:43
Post
#1
|
|
|
Group: Members Posts: 3 Joined: 18-December 10 Member No.: 86600 |
heres the jist of what im attempting to do:
bluray #1: 16-bit DTS-MA audio bluray #2: 24-bit DTS-MA audio, with 20 bits of actual data (several applications identify the bit-depth as "20/24") ... id like to save the 20-bit audio as 24-bit with the last 4 bits zero'd out, which is the exact same way the source audio stream is stored). eac3to retains this even when transcoding to flac, which means that "fake" 24-bit flac files are clearly possible. however, the best ive been able to do is an "actual" 20-bit 5.1ch wav that next to nothing (including the flac encoder) can process, and a 24-bit 5.1ch wav that contains 24 bits of actual data (which bloats the file size to 3.68gb vs 2.52 for the source). Help? |
|
|
|
Dec 18 2010, 02:08
Post
#2
|
|
![]() WavPack Developer Group: Developer (Donating) Posts: 1219 Joined: 3-January 02 From: San Francisco CA Member No.: 900 |
Hmm, I'm still not sure exactly what you are trying to do, but WavPack will probably have no problems creating a lossless copy of a 20-bit, 5.1 WAV file.
|
|
|
|
Dec 18 2010, 02:16
Post
#3
|
|
|
Group: Members Posts: 3 Joined: 18-December 10 Member No.: 86600 |
i have a 24-bit (with 20 bits of actual data) audio file from one bluray. ive managed to sync it to the higher-quality video of another bluray of the same movie. i can save it as 24-bit (bloats file size) or 20-bit (nothing will read it), but im trying to find out how to save a 20-in-24bit audio file.
i actually found a post you made several years ago where you describe doing exactly what im attempting: QUOTE (You) I also created a 24-bit file that has 20-bit data in it and got these results: BPS20-24 WAV 3,856,856 (100%) BPS20-24 APE 2,815,552 (73.00%, ~7 seconds) BPS20-24 WV 2,303,130 (59.72%, ~3 seconds) BPS20-24 FLAC 2,301,059 (59.66%, ~18 seconds) BPS20-24 RKA 2,231,401 (57.86%, ~69 seconds) BPS20-24 PAC 2,228,449 (57.78%, ~13 seconds) ... 20-24 FLAC. how did you do this? |
|
|
|
Dec 18 2010, 02:28
Post
#4
|
|
|
Group: Members Posts: 4137 Joined: 2-September 02 Member No.: 3264 |
So basically your source is saved as 24 bit with garbage in the last 4 bits, so you want a way to zero the last 4 bits so it compresses more efficiently? This is pretty easy to do if you write code, but I can't think of a ready made program to do it.
That said, if you want to make a file smaller by throwing out useless bits, you might be interested in lossywav. |
|
|
|
Dec 18 2010, 02:52
Post
#5
|
|
![]() WavPack Developer Group: Developer (Donating) Posts: 1219 Joined: 3-January 02 From: San Francisco CA Member No.: 900 |
A lot of programs have trouble with WAV files that identify themselves as “20-bit” in the header, which was the point of that post. However, whether WAV files identify themselves as 20-bit or 24-bit, they both have exactly the same data (i.e., each sample is stored in 3 bytes with 4 of the bits zeroed).
Using CoolEdit (or probably Adobe Audition) it is easy to zero the lower 4 bits of a 24-bit WAV file. You just have to save it as a 20-bit WAV (the kind that programs have trouble with) and then load it back and save it again as a 24-bit WAV (making sure you don’t have dithering enabled!). How you might do that with a 5.1 file (which CoolEdit won’t handle) I’m not sure. |
|
|
|
Dec 18 2010, 06:09
Post
#6
|
|
|
Group: Members Posts: 1180 Joined: 14-April 09 Member No.: 68950 |
Just curious, but what's the size difference between the original DTS-MA file and the 24-bit FLAC file that you could compress?
|
|
|
|
Dec 19 2010, 21:57
Post
#7
|
|
|
Group: Members Posts: 3 Joined: 18-December 10 Member No.: 86600 |
DTS-MA: 3.14 GB (3,375,416,304 bytes)
FLAC: 2.52 GB (2,713,783,205 bytes) also i discovered that eac3to has the -down20 switch, which makes a 20-in-24bit audio file. and i was so sure i wasnt asking a stupid question... |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 25th May 2013 - 22:40 |