FFMPEG-Audio-Encoder
FFMPEG-Audio-Encoder copied to clipboard
Bits Per Sample & Sample Rate Conversions
Would it be possible to add options to do Bits Per Sample & Sample Rate Conversions?
Example 24bit/96 kHz ->16bit/44.1 kHz
This shouldn't be too difficult to implement
There is already a sample rate conversion that is supported by each codec
However, bit depth conversion is not supported at this time. In general MOST lossy codecs actually only support 16 bit. This would not be modifiable in the lossy codecs. Could add support for it in the lossless codecs which is really just FLAC.
So not sure if this is worth looking at anymore than this. However, adding SOXR as the resampler might be worth it, but this would only be builds of FFMPEG that supports it. (I think by default most of them do now)
Totally missed the Sample Rate option in there. ;)
Don't think i've every seen an lossy that's not 16-bit. As you say, 24-bit is seen in lossless files as FLAC, WavPack etc.
SoX is said to be the best one out there according to many.
Try and add the best solution in your mind when it comes to bit depth conversion.
Any progress related to bit depth conversion or? Just a little inquiry here ;)
Hello,
Last we discussed above (I know it's been a while), the only supported codec we use is FLAC for bit depth conversion. Utilizing SOX would be nice, but I haven't done any work on this. I've been working on LOTS of other tools, some closed source tools that I'll bring to light eventually.
Explain to me exactly what you'd like to see and perhaps we can see about potentially adding it into the software! Remember, if there is a specific use case, you can save a profile with custom command line settings (like using SOX/bit depth for FLAC).
It was a friend of mine that asked i've heard anything more about this. I know there is other solutions available out there for bit depth conversion so i actually think we can let this one pass.
It was a friend of mine that asked i've heard anything more about this. I know there is other solutions available out there for bit depth conversion so i actually think we can let this one pass.
Alright! We'll, re-open an issue if you can think of anything else.