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
- "Reset UI Builder Layout" functionality inconsistently changes Canva Size when "Match Game View" is enabled/disabled
- Texture Import Warnings are obscured by other Terrain Layer options in the Inspector
- Burst Inspector middle divider is jittering when resized with the Burst Inspector window docked
- JsonConvert conversion fails trying to call GetCallbackMethodsForType when [OnDeserialized] is used in a class
- Different text alignment in the column header in Entities "System" window
This is a duplicate of issue #1316857