mirror of https://git.ffmpeg.org/ffmpeg.git
avcodec/ass: add FFmpeg signature
This commit is contained in:
parent
d281a87ae3
commit
52b0a0ecaa
|
@ -34,6 +34,7 @@ int ff_ass_subtitle_header(AVCodecContext *avctx,
|
|||
{
|
||||
avctx->subtitle_header = av_asprintf(
|
||||
"[Script Info]\r\n"
|
||||
"; Script generated by FFmpeg/Lavc%s\r\n"
|
||||
"ScriptType: v4.00+\r\n"
|
||||
"PlayResX: 384\r\n"
|
||||
"PlayResY: 288\r\n"
|
||||
|
@ -65,6 +66,7 @@ int ff_ass_subtitle_header(AVCodecContext *avctx,
|
|||
"\r\n"
|
||||
"[Events]\r\n"
|
||||
"Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text\r\n",
|
||||
!(avctx->flags & CODEC_FLAG_BITEXACT) ? AV_STRINGIFY(LIBAVCODEC_VERSION) : "",
|
||||
font, font_size, color, color, back_color, back_color,
|
||||
-bold, -italic, -underline, alignment);
|
||||
|
||||
|
|
|
@ -117,7 +117,7 @@ pcm(){
|
|||
fmtstdout(){
|
||||
fmt=$1
|
||||
shift 1
|
||||
ffmpeg "$@" -f $fmt -
|
||||
ffmpeg -flags +bitexact "$@" -f $fmt -
|
||||
}
|
||||
|
||||
enc_dec_pcm(){
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
[Script Info]
|
||||
; Script generated by FFmpeg/Lavc
|
||||
ScriptType: v4.00+
|
||||
PlayResX: 384
|
||||
PlayResY: 288
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
[Script Info]
|
||||
; Script generated by FFmpeg/Lavc
|
||||
ScriptType: v4.00+
|
||||
PlayResX: 384
|
||||
PlayResY: 288
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
[Script Info]
|
||||
; Script generated by FFmpeg/Lavc
|
||||
ScriptType: v4.00+
|
||||
PlayResX: 384
|
||||
PlayResY: 288
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
[Script Info]
|
||||
; Script generated by FFmpeg/Lavc
|
||||
ScriptType: v4.00+
|
||||
PlayResX: 384
|
||||
PlayResY: 288
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
[Script Info]
|
||||
; Script generated by FFmpeg/Lavc
|
||||
ScriptType: v4.00+
|
||||
PlayResX: 384
|
||||
PlayResY: 288
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
[Script Info]
|
||||
; Script generated by FFmpeg/Lavc
|
||||
ScriptType: v4.00+
|
||||
PlayResX: 384
|
||||
PlayResY: 288
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
[Script Info]
|
||||
; Script generated by FFmpeg/Lavc
|
||||
ScriptType: v4.00+
|
||||
PlayResX: 384
|
||||
PlayResY: 288
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
[Script Info]
|
||||
; Script generated by FFmpeg/Lavc
|
||||
ScriptType: v4.00+
|
||||
PlayResX: 384
|
||||
PlayResY: 288
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
[Script Info]
|
||||
; Script generated by FFmpeg/Lavc
|
||||
ScriptType: v4.00+
|
||||
PlayResX: 384
|
||||
PlayResY: 288
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
[Script Info]
|
||||
; Script generated by FFmpeg/Lavc
|
||||
ScriptType: v4.00+
|
||||
PlayResX: 384
|
||||
PlayResY: 288
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
[Script Info]
|
||||
; Script generated by FFmpeg/Lavc
|
||||
ScriptType: v4.00+
|
||||
PlayResX: 384
|
||||
PlayResY: 288
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
[Script Info]
|
||||
; Script generated by FFmpeg/Lavc
|
||||
ScriptType: v4.00+
|
||||
PlayResX: 384
|
||||
PlayResY: 288
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
[Script Info]
|
||||
; Script generated by FFmpeg/Lavc
|
||||
ScriptType: v4.00+
|
||||
PlayResX: 384
|
||||
PlayResY: 288
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
[Script Info]
|
||||
; Script generated by FFmpeg/Lavc
|
||||
ScriptType: v4.00+
|
||||
PlayResX: 384
|
||||
PlayResY: 288
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
[Script Info]
|
||||
; Script generated by FFmpeg/Lavc
|
||||
ScriptType: v4.00+
|
||||
PlayResX: 384
|
||||
PlayResY: 288
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
[Script Info]
|
||||
; Script generated by FFmpeg/Lavc
|
||||
ScriptType: v4.00+
|
||||
PlayResX: 384
|
||||
PlayResY: 288
|
||||
|
|
Loading…
Reference in New Issue