[FFmpeg-user] drawtext 4:3 vs 16:9

naser sonbaty naser.sonbaty at gmail.com
Sun May 22 22:30:11 CEST 2016


Hi,

yes its right both videos are same resolution its a PAL SD video.

The question is how?

Thx

On Mon, May 16, 2016 at 9:27 PM, Cley Faye <cleyfaye at gmail.com> wrote:

> 2016-05-14 22:52 GMT+02:00 naser sonbaty <naser.sonbaty at gmail.com>:
>
> > I need help with filter_complex and drawtext.
> > drawtext on aspect 4:3 are correct but drawtext on aspect 16:9 are
> > stretched.
> >
>
> ​I've tried the drawtext filter with both 4/3 and 16/9, and in both case
> the text was the same (pixel perfect even). No stretch issue.
>
> It seems that in both your command, the video itself have the same
> resolution (720x576); only the SAR and DAR change. My understanding on it
> is that the DAR is only used for playback, but the SAR is the "real"
> picture. In any case ffmpeg will write the same picture of text on both,
> but the video player will stretch the input video to fit either 4/3 or
> 16/9, including the now hard text.
>
> If you need to add text to a video with SAR/DAR that won't match, you have
> to do it in a way so that the "stretched" output will look normal.
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
>


More information about the ffmpeg-user mailing list