[FFmpeg-trac] #10547(undetermined:new): osq: fix decoding of 20-bit

FFmpeg trac at avcodec.org
Mon Sep 4 23:43:06 EEST 2023


#10547: osq: fix decoding of 20-bit
-------------------------------------+-------------------------------------
             Reporter:  ami_stuff    |                    Owner:  (none)
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  unspecified  |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by Balling):

 >20-bit files are actually 24-bit - raw output is identical

 Why do you think so? As an example TrueHD does not have metadata whether
 it is 16 bit, 24 bit or 20 bit (this todo can be removed
 https://github.com/FFmpeg/FFmpeg/blob/0adaa90d89114dc86dbc5704ce31ded5b6750d13/libavcodec/mlp_parse.c#L126).

 FFmpeg does not support AV_SAMPLE_FMT_S20/ WAV_SAMPLE_FMT_S20 format.
 https://github.com/FFmpeg/FFmpeg/blob/master/libavcodec/mlpenc.c#L551


 But there are actual THD files that actually are just 20 bit.

 Also EDID of my TV, LG C9 shows it supports 20 bit audio. Not that Nvidia
 driver supports that.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10547#comment:8>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list