[FFmpeg-devel] [PATCH] Set pixel aspect ratio for libxvid encoder

Måns Rullgård mans
Tue Jan 15 12:45:11 CET 2008

Thorsten Jordan wrote:
> M?ns Rullg?rd schrieb:
>> Thorsten Jordan <tjordan at macrosystem.de> writes:
>>> Hello,
>>> The frontend to the xvid library is not setting the pixel aspect ratio,
>>> so in resulting AVIs etc., aspect ratio is always 1:1. Other encoders
>>> like ffmpeg2, ffmpeg4, x264-wrapper can do it.
>> Remind me again why we have the xvid wrapper at all.  Yes, I know we
>> can use its rate control, but that doesn't mean we also have to have
>> an encoding wrapper.
> I am not sure if i did understand you correctly, but are you proposing
> to remove the xvid wrapper?

That is exactly what I am doing.

> FFmpeg can encode mpeg4 asp itself, true, so why xvid - i haven't tested
> the quality nor speed of FFmpeg's encoder and don't want to cause
> flamewars but according to my experience xvid is the best mpeg4 asp
> encoder around. Would be nice to have and keep the wrapper for it as
> alternative.

If you thing xvid is so superior, then use it, not FFmpeg.  Wrapping
every codec under the sun is not the purpose of FFmpeg.  There are
other apps, e.g. mencoder, doing this task just fine.

M?ns Rullg?rd
mans at mansr.com

More information about the ffmpeg-devel mailing list