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

Clément Bœsch u at pkh.me
Mon Dec 21 11:21:49 CET 2015


On Thu, Dec 17, 2015 at 12:32:43PM +0100, Clément Bœsch wrote:
> 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.
> 

Patch applied, you can now do that using git/master

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/20151221/2163aefe/attachment.sig>


More information about the ffmpeg-user mailing list