[FFmpeg-devel] [PATCH v2] avformat/mxfenc: add h264 profiles

Tomas Härdin tjoppen at acc.umu.se
Sun May 6 14:32:06 EEST 2018


fre 2018-05-04 klockan 01:52 +0200 skrev Thomas Mundt:
> Hi,
> 
> this is a better version of the patch.
> 10 bit and TFF are mandatory for AVC Intra only. Other profiles
> differ.
> 

> diff --git a/libavformat/mxfenc.c b/libavformat/mxfenc.c
> index 3bb7032..81513dc 100644
> --- a/libavformat/mxfenc.c
> +++ b/libavformat/mxfenc.c
> @@ -1947,22 +1947,31 @@ static const struct {
>      int frame_size;
>      int profile;
>      uint8_t interlaced;
> +    int long_gop;

A comment here explaining the difference between -1, 0 and 1 would be
nice. The rest looks OK, but I didn't read the relevant specs to be
100% sure

/Tomas


More information about the ffmpeg-devel mailing list