Hello guest, if you like this forum, why don't you register? https://forum.fanres.com/member.php?action=register (December 14, 2021) x

44.1khz Lossless Options

7 Replies, 687 Views

So here's my problem:

I use Kodi (Leia) as my playback device and for multichannel LPCM or FLAC files, it will send them to my receiver as 44.1khz with no resampling, same goes for AC3, DCA, TrueHD, and DTSMA.  The problem I am running into is that if the .mkv is 2 channel 44.1khz, it always wants to resample and output to 48khz.  I have tried all variations on the audio settings for Kodi and the ShieldTV to no avail.  Rather than upgrade to a new version which breaks some other customizations I've done to the skin for cinematic playback, I'd rather look at encoding to a format that supports this sample rate.  I know old school DTS wav can, and it appears TrueHD and AC3 can as well.  I gave it a whirl with an old version of the Dolby Media encoder first but it keeps erroring out saying "invalid sample rate".  Currently trying 640kbps AC3 which should do just fine.  At what point is that mild compression worse than re-sampling it which is doing who knows what to the original audio?

In the end, I'm just trying to avoid any resampling at all on these stereo tracks so I don't introduce anything bad in the audio signal.  

Of course, this could all be moot because at my age, I probably couldn't tell the different between the original wav/flac vs. a 384 kbps AC3 encode.  Smile
I'd rather keep untouched, uncompressed source, and let the player re-encode it on the fly, instead of compress it to preserve the 44.1kHz...
Sadly my projects are lost due to an HDD crash... Sad
Fundamental Collection | Vimeo channel | My blog
I think this is more of an issue with Kodi and/or the Shield. I have one in my setup, and it outputs in stereo 48khz as a default unless you're outputting another format such as bitstream or multichannel PCM. I assume it would be a simple addition in kodi to force it to output 44.1khz when playing stereo, assuming the Shield is even capable of doing so.

I'd keep using FLAC/WAV, it's the best format for the use-case and it's not worth it using something else to bypass an issue that might eventually get fixed in a Kodi update.
Complete side track but with my kodi/shield pro setup I have to use Krypton 17.6. With anything post 17.6, if I enable passthrough, I get micro stutter on all video. It was driving me up the wall, I went through every forum post I could find and no matter what settings I changed it was the same. Installed a third party app that was supposed to fix it but it still happened. Panning shots were especially annoying for it as I got quite sensitive to noticing it. Turn passthrough off and it was fine. So in the end I went back to 17.6 and now I notice it like 2-3 times throughout the movie. I also get micro stutter when watching netflix via the shield.
(This post was last modified: 2021-12-01, 04:42 PM by alleycat.)
This isn't unusual, it's probably happening to way more people than even realize it. For instance, if you run your player into the TV first before amp its almost guaranteed to be resampled. Realistically though there is most likely no audible difference. If you're going to take the time to re-encode it you can just resample it to a 48kHz FLAC with eac3to. A site was posted a while back with resampling tests run on pretty much every major program and eac3to passed all the tests with zero distortion.
That's good to know that eac3to has a quality resampler. I know I'm splitting hairs with all this but I'm a geek, and we just tend to do these things.

I did do a test just for fun and encoded a 2 channel 44.1khz to DTS wav to preserve the sample rate. Flipping back and forth, it was impossible to tell the difference on my system. The only nice thing about bitstreams vs. flac/lpcm is that my receiver always plays the bitstreams with no dial norm 4dB louder. This is of course expected and fine, but can become a pain when I'm playing a playlist with mixed content and having to ride the fader.
That sounds cool, what program are using to encode the DTS?
A rather old version of DTS HD Encoder Suite. What I did was encode as a DTS WAV in there and then used wav2dts to parse it into a nice, clean, .dts file for muxing.

It made me feel like someone in 1998 creating these for DTS LaserDisc. Haha.

Possibly Related Threads…
Thread Author Replies Views Last Post
  Is there a lossless (or as close as possible) way to convert from 30 fps to 23.976? Serums 2 2,735 2021-11-16, 01:34 PM
Last Post: Serums
  4K 10bit Rec2020 HDR to Lossless format for editing ? CSchmidlapp 19 2,807 2021-02-04, 01:55 PM
Last Post: CSchmidlapp
  Lossless codecs Colek 3 3,520 2019-11-17, 04:51 PM
Last Post: CSchmidlapp
  Options for Removing Burned in Subtitles bronan 1 1,556 2019-01-07, 09:28 PM
Last Post: TomArrow
  Lossless conversion from MOV? Serums 2 1,722 2018-12-20, 05:14 AM
Last Post: Serums
  lossless codecs problem spoRv 7 5,340 2016-11-08, 12:10 AM
Last Post: Chewtobacca
  Which lossless video codec to use? spoRv 29 31,438 2015-06-09, 12:27 AM
Last Post: spoRv

Users browsing this thread: 1 Guest(s)