Open FranceBB opened 3 years ago
Thanks for the report.
I haven't yet taken a closer look, but is it possible that "Delay relative to video: -9 h 59 min" affected the indexing? (the delay moved the audio tracks so far ahead that when the video starts, they are already over.)
Though in this case, the audio output shouldn't be noise....
Not really. That's the timecode set at 10.00.00.00 which is common for broadcasters. No, I think that LWLibavAudioSource() is trying to decode it incorrectly and that the channel map has to be specified. This is actually common for DolbyE files (see FFMpeg), but it has to be done in the code
p.s please download the sample (or reupload it somewhere) 'cause WeTransfer deletes it after 7 days
Thanks very much for the explanation. I will see what I can do.
By the way we're also discussing this here: https://forum.doom9.org/showthread.php?p=1955905 but still, there must be something we can do from an indexer point of view.
Here's another sample:
(unfortunately it's just 1 second 'cause GitHub is picky about 10 MB max file size)
Here's another sample, this time without video, just a normal DolbyE 5.1 + 2.0 track muxed as .wav (SMPTE ST 337) and zipped (.zip) for GitHub upload. DolbyE_51_20.zip
DolbyE audio decoding doesn't work and DolbyE tracks are decoded as noise instead.
Expected behavior
Once Indexing an mxf file with DolbyE 5.1 tracks is concluded, LWLibavAudioSource() should be able to recognize them and index them correctly providing a nice decode. The decoding is already supported in FFMpeg.
Actual behavior of LWLibavAudioSource
Audio is indexed and decoded as noise which might damage hardware.
How to reproduce
Step 1: Download the sample file from here: https://we.tl/t-R8dRX8gIzT Step 2: Index it with LWLibavAudioSource() Step 3: Hear the noise on the first track and on the second track via VirtualDub or whatever
Avisynth Script
Audio Layout of the Sample:
The sample has the following audio layout: Track 1: DolbyE 5.1 + 2.0 Stereo Downmix Italian Track 2: DolbyE 5.1 + 2.0 Stereo Downmix English Track 3: PCM S24LE 2.0 Stereo Downmix Italian (you can index and listen to this one just fine) Track 4: PCM S24LE 2.0 Stereo Downmix English (you can index and listen to this one just fine)
Behavior with other indexers:
The very same happens with FFAudioSource() and BestAudioSource()
Mediainfo
How to decode DolbyE 5.1 with FFMpeg