Search Issue Tracker

Won't Fix

Votes

0

Found in

2020.3.37f1

2021.3.6f1

2022.1.9f1

2022.2.0b1

2023.1.0a3

Issue ID

UUM-9125

Regression

No

WindowsVideoMedia error in the Console when importing .avi video

--

-

Reproduction steps:

# Create a new project
# Import attached “test.avi”
# Observe the Console

Expected result: No errors in the Console
Actual result: Errors in the Console

Reproducible with: 2020.3.37f1, 2021.3.6f1, 2022.1.9f1, 2022.2.0b1, 2023.1.0a3

Reproduced on: Windows 10

Full errors:
WindowsVideoMedia error 0xc00d36b4 while reading C:/Users/oleh.halytskyi/UnityProjects/video/Assets/file_example_AVI_1280_1_5MG.avi
Context: Ignoring unsupported '%FF' audio track
Error details: The data specified for the media type is invalid, inconsistent, or not supported by this object.
Track types:
Video Track \[1280 x 720], type: H264
Audio Track, type: %FF
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Note: The issue reproduced only with .avi format. Tested formats are: .wmv, .mov, .mp4, .avi.

  1. Resolution Note:

    In AVI files, AAC audio tracks with ADTS packets are not supported by the underlying media decoding library (Microsoft Media Foundation). The files can easily be re-encoded to use a supported AAC layout that does not include ADTS.

    For example, with ffmpeg, it can be done this way:

    ffmpeg -i test.avi -codec:v copy -c:a aac test-fixed.avi

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.