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
- URP Realtime reflection probes do not update when RenderProbe() is being called once per second
- Addressable terrain shader variants are stripped from the Player
- [iOS] Debug.Log() appears as <private> in Console app
- UI stays in the background when it is disabled in simulator
- A wrong log file is attached when project is launched with a "-logFile" command line argument
This is a duplicate of issue #1316857