Skip to content

When applying an MP4 edit list, preroll and skip samples from a keyframe to the start of an edit #1659

Closed

Description

@sanmall

video recorded from ios can not play in front of a few seconds, but the audio is ok.

Activity

  1. andrewlewis commented on Jul 18, 2016

    @andrewlewis
    Collaborator

    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!

  2. 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
  3. greyson-signal commented on Jan 10, 2023

    @greyson-signal

    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.

  4. rohitjoins commented on Sep 16, 2024

    @rohitjoins
    Contributor

    This issue has now been fixed.

  5. locked and limited conversation to collaborators on Nov 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions