[FFmpeg-devel] [PATCH 1/6] lavf/movenc: add sdtp (sample dependency) box
Carl Eugen Hoyos
ceffmpeg at gmail.com
Mon Nov 20 00:29:01 EET 2017
2017-11-19 23:25 GMT+01:00 John Stebbins <stebbins at jetheaddev.com>:
> On 11/19/2017 02:12 PM, Carl Eugen Hoyos wrote:
>> 2017-11-19 21:46 GMT+01:00 John Stebbins <jstebbins at jetheaddev.com>:
>>> The sdtp is required by the AppleTV 4K in order to play 2160p60 video.
>>> +/**
>>> + * Flag is used to indicate packets that contain frames that can
>>> + * be discarded by the decoder. I.e. Non-reference frames.
>>> + */
>>> +#define AV_PKT_FLAG_DISPOSABLE 0x0010
>> What sets this flag?
>
> Encoders when encoding, demuxer when remuxing.
> The subsequent patches set this flag for x264, x265, and mp4 demux.
So does this patch alone work wrt the description: Does AppleTV play
4k with this patch alone?
Carl Eugen
More information about the ffmpeg-devel
mailing list