http://bbs.chinaffmpeg.com/forum.php?mod=viewthread&tid=216&highlight=ass
我是直接复制上面的命令去测试的,出来的是乱码。
1、ass文件内容
[Script Info]
Title: AMV For Dreamers Subtitle
ScriptType: v4.00+
WrapStyle: 0
ScaledBorderAndShadow: yes
Collisions: Normal
Scroll Position: 37
Active Line: 38
Video Zoom Percent: 0.5
PlayResX: 720
PlayResY: 480
Last Style Storage: Default
Video Aspect Ratio: c1.5
Video Position: 5818
YCbCr Matrix: TV.601
[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: Default,Arial,20,&H00FFFFFF,&H000000FF,&H00000000,&H00000000,0,0,0,0,100,100,0,0,1,2,2,2,10,10,10,1
Style: Lyric,FZCuHeiSongS-B-GB,24,&H14FFFFFF,&H000000FF,&H326A31DE,&H32272732,-1,0,0,0,100,100,0,0,1,1.5,1,1,20,20,16,1
[Events]
Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text
Dialogue: 0,0:00:01.36,0:00:23.21,Lyric,,0,0,0,,敬启 读着这封信的你
2、ffmpeg命令
ffmpeg -i 1.mp4 -vf "ass=dd.ass" -y 2.mp4
3、然后就出来了一个乱码的视频
|