[FFmpeg-devel] [PATCH] lavf/mov.c: Guess video codec delay based on PTS while parsing MOV header.

Carl Eugen Hoyos ceffmpeg at gmail.com
Sat Nov 18 17:51:47 EET 2017


2017-11-18 7:12 GMT+01:00 Sasi Inguva <isasi-at-google.com at ffmpeg.org>:

> +    if (st->codecpar->video_delay <= 0 && msc->ctts_data &&
> +        (st->codecpar->codec_id == AV_CODEC_ID_MPEG2VIDEO ||
> +         st->codecpar->codec_id == AV_CODEC_ID_H263 ||
> +         st->codecpar->codec_id == AV_CODEC_ID_H264 ||
> +         st->codecpar->codec_id == AV_CODEC_ID_HEVC))

Sorry if I misunderstand but shouldn't this also include MPEG4 (and
VC1)?

Carl Eugen


More information about the ffmpeg-devel mailing list