Search Issue Tracker
Fixed in 2018.3
[VideoPlayer] When trying to transcode webm VFR movies Unity should emit a proper warning, not just silently behave badly
How to reproduce:
1. Open the attached project
2. It has one webm video, select it
3. In Inspector enable transcode, change codec to VP8 (when issue is fixed try decoding to H264 as well) and apply
4. Notice Video and Audio decoding warning
5. Open Sample Scene and play it
Result: audio plays 30FPS video plays 60FPS, because video uses VFR (variable frame rate) and the first video frame happens after only 3.47 seconds
Reproducible: 2017.4.4f1, 2018.2.0b6, 2018.3.0a1
Tested and reproduced:
on Macbook Pro OSX 10.13.4
on Android and iOS devices.
FIXED: after transcoding very lear warning is printed
VFR warning: 63 video frames have a different duration than expected 0.0333333s, ranging from 0.0666332s to 0.1s.
/Users/dominique/UnityProjects/VFR warning/Assets/actual_vfr.mp4 (30FPS) may have variable frame rate (VFR), which is not supported. This may lead to incorrect timing in transcoded clip.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
- String array data is lost when one of the strings starts with a colon symbol
- Unable to import NuGet packages Microsoft.Bcl.AsyncInterfaces, System.Threading.Tasks.Extensions cannot be loaded correctly
- Backgrounds of Editor windows are changed to a texture when method ImageConversion.LoadImage is called
- OnApplicationQuit method is called before Application.wantsToQuit event is raised
- Lightmapper is slow when using "Always Refresh"