labunix's blog

labunixのラボUnix

ffmpegで無音、静止画からsrtを埋め込んだ動画を生成する。

■ffmpegで無音、静止画からsrtを埋め込んだ動画を生成する。
 なんとなくデフォルト値ではなく、
 どこかの推奨要件に合わせた方がよいと思い、
 youtubeの以下の推奨値を参考に。

 アップロードする動画の推奨エンコード設定
 https://support.google.com/youtube/answer/1722171?hl=ja

■ffmpegで48kHZのステレオ無音aac(LC)4分未満のランダム秒数分作成する。
 音声ビットレートも推奨値はモノラル128kbps、ステレオ384kbps、5.1では512kbpsとなっている。
 00:26のout.aacが出来る。

 音声コーデック: AAC-LC
 チャンネル: ステレオまたはステレオ + 5.1
 サンプルレート: 96 khz または 48 khz

$ echo "ffmpeg -t $(($RANDOM%(60*4))) -f lavfi -i aevalsrc=0:s=48000 -ab 384k -ac 2 out.aac" | \
    sh 2>&1 | grep -v configuration:
ffmpeg version 3.2.5-1 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 6.3.0 (Debian 6.3.0-18) 20170516
  libavutil      55. 34.101 / 55. 34.101
  libavcodec     57. 64.101 / 57. 64.101
  libavformat    57. 56.101 / 57. 56.101
  libavdevice    57.  1.100 / 57.  1.100
  libavfilter     6. 65.100 /  6. 65.100
  libavresample   3.  1.  0 /  3.  1.  0
  libswscale      4.  2.100 /  4.  2.100
  libswresample   2.  3.100 /  2.  3.100
  libpostproc    54.  1.100 / 54.  1.100
Input #0, lavfi, from 'aevalsrc=0:s=48000':
  Duration: N/A, start: 0.000000, bitrate: 3072 kb/s
    Stream #0:0: Audio: pcm_f64le, 48000 Hz, mono, dbl, 3072 kb/s
Output #0, adts, to 'out.aac':
  Metadata:
    encoder         : Lavf57.56.101
    Stream #0:0: Audio: aac (LC), 48000 Hz, stereo, fltp, 384 kb/s
    Metadata:
      encoder         : Lavc57.64.101 aac
Stream mapping:
  Stream #0:0 -> #0:0 (pcm_f64le (native) -> aac (native))
Press [q] to stop, [?] for help
size=      16kB time=00:00:26.00 bitrate=   4.9kbits/s speed=30.6x    
video:0kB audio:7kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 115.327484%
[aac @ 0x564be0c0c500] Qavg: 65536.000

■ffmpegで48kHZのステレオ無音mp3を4分未満のランダム秒数分作成する。
 実際のところ、aac(LC)はほとんど見たことが無いし、
 androidで再生するための取り出しの際に変換の手間が出来るので、mp3とした。

$ echo "ffmpeg -t $(($RANDOM%(60*4))) -f lavfi -i aevalsrc=0:s=48000 -ab 384k -ac 2 out.mp3" | \
    sh 2>&1 | grep -v configuration:
ffmpeg version 3.2.5-1 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 6.3.0 (Debian 6.3.0-18) 20170516
  libavutil      55. 34.101 / 55. 34.101
  libavcodec     57. 64.101 / 57. 64.101
  libavformat    57. 56.101 / 57. 56.101
  libavdevice    57.  1.100 / 57.  1.100
  libavfilter     6. 65.100 /  6. 65.100
  libavresample   3.  1.  0 /  3.  1.  0
  libswscale      4.  2.100 /  4.  2.100
  libswresample   2.  3.100 /  2.  3.100
  libpostproc    54.  1.100 / 54.  1.100
Input #0, lavfi, from 'aevalsrc=0:s=48000':
  Duration: N/A, start: 0.000000, bitrate: 3072 kb/s
    Stream #0:0: Audio: pcm_f64le, 48000 Hz, mono, dbl, 3072 kb/s
Output #0, mp3, to 'out.mp3':
  Metadata:
    TSSE            : Lavf57.56.101
    Stream #0:0: Audio: mp3 (libmp3lame), 48000 Hz, stereo, fltp, 384 kb/s
    Metadata:
      encoder         : Lavc57.64.101 libmp3lame
Stream mapping:
  Stream #0:0 -> #0:0 (pcm_f64le (native) -> mp3 (libmp3lame))
Press [q] to stop, [?] for help
size=    6916kB time=00:02:57.00 bitrate= 320.1kbits/s speed=23.4x    
video:0kB audio:6915kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.014193%

■無音mp3ファイルの情報を確認。
 02:57(177)の無音mp3。
 ビットレートが「320 kb/s」だが指定は間違っていないので特に気にしないことにする。

$ ffprobe -hide_banner -show_entries format=duration out.mp3 2>&1 | awk '/Duration/{gsub(",","",$2);print $2}'
00:02:57.02

$ ffprobe -hide_banner -show_entries format=duration out.mp3 2>&1 | awk -F= '/duration/{print $2}'
167.040000

$ ffprobe -hide_banner out.mp3
Input #0, mp3, from 'out.mp3':
  Metadata:
    encoder         : Lavf57.56.101
  Duration: 00:02:57.02, start: 0.023021, bitrate: 320 kb/s
    Stream #0:0: Audio: mp3, 48000 Hz, stereo, s16p, 320 kb/s
    Metadata:
      encoder         : Lavc57.64

$ ffprobe -hide_banner -show_entries format=duration out.mp3
Input #0, mp3, from 'out.mp3':
  Metadata:
    encoder         : Lavf57.56.101
  Duration: 00:02:57.02, start: 0.023021, bitrate: 320 kb/s
    Stream #0:0: Audio: mp3, 48000 Hz, stereo, s16p, 320 kb/s
    Metadata:
      encoder         : Lavc57.64
[FORMAT]
duration=177.024000
[/FORMAT]

■解像度とアスペクト比の推奨値の確認。

$ w3m -dump https://support.google.com/youtube/answer/6375112?hl=ja | \
    grep -A 11 "^推奨される解像度とアスペクト比"
推奨される解像度とアスペクト比

YouTube ではアスペクト比が 16:9 のプレーヤーを使用します。動画とプレーヤーのサ
イズが異なる場合は、必要に応じて自動的に画面の上下または左右に黒い帯が追加され
ます。そのため、映像の一部が欠けたり縦や横に引き伸ばされたりすることはありませ
ん。

推奨される解像度とアスペクト比

プレーヤーにぴったり収めるには、以下の解像度でエンコードしてください。

  • 2160p: 3840x2160
  • 1440p: 2560x1440
  • 1080p: 1920x1080
  • 720p: 1280x720
  • 480p: 854x480
  • 360p: 640x360
  • 240p: 426x240

■ライトブルーの静止画を作成
 以下の選択肢のうち、480pか720pが良さそう。

$ for n in `seq 1 18`;do echo $n | \
    awk '{printf "%d: %dx%d\n",$1,$1*(120/9*16),$1*120}'; \
  done | \
    awk '!/^[1578]:|^1[0134567]:/{gsub("853","854",$0);print $0}'
2: 426x240
3: 640x360
4: 854x480
6: 1280x720
9: 1920x1080
12: 2560x1440
18: 3840x2160

$ convert -size 854x480 xc:lightblue out4.png
$ convert -size 1280x720 xc:lightblue out6.png

■静止画を無音mp3の秒数分の動画に変換
 細かいことはともかく、フレームレートはアメリカと日本における標準規格である30fpsとする。
 また、ビットレートは推奨に従い、4なら2.5Mbps、6なら5Mbpsとする。

 レッスン: フレームレートを使いこなす 
 https://creatoracademy.youtube.com/page/lesson/frame-rate?hl=ja#yt-creators-strategies-2

 24 fps: 動く映像として認識されるための最低値。コスト効率が高く、古い映画のようなクラシックな映像を再現することができます。
 25 fps: イギリス、EU、アジア諸国(日本を除く)におけるテレビの標準規格。
 30 fps(通常は 29.97 fps): アメリカと日本における標準規格。

$ w3m  -cols 100 -dump "https://support.google.com/youtube/answer/1722171?hl=ja" | \
    grep -A 12 SDRSDR 動画をアップロードする際の推奨映像ビットレート

  タイプ    映像ビットレート、標準フレームレート 映像ビットレート、高フレームレート
                       (242530)                      (485060)
2160p(4k) 3545 Mbps                          5368 Mbps
1440p(2k) 16 Mbps                              24 Mbps
1080p       8 Mbps                               12 Mbps
720p        5 Mbps                               7.5 Mbps
480p        2.5 Mbps                             4 Mbps
360p        1 Mbps                               1.5 Mbps

■無音mp3よりも10秒多く作成。
 最初1秒の追加で十分と思い試したが、9秒前で停止したので、10秒に変更した。

$ ffmpeg -loop 1 -r 30000/1001 -i out4.png -t $((167+10)) -vcodec libx264 -pix_fmt yuv420p -r 30 out.mp4 2>&1 | \
    awk '!/configuration/{if($4=="264"){gsub(" ","\n\t",$0);print}else{print}}'
ffmpeg version 3.2.5-1 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 6.3.0 (Debian 6.3.0-18) 20170516
  libavutil      55. 34.101 / 55. 34.101
  libavcodec     57. 64.101 / 57. 64.101
  libavformat    57. 56.101 / 57. 56.101
  libavdevice    57.  1.100 / 57.  1.100
  libavfilter     6. 65.100 /  6. 65.100
  libavresample   3.  1.  0 /  3.  1.  0
  libswscale      4.  2.100 /  4.  2.100
  libswresample   2.  3.100 /  2.  3.100
  libpostproc    54.  1.100 / 54.  1.100
Input #0, png_pipe, from 'out4.png':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: png, pal8(pc), 854x480, 25 fps, 25 tbr, 25 tbn, 25 tbc
File 'out.mp4' already exists. Overwrite ? [y/N] y
[libx264 @ 0x557c26461620] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0x557c26461620] profile High, level 3.1
[libx264
	@
	0x557c26461620]
	264
	-
	core
	148
	r2748
	97eaef2
	-
	H.264/MPEG-4
	AVC
	codec
	-
	Copyleft
	2003-2016
	-
	http://www.videolan.org/x264.html
	-
	options:
	cabac=1
	ref=3
	deblock=1:0:0
	analyse=0x3:0x113
	me=hex
	subme=7
	psy=1
	psy_rd=1.00:0.00
	mixed_ref=1
	me_range=16
	chroma_me=1
	trellis=1
	8x8dct=1
	cqm=0
	deadzone=21,11
	fast_pskip=1
	chroma_qp_offset=-2
	threads=6
	lookahead_threads=1
	sliced_threads=0
	nr=0
	decimate=1
	interlaced=0
	bluray_compat=0
	constrained_intra=0
	bframes=3
	b_pyramid=2
	b_adapt=1
	b_bias=0
	direct=1
	weightb=1
	open_gop=0
	weightp=2
	keyint=250
	keyint_min=25
	scenecut=40
	intra_refresh=0
	rc_lookahead=40
	rc=crf
	mbtree=1
	crf=23.0
	qcomp=0.60
	qpmin=0
	qpmax=69
	qpstep=4
	ip_ratio=1.40
	aq=1:1.00
Output #0, mp4, to 'out.mp4':
  Metadata:
    encoder         : Lavf57.56.101
    Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 854x480, q=-1--1, 30 fps, 15360 tbn, 30 tbc
    Metadata:
      encoder         : Lavc57.64.101 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
Stream mapping:
  Stream #0:0 -> #0:0 (png (native) -> h264 (libx264))
Press [q] to stop, [?] for help
frame= 5310 fps=258 q=-1.0 Lsize=     199kB time=00:02:56.90 bitrate=   9.2kbits/s dup=5 drop=0 speed= 8.6x    
video:136kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 46.147240%
[libx264 @ 0x557c26461620] frame I:22    Avg QP: 7.14  size:   132
[libx264 @ 0x557c26461620] frame P:1338  Avg QP:10.07  size:    32
[libx264 @ 0x557c26461620] frame B:3950  Avg QP:13.67  size:    24
[libx264 @ 0x557c26461620] consecutive B-frames:  0.8%  0.0%  0.1% 99.1%
[libx264 @ 0x557c26461620] mb I  I16..4: 100.0%  0.0%  0.0%
[libx264 @ 0x557c26461620] mb P  I16..4:  0.0%  0.0%  0.0%  P16..4:  0.0%  0.0%  0.0%  0.0%  0.0%    skip:100.0%
[libx264 @ 0x557c26461620] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  0.0%  0.0%  0.0%  direct: 0.0%  skip:100.0%
[libx264 @ 0x557c26461620] 8x8 transform intra:0.0%
[libx264 @ 0x557c26461620] coded y,uvDC,uvAC intra: 0.0% 0.1% 0.0% inter: 0.0% 0.0% 0.0%
[libx264 @ 0x557c26461620] i16 v,h,dc,p: 97%  0%  3%  0%
[libx264 @ 0x557c26461620] i8c dc,h,v,p: 100%  0%  0%  0%
[libx264 @ 0x557c26461620] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0x557c26461620] kb/s:6.28

■音声(無音)と動画を結合する。

$ ffmpeg -i out.mp4 -i out.mp3 -vcodec copy -acodec copy nosound_lightblue_pic_movie.mp4 2>&1 | grep -v configuration
ffmpeg version 3.2.5-1 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 6.3.0 (Debian 6.3.0-18) 20170516
  libavutil      55. 34.101 / 55. 34.101
  libavcodec     57. 64.101 / 57. 64.101
  libavformat    57. 56.101 / 57. 56.101
  libavdevice    57.  1.100 / 57.  1.100
  libavfilter     6. 65.100 /  6. 65.100
  libavresample   3.  1.  0 /  3.  1.  0
  libswscale      4.  2.100 /  4.  2.100
  libswresample   2.  3.100 /  2.  3.100
  libpostproc    54.  1.100 / 54.  1.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'out.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf57.56.101
  Duration: 00:02:57.00, start: 0.000000, bitrate: 9 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 854x480, 6 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)
    Metadata:
      handler_name    : VideoHandler
Input #1, mp3, from 'out.mp3':
  Metadata:
    encoder         : Lavf57.56.101
  Duration: 00:02:57.02, start: 0.023021, bitrate: 320 kb/s
    Stream #1:0: Audio: mp3, 48000 Hz, stereo, s16p, 320 kb/s
    Metadata:
      encoder         : Lavc57.64
Output #0, mp4, to 'nosound_lightblue_pic_movie.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf57.56.101
    Stream #0:0(und): Video: h264 (High) ([33][0][0][0] / 0x0021), yuv420p, 854x480, q=2-31, 6 kb/s, 30 fps, 30 tbr, 15360 tbn, 15360 tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1: Audio: mp3 (i[0][0][0] / 0x0069), 48000 Hz, stereo, 320 kb/s
    Metadata:
      encoder         : Lavc57.64
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #1:0 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame= 5310 fps=0.0 q=-1.0 Lsize=    7205kB time=00:02:56.97 bitrate= 333.5kbits/s speed=1.44e+03x    
video:136kB audio:6915kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 2.173169%


■出来た動画の情報を確認。

$ ffprobe -hide_banner nosound_lightblue_pic_movie.mp4 
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'nosound_lightblue_pic_movie.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf57.56.101
  Duration: 00:02:57.02, start: 0.000000, bitrate: 333 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 854x480, 6 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: mp3 (mp4a / 0x6134706D), 48000 Hz, stereo, s16p, 320 kb/s (default)
    Metadata:
      handler_name    : SoundHandler

■4秒に1回の字幕を入れることを考えると、44行必要になる。

$ ffprobe -hide_banner -show_entries format=duration nosound_lightblue_pic_movie.mp4 2>&1 | awk -F = '/duration/{print $2}'
177.024000

$ ffprobe -hide_banner -show_entries format=duration nosound_lightblue_pic_movie.mp4 2>&1 | awk -F= '/duration/{printf "%d\n",$2/4}'
44

■単純にナンバリングする。

$ seq -w 001 044 > source.txt

■前回の下記に当ててみる。
 最初の方がマイナス値にオーバーフローしてしまう点を考慮して、
 「interval=$(echo $alltime $line | awk '{print $1/($2+1)}')」に修正。

 debian stretch+ffmpegで字幕ファイルsrt/assをなるべく簡単に作成してみる。
 http://labunix.hateblo.jp/entry/20170816/1502892640

$ mv nosound_lightblue_pic_movie.mp4 target.mp4

$ t=$(ffprobe -hide_banner target.mp4 2>&1 | awk -F\. '/Duration/{gsub("  Duration: ","",$1);print $1}')
  d="$(date +%F) $t"; \
  alltime=$(ffprobe -hide_banner -show_entries format=duration target.mp4 2>&1 | awk -F = '/duration/{print $2}'); \
  line=$(awk '/./{cnt+=1}END{print cnt}' source.txt); \
  interval=$(echo $alltime $line | awk '{print $1/($2+1)}'); \
  for n in $(seq 1 $line);do \
    echo $d;d=$(date '+%F %H:%M:%S' -d "$d $interval seconds ago"); \
  done | sort -n | \
  awk 'BEGIN{a="00:00:00"}($2!="00:00:00"){print a",000 --> "$2",000";a=$2}' | \
  awk 'BEGIN{count=0}/./{count+=1;print count,$0}' > mergetime.txt

$ awk 'BEGIN{count=0}/./{count+=1;print count,$0}' source.txt > mergesource.txt

$ join -j 1 mergetime.txt mergesource.txt | \
    sed -e 's/^\([0-9]*\) /\n\1\n/' -e 's/\(--> .*,000\) /\1\n/' | \
    awk '(NR!=1){print}END{print ""}' > target.srt

$ ffmpeg -i target.srt output.ass 2>&1 | awk '!/built with|configuration/'
ffmpeg version 3.2.5-1 Copyright (c) 2000-2017 the FFmpeg developers
  libavutil      55. 34.101 / 55. 34.101
  libavcodec     57. 64.101 / 57. 64.101
  libavformat    57. 56.101 / 57. 56.101
  libavdevice    57.  1.100 / 57.  1.100
  libavfilter     6. 65.100 /  6. 65.100
  libavresample   3.  1.  0 /  3.  1.  0
  libswscale      4.  2.100 /  4.  2.100
  libswresample   2.  3.100 /  2.  3.100
  libpostproc    54.  1.100 / 54.  1.100
Input #0, srt, from 'target.srt':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Subtitle: subrip
Output #0, ass, to 'output.ass':
  Metadata:
    encoder         : Lavf57.56.101
    Stream #0:0: Subtitle: ass (ssa)
    Metadata:
      encoder         : Lavc57.64.101 ssa
Stream mapping:
  Stream #0:0 -> #0:0 (subrip (srt) -> ass (ssa))
Press [q] to stop, [?] for help
size=       3kB time=23:59:57.00 bitrate=   0.0kbits/s speed=2.11e+06x    
video:0kB audio:0kB subtitle:1kB other streams:0kB global headers:1kB muxing overhead: 193.454178%

$ ffmpeg -i target.mp4 -i target.srt -c copy -c:s mov_text  output_cp.mp4
$ test -f target.srt.org || cp target.{srt,srt.org};vlc output_cp.mp4 &
$ ffmpeg -i target.mp4 -vf subtitles=target.srt output.mp4

■srtの確認

$ cat target.srt 
1
00:00:00,000 --> 00:00:05,000
001

2
00:00:05,000 --> 00:00:09,000
002

3
00:00:09,000 --> 00:00:13,000
003

4
00:00:13,000 --> 00:00:17,000
004

5
00:00:17,000 --> 00:00:21,000
005

6
00:00:21,000 --> 00:00:25,000
006

7
00:00:25,000 --> 00:00:29,000
007

8
00:00:29,000 --> 00:00:33,000
008

9
00:00:33,000 --> 00:00:37,000
009

10
00:00:37,000 --> 00:00:41,000
010

11
00:00:41,000 --> 00:00:45,000
011

12
00:00:45,000 --> 00:00:49,000
012

13
00:00:49,000 --> 00:00:53,000
013

14
00:00:53,000 --> 00:00:57,000
014

15
00:00:57,000 --> 00:01:01,000
015

16
00:01:01,000 --> 00:01:05,000
016

17
00:01:05,000 --> 00:01:09,000
017

18
00:01:09,000 --> 00:01:13,000
018

19
00:01:13,000 --> 00:01:17,000
019

20
00:01:17,000 --> 00:01:21,000
020

21
00:01:21,000 --> 00:01:25,000
021

22
00:01:25,000 --> 00:01:29,000
022

23
00:01:29,000 --> 00:01:33,000
023

24
00:01:33,000 --> 00:01:37,000
024

25
00:01:37,000 --> 00:01:41,000
025

26
00:01:41,000 --> 00:01:45,000
026

27
00:01:45,000 --> 00:01:49,000
027

28
00:01:49,000 --> 00:01:53,000
028

29
00:01:53,000 --> 00:01:57,000
029

30
00:01:57,000 --> 00:02:01,000
030

31
00:02:01,000 --> 00:02:05,000
031

32
00:02:05,000 --> 00:02:09,000
032

33
00:02:09,000 --> 00:02:13,000
033

34
00:02:13,000 --> 00:02:17,000
034

35
00:02:17,000 --> 00:02:21,000
035

36
00:02:21,000 --> 00:02:25,000
036

37
00:02:25,000 --> 00:02:29,000
037

38
00:02:29,000 --> 00:02:33,000
038

39
00:02:33,000 --> 00:02:37,000
039

40
00:02:37,000 --> 00:02:41,000
040

41
00:02:41,000 --> 00:02:45,000
041

42
00:02:45,000 --> 00:02:49,000
042

43
00:02:49,000 --> 00:02:53,000
043

44
00:02:53,000 --> 00:02:57,000
044

■output.assの確認

$ cat output.ass 
[Script Info]
; Script generated by FFmpeg/Lavc57.64.101
ScriptType: v4.00+
PlayResX: 384
PlayResY: 288

[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,16,&Hffffff,&Hffffff,&H0,&H0,0,0,0,0,100,100,0,0,1,1,0,2,10,10,10,0

[Events]
Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text
Dialogue: 0,0:00:00.00,0:00:05.00,Default,,0,0,0,,001
Dialogue: 0,0:00:05.00,0:00:09.00,Default,,0,0,0,,002
Dialogue: 0,0:00:09.00,0:00:13.00,Default,,0,0,0,,003
Dialogue: 0,0:00:13.00,0:00:17.00,Default,,0,0,0,,004
Dialogue: 0,0:00:17.00,0:00:21.00,Default,,0,0,0,,005
Dialogue: 0,0:00:21.00,0:00:25.00,Default,,0,0,0,,006
Dialogue: 0,0:00:25.00,0:00:29.00,Default,,0,0,0,,007
Dialogue: 0,0:00:29.00,0:00:33.00,Default,,0,0,0,,008
Dialogue: 0,0:00:33.00,0:00:37.00,Default,,0,0,0,,009
Dialogue: 0,0:00:37.00,0:00:41.00,Default,,0,0,0,,010
Dialogue: 0,0:00:41.00,0:00:45.00,Default,,0,0,0,,011
Dialogue: 0,0:00:45.00,0:00:49.00,Default,,0,0,0,,012
Dialogue: 0,0:00:49.00,0:00:53.00,Default,,0,0,0,,013
Dialogue: 0,0:00:53.00,0:00:57.00,Default,,0,0,0,,014
Dialogue: 0,0:00:57.00,0:01:01.00,Default,,0,0,0,,015
Dialogue: 0,0:01:01.00,0:01:05.00,Default,,0,0,0,,016
Dialogue: 0,0:01:05.00,0:01:09.00,Default,,0,0,0,,017
Dialogue: 0,0:01:09.00,0:01:13.00,Default,,0,0,0,,018
Dialogue: 0,0:01:13.00,0:01:17.00,Default,,0,0,0,,019
Dialogue: 0,0:01:17.00,0:01:21.00,Default,,0,0,0,,020
Dialogue: 0,0:01:21.00,0:01:25.00,Default,,0,0,0,,021
Dialogue: 0,0:01:25.00,0:01:29.00,Default,,0,0,0,,022
Dialogue: 0,0:01:29.00,0:01:33.00,Default,,0,0,0,,023
Dialogue: 0,0:01:33.00,0:01:37.00,Default,,0,0,0,,024
Dialogue: 0,0:01:37.00,0:01:41.00,Default,,0,0,0,,025
Dialogue: 0,0:01:41.00,0:01:45.00,Default,,0,0,0,,026
Dialogue: 0,0:01:45.00,0:01:49.00,Default,,0,0,0,,027
Dialogue: 0,0:01:49.00,0:01:53.00,Default,,0,0,0,,028
Dialogue: 0,0:01:53.00,0:01:57.00,Default,,0,0,0,,029
Dialogue: 0,0:01:57.00,0:02:01.00,Default,,0,0,0,,030
Dialogue: 0,0:02:01.00,0:02:05.00,Default,,0,0,0,,031
Dialogue: 0,0:02:05.00,0:02:09.00,Default,,0,0,0,,032
Dialogue: 0,0:02:09.00,0:02:13.00,Default,,0,0,0,,033
Dialogue: 0,0:02:13.00,0:02:17.00,Default,,0,0,0,,034
Dialogue: 0,0:02:17.00,0:02:21.00,Default,,0,0,0,,035
Dialogue: 0,0:02:21.00,0:02:25.00,Default,,0,0,0,,036
Dialogue: 0,0:02:25.00,0:02:29.00,Default,,0,0,0,,037
Dialogue: 0,0:02:29.00,0:02:33.00,Default,,0,0,0,,038
Dialogue: 0,0:02:33.00,0:02:37.00,Default,,0,0,0,,039
Dialogue: 0,0:02:37.00,0:02:41.00,Default,,0,0,0,,040
Dialogue: 0,0:02:41.00,0:02:45.00,Default,,0,0,0,,041
Dialogue: 0,0:02:45.00,0:02:49.00,Default,,0,0,0,,042
Dialogue: 0,0:02:49.00,0:02:53.00,Default,,0,0,0,,043
Dialogue: 0,0:02:53.00,0:02:57.00,Default,,0,0,0,,044