[FFmpeg-user] Error decoding DTS-HD MA audio files

Paul B Mahol onemda at gmail.com
Fri Aug 26 22:57:27 EEST 2022


On Fri, Aug 26, 2022 at 4:12 PM <rfischer56 at gmail.com> wrote:

> Hello
>
> Am trying to extract DTS-HD MA audio files from the following Blu-Ray
> (which
> I physically purchased)
>
> KARL RICHTER - J.S. Bach: Cantatas - Pure Audio Recordings
> <
> https://pureaudiorecordings.com/en/product/karl-richter-j-s-bach-cantatas/
> >
>
>
> I am getting the same result both with DVDAE and with MakeMKV / MMH which I
> believe both use ffmpeg to extract DTS-HD MA. About 80% of the tracks are
> correctly extracted to 24/192kHz files and around 20% of the tracks are
> extracted to 24/48kHz files which play back at ¼ speed. I then corrected
> the
> speed using
>
>
>
> ffmpeg -i 1.flac -af asetrate=192000 2.flac
>
>
>
> This now works on some of my playback equipment. However when I launch
> playback of a converted file, it shows 0/192kHz for around 5 seconds and
> only then locks to the 24/192kHz stream and plays back. This happens with
> files that were correctly extracted to 192kHz and to those that I had to
> speed up after the fact. So there seems to be something fundamentally wrong
> with the ffmpeg extraction of this BluRay
>
>
>
> I have prepared some sample files on one drive
>
> https://1drv.ms/u/s!AmpEbEYrlrk5lWGskTYvPp0iv4L3?e=U7kCRC
>
> Chapter 4 extracts correctly to 192kHz
>
> Chapter 5 extracts to 48kHz
>

The Chapter 5 file dts-hd-ma have certain delay. Thus you get with ffmpeg
first few frames in only dts core at 48kHz 16bit and later full dts-hd-ma
kicks in
with 192kHz and 32bit, but because filtering is not supporting changing of
sample rate and/or sample format at runtime all remaining frames are
filtered
back to 48kHz and 16bit. This is evident if you run ffmpeg with '-v debug'
flag.

Workaround is to force filtering at 192kHz and 32bit right at start with
this command:

ffmpeg -i Title1\ -\ Chapter\ 05.dts -af aformat=f=s32p:r=192000:cl=stereo
out.flac




>
> Both flac extract to not play back correctly on dCS Rossini
>

Hardware playback of 24bit flac at 192000 Hz is not widely supported AFAIK.


>
>
>
> Could you please take a look at this? Thanks a lot
>
> Rudi
>
>
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
>


More information about the ffmpeg-user mailing list