Quantcast
Channel: VideoHelp Forum
Viewing all articles
Browse latest Browse all 45530

MP4 audio reports AAC but is actually Opus. Possible to repair?

$
0
0
I have a few MP4 files of clips from my stream that were created wrong. They say the audio is AAC but they are actually Opus so no video player is able to figure out what to do since they are expecting AAC. Is it possible to repair these files?

Here's the error I saw with MPC-HC that details the issue: (Creator of LAVFilters verified the AAC/Opus mix up issue)

Code:

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.€».......


Viewing all articles
Browse latest Browse all 45530

Trending Articles