[FFmpeg-devel] [RFC][PATCH] ffplay: factorize subtitle rendering code to a private filter

Clément Bœsch u at pkh.me
Sat Feb 14 21:33:57 CET 2015


On Sat, Feb 14, 2015 at 02:08:15AM +0100, Marton Balint wrote:
> Signed-off-by: Marton Balint <cus at passwd.hu>
> ---
>  Makefile                         |   1 +
>  doc/ffplay.texi                  |   4 +
>  ffplay.c                         | 336 +++++--------------------------------
>  libavfilter/Makefile             |   1 +
>  libavfilter/vf_ffplay_subtitle.c | 347 +++++++++++++++++++++++++++++++++++++++
>  libavfilter/vf_ffplay_subtitle.h |  38 +++++
>  6 files changed, 434 insertions(+), 293 deletions(-)
>  create mode 100644 libavfilter/vf_ffplay_subtitle.c
>  create mode 100644 libavfilter/vf_ffplay_subtitle.h
> 

This is not the correct way of doing it.

The proper way is to integrate subtitles within lavfi. If you want to work
toward this, feel free to ask for more details, but it's not trivial.

(and no, this patch is not an improvement in the correct direction, sorry)

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150214/bccb14e5/attachment.asc>


More information about the ffmpeg-devel mailing list