[FFmpeg-user] sendcmd and drawtext - using more than one in the same filtergraph?

Mark Burton mwjburton at gmail.com
Fri Apr 28 17:59:26 EEST 2017


Using a single sendcmd to read text from an external file and command a single drawtext, is working fine:

ffmpeg -i input.mov -c:v dnxhd -b:v 115M -pix_fmt yuv422p -vf "sendcmd=filename=commandFile1,drawtext=fontfile=/System/Library/Fonts/Helvetica.dfont:fontsize=20:fontcolor=white:x=10:y=30:text=" -an output.mov

However I need to have two or more drawtext filters being commanded from separate sendcmd files in the same filtergraph.

I believe I need to assign filter instance names to each drawtext command and then reference that name for [TARGET] in the sendcmd text file, but after reading through the docs and trying a few ideas, I’m no closer.

The basic command (currently not working):

ffmpeg -i input.mov -c:v dnxhd -b:v 115M -pix_fmt yuv422p -vf "sendcmd=filename=commandFile1,drawtext=fontfile=/System/Library/Fonts/Helvetica.dfont:fontsize=20:fontcolor=white:x=10:y=30:text=,sendcmd=filename=commandFile2,drawtext=fontfile=/System/Library/Fonts/Helvetica.dfont:fontsize=20:fontcolor=red:x=10:y=60:text=" -an output.mov

Result:
drawtext 1 - after 1 frame at each new text entry, text from commandFile2 is overriding text from commandFile1.
drawtext 2 - nothing is being drawn by this filter.

...contents of the sendcmd files:

commandFile1
00:00:00.000-00:00:01.000 [enter] drawtext reinit 'text=Note A';
00:00:01.000-00:00:01.958 [enter] drawtext reinit 'text=Note B';

commandFile2
00:00:00.000-00:00:01.000 [enter] drawtext reinit 'text=Tag 1';
00:00:01.000-00:00:01.958 [enter] drawtext reinit 'text=Tag 2';

… and the output:

ffmpeg version N-85641-gdd49eff-tessus Copyright (c) 2000-2017 the FFmpeg developers
  built with Apple LLVM version 8.0.0 (clang-800.0.42.1)
  configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --extra-version=tessus --enable-avisynth --enable-fontconfig --enable-gpl --enable-libass --enable-libbluray --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopus --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzmq --enable-libzvbi --enable-version3 --disable-ffplay --disable-indev=qtkit
  libavutil      55. 61.100 / 55. 61.100
  libavcodec     57. 93.100 / 57. 93.100
  libavformat    57. 72.101 / 57. 72.101
  libavdevice    57.  7.100 / 57.  7.100
  libavfilter     6. 86.100 /  6. 86.100
  libswscale      4.  7.101 /  4.  7.101
  libswresample   2.  8.100 /  2.  8.100
  libpostproc    54.  6.100 / 54.  6.100
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set logging level) with argument 'debug'.
Reading option '-i' ... matched as input url with argument 'input.mov'.
Reading option '-c:v' ... matched as option 'c' (codec name) with argument 'dnxhd'.
Reading option '-b:v' ... matched as option 'b' (video bitrate (please use -b:v)) with argument '115M'.
Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel format) with argument 'yuv422p'.
Reading option '-vf' ... matched as option 'vf' (set video filters) with argument 'sendcmd=filename=commandFile1,drawtext=fontfile=/System/Library/Fonts/Helvetica.dfont:fontsize=20:fontcolor=white:x=10:y=30:text=,
sendcmd=filename=commandFile2,drawtext=fontfile=/System/Library/Fonts/Helvetica.dfont:fontsize=20:fontcolor=red:x=10:y=60:text='.
Reading option '-an' ... matched as option 'an' (disable audio) with argument '1'.
Reading option 'output.mov' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument debug.
Successfully parsed a group of options.
Parsing a group of options: input url input.mov.
Successfully parsed a group of options.
Opening an input file: input.mov.
[file @ 0x7f84705002a0] Setting default whitelist 'file,crypto'
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f8471000000] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f8471000000] ISO: File Type Major Brand: qt
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f8471000000] Unknown dref type 0x73696c61 size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f8471000000] Processing st: 0, edit list 0 - media time: 0, duration: 48000
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f8471000000] Unknown dref type 0x73696c61 size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f8471000000] Processing st: 1, edit list 0 - media time: 0, duration: 96000
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f8471000000] Unknown dref type 0x73696c61 size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f8471000000] Processing st: 2, edit list 0 - media time: 0, duration: 48000
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f8471000000] Before avformat_find_stream_info() pos: 29676271 bytes read:38355 seeks:1 nb_streams:3
[dnxhd @ 0x7f8471017600] Profile cid 1237.
[dnxhd @ 0x7f8471017600] 1920x1080, 4:2:2 8 bits, MBAFF=0 ACT=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f8471000000] All info found
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f8471000000] After avformat_find_stream_info() pos: 894544 bytes read:932851 seeks:2 frames:48
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    creation_time   : 2017-04-14T13:37:46.000000Z
    timecode        : 01:00:00:00
  Duration: 00:00:02.00, start: 0.000000, bitrate: 118705 kb/s
    Stream #0:0(eng), 1, 1/24000: Video: dnxhd (DNXHD), 1 reference frame (AVdn / 0x6E645641), yuv422p(tv, bt709/unknown/unknown), 1920x1080, 0/1, 116391 kb/s, SAR 1:1 DAR 16:9, 24 fps, 24 tbr, 24k tbn, 24k tbc (default)
    Metadata:
      creation_time   : 2017-04-14T13:37:46.000000Z
      handler_name    : Apple Alias Data Handler
      encoder         : Avid DNxHD Codec
    Stream #0:1(eng), 47, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, stereo, s32 (24 bit), 2304 kb/s (default)
    Metadata:
      creation_time   : 2017-04-14T13:37:46.000000Z
      handler_name    : Apple Alias Data Handler
    Stream #0:2(eng), 0, 1/24000: Data: none (tmcd / 0x64636D74), 0/1, 0 kb/s (default)
    Metadata:
      creation_time   : 2017-04-14T13:37:46.000000Z
      handler_name    : Apple Alias Data Handler
      timecode        : 01:00:00:00
Successfully opened the file.
Parsing a group of options: output url output.mov.
Applying option c:v (codec name) with argument dnxhd.
Applying option b:v (video bitrate (please use -b:v)) with argument 115M.
Applying option pix_fmt (set pixel format) with argument yuv422p.
Applying option vf (set video filters) with argument sendcmd=filename=commandFile1,drawtext=fontfile=/System/Library/Fonts/Helvetica.dfont:fontsize=20:fontcolor=white:x=10:y=30:text=,
sendcmd=filename=commandFile2,drawtext=fontfile=/System/Library/Fonts/Helvetica.dfont:fontsize=20:fontcolor=red:x=10:y=60:text=.
Applying option an (disable audio) with argument 1.
Successfully parsed a group of options.
Opening an output file: output.mov.
[file @ 0x7f84704133a0] Setting default whitelist 'file,crypto'
Successfully opened the file.
detected 8 logical cores
Stream mapping:
  Stream #0:0 -> #0:0 (dnxhd (native) -> dnxhd (native))
Press [q] to stop, [?] for help
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
    Last message repeated 48 times
[dnxhd @ 0x7f8470861200] Profile cid 1237.
[dnxhd @ 0x7f8470861200] 1920x1080, 4:2:2 8 bits, MBAFF=0 ACT=0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[dnxhd @ 0x7f8470866400] Profile cid 1237.
[dnxhd @ 0x7f8470866400] 1920x1080, 4:2:2 8 bits, MBAFF=0 ACT=0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[dnxhd @ 0x7f847086c000] Profile cid 1237.
[dnxhd @ 0x7f847086c000] 1920x1080, 4:2:2 8 bits, MBAFF=0 ACT=0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[dnxhd @ 0x7f8470871c00] Profile cid 1237.
[dnxhd @ 0x7f8470871c00] 1920x1080, 4:2:2 8 bits, MBAFF=0 ACT=0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[dnxhd @ 0x7f8470877800] Profile cid 1237.
[dnxhd @ 0x7f8470877800] 1920x1080, 4:2:2 8 bits, MBAFF=0 ACT=0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[dnxhd @ 0x7f847087d400] Profile cid 1237.
[dnxhd @ 0x7f847087d400] 1920x1080, 4:2:2 8 bits, MBAFF=0 ACT=0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[dnxhd @ 0x7f8470883000] Profile cid 1237.
[dnxhd @ 0x7f8470883000] 1920x1080, 4:2:2 8 bits, MBAFF=0 ACT=0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[dnxhd @ 0x7f8470888c00] Profile cid 1237.
[dnxhd @ 0x7f8470888c00] 1920x1080, 4:2:2 8 bits, MBAFF=0 ACT=0
[dnxhd @ 0x7f847088e800] Profile cid 1237.
[dnxhd @ 0x7f847088e800] 1920x1080, 4:2:2 8 bits, MBAFF=0 ACT=0
[Parsed_sendcmd_0 @ 0x7f8470503580] Setting 'filename' to value 'commandFile1'
[Parsed_sendcmd_0 @ 0x7f8470503580] Parsed commands:
[Parsed_sendcmd_0 @ 0x7f8470503580] start_time:0.000000 end_time:1.000000 index:0
[Parsed_sendcmd_0 @ 0x7f8470503580]     [enter] target:drawtext command:reinit arg:text=Note A index:0
[Parsed_sendcmd_0 @ 0x7f8470503580] start_time:1.000000 end_time:1.958000 index:1
[Parsed_sendcmd_0 @ 0x7f8470503580]     [enter] target:drawtext command:reinit arg:text=Note B index:0
[Parsed_drawtext_1 @ 0x7f84705039a0] Setting 'fontfile' to value '/System/Library/Fonts/Helvetica.dfont'
[Parsed_drawtext_1 @ 0x7f84705039a0] Setting 'fontsize' to value '20'
[Parsed_drawtext_1 @ 0x7f84705039a0] Setting 'fontcolor' to value 'white'
[Parsed_drawtext_1 @ 0x7f84705039a0] Setting 'x' to value '10'
[Parsed_drawtext_1 @ 0x7f84705039a0] Setting 'y' to value '30'
[Parsed_drawtext_1 @ 0x7f84705039a0] Setting 'text' to value ''
[Parsed_sendcmd_2 @ 0x7f8473300ae0] Setting 'filename' to value 'commandFile2'
[Parsed_sendcmd_2 @ 0x7f8473300ae0] Parsed commands:
[Parsed_sendcmd_2 @ 0x7f8473300ae0] start_time:0.000000 end_time:1.000000 index:0
[Parsed_sendcmd_2 @ 0x7f8473300ae0]     [enter] target:drawtext command:reinit arg:text=Tag 1 index:0
[Parsed_sendcmd_2 @ 0x7f8473300ae0] start_time:1.000000 end_time:1.958000 index:1
[Parsed_sendcmd_2 @ 0x7f8473300ae0]     [enter] target:drawtext command:reinit arg:text=Tag 2 index:0
[Parsed_drawtext_3 @ 0x7f8473301160] Setting 'fontfile' to value '/System/Library/Fonts/Helvetica.dfont'
[Parsed_drawtext_3 @ 0x7f8473301160] Setting 'fontsize' to value '20'
[Parsed_drawtext_3 @ 0x7f8473301160] Setting 'fontcolor' to value 'red'
[Parsed_drawtext_3 @ 0x7f8473301160] Setting 'x' to value '10'
[Parsed_drawtext_3 @ 0x7f8473301160] Setting 'y' to value '60'
[Parsed_drawtext_3 @ 0x7f8473301160] Setting 'text' to value ''
[graph 0 input from stream 0:0 @ 0x7f8470506640] Setting 'video_size' to value '1920x1080'
[graph 0 input from stream 0:0 @ 0x7f8470506640] Setting 'pix_fmt' to value '4'
[graph 0 input from stream 0:0 @ 0x7f8470506640] Setting 'time_base' to value '1/24000'
[graph 0 input from stream 0:0 @ 0x7f8470506640] Setting 'pixel_aspect' to value '1/1'
[graph 0 input from stream 0:0 @ 0x7f8470506640] Setting 'sws_param' to value 'flags=2'
[graph 0 input from stream 0:0 @ 0x7f8470506640] Setting 'frame_rate' to value '24/1'
[graph 0 input from stream 0:0 @ 0x7f8470506640] w:1920 h:1080 pixfmt:yuv422p tb:1/24000 fr:24/1 sar:1/1 sws_param:flags=2
[format @ 0x7f8470506c20] compat: called with args=[yuv422p]
[format @ 0x7f8470506c20] Setting 'pix_fmts' to value 'yuv422p'
[AVFilterGraph @ 0x7f8470502500] query_formats: 7 queried, 6 merged, 0 already done, 0 delayed
[Parsed_sendcmd_0 @ 0x7f8470503580] [enter] interval #0 start_ts:0.000000 end_ts:1.000000 ts:0.000000
[Parsed_sendcmd_0 @ 0x7f8470503580] Processing command #0 target:drawtext command:reinit arg:text=Note A
[Parsed_drawtext_1 @ 0x7f84705039a0] Setting entry with key 'text' to value 'Note A'
[Parsed_sendcmd_0 @ 0x7f8470503580] Command reply for command #0: ret:Undefined error: 0 res:
[Parsed_drawtext_1 @ 0x7f84705039a0] n:0 t:0.000000 text_w:61 text_h:14 x:10 y:30
[Parsed_sendcmd_2 @ 0x7f8473300ae0] [enter] interval #0 start_ts:0.000000 end_ts:1.000000 ts:0.000000
[Parsed_sendcmd_2 @ 0x7f8473300ae0] Processing command #0 target:drawtext command:reinit arg:text=Tag 1
[Parsed_drawtext_1 @ 0x7f84705039a0] Setting entry with key 'text' to value 'Tag 1'
[Parsed_sendcmd_2 @ 0x7f8473300ae0] Command reply for command #0: ret:Undefined error: 0 res:
[Parsed_drawtext_3 @ 0x7f8473301160] n:0 t:0.000000 text_w:0 text_h:-64000 x:10 y:60
[dnxhd @ 0x7f8470854000] cid 1237
Output #0, mov, to 'output.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    timecode        : 01:00:00:00
    encoder         : Lavf57.72.101
    Stream #0:0(eng), 0, 1/12288: Video: dnxhd (DNXHD), 1 reference frame (AVdn / 0x6E645641), yuv422p, 1920x1080 [SAR 1:1 DAR 16:9], 0/1, q=2-1024, 115000 kb/s, 24 fps, 12288 tbn, 24 tbc (default)
    Metadata:
      creation_time   : 2017-04-14T13:37:46.000000Z
      handler_name    : Apple Alias Data Handler
      encoder         : Lavc57.93.100 dnxhd
Clipping frame in rate conversion by 0.000008
[dnxhd @ 0x7f8470861200] 1920x1080, 4:2:2 8 bits, MBAFF=0 ACT=0
[Parsed_drawtext_1 @ 0x7f84705039a0] n:1 t:0.041667 text_w:51 text_h:18 x:10 y:30
[Parsed_drawtext_3 @ 0x7f8473301160] n:1 t:0.041667 text_w:0 text_h:-64000 x:10 y:60
[dnxhd @ 0x7f8470866400] 1920x1080, 4:2:2 8 bits, MBAFF=0 ACT=0
[Parsed_drawtext_1 @ 0x7f84705039a0] n:2 t:0.083333 text_w:51 text_h:18 x:10 y:30
[Parsed_drawtext_3 @ 0x7f8473301160] n:2 t:0.083333 text_w:0 text_h:-64000 x:10 y:60
[dnxhd @ 0x7f847086c000] 1920x1080, 4:2:2 8 bits, MBAFF=0 ACT=0
[Parsed_drawtext_1 @ 0x7f84705039a0] n:3 t:0.125000 text_w:51 text_h:18 x:10 y:30
[Parsed_drawtext_3 @ 0x7f8473301160] n:3 t:0.125000 text_w:0 text_h:-64000 x:10 y:60
[dnxhd @ 0x7f8470871c00] 1920x1080, 4:2:2 8 bits, MBAFF=0 ACT=0
[Parsed_drawtext_1 @ 0x7f84705039a0] n:4 t:0.166667 text_w:51 text_h:18 x:10 y:30
[Parsed_drawtext_3 @ 0x7f8473301160] n:4 t:0.166667 text_w:0 text_h:-64000 x:10 y:60
[dnxhd @ 0x7f8470877800] 1920x1080, 4:2:2 8 bits, MBAFF=0 ACT=0
[Parsed_drawtext_1 @ 0x7f84705039a0] n:5 t:0.208333 text_w:51 text_h:18 x:10 y:30
[Parsed_drawtext_3 @ 0x7f8473301160] n:5 t:0.208333 text_w:0 text_h:-64000 x:10 y:60
[Parsed_drawtext_1 @ 0x7f84705039a0] n:6 t:0.250000 text_w:51 text_h:18 x:10 y:30
[dnxhd @ 0x7f847087d400] 1920x1080, 4:2:2 8 bits, MBAFF=0 ACT=0
[Parsed_drawtext_3 @ 0x7f8473301160] n:6 t:0.250000 text_w:0 text_h:-64000 x:10 y:60
[dnxhd @ 0x7f8470883000] 1920x1080, 4:2:2 8 bits, MBAFF=0 ACT=0
[Parsed_drawtext_1 @ 0x7f84705039a0] n:7 t:0.291667 text_w:51 text_h:18 x:10 y:30
[Parsed_drawtext_3 @ 0x7f8473301160] n:7 t:0.291667 text_w:0 text_h:-64000 x:10 y:60
[dnxhd @ 0x7f8470888c00] 1920x1080, 4:2:2 8 bits, MBAFF=0 ACT=0
[Parsed_drawtext_1 @ 0x7f84705039a0] n:8 t:0.333333 text_w:51 text_h:18 x:10 y:30
[Parsed_drawtext_3 @ 0x7f8473301160] n:8 t:0.333333 text_w:0 text_h:-64000 x:10 y:60
[dnxhd @ 0x7f847088e800] 1920x1080, 4:2:2 8 bits, MBAFF=0 ACT=0
[Parsed_drawtext_1 @ 0x7f84705039a0] n:9 t:0.375000 text_w:51 text_h:18 x:10 y:30
[Parsed_drawtext_3 @ 0x7f8473301160] n:9 t:0.375000 text_w:0 text_h:-64000 x:10 y:60
[dnxhd @ 0x7f8470861200] 1920x1080, 4:2:2 8 bits, MBAFF=0 ACT=0
[Parsed_drawtext_1 @ 0x7f84705039a0] n:10 t:0.416667 text_w:51 text_h:18 x:10 y:30
[Parsed_drawtext_3 @ 0x7f8473301160] n:10 t:0.416667 text_w:0 text_h:-64000 x:10 y:60
[dnxhd @ 0x7f8470866400] 1920x1080, 4:2:2 8 bits, MBAFF=0 ACT=0
[Parsed_drawtext_1 @ 0x7f84705039a0] n:11 t:0.458333 text_w:51 text_h:18 x:10 y:30
[Parsed_drawtext_3 @ 0x7f8473301160] n:11 t:0.458333 text_w:0 text_h:-64000 x:10 y:60
[dnxhd @ 0x7f847086c000] 1920x1080, 4:2:2 8 bits, MBAFF=0 ACT=0
[Parsed_drawtext_1 @ 0x7f84705039a0] n:12 t:0.500000 text_w:51 text_h:18 x:10 y:30
[Parsed_drawtext_3 @ 0x7f8473301160] n:12 t:0.500000 text_w:0 text_h:-64000 x:10 y:60
[dnxhd @ 0x7f8470871c00] 1920x1080, 4:2:2 8 bits, MBAFF=0 ACT=0
[Parsed_drawtext_1 @ 0x7f84705039a0] n:13 t:0.541667 text_w:51 text_h:18 x:10 y:30
[Parsed_drawtext_3 @ 0x7f8473301160] n:13 t:0.541667 text_w:0 text_h:-64000 x:10 y:60
[dnxhd @ 0x7f8470877800] 1920x1080, 4:2:2 8 bits, MBAFF=0 ACT=0
[Parsed_drawtext_1 @ 0x7f84705039a0] n:14 t:0.583333 text_w:51 text_h:18 x:10 y:30
[Parsed_drawtext_3 @ 0x7f8473301160] n:14 t:0.583333 text_w:0 text_h:-64000 x:10 y:60
[dnxhd @ 0x7f847087d400] 1920x1080, 4:2:2 8 bits, MBAFF=0 ACT=0
[Parsed_drawtext_1 @ 0x7f84705039a0] n:15 t:0.625000 text_w:51 text_h:18 x:10 y:30
[Parsed_drawtext_3 @ 0x7f8473301160] n:15 t:0.625000 text_w:0 text_h:-64000 x:10 y:60
[dnxhd @ 0x7f8470883000] 1920x1080, 4:2:2 8 bits, MBAFF=0 ACT=0
[Parsed_drawtext_1 @ 0x7f84705039a0] n:16 t:0.666667 text_w:51 text_h:18 x:10 y:30
[Parsed_drawtext_3 @ 0x7f8473301160] n:16 t:0.666667 text_w:0 text_h:-64000 x:10 y:60
[dnxhd @ 0x7f8470888c00] 1920x1080, 4:2:2 8 bits, MBAFF=0 ACT=0
[Parsed_drawtext_1 @ 0x7f84705039a0] n:17 t:0.708333 text_w:51 text_h:18 x:10 y:30
[Parsed_drawtext_3 @ 0x7f8473301160] n:17 t:0.708333 text_w:0 text_h:-64000 x:10 y:60
[Parsed_drawtext_1 @ 0x7f84705039a0] n:18 t:0.750000 text_w:51 text_h:18 x:10 y:30
[dnxhd @ 0x7f847088e800] 1920x1080, 4:2:2 8 bits, MBAFF=0 ACT=0
[Parsed_drawtext_3 @ 0x7f8473301160] n:18 t:0.750000 text_w:0 text_h:-64000 x:10 y:60
[dnxhd @ 0x7f8470861200] 1920x1080, 4:2:2 8 bits, MBAFF=0 ACT=0
[Parsed_drawtext_1 @ 0x7f84705039a0] n:19 t:0.791667 text_w:51 text_h:18 x:10 y:30
[Parsed_drawtext_3 @ 0x7f8473301160] n:19 t:0.791667 text_w:0 text_h:-64000 x:10 y:60
[dnxhd @ 0x7f8470866400] 1920x1080, 4:2:2 8 bits, MBAFF=0 ACT=0
[Parsed_drawtext_1 @ 0x7f84705039a0] n:20 t:0.833333 text_w:51 text_h:18 x:10 y:30
[Parsed_drawtext_3 @ 0x7f8473301160] n:20 t:0.833333 text_w:0 text_h:-64000 x:10 y:60
[dnxhd @ 0x7f847086c000] 1920x1080, 4:2:2 8 bits, MBAFF=0 ACT=0
[Parsed_drawtext_1 @ 0x7f84705039a0] n:21 t:0.875000 text_w:51 text_h:18 x:10 y:30
[Parsed_drawtext_3 @ 0x7f8473301160] n:21 t:0.875000 text_w:0 text_h:-64000 x:10 y:60
[dnxhd @ 0x7f8470871c00] 1920x1080, 4:2:2 8 bits, MBAFF=0 ACT=0
[Parsed_drawtext_1 @ 0x7f84705039a0] n:22 t:0.916667 text_w:51 text_h:18 x:10 y:30
[Parsed_drawtext_3 @ 0x7f8473301160] n:22 t:0.916667 text_w:0 text_h:-64000 x:10 y:60
[dnxhd @ 0x7f8470877800] 1920x1080, 4:2:2 8 bits, MBAFF=0 ACT=0
[Parsed_drawtext_1 @ 0x7f84705039a0] n:23 t:0.958333 text_w:51 text_h:18 x:10 y:30
[Parsed_drawtext_3 @ 0x7f8473301160] n:23 t:0.958333 text_w:0 text_h:-64000 x:10 y:60
[Parsed_sendcmd_0 @ 0x7f8470503580] [leave] interval #0 start_ts:0.000000 end_ts:1.000000 ts:1.000000
[dnxhd @ 0x7f847087d400] 1920x1080, 4:2:2 8 bits, MBAFF=0 ACT=0
[Parsed_sendcmd_0 @ 0x7f8470503580] [enter] interval #1 start_ts:1.000000 end_ts:1.958000 ts:1.000000
[Parsed_sendcmd_0 @ 0x7f8470503580] Processing command #0 target:drawtext command:reinit arg:text=Note B
[Parsed_drawtext_1 @ 0x7f84705039a0] Setting entry with key 'text' to value 'Note B'
[Parsed_sendcmd_0 @ 0x7f8470503580] Command reply for command #0: ret:Undefined error: 0 res:
[Parsed_drawtext_1 @ 0x7f84705039a0] n:24 t:1.000000 text_w:61 text_h:14 x:10 y:30
[Parsed_sendcmd_2 @ 0x7f8473300ae0] [leave] interval #0 start_ts:0.000000 end_ts:1.000000 ts:1.000000
[Parsed_sendcmd_2 @ 0x7f8473300ae0] [enter] interval #1 start_ts:1.000000 end_ts:1.958000 ts:1.000000
[Parsed_sendcmd_2 @ 0x7f8473300ae0] Processing command #0 target:drawtext command:reinit arg:text=Tag 2
[Parsed_drawtext_1 @ 0x7f84705039a0] Setting entry with key 'text' to value 'Tag 2'
[Parsed_sendcmd_2 @ 0x7f8473300ae0] Command reply for command #0: ret:Undefined error: 0 res:
[Parsed_drawtext_3 @ 0x7f8473301160] n:24 t:1.000000 text_w:0 text_h:-64000 x:10 y:60
[dnxhd @ 0x7f8470883000] 1920x1080, 4:2:2 8 bits, MBAFF=0 ACT=0
[Parsed_drawtext_1 @ 0x7f84705039a0] n:25 t:1.041667 text_w:51 text_h:18 x:10 y:30
[Parsed_drawtext_3 @ 0x7f8473301160] n:25 t:1.041667 text_w:0 text_h:-64000 x:10 y:60
[dnxhd @ 0x7f8470888c00] 1920x1080, 4:2:2 8 bits, MBAFF=0 ACT=0
[Parsed_drawtext_1 @ 0x7f84705039a0] n:26 t:1.083333 text_w:51 text_h:18 x:10 y:30
[Parsed_drawtext_3 @ 0x7f8473301160] n:26 t:1.083333 text_w:0 text_h:-64000 x:10 y:60
[dnxhd @ 0x7f847088e800] 1920x1080, 4:2:2 8 bits, MBAFF=0 ACT=0
[Parsed_drawtext_1 @ 0x7f84705039a0] n:27 t:1.125000 text_w:51 text_h:18 x:10 y:30
[Parsed_drawtext_3 @ 0x7f8473301160] n:27 t:1.125000 text_w:0 text_h:-64000 x:10 y:60
[dnxhd @ 0x7f8470861200] 1920x1080, 4:2:2 8 bits, MBAFF=0 ACT=0
[Parsed_drawtext_1 @ 0x7f84705039a0] n:28 t:1.166667 text_w:51 text_h:18 x:10 y:30
[Parsed_drawtext_3 @ 0x7f8473301160] n:28 t:1.166667 text_w:0 text_h:-64000 x:10 y:60
[dnxhd @ 0x7f8470866400] 1920x1080, 4:2:2 8 bits, MBAFF=0 ACT=0
[Parsed_drawtext_1 @ 0x7f84705039a0] n:29 t:1.208333 text_w:51 text_h:18 x:10 y:30
[Parsed_drawtext_3 @ 0x7f8473301160] n:29 t:1.208333 text_w:0 text_h:-64000 x:10 y:60
[dnxhd @ 0x7f847086c000] 1920x1080, 4:2:2 8 bits, MBAFF=0 ACT=0
[Parsed_drawtext_1 @ 0x7f84705039a0] n:30 t:1.250000 text_w:51 text_h:18 x:10 y:30
[Parsed_drawtext_3 @ 0x7f8473301160] n:30 t:1.250000 text_w:0 text_h:-64000 x:10 y:60
[dnxhd @ 0x7f8470871c00] 1920x1080, 4:2:2 8 bits, MBAFF=0 ACT=0
[Parsed_drawtext_1 @ 0x7f84705039a0] n:31 t:1.291667 text_w:51 text_h:18 x:10 y:30
[Parsed_drawtext_3 @ 0x7f8473301160] n:31 t:1.291667 text_w:0 text_h:-64000 x:10 y:60
[dnxhd @ 0x7f8470877800] 1920x1080, 4:2:2 8 bits, MBAFF=0 ACT=0
[Parsed_drawtext_1 @ 0x7f84705039a0] n:32 t:1.333333 text_w:51 text_h:18 x:10 y:30
[Parsed_drawtext_3 @ 0x7f8473301160] n:32 t:1.333333 text_w:0 text_h:-64000 x:10 y:60
[dnxhd @ 0x7f847087d400] 1920x1080, 4:2:2 8 bits, MBAFF=0 ACT=0
[Parsed_drawtext_1 @ 0x7f84705039a0] n:33 t:1.375000 text_w:51 text_h:18 x:10 y:30
[Parsed_drawtext_3 @ 0x7f8473301160] n:33 t:1.375000 text_w:0 text_h:-64000 x:10 y:60
[dnxhd @ 0x7f8470883000] 1920x1080, 4:2:2 8 bits, MBAFF=0 ACT=0
[Parsed_drawtext_1 @ 0x7f84705039a0] n:34 t:1.416667 text_w:51 text_h:18 x:10 y:30
[Parsed_drawtext_3 @ 0x7f8473301160] n:34 t:1.416667 text_w:0 text_h:-64000 x:10 y:60
[Parsed_drawtext_1 @ 0x7f84705039a0] n:35 t:1.458333 text_w:51 text_h:18 x:10 y:30
[dnxhd @ 0x7f8470888c00] 1920x1080, 4:2:2 8 bits, MBAFF=0 ACT=0
[Parsed_drawtext_3 @ 0x7f8473301160] n:35 t:1.458333 text_w:0 text_h:-64000 x:10 y:60
[dnxhd @ 0x7f847088e800] 1920x1080, 4:2:2 8 bits, MBAFF=0 ACT=0
[Parsed_drawtext_1 @ 0x7f84705039a0] n:36 t:1.500000 text_w:51 text_h:18 x:10 y:30
[Parsed_drawtext_3 @ 0x7f8473301160] n:36 t:1.500000 text_w:0 text_h:-64000 x:10 y:60
[dnxhd @ 0x7f8470861200] 1920x1080, 4:2:2 8 bits, MBAFF=0 ACT=0
[Parsed_drawtext_1 @ 0x7f84705039a0] n:37 t:1.541667 text_w:51 text_h:18 x:10 y:30
[Parsed_drawtext_3 @ 0x7f8473301160] n:37 t:1.541667 text_w:0 text_h:-64000 x:10 y:60
[dnxhd @ 0x7f8470866400] 1920x1080, 4:2:2 8 bits, MBAFF=0 ACT=0
[Parsed_drawtext_1 @ 0x7f84705039a0] n:38 t:1.583333 text_w:51 text_h:18 x:10 y:30
[Parsed_drawtext_3 @ 0x7f8473301160] n:38 t:1.583333 text_w:0 text_h:-64000 x:10 y:60
[dnxhd @ 0x7f847086c000] 1920x1080, 4:2:2 8 bits, MBAFF=0 ACT=0
[Parsed_drawtext_1 @ 0x7f84705039a0] n:39 t:1.625000 text_w:51 text_h:18 x:10 y:30
[Parsed_drawtext_3 @ 0x7f8473301160] n:39 t:1.625000 text_w:0 text_h:-64000 x:10 y:60
[Parsed_drawtext_1 @ 0x7f84705039a0] n:40 t:1.666667 text_w:51 text_h:18 x:10 y:30
[Parsed_drawtext_3 @ 0x7f8473301160] n:40 t:1.666667 text_w:0 text_h:-64000 x:10 y:60
[Parsed_drawtext_1 @ 0x7f84705039a0] n:41 t:1.708333 text_w:51 text_h:18 x:10 y:30
[Parsed_drawtext_3 @ 0x7f8473301160] n:41 t:1.708333 text_w:0 text_h:-64000 x:10 y:60
[Parsed_drawtext_1 @ 0x7f84705039a0] n:42 t:1.750000 text_w:51 text_h:18 x:10 y:30
[Parsed_drawtext_3 @ 0x7f8473301160] n:42 t:1.750000 text_w:0 text_h:-64000 x:10 y:60
[Parsed_drawtext_1 @ 0x7f84705039a0] n:43 t:1.791667 text_w:51 text_h:18 x:10 y:30
[Parsed_drawtext_3 @ 0x7f8473301160] n:43 t:1.791667 text_w:0 text_h:-64000 x:10 y:60
[Parsed_drawtext_1 @ 0x7f84705039a0] n:44 t:1.833333 text_w:51 text_h:18 x:10 y:30
[Parsed_drawtext_3 @ 0x7f8473301160] n:44 t:1.833333 text_w:0 text_h:-64000 x:10 y:60
[Parsed_drawtext_1 @ 0x7f84705039a0] n:45 t:1.875000 text_w:51 text_h:18 x:10 y:30
[Parsed_drawtext_3 @ 0x7f8473301160] n:45 t:1.875000 text_w:0 text_h:-64000 x:10 y:60
[Parsed_drawtext_1 @ 0x7f84705039a0] n:46 t:1.916667 text_w:51 text_h:18 x:10 y:30
[Parsed_drawtext_3 @ 0x7f8473301160] n:46 t:1.916667 text_w:0 text_h:-64000 x:10 y:60
[Parsed_sendcmd_0 @ 0x7f8470503580] [leave] interval #1 start_ts:1.000000 end_ts:1.958000 ts:1.958333
[Parsed_drawtext_1 @ 0x7f84705039a0] n:47 t:1.958333 text_w:51 text_h:18 x:10 y:30
[Parsed_sendcmd_2 @ 0x7f8473300ae0] [leave] interval #1 start_ts:1.000000 end_ts:1.958000 ts:1.958333
[Parsed_drawtext_3 @ 0x7f8473301160] n:47 t:1.958333 text_w:0 text_h:-64000 x:10 y:60
No more output streams to write to, finishing.
frame=   48 fps=0.0 q=1.0 Lsize=   28418kB time=00:00:01.95 bitrate=118870.4kbits/s speed=9.65x
video:28416kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.005877%
Input file #0 (input.mov):
  Input stream #0:0 (video): 48 packets read (29097984 bytes); 48 frames decoded;
  Input stream #0:1 (audio): 47 packets read (288288 bytes);
  Input stream #0:2 (data): 0 packets read (0 bytes);
  Total: 95 packets (29386272 bytes) demuxed
Output file #0 (output.mov):
  Output stream #0:0 (video): 48 frames encoded; 48 packets muxed (29097984 bytes);
  Total: 48 packets (29097984 bytes) muxed
48 frames successfully decoded, 0 decoding errors
[AVIOContext @ 0x7f8470413420] Statistics: 62 seeks, 960 writeouts
[AVIOContext @ 0x7f84705003e0] Statistics: 29424627 bytes read, 3 seeks

Many thanks
Mark



More information about the ffmpeg-user mailing list