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
- Prefab Override popup displays on wrong monitor when Inspector width is resized to minimum
- Scroll View is not moving by inertia after scrolling by click and dragging when Editor window is minimized and Canvas "Render Mode" is set to "World Space"
- "type mismatch error" occurs when the currentDirectionWS output of a Sample Water Surface node is connected to a float3 input
- URP Material Upgrade utility does not enable Alpha Clipping when material had Rendering Mode set to Cutout
- Particle System emission ignores the Sprite Atlas when using a Material that has the "Include in Build" setting unchecked
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