[FFmpeg-user] Non-keyframes included in cut video displaying unpredictably?

Carl Eugen Hoyos ceffmpeg at gmail.com
Wed May 1 01:06:13 EEST 2019


2019-04-30 20:29 GMT+02:00, Ted Park <kumowoon1025 at gmail.com>:
> Hi, I split a video file by timestamp on a non-keyframe, and I notice
> inconsistent behavior on playback.
>
> The frames required to decode the “first” frame that are included in the
> resulting file display inconsistently, depending on the framework the player
> is based upon.
>
> Here is a sample file:
> https://storage.googleapis.com/media.kumowoon1025.com/sample.mov
> <https://storage.googleapis.com/media.kumowoon1025.com/sample.mov>
>
> The beginning of the video is different when you compare ffplay, compared to
> something based on apple’s AVFoundation (Quicktime, Safari, etc)

You didn't tell us which framework shows more frames.

[...]

> Is this just a difference in implementation?

I don't know about "just" but it sounds like a difference in implementation.

> If so, are they both correct?

That is unlikely unless the played file is invalid.

Carl Eugen


More information about the ffmpeg-user mailing list