[FFmpeg-user] Format ass subtitle while burning video

Francois Visagie francois.visagie at gmail.com
Sat Nov 24 13:35:45 CET 2012


> -----Original Message-----
> From: ffmpeg-user-bounces at ffmpeg.org [mailto:ffmpeg-user-
> bounces at ffmpeg.org] On Behalf Of Dielson Sales
> Sent: 24 November 2012 06:56
> To: FFmpeg user questions
> Subject: [FFmpeg-user] Format ass subtitle while burning video
> 
> I couldn't find a documentation on how to change the settings of the
subtitle
> when using the option -vf "ass=subtitle.ass". What I wanted was choosing
at
> least the font size. Is it possible using ffmpeg?

Not that I could find either, but you realise that's very easy to specify in
the input .ass file? E.g.

[Script Info]
; Script generated by Aegisub 2.1.7
; http://www.aegisub.net
Title: Default Aegisub file
ScriptType: v4.00+
WrapStyle: 1
PlayResX: 720
PlayResY: 576
ScaledBorderAndShadow: yes
Collisions: Normal
Last Style Storage: Default
Video File: ?dummy:25.000000:1200:720:576:47:163:254:
Video Aspect Ratio: 1
Video Zoom: 8
Video Position: 125
Export Encoding: WINDOWS-1252

[V4+ Styles]
Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour,
OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX,
ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL,
MarginR, MarginV, Encoding
Style: DlgOffScrn,Microsoft Sans
Serif,18,&H00FFFFFF,&H0080FFFF,&H00000000,&H00000000,0,-1,0,0,168.9046,160.9
411,0,0,1,2,0,2,56,56,40,0
Style: DlgOnScrn,Microsoft Sans
Serif,18,&H00FFFFFF,&H0080FFFF,&H00000000,&H00000000,0,0,0,0,168.9046,160.94
11,0,0,1,2,0,2,56,56,40,0

[Events]
Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect,
Text
Dialogue: 0,0:00:00.00,0:00:04.98,DlgOnScrn,,0000,0000,0000,,ëêôü
Dialogue: 0,0:00:04.98,0:00:09.98,DlgOnScrn,,0000,0000,0000,,a 2 3 4 5 6 7 8
9 0 1 2 3 4 5 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 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3
4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7
8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3
4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7
8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 z

> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user



More information about the ffmpeg-user mailing list