Search Issue Tracker
Won't Fix
Won't Fix in 2023.1.X
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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Package signature validation unexpectedly return an invalid signature status if the validation check is done after the code signing certificate validaty range has passed
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
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
Resolution Note (2023.1.X):
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