mpv icon indicating copy to clipboard operation
mpv copied to clipboard

Show codec flavor in stats also in passthrough mode

Open mitzsch opened this issue 1 year ago • 1 comments

Expected behavior of the wanted feature

With the newest mpv it shows the codec flavor in the stats, as seen here =>

image

With passthrough enabled it only shows something like this =>

current_state

It would be awesome if instead of [spdif_dts_hd] it would also show the codec with flavor like seen above. => e.g. for TrueHD/Atmos passthrough => TrueHD [TrueHD + Atmos] or spdif_truehd [TrueHD + Atmos] or libavformat/spdifenc audio pass-through decoder [TrueHD + Atmos]

Thanks!

Alternative behavior of the wanted feature

No response

Log File

No response

Sample Files

No response

mitzsch avatar May 19 '24 18:05 mitzsch

codec profile is not accessible, this information is given by the decoder after the actual data is decoded. In passthrough mode we only have codec. I've added missing description, which should fix empty field in stats https://github.com/mpv-player/mpv/pull/14179

kasper93 avatar May 19 '24 18:05 kasper93