Search Issue Tracker
Won't Fix
Votes
0
Found in
5.6.0f3
Issue ID
895693
Regression
No
[VideoPlayer] H264 video is not synced with audio and view is shaking on few Samsung devices
All provided H264 videos play on Samsung S3 mini, however, view is shaking (might be because it is very laggy) and because of that video and audio are not synced. Happens with all render modes.
How to reproduce:
1. Open the attached project
2. Build and run on Samsung S 3 mini
3. First video will start playing (you can switch between videos and few scenes)
Result: notice that it is shaking. Video and audio are not synced
DUT (reproducible):
42, Samsung S3 mini Ve with NFC, 4.2.2, 480x800, Marvell PXA988, Vivante GC1000
54, Samsung Galaxy Note II, 4.4.2, 720x1280, Samsung Exynos, ARM
31, Samsung Galaxy S3 [SGH-i747], 720x1280, Qualcomm Snapdragon S4, Adreno 225, OS 4.1.1
140, Samsung Galaxy trend Plus[GT-S7580], 4.2.2, 480x800, Broadcom, VideoCore
Video:
H264_HD_720p.mp4, 1280x720, h264 avc1, 2 205 kb/s, Main@L3.1, AAC/LC, 2, 44.1 kHz
H264_SD_360p.mp4, 480x360, h264 avc1, 500 kb/s, High@L2.1, AAC/LC, 2, 44.1 kHz
H264_SD_144p.mp4, 176x144, h264 avc1, 56.0 kb/s, Main@L3.1, AAC/LC, 2, 44.1 kHz
Won't Fix: Issue caused by H264 High/Main profiles, they are not officialy supported on Android < 6.0. Solution use Baseline profile.
Trying to decode those profiles on android 4.* results in decoded frames or frame presentation times returned out of expected order.
Note: on few devices 42 and 140 Baseline profile video still has some issues. Because on these devices Unity's frame rate is lower than video frame rate, resulting in dropping some frames.
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
- UI Overlay Image gets darker on each Camera when multiple Cameras are used
- Assertion failed on expression: 'scriptedImporterClass == SCRIPTING_NULL error when opening the standalone profiler window
- Disabled assets in Import Unity Package window aren't tracked but count as being selected by user
- [Windows] Crash on GetManagerFromContext when video is playing and creating High Definition 3D Projects after FMOD failed to switch back to normal output Error appeared
- GC Alloc produced when adding items to MultiColumnListView with Auto Assign Binding
unnamed7
Mar 21, 2018 22:58
I had experienced the sam with Android and also ios.
You can get sample address in FixedUpdate(), calculate frame number from it and skip/speed up/down video to sync video against audio.