[FFmpeg-devel] [PATCH] ffplay: Use sws_scale to scale subtitles
compn
tempn at mi.rr.com
Mon Jul 27 19:23:27 CEST 2015
On Sun, 26 Jul 2015 21:32:48 +0200
Michael Niedermayer <michaelni at gmx.at> wrote:
> From: Michael Niedermayer <michael at niedermayer.cc>
>
> Fixes some files from Ticket679
>
> This also changes subtitles to 4:2:0 matching the output format and
> thus simplifying the blend code.
> This restricts placement to the chroma sample resolution though,
> speak up if you consider this a problem, say so, the code could be
> changed to use YUV444 for subtitles and scaling them down while
> blending, this would be slower though.
> The current code only uses a single swscale context and reinitializes
> it as needed, this could be changed as well if needed
it would be nice to test this on android devices where scaling would
affect cpu. although i dont know many people using ffplay for subtitled
films on desktop, i thought there were a few mobile apps that used
ffplay.
-compn
More information about the ffmpeg-devel
mailing list