Nevcairiel / LAVFilters

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

Unable to Render Some Pins #259

Closed JoshQuake closed 5 years ago

JoshQuake commented 5 years ago

Having an issue opening mp4 files generated by Streamlabs OBS. I don't know if it has corrupt audio, I don't have the codecs, or if there is an issue with LAVFilter.

file: https://mega.nz/#!WbxBDSjZ!PzBOkrGk_Se7oUr8_qBifWtUv2ZGn5nD21wfW5DfMV4

LAV Splitter Source (internal)::Audio

Media Type 0:
--------------------------
Audio: AAC 48000Hz stereo 151kbps

AM_MEDIA_TYPE: 
majortype: MEDIATYPE_Audio {73647561-0000-0010-8000-00AA00389B71}
subtype: Unknown GUID Name {53544441-0000-0010-8000-00AA00389B71}
formattype: FORMAT_WaveFormatEx {05589F81-C356-11CE-BF01-00AA0055595A}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 256000
cbFormat: 37

WAVEFORMATEX:
wFormatTag: 0x4441
nChannels: 2
nSamplesPerSec: 48000
nAvgBytesPerSec: 18933
nBlockAlign: 1
wBitsPerSample: 0
cbSize: 19 (extra bytes)

pbFormat:
0000: 41 44 02 00 80 bb 00 00 f5 49 00 00 01 00 00 00 AD..€»..õI......
0010: 13 00|4f 70 75 73 48 65 61 64 01 02 38 01 80 bb ..OpusHead..8.€»
0020: 00 00 00 00 00                                  .....

Media Type 1:
--------------------------
Audio: AAC 48000Hz stereo 151kbps

AM_MEDIA_TYPE: 
majortype: MEDIATYPE_Audio {73647561-0000-0010-8000-00AA00389B71}
subtype: Unknown GUID Name {000000FF-0000-0010-8000-00AA00389B71}
formattype: FORMAT_WaveFormatEx {05589F81-C356-11CE-BF01-00AA0055595A}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 256000
cbFormat: 37

WAVEFORMATEX:
wFormatTag: 0x00ff
nChannels: 2
nSamplesPerSec: 48000
nAvgBytesPerSec: 18933
nBlockAlign: 1
wBitsPerSample: 0
cbSize: 19 (extra bytes)

pbFormat:
0000: ff 00 02 00 80 bb 00 00 f5 49 00 00 01 00 00 00 ÿ...€»..õI......
0010: 13 00|4f 70 75 73 48 65 61 64 01 02 38 01 80 bb ..OpusHead..8.€»
0020: 00 00 00 00 00                                  .....

Media Type 2:
--------------------------
Audio

AM_MEDIA_TYPE: 
majortype: MEDIATYPE_Audio {73647561-0000-0010-8000-00AA00389B71}
subtype: Unknown GUID Name {AFBC2343-3DCB-4047-9655-E1E62A61B1C5}
formattype: Unknown GUID Name {35189950-CAC9-4C8D-819D-B6FAEE15DD9D}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 256000
cbFormat: 43

WAVEFORMATEXFFMPEG:
nCodecId: 0x15002

WAVEFORMATEX:
wFormatTag: 0x00ff
nChannels: 2
nSamplesPerSec: 48000
nAvgBytesPerSec: 18933
nBlockAlign: 1
wBitsPerSample: 0
cbSize: 19 (extra bytes)

pbFormat:
0000: 02 50 01 00 ff 00 02 00 80 bb 00 00 f5 49 00 00 .P..ÿ...€»..õI..
0010: 01 00 00 00 13 00 4f 70|75 73 48 65 61 64 01 02 ......OpusHead..
0020: 38 01 80 bb 00 00 00 00 00 00 00                8.€».......
Nevcairiel commented 5 years ago

The file appears to claim to be AAC, but actually contain Opus audio, hence it fails to open. Something screwed up in the creation of that file.

JoshQuake commented 5 years ago

How strange. Thank you very much for the quick response!