----- Original Message ----- > From: "Carl Eugen Hoyos" <ceho...@ag.or.at> > To: ffmpeg-user@ffmpeg.org > Sent: Saturday, 6 December, 2014 01:38:27 > Subject: Re: [FFmpeg-user] Quicktime Files create with -vtag aivx
> Rens Dijkshoorn <rens <at> offlinemedia.nl> writes: > > For autoselect the correct -vtag an extra > > condition is needed in movenc.c > Will you send a patch? > Thank you, Carl Eugen This will work, but i'am not really a programmer. There might be a better way to achieve this. diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 10e883c..2321748 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -1279,7 +1279,8 @@ static int mov_get_h264_codec_tag(AVFormatContext *s, MOVTrack *track) else if (rate == 60) tag = MKTAG('a','i','1','6'); } } else if ( track->enc->width == 4096 && track->enc->height == 2160 - || track->enc->width == 3840 && track->enc->height == 2160) { + || track->enc->width == 3840 && track->enc->height == 2160 + || track->enc->width == 2048 && track->enc->height == 1080) { tag = MKTAG('a','i','v','x'); } } Rens _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user