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. |
26th July 2015, 20:07 | #13381 | Link |
Registered User
Join Date: Sep 2006
Posts: 2,197
|
is there a way to losslessly change wave/pcm files from 176kHz to flac? when I use the switches -override and -192000 nothing happens, the output flac file still has a sample rate of 176kHz
I can use -ResampleTo192000 but then I get the message "Reducing depth from 64 to 24 bits..." so I dont know if the outcome can still be considered lossless.
__________________
Laptop Lenovo Legion 5 17IMH05: i5-10300H, 16 GB Ram, NVIDIA GTX 1650 Ti (+ Intel UHD 630), Windows 10 x64, madVR (x64), MPC-HC (x64), LAV Filter (x64), XySubfilter (x64) (K-lite codec pack) |
26th July 2015, 20:20 | #13382 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,782
|
I don't really understand your intentions ... FLAC is a lossless compressor for integer PCM samples without changing the attributes as long as they are supported. If it gets 176 kHz PCM as input, why should the FLAC compressed result have any other sampling rate than 176 kHz? There should be no reason that FLAC would support 192 kHz, but not 176 kHz.
If you wanted to resample 176 kHz to 192 kHz, this resampling won't be lossless. There will probably be a conversion using floating point values intermediately. |
26th July 2015, 23:39 | #13383 | Link |
契約者
Join Date: Jun 2008
Posts: 1,576
|
Thunderbolt8
It will not be lossless. It is similar to converting pcm to MP3 then to FLAC (but far less destructive) where result is a lossless format that contains data that is no longer lossless. And btw, if you started with 16bit pcm, your result will not only be lossy, but an upscale too (in terms of bitdepth, not only sample count) That said, I have no idea whether flac supports 176kHz, but I don't really see why it wouldn't. If for some reason it does not have support for it, you better use a different format that can handle it. Last edited by Keiyakusha; 26th July 2015 at 23:45. |
27th July 2015, 05:08 | #13384 | Link | ||
Registered User
Join Date: Mar 2011
Posts: 4,829
|
According to the info here, the maximum bitdepth supported by flac is 32 bit. https://xiph.org/flac/faq.html#general__samples
It also states: FLAC supports linear sample rates from 1Hz - 655350Hz in 1Hz increments Only I couldn't make a 32 bit flac file no matter what I did. I tried the command line and several GUIs and the best I could manage was an error message stating 32 bits per sample is unsupported. Creating a 176kHz wave file was easy. Creating a 176kHz, 64 bit (float) wave file wasn't much harder (adding -full to the command line): Quote:
Quote:
Last edited by hello_hello; 27th July 2015 at 05:11. |
||
27th July 2015, 08:40 | #13385 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,782
|
FLAC may be able to support up to 32 bit integer resolution by specification. But eac3to may limit the internal resolution to a sane amount of 24 bit:
Most PCM audio streams may have only 16 or at most 24 bit per sample integer resolution. If you have a lossy format based on frequency spectrum subbands, you will usually have encoded 32-bit floating point values, which have a mantissa precision of 24 bit (see IEEE floating point specs regarding "Single Precision Float"). Even if eac3to converts audio to "Double Precision Float" (64 bit overall, 53 bit mantissa), the original samples still had at most 24 bit precision (rather less in less-than-maximum-volume scenes), therefore it doesn't make sense to waste more than 24 bits after any conversion. I doubt you will ever get your hands on PCM samples with true 32 bit integer resolution. |
27th July 2015, 09:14 | #13386 | Link | |
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Quote:
|
|
27th July 2015, 10:07 | #13387 | Link | |
Registered User
Join Date: Apr 2015
Location: Germany
Posts: 20
|
Quote:
the demuxxed dtshd has other file aborted position. ^^ eac3to v3.29 DTS Master Audio, 7.1 channels, 24 bits, 48kHz (core: DTS, 5.1 channels, 1509kbps, 48kHz) dts, 48000, 7.1 Decoding with libDcaDec DTS Decoder... Writing WAV... Creating file "V:\00018.mpls_6ger.dtshd_.wav"... The libDcaDec DTS Decoder reported the error "Bitstream navigation error" while decoding. <ERROR> Aborted at file position 1368129536. <ERROR>
__________________
32bit Vista SP2 (DX11 Platform Update), Nvidia GTX960 4GB AMP (365.19), 1. 27' FHD Benq / 2. 65' UHD HDR Sony XE93, madVR 0.92.17, LAV 0.73.1, MPC-HC 1.8.3 |
|
27th July 2015, 10:14 | #13388 | Link | |
Registered User
Join Date: Sep 2006
Posts: 2,197
|
Quote:
__________________
Laptop Lenovo Legion 5 17IMH05: i5-10300H, 16 GB Ram, NVIDIA GTX 1650 Ti (+ Intel UHD 630), Windows 10 x64, madVR (x64), MPC-HC (x64), LAV Filter (x64), XySubfilter (x64) (K-lite codec pack) Last edited by Thunderbolt8; 27th July 2015 at 10:23. |
|
27th July 2015, 10:24 | #13390 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,347
|
You cannot convert DSD to FLAC lossless. There is always going to be a loss when converting DSD to PCM, or vice-versa.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
27th July 2015, 10:24 | #13391 | Link | |
Registered User
Join Date: Apr 2015
Location: Germany
Posts: 20
|
Quote:
http://workupload.com/file/5ppYHVxe
__________________
32bit Vista SP2 (DX11 Platform Update), Nvidia GTX960 4GB AMP (365.19), 1. 27' FHD Benq / 2. 65' UHD HDR Sony XE93, madVR 0.92.17, LAV 0.73.1, MPC-HC 1.8.3 Last edited by Smithy; 27th July 2015 at 10:29. |
|
27th July 2015, 11:17 | #13392 | Link | |
Registered User
Join Date: Dec 2002
Posts: 5,565
|
Quote:
But as you say: it's probably that way because it's sane. |
|
27th July 2015, 11:23 | #13393 | Link | |
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Quote:
|
|
27th July 2015, 11:39 | #13394 | Link | |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,782
|
Quote:
https://sourceforge.net/projects/flac/ http://www.rarewares.org/lossless.php |
|
27th July 2015, 11:53 | #13396 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,782
|
Please excuse the counter-question ... but: Would there be any reason to spend any time on re-programming an OpenSource software with a rather tolerant free license?
I don't know any source adoption as freely available as the reference implementation by Xiph.org yet. |
27th July 2015, 12:24 | #13397 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,347
|
Often its a good idea to have independent implementations, as it can drive new ideas and improvements. For FLAC, FFmpeg has an independent decoder and encoder, but it seems limited to 24-bit as well.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
27th July 2015, 14:36 | #13398 | Link | ||
Registered User
Join Date: Mar 2011
Posts: 4,829
|
Quote:
I can make a 32 bit wave file easily enough with Audacity. I think. This is 32 bit integer isn't it? Quote:
Audacity is the only program I have installed that'll output a 32 bit integer wave file. The other programs such as foobar2000 seem to want to output a 32 bit float wave file. You're right though, anything over 24 bit for a flac file would definitely be overkill. I was just curious to try it when I read Thunderbolt8's question. I don't know much about DSD, but according to Wikipedia it's comparable to 20 bit, 96kHz PCM, so a 24 bit flac file should be quite adequate. Last edited by hello_hello; 27th July 2015 at 14:41. |
||
27th July 2015, 15:17 | #13399 | Link | |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,782
|
Quote:
I rather mean: I wonder if there is any hardware recording audio with up to 32 bit precision. But I doubt that there are many 32-bit ADC (analogue-digital convertors) available, as well as I doubt there are many microphones with a sensitivity required to record with 32 bit precision. IMHO, there are physical and electronical limits which would make audio recording with 32 bit precision very improbable. And even if, the "noise carpet" on any realistic movie set (not in "deaf rooms", not for synthetic sounds) would probably be high enough to return a signal-to-noise ratio even below the 24 bit treshold (don't remember exactly where it was, 120 dB?). So in most practical cases, 32 bit precision would be an illusion, lying on a big fluffy carpet of noise. Last edited by LigH; 27th July 2015 at 15:19. |
|
27th July 2015, 21:03 | #13400 | Link | |
Registered User
Join Date: Feb 2015
Posts: 6
|
BDMV eac3to pipe ffmpeg
hello guys and girls, I would like to convert some BDMV's folders. I would like to use eac3to to to get the correct mpls file and send all tracks on ffmpeg stdin and convert.
I have thought about using something like that.. Quote:
What am I doing wrong? or there is a fast way to do that?... I don't actually have to use only ffmpeg and eac3to.. thanks guys Last edited by ZMachine95; 27th July 2015 at 21:07. |
|
Tags |
eac3to |
|
|