Search Issue Tracker
Duplicate
Votes
0
Found in
2018.4
2019.4
2020.2
2021.1
2021.2
2021.2.0a6
Issue ID
1316931
Regression
No
Video Player displays a wrong frame when changing VideoPlayer.frame using a non-transcoded video
Reproduction steps:
1. Download and open the attached project "VideoPlayer_Bug_Report.zip"
2. Open the Video scene
3. Enter Play mode
4. Press Video Non-Transcoded
5. Press Prepare
6. Press Play
7. Press Pause
8. Press Seek to frame 100
Expected result: OnFrameReady is logged for frame 100 and 100 is displayed in the Game view
Actual result: OnFrameReady is logged for frame 99 and 97 is displayed in the Game view
Reproducible with: 2018.4.32f1, 2019.4.21f1, 2020.2.6f1, 2021.1.0b8, 2021.2.0a6
-
Resolution Note:
This results from the H.264 video track having b-frames, which hits a Microsoft H.264 decoder bug. The mitigation is to issue an informational message about why this is happening. Transcoding to H.264 using the base profile instead of the (main profile, like here) fixes the issue. The transcoding can be done either in the Unity video clip importer or outside of Unity.
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
- Redoing creation of Sub Scenes and Cube GameObjects in Hierarchy throws “Assertion failed on expression: 'targetScene != nullptr’” error in Console window
- Selecting “New Sub Scene” after assigning “New Scene” in Sub Scene Script Component throws “Destroying GameObjects immediately is not permitted” in the Console window
- Shader Graph "Zoom Step Size" can be set to 0 even though the zoom still works
- Enabling/Disabling the Deprecated Nodes doesn't apply to the opened Shader Graph unless any Variable is added to the Blackboard
- Group Selection title text size is smaller in renaming than the actual font size
This is a duplicate of issue #1316857