You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
When applying an MP4 edit list, preroll and skip samples from a keyframe to the start of an edit #1659
This file contains an edit list that skips the first video frame, which is a keyframe. Due to a limitation in how we handle edit lists (see this comment) we don't send the frame to the decoder, which means samples are dropped up to the next key-frame. This is why video starts playing late.
I'll use this issue to track the enhancement of extracting and skipping samples from the latest keyframe at/before an edit up to the start of the edit. I think it's unlikely we will prioritize it in the near future, unless we find that this type of stream is common. Thanks!
changed the title [-]video recorded from ios can not play in front of a few seconds[/-][+]When applying an MP4 edit list, preroll and skip samples from a keyframe to the start of an edit[/+]on Jul 18, 2016
Hi there, just wanted to say that we're hitting this issue at Signal. Videos recorded by iOS devices that are then sent and played back by ExoPlayer on an Android device will sometimes run into this. It doesn't seem to be all videos transcoded by iOS, but some.
Activity
sanmall commentedon Jul 8, 2016
eg:http://biubiustorage.oss-cn-shenzhen.aliyuncs.com/a7/dc/a7dc023ba53fccb5ded0be16f936266cbca10ac15e202aaa8eee30b1b8e0d048.mp4
andrewlewis commentedon Jul 18, 2016
This file contains an edit list that skips the first video frame, which is a keyframe. Due to a limitation in how we handle edit lists (see this comment) we don't send the frame to the decoder, which means samples are dropped up to the next key-frame. This is why video starts playing late.
I'll use this issue to track the enhancement of extracting and skipping samples from the latest keyframe at/before an edit up to the start of the edit. I think it's unlikely we will prioritize it in the near future, unless we find that this type of stream is common. Thanks!
[-]video recorded from ios can not play in front of a few seconds[/-][+]When applying an MP4 edit list, preroll and skip samples from a keyframe to the start of an edit[/+]greyson-signal commentedon Jan 10, 2023
Hi there, just wanted to say that we're hitting this issue at Signal. Videos recorded by iOS devices that are then sent and played back by ExoPlayer on an Android device will sometimes run into this. It doesn't seem to be all videos transcoded by iOS, but some.
Fix preroll sample handling for non-keyframe media start positions
rohitjoins commentedon Sep 16, 2024
This issue has now been fixed.