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
- [Dragon Crashers] Build fails in U6
- [Dragon Crashers] 4 Shader error messages on import
- [Dragon Crashers] Readme text is white on light grey
- Cursor stays in front of the first character when entering text in the TextMeshPro field
- Searching in Hierarchy causes unwanted component calls
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.