Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
|
16th December 2016, 22:40 | #1 | Link |
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,815
|
LossyFlacGUI
This application was designed to simplify process of processing FLAC files using lossywav. Unfortunately Lossywav is quiet slow due to single threaded nature. In order to speed up processing with lossywav work is split in chunks using --skip and --until switches and then all chunks are executed simultaneously. Split points are done according to optimal block size (512 for 44.1/48KHz or 1024 for 96KHz or 2048 for 192 KHz). Example for 2 threads. chunk 1 Code:
"flac.exe" -d "audio.flac" --skip=0 --until=7379456 --silent --stdout | "lossywav.exe" - --stdinname "audio.001.wav" --force --outdir "..\LossyFlacGUI_temp" Code:
"flac.exe" -d "audio.flac" --skip=7379456 --silent --stdout | "lossywav.exe" - --stdinname "audio.002.wav" --force --quality standard --outdir "..\LossyFlacGUI_temp" No matter how many CPUs you have on motherboard each core will work at 100% reducing processing time significantly. This is very helpful if you work with long movie audio tracks. My Xeon E5-2690 (8C/16T) can convert 120 min 48KHz 6 channels 24 bit in ~1min:30s where before it took ~17min! Of course there is small bottleneck because wavs must be combined (using SOX) and encoded back to FLAC. I suppose this shouldn't be a big problem if you have decent MLC SSD and GPU (encoding with FlacCL). Download http://www.mediafire.com/file/qepld4...cGUI_v1.0.1.7z
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper |
17th December 2016, 01:19 | #2 | Link |
Registered User
Join Date: Dec 2008
Posts: 589
|
I honestly don't see the point of making these not lossless , not lossy sound files.
If you want almost lossless, why don't you just go for Opus 512 kbps VBR (the maximum possible) ... you'll get almost transparent sound files, encoded much faster. |
17th December 2016, 11:35 | #3 | Link |
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,815
|
Because not all tvs support opus? Because this method is alot less agresive? Because 24 bit or even 16 bit audio is just an overkill for human beings? Lossywav by reducing bitdepth acts like video denoiser. Even gentle denoising can improve lossless video compression (ut video/magicyuv)
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper Last edited by Atak_Snajpera; 17th December 2016 at 11:43. |
17th December 2016, 17:13 | #4 | Link | |
Registered User
Join Date: Apr 2008
Posts: 418
|
Quote:
But in music use it is pretty much useless, I'd rather keep my files at the SACD quality in which I purchased them. Some I still have to purchase in CD quality which is unfortunate and most certainly don't need even more compression. But I am not unreasonable, if you listen to music through tin cans while using floppy disks as a storage format I can see the appeal of LossyFlac. Last edited by Gser; 17th December 2016 at 17:27. |
|
17th December 2016, 22:39 | #5 | Link | |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
Quote:
What really is "overkill" are sampling-rates above 48 KHz. That's because at a sampling-rate of 48 KHz you can already retain frequencies up to 24 KHz (without aliasing), according to Nyquist–Shannon sampling theorem. And the highest frequency humans can hear is about ~20 KHz. For most adults it's actually way lower. So, sampling frequencies higher than 48 KHz are pretty much "snakeoil". That's why modern audio formats, like Opus, are fixed at 48 KHz.
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 17th December 2016 at 22:42. |
|
4th January 2020, 19:10 | #6 | Link | ||||
Registered User
Join Date: Apr 2014
Posts: 32
|
While being a little late to kick in, the following is still valid so I don't wanna leave it uncommented after having stumbled across it:
Quote:
Quote:
Quote:
Quote:
Absolutely, the same is true for video by the way. Sadly, only very few seem to have a profound understanding here which gets us uncountable Blu-ray-releases with severe, ugly banding artifacts. With the sampling part of your posting I entirely agree. |
||||
17th December 2016, 17:51 | #7 | Link | |||
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,815
|
Quote:
Quote:
Quote:
Original FLAC Code:
General Complete name : C:\Users\Dave\Desktop\audio1.flac Format : FLAC Format/Info : Free Lossless Audio Codec File size : 211 MiB Duration : 10 min 14 s Overall bit rate mode : Variable Overall bit rate : 2 885 kb/s Audio Format : FLAC Format/Info : Free Lossless Audio Codec Duration : 10 min 14 s Bit rate mode : Variable Bit rate : 2 885 kb/s Channel(s) : 6 channels Channel positions : Front: L C R, Side: L R, LFE Sampling rate : 48.0 kHz Bit depth : 24 bits Stream size : 211 MiB (100%) Writing library : libFLAC 1.3.1 (UTC 2014-11-25) Code:
Format : FLAC Format/Info : Free Lossless Audio Codec File size : 103 MiB Duration : 10 min 14 s Overall bit rate mode : Variable Overall bit rate : 1 408 kb/s Audio Format : FLAC Format/Info : Free Lossless Audio Codec Duration : 10 min 14 s Bit rate mode : Variable Bit rate : 1 408 kb/s Channel(s) : 6 channels Channel positions : Front: L C R, Back: L R, LFE Sampling rate : 48.0 kHz Bit depth : 24 bits Stream size : 103 MiB (100%) Writing library : libFLAC 1.3.1 (UTC 2014-11-25) Code:
Format : FLAC Format/Info : Free Lossless Audio Codec File size : 74.2 MiB Duration : 10 min 14 s Overall bit rate mode : Variable Overall bit rate : 1 012 kb/s Audio Format : FLAC Format/Info : Free Lossless Audio Codec Duration : 10 min 14 s Bit rate mode : Variable Bit rate : 1 012 kb/s Channel(s) : 6 channels Channel positions : Front: L C R, Back: L R, LFE Sampling rate : 48.0 kHz Bit depth : 24 bits Stream size : 74.2 MiB (100%) Writing library : libFLAC 1.3.1 (UTC 2014-11-25)
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper Last edited by Atak_Snajpera; 17th December 2016 at 17:55. |
|||
18th December 2016, 14:45 | #8 | Link |
Registered User
Join Date: Apr 2008
Posts: 418
|
Ah yes, perhaps I should have mentioned I first had to convert the TrueHD file to a flac file which size was 2.5GB. So yes flac to flac compression is decent but seems TrueHD is better at compression than flac.
What I meant by bit depth is that indeed Lossy does fiddle around with perceived bit depth but even in the guide it says that it is optimized for 16-bit, 44.1kHz sources meaning it is better to lower the bit depth before compression rather than relay on its perceived bit depth manipulation for optimal compression. Last edited by Gser; 18th December 2016 at 14:49. |
17th December 2016, 20:00 | #9 | Link |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,915
|
Maybe OPUS is still not supported by some players, but also FLAC is not fully supported.
We have AAC than is compatible with any actual player. There are some audio test than compare the quality between this method and the equivalent, or near, bitrate using AAC?
__________________
BeHappy, AviSynth audio transcoder. |
5th January 2020, 00:33 | #11 | Link | |
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,815
|
Quote:
https://hydrogenaud.io/index.php/top...msg498343.html
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper |
|
|
|