[FFmpeg-user] Unwanted <font> tags in srt

Clément Bœsch u at pkh.me
Thu Dec 17 12:32:43 CET 2015


On Wed, Dec 16, 2015 at 10:18:24AM +0100, David Nguyen wrote:
> Hi,
> 

Hi,

> I have recently updated ffmpeg to use the latest version 2.8.3 and when
> extracting subtitles from an MP4, I get new <font> tags which I would like
> to remove. Is it possible to somehow not get them ?
> 
> Here's an example:
[...]
> $ ffmpeg -i output.mp4 -vn -an -codec:s:0.1 srt foo_extracted.srt

After the patch @
http://ffmpeg.org/pipermail/ffmpeg-devel/2015-December/185325.html

you will be able to do sth like:

    ffmpeg -i in.mp4 -c:s text out.srt

...and get the subtitles without markup.

[...]

Regards,

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20151217/3e23399f/attachment.sig>


More information about the ffmpeg-user mailing list