Nevcairiel / LAVFilters

LAV Filters - Open-Source DirectShow Media Splitter and Decoders
GNU General Public License v2.0
7.53k stars 792 forks source link

TrueHD Atmos Dropouts #624

Open toni-do opened 3 weeks ago

toni-do commented 3 weeks ago

Hi,

LAV made good progress but unfortunately there are still dropouts on remuxed TrueHD Atmos tracks of seamless branched disks. This is caused by the demux/remux tools, not LAV.

It seems the Kodi developers have found a way to mitigate these droputs: https://github.com/xbmc/xbmc/issues/24944 https://github.com/xbmc/xbmc/pull/24984

I have tested it - it works, no dropouts so far.

I'm not a developer but I would kindly ask you to have a look at their solution. Can it be implemented into LAV?

Nevcairiel commented 3 weeks ago

Did you by chance notice that their changes are a copy of LAVs solution? What they are doing is pretty much an identical copy of my code, down to the comments. And they also call that out in the PR you link. So there doesn't seem to be anything to gain.

Nevcairiel commented 3 weeks ago

Could you name a disc that has this problem often, for investigation?

clsid2 commented 3 weeks ago

The audio renderer may also possibly play a role in whether you experience issues or not. See this post on Doom9.

toni-do commented 3 weeks ago

The Martian Extended Cut. Used DGDemux to extract Dolby Atmos from the complete disk, then used mkvtoolnix to create a mkv file. Playback via JRiver/MadVR and latest LAVFilters. Audio bitstreamed to Receiver via WASAPI.

I have disabled "Auto A/V Sync correction" to prevent video frame drops (which are caused by the Atmos track, same video with other audio tracks works flawless)

I could upload a sample if that would help.

Aleksoid1978 commented 2 weeks ago

Check on original disk. Maybe demux/mux soft is bad work with Dolby Atmos.

toni-do commented 2 weeks ago

The audio renderer may also possibly play a role in whether you experience issues or not. See this post on Doom9.

I have now tried multiple audio renderer (including MPC HC Audio Renderer and SaneAR), unfortunately it makes no difference. But thanks for your suggestion.