Advertisement
Guest User

ffmpeg No such filter woes

a guest
Jun 4th, 2013
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /opt/local/bin/ffmpeg -i one.flv -i two.flv -i one.jpg -i two.jpg -filter_complex "
  2.    [0:0] pad='max(240\,iw):max(180\,ih):0:0', scale='240:180', pad='480:180:0:0' [left_video];
  3.    [1:0] pad='max(240\,iw):max(180\,ih):0:0', scale='240:180', pad='480:180:240:0' [right_video];
  4.    [left_video] [right_video] overlay [videos];
  5.    
  6.    [2:0] pad='max(240\,iw):max(180\,ih):0:0:0x00000000', scale='240:180', pad='480:180:0:0' [left_avatar];
  7.    [3:0] pad='max(240\,iw):max(180\,ih):0:0:0x00000000', scale='240:180', pad='480:180:240:0' [right_avatar];
  8.    [left_avatar] [right_avatar] overlay [avatars];
  9.    
  10.    [avatars] [videos] overlay [video];
  11.    
  12.    [0:1] [1:1] amerge;
  13.    " -acodec libfaac -ac 2 -vcodec libx264 -r 15 out.mp4
  14.  
  15.  
  16.  
  17. ffmpeg version 1.2.1 Copyright (c) 2000-2013 the FFmpeg developers
  18.   built on May 28 2013 16:00:50 with Apple clang version 3.1 (tags/Apple/clang-318.0.61) (based on LLVM 3.1svn)
  19.   configuration: --prefix=/opt/local --enable-swscale --enable-avfilter --enable-libmp3lame --enable-libvorbis --enable-libopus --enable-libtheora --enable-libschroedinger --enable-libopenjpeg --enable-libmodplug --enable-libvpx --enable-libspeex --enable-libfreetype --mandir=/opt/local/share/man --enable-shared --enable-pthreads --cc=/usr/bin/clang --arch=x86_64 --enable-yasm --enable-gpl --enable-postproc --enable-libx264 --enable-libxvid --enable-nonfree --enable-libfaac
  20.   libavutil      52. 18.100 / 52. 18.100
  21.   libavcodec     54. 92.100 / 54. 92.100
  22.   libavformat    54. 63.104 / 54. 63.104
  23.   libavdevice    54.  3.103 / 54.  3.103
  24.   libavfilter     3. 42.103 /  3. 42.103
  25.   libswscale      2.  2.100 /  2.  2.100
  26.   libswresample   0. 17.102 /  0. 17.102
  27.   libpostproc    52.  2.100 / 52.  2.100
  28. Splitting the commandline.
  29. Reading option '-v' ... matched as option 'v' (set libav* logging level) with argument 'debug'.
  30. Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
  31. Reading option '-i' ... matched as input file with argument 'stream1.flv'.
  32. Reading option '-i' ... matched as input file with argument 'stream2.flv'.
  33. Reading option '-filter_complex' ... matched as option 'filter_complex' (create a complex filtergraph) with argument '
  34.    [0:0] pad='max(240\,iw):max(180\,ih):0:0:0x00000000', scale='240:180', pad='480:180:0:0' [left_video];
  35.    [1:0] pad='max(240\,iw):max(180\,ih):0:0:0x00000000', scale='240:180', pad='480:180:240:0' [right_video];
  36.    [left_video] [right_video] overlay [videos];
  37.    
  38.    [2:0] pad='max(240\,iw):max(180\,ih):0:0:0x00000000', scale='240:180', pad='480:180:0:0' [left_avatar];
  39.    [3:0] pad='max(240\,iw):max(180\,ih):0:0:0x00000000', scale='240:180', pad='480:180:240:0' [right_avatar];
  40.    [left_avatar] [right_avatar] overlay [avatars];
  41.    
  42.    [avatars] [videos] overlay [video];
  43.    
  44.    [0:1] [1:1] amerge;
  45.    '.
  46. Reading option '-acodec' ... matched as option 'acodec' (force audio codec ('copy' to copy stream)) with argument 'libfaac'.
  47. Reading option '-ac' ... matched as option 'ac' (set number of audio channels) with argument '2'.
  48. Reading option '-vcodec' ... matched as option 'vcodec' (force video codec ('copy' to copy stream)) with argument 'libx264'.
  49. Reading option '-r' ... matched as option 'r' (set frame rate (Hz value, fraction or abbreviation)) with argument '15'.
  50. Reading option 'out.mp4' ... matched as output file.
  51. Finished splitting the commandline.
  52. Parsing a group of options: global .
  53. Applying option v (set libav* logging level) with argument debug.
  54. Applying option y (overwrite output files) with argument 1.
  55. Applying option filter_complex (create a complex filtergraph) with argument
  56.     [0:0] pad='max(240\,iw):max(180\,ih):0:0:0x00000000', scale='240:180', pad='480:180:0:0' [left_video];
  57.     [1:0] pad='max(240\,iw):max(180\,ih):0:0:0x00000000', scale='240:180', pad='480:180:240:0' [right_video];
  58.     [left_video] [right_video] overlay [videos];
  59.    
  60.     [2:0] pad='max(240\,iw):max(180\,ih):0:0:0x00000000', scale='240:180', pad='480:180:0:0' [left_avatar];
  61.     [3:0] pad='max(240\,iw):max(180\,ih):0:0:0x00000000', scale='240:180', pad='480:180:240:0' [right_avatar];
  62.     [left_avatar] [right_avatar] overlay [avatars];
  63.    
  64.     [avatars] [videos] overlay [video];
  65.    
  66.     [0:1] [1:1] amerge;
  67.     .
  68. Successfully parsed a group of options.
  69. Parsing a group of options: input file stream1.flv.
  70. Successfully parsed a group of options.
  71. Opening an input file: stream1.flv.
  72. [flv @ 0x7fb1cb03d800] Format flv probed with size=2048 and score=100
  73. [flv @ 0x7fb1cb03d800] File position before avformat_find_stream_info() is 13
  74. [flv @ 0x7fb1cb03d800] All info found
  75. rfps: 59.666667 0.014879
  76. rfps: 59.750000 0.012147
  77. rfps: 59.833333 0.011554
  78. rfps: 59.916667 0.013100
  79. rfps: 60.000000 0.016784
  80. rfps: 59.940060 0.013918
  81. [flv @ 0x7fb1cb03d800] File position after avformat_find_stream_info() is 49666
  82. Input #0, flv, from 'stream1.flv':
  83.   Metadata:
  84.     creationdate    : Tue Jun 4 12:40:11
  85.   Duration: 00:00:07.71, start: 0.002000, bitrate: 361 kb/s
  86.     Stream #0:0, 41, 1/1000: Video: flv1, yuv420p, 240x180, 1/1000, 1k tbr, 1k tbn, 1k tbc
  87.     Stream #0:1, 34, 1/1000: Audio: nellymoser, 11025 Hz, mono, flt
  88. Successfully opened the file.
  89. Parsing a group of options: input file stream2.flv.
  90. Successfully parsed a group of options.
  91. Opening an input file: stream2.flv.
  92. [flv @ 0x7fb1cb040200] Format flv probed with size=2048 and score=100
  93. [flv @ 0x7fb1cb040200] File position before avformat_find_stream_info() is 13
  94. [flv @ 0x7fb1cb040200] All info found
  95. rfps: 59.666667 0.016928
  96. rfps: 59.750000 0.012545
  97. rfps: 59.833333 0.010320
  98. rfps: 59.916667 0.010255
  99. rfps: 59.940060 0.010624
  100. [flv @ 0x7fb1cb040200] File position after avformat_find_stream_info() is 50872
  101. Input #1, flv, from 'stream2.flv':
  102.   Metadata:
  103.     creationdate    : Tue Jun 4 12:40:11
  104.   Duration: 00:00:07.82, start: 0.018000, bitrate: 358 kb/s
  105.     Stream #1:0, 41, 1/1000: Video: flv1, yuv420p, 240x180, 1/1000, 1k tbr, 1k tbn, 1k tbc
  106.     Stream #1:1, 34, 1/1000: Audio: nellymoser, 11025 Hz, mono, flt
  107. Successfully opened the file.
  108. Parsing a group of options: output file out.mp4.
  109. Applying option acodec (force audio codec ('copy' to copy stream)) with argument libfaac.
  110. Applying option ac (set number of audio channels) with argument 2.
  111. Applying option vcodec (force video codec ('copy' to copy stream)) with argument libx264.
  112. Applying option r (set frame rate (Hz value, fraction or abbreviation)) with argument 15.
  113. Successfully parsed a group of options.
  114. Opening an output file: out.mp4.
  115. [pad @ 0x7fb1cac1a9a0] Setting 'width' to value 'max(240,iw)'
  116. [pad @ 0x7fb1cac1a9a0] Setting 'height' to value 'max(180,ih)'
  117. [pad @ 0x7fb1cac1a9a0] Setting 'x' to value '0'
  118. [pad @ 0x7fb1cac1a9a0] Setting 'y' to value '0'
  119. [pad @ 0x7fb1cac1a9a0] Setting 'color' to value '0x00000000'
  120. [scale @ 0x7fb1cac1b5e0] Setting 'w' to value '240'
  121. [scale @ 0x7fb1cac1b5e0] Setting 'h' to value '180'
  122. [Parsed_scale_1 @ 0x7fb1cac1b580] w:240 h:180 flags:'' interl:0
  123. [pad @ 0x7fb1cac1ba20] Setting 'width' to value '480'
  124. [pad @ 0x7fb1cac1ba20] Setting 'height' to value '180'
  125. [pad @ 0x7fb1cac1ba20] Setting 'x' to value '0'
  126. [pad @ 0x7fb1cac1ba20] Setting 'y' to value '0'
  127. [pad @ 0x7fb1cac1b860] Setting 'width' to value 'max(240,iw)'
  128. [pad @ 0x7fb1cac1b860] Setting 'height' to value 'max(180,ih)'
  129. [pad @ 0x7fb1cac1b860] Setting 'x' to value '0'
  130. [pad @ 0x7fb1cac1b860] Setting 'y' to value '0'
  131. [pad @ 0x7fb1cac1b860] Setting 'color' to value '0x00000000'
  132. [scale @ 0x7fb1cac24540] Setting 'w' to value '240'
  133. [scale @ 0x7fb1cac24540] Setting 'h' to value '180'
  134. [Parsed_scale_4 @ 0x7fb1cac244e0] w:240 h:180 flags:'' interl:0
  135. [pad @ 0x7fb1cac248a0] Setting 'width' to value '480'
  136. [pad @ 0x7fb1cac248a0] Setting 'height' to value '180'
  137. [pad @ 0x7fb1cac248a0] Setting 'x' to value '240'
  138. [pad @ 0x7fb1cac248a0] Setting 'y' to value '0'
  139. [pad @ 0x7fb1cac2cfa0] Setting 'width' to value 'max(240,iw)'
  140. [pad @ 0x7fb1cac2cfa0] Setting 'height' to value 'max(180,ih)'
  141. [pad @ 0x7fb1cac2cfa0] Setting 'x' to value '0'
  142. [pad @ 0x7fb1cac2cfa0] Setting 'y' to value '0'
  143. [pad @ 0x7fb1cac2cfa0] Setting 'color' to value '0x00000000'
  144. [scale @ 0x7fb1cac2d200] Setting 'w' to value '240'
  145. [scale @ 0x7fb1cac2d200] Setting 'h' to value '180'
  146. [Parsed_scale_8 @ 0x7fb1cac2d180] w:240 h:180 flags:'' interl:0
  147. [pad @ 0x7fb1cac2d4e0] Setting 'width' to value '480'
  148. [pad @ 0x7fb1cac2d4e0] Setting 'height' to value '180'
  149. [pad @ 0x7fb1cac2d4e0] Setting 'x' to value '0'
  150. [pad @ 0x7fb1cac2d4e0] Setting 'y' to value '0'
  151. [pad @ 0x7fb1cac2da60] Setting 'width' to value 'max(240,iw)'
  152. [pad @ 0x7fb1cac2da60] Setting 'height' to value 'max(180,ih)'
  153. [pad @ 0x7fb1cac2da60] Setting 'x' to value '0'
  154. [pad @ 0x7fb1cac2da60] Setting 'y' to value '0'
  155. [pad @ 0x7fb1cac2da60] Setting 'color' to value '0x00000000'
  156. [scale @ 0x7fb1cac2dcc0] Setting 'w' to value '240'
  157. [scale @ 0x7fb1cac2dcc0] Setting 'h' to value '180'
  158. [Parsed_scale_11 @ 0x7fb1cac2dc40] w:240 h:180 flags:'' interl:0
  159. [pad @ 0x7fb1cac2e000] Setting 'width' to value '480'
  160. [pad @ 0x7fb1cac2e000] Setting 'height' to value '180'
  161. [pad @ 0x7fb1cac2e000] Setting 'x' to value '240'
  162. [pad @ 0x7fb1cac2e000] Setting 'y' to value '0'
  163. [AVFilterGraph @ 0x7fb1cac2c1a0] No such filter: ''
  164. Error configuring filters.
  165. Statistics: 65536 bytes read, 0 seeks
  166. [AVIOContext @ 0x7fb1cac194c0] Statistics: 65536 bytes read, 0 seeks
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement