[FFmpeg-devel] -vf copy does transcode rather than copy

wm4 nfxjfg at googlemail.com
Thu Oct 31 20:47:31 CET 2013

On Thu, 31 Oct 2013 14:02:00 -0500
David Favor <david at davidfavor.com> wrote:

> -c:v copy maintains SAR + DAR info.
> -vf copy should allow (to me) a filter chain of something like...
>      -vf copy,setdar=dar=0,setsar=sar=0
> which should accomplish the following...
>      1) copy the video stream (bit for bit) so no transcode
>      2) completely remove SAR + DAR to repair broken videos

The video filter chain can't handle compressed video (and probably
never will), so this can't work. You'll need a separate mechanism to
adjust the aspect ratio.

More information about the ffmpeg-devel mailing list