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.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- The Scrollbar becomes unusable when adding Elements to the List
- "One or more data file missing for baking set NewScene Baking Set. Cannot load shared data." error in Player when a specific project is built
- Choosing new HDR Colour using RGB values breaks colour on Intensity Selectors
- Rendering/Decal Layer Mask options are different inside Prefab Mode and outside Prefab Mode when the project is upgraded to Unity 6
- Incorrect Realtime GI Light Probes baking when more than one Light Probe Group is used and "Baked Global Illumination" is enabled
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