On Sat, Dec 06, 2014 at 02:20:38AM +0100, Rens Dijkshoorn wrote: > > > ----- Original Message ----- > > From: "Carl Eugen Hoyos" <[email protected]> > > To: [email protected] > > 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'); > }
patch applied thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB it is not once nor twice but times without number that the same ideas make their appearance in the world. -- Aristotle
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user
