[FFmpeg-devel] [PATCH 2/2] Add sample_aspect_ratio fields to vsrc_buffer arguments. This fixes aspect handling in ffmpeg This is based on a patch by baptiste

Baptiste Coudurier baptiste.coudurier
Sat Feb 5 02:11:41 CET 2011


On 02/04/2011 12:33 AM, Stefano Sabatini wrote:
> [...]
 >
>   }
> @@ -2825,6 +2835,12 @@ static void opt_frame_pix_fmt(const char *arg)
>
>   static void opt_frame_aspect_ratio(const char *arg)
>   {
> +#if CONFIG_AVFILTER
> +    av_log(NULL, AV_LOG_ERROR,
> +           "Option 'aspect' is incompatible with filters, "
> +           "use -vf together with the setdar filter instead\n");
> +    ffmpeg_exit(1);
> +#else

Seriously guys, can you please stop this nonsense ?
-aspect is used with stream copy as well.

It's obvious that none of you actually spent time fixing this issue 
which has been present since libavfilter is in...

-- 
Baptiste COUDURIER
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
FFmpeg maintainer                                  http://www.ffmpeg.org



More information about the ffmpeg-devel mailing list