[FFmpeg-devel] [PATCH 1/2] avformat/mov: parse sdtp atom and set the pkt disposable flag accordingly

Derek Buitenhuis derek.buitenhuis at gmail.com
Fri Sep 27 18:14:33 EEST 2019


On 27/09/2019 15:37, Matthieu Bouron wrote:
> Allows the creation of the sdtp atom while remuxing MP4 to MP4. This
> atom is required by Apple devices (iPhone, Apple TV) in order to accept
> 2160p medias.

Can you point to a document about this (for informational purposes)?

Is this valid for both QTFF and ISOBMFF?

>  static void mov_update_dts_shift(MOVStreamContext *sc, int duration)
>  {
>      if (duration < 0) {
> @@ -6767,6 +6801,7 @@ static const MOVParseTableEntry mov_default_parse_table[] = {
>  { MKTAG('s','t','s','z'), mov_read_stsz }, /* sample size */
>  { MKTAG('s','t','t','s'), mov_read_stts },
>  { MKTAG('s','t','z','2'), mov_read_stsz }, /* compact sample size */
> +{ MKTAG('s','d','t','p'), mov_read_sdtp }, /* independant and disposable samples */

Spelling mistake.

- Derek


More information about the ffmpeg-devel mailing list