Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /opt/local/bin/ffmpeg -i one.flv -i two.flv -i one.jpg -i two.jpg -filter_complex "
- [0:0] pad='max(240\,iw):max(180\,ih):0:0', scale='240:180', pad='480:180:0:0' [left_video];
- [1:0] pad='max(240\,iw):max(180\,ih):0:0', scale='240:180', pad='480:180:240:0' [right_video];
- [left_video] [right_video] overlay [videos];
- [2:0] pad='max(240\,iw):max(180\,ih):0:0:0x00000000', scale='240:180', pad='480:180:0:0' [left_avatar];
- [3:0] pad='max(240\,iw):max(180\,ih):0:0:0x00000000', scale='240:180', pad='480:180:240:0' [right_avatar];
- [left_avatar] [right_avatar] overlay [avatars];
- [avatars] [videos] overlay [video];
- [0:1] [1:1] amerge;
- " -acodec libfaac -ac 2 -vcodec libx264 -r 15 out.mp4
- ffmpeg version 1.2.1 Copyright (c) 2000-2013 the FFmpeg developers
- 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)
- 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
- libavutil 52. 18.100 / 52. 18.100
- libavcodec 54. 92.100 / 54. 92.100
- libavformat 54. 63.104 / 54. 63.104
- libavdevice 54. 3.103 / 54. 3.103
- libavfilter 3. 42.103 / 3. 42.103
- libswscale 2. 2.100 / 2. 2.100
- libswresample 0. 17.102 / 0. 17.102
- libpostproc 52. 2.100 / 52. 2.100
- Splitting the commandline.
- Reading option '-v' ... matched as option 'v' (set libav* logging level) with argument 'debug'.
- Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
- Reading option '-i' ... matched as input file with argument 'stream1.flv'.
- Reading option '-i' ... matched as input file with argument 'stream2.flv'.
- Reading option '-filter_complex' ... matched as option 'filter_complex' (create a complex filtergraph) with argument '
- [0:0] pad='max(240\,iw):max(180\,ih):0:0:0x00000000', scale='240:180', pad='480:180:0:0' [left_video];
- [1:0] pad='max(240\,iw):max(180\,ih):0:0:0x00000000', scale='240:180', pad='480:180:240:0' [right_video];
- [left_video] [right_video] overlay [videos];
- [2:0] pad='max(240\,iw):max(180\,ih):0:0:0x00000000', scale='240:180', pad='480:180:0:0' [left_avatar];
- [3:0] pad='max(240\,iw):max(180\,ih):0:0:0x00000000', scale='240:180', pad='480:180:240:0' [right_avatar];
- [left_avatar] [right_avatar] overlay [avatars];
- [avatars] [videos] overlay [video];
- [0:1] [1:1] amerge;
- '.
- Reading option '-acodec' ... matched as option 'acodec' (force audio codec ('copy' to copy stream)) with argument 'libfaac'.
- Reading option '-ac' ... matched as option 'ac' (set number of audio channels) with argument '2'.
- Reading option '-vcodec' ... matched as option 'vcodec' (force video codec ('copy' to copy stream)) with argument 'libx264'.
- Reading option '-r' ... matched as option 'r' (set frame rate (Hz value, fraction or abbreviation)) with argument '15'.
- Reading option 'out.mp4' ... matched as output file.
- Finished splitting the commandline.
- Parsing a group of options: global .
- Applying option v (set libav* logging level) with argument debug.
- Applying option y (overwrite output files) with argument 1.
- Applying option filter_complex (create a complex filtergraph) with argument
- [0:0] pad='max(240\,iw):max(180\,ih):0:0:0x00000000', scale='240:180', pad='480:180:0:0' [left_video];
- [1:0] pad='max(240\,iw):max(180\,ih):0:0:0x00000000', scale='240:180', pad='480:180:240:0' [right_video];
- [left_video] [right_video] overlay [videos];
- [2:0] pad='max(240\,iw):max(180\,ih):0:0:0x00000000', scale='240:180', pad='480:180:0:0' [left_avatar];
- [3:0] pad='max(240\,iw):max(180\,ih):0:0:0x00000000', scale='240:180', pad='480:180:240:0' [right_avatar];
- [left_avatar] [right_avatar] overlay [avatars];
- [avatars] [videos] overlay [video];
- [0:1] [1:1] amerge;
- .
- Successfully parsed a group of options.
- Parsing a group of options: input file stream1.flv.
- Successfully parsed a group of options.
- Opening an input file: stream1.flv.
- [flv @ 0x7fb1cb03d800] Format flv probed with size=2048 and score=100
- [flv @ 0x7fb1cb03d800] File position before avformat_find_stream_info() is 13
- [flv @ 0x7fb1cb03d800] All info found
- rfps: 59.666667 0.014879
- rfps: 59.750000 0.012147
- rfps: 59.833333 0.011554
- rfps: 59.916667 0.013100
- rfps: 60.000000 0.016784
- rfps: 59.940060 0.013918
- [flv @ 0x7fb1cb03d800] File position after avformat_find_stream_info() is 49666
- Input #0, flv, from 'stream1.flv':
- Metadata:
- creationdate : Tue Jun 4 12:40:11
- Duration: 00:00:07.71, start: 0.002000, bitrate: 361 kb/s
- Stream #0:0, 41, 1/1000: Video: flv1, yuv420p, 240x180, 1/1000, 1k tbr, 1k tbn, 1k tbc
- Stream #0:1, 34, 1/1000: Audio: nellymoser, 11025 Hz, mono, flt
- Successfully opened the file.
- Parsing a group of options: input file stream2.flv.
- Successfully parsed a group of options.
- Opening an input file: stream2.flv.
- [flv @ 0x7fb1cb040200] Format flv probed with size=2048 and score=100
- [flv @ 0x7fb1cb040200] File position before avformat_find_stream_info() is 13
- [flv @ 0x7fb1cb040200] All info found
- rfps: 59.666667 0.016928
- rfps: 59.750000 0.012545
- rfps: 59.833333 0.010320
- rfps: 59.916667 0.010255
- rfps: 59.940060 0.010624
- [flv @ 0x7fb1cb040200] File position after avformat_find_stream_info() is 50872
- Input #1, flv, from 'stream2.flv':
- Metadata:
- creationdate : Tue Jun 4 12:40:11
- Duration: 00:00:07.82, start: 0.018000, bitrate: 358 kb/s
- Stream #1:0, 41, 1/1000: Video: flv1, yuv420p, 240x180, 1/1000, 1k tbr, 1k tbn, 1k tbc
- Stream #1:1, 34, 1/1000: Audio: nellymoser, 11025 Hz, mono, flt
- Successfully opened the file.
- Parsing a group of options: output file out.mp4.
- Applying option acodec (force audio codec ('copy' to copy stream)) with argument libfaac.
- Applying option ac (set number of audio channels) with argument 2.
- Applying option vcodec (force video codec ('copy' to copy stream)) with argument libx264.
- Applying option r (set frame rate (Hz value, fraction or abbreviation)) with argument 15.
- Successfully parsed a group of options.
- Opening an output file: out.mp4.
- [pad @ 0x7fb1cac1a9a0] Setting 'width' to value 'max(240,iw)'
- [pad @ 0x7fb1cac1a9a0] Setting 'height' to value 'max(180,ih)'
- [pad @ 0x7fb1cac1a9a0] Setting 'x' to value '0'
- [pad @ 0x7fb1cac1a9a0] Setting 'y' to value '0'
- [pad @ 0x7fb1cac1a9a0] Setting 'color' to value '0x00000000'
- [scale @ 0x7fb1cac1b5e0] Setting 'w' to value '240'
- [scale @ 0x7fb1cac1b5e0] Setting 'h' to value '180'
- [Parsed_scale_1 @ 0x7fb1cac1b580] w:240 h:180 flags:'' interl:0
- [pad @ 0x7fb1cac1ba20] Setting 'width' to value '480'
- [pad @ 0x7fb1cac1ba20] Setting 'height' to value '180'
- [pad @ 0x7fb1cac1ba20] Setting 'x' to value '0'
- [pad @ 0x7fb1cac1ba20] Setting 'y' to value '0'
- [pad @ 0x7fb1cac1b860] Setting 'width' to value 'max(240,iw)'
- [pad @ 0x7fb1cac1b860] Setting 'height' to value 'max(180,ih)'
- [pad @ 0x7fb1cac1b860] Setting 'x' to value '0'
- [pad @ 0x7fb1cac1b860] Setting 'y' to value '0'
- [pad @ 0x7fb1cac1b860] Setting 'color' to value '0x00000000'
- [scale @ 0x7fb1cac24540] Setting 'w' to value '240'
- [scale @ 0x7fb1cac24540] Setting 'h' to value '180'
- [Parsed_scale_4 @ 0x7fb1cac244e0] w:240 h:180 flags:'' interl:0
- [pad @ 0x7fb1cac248a0] Setting 'width' to value '480'
- [pad @ 0x7fb1cac248a0] Setting 'height' to value '180'
- [pad @ 0x7fb1cac248a0] Setting 'x' to value '240'
- [pad @ 0x7fb1cac248a0] Setting 'y' to value '0'
- [pad @ 0x7fb1cac2cfa0] Setting 'width' to value 'max(240,iw)'
- [pad @ 0x7fb1cac2cfa0] Setting 'height' to value 'max(180,ih)'
- [pad @ 0x7fb1cac2cfa0] Setting 'x' to value '0'
- [pad @ 0x7fb1cac2cfa0] Setting 'y' to value '0'
- [pad @ 0x7fb1cac2cfa0] Setting 'color' to value '0x00000000'
- [scale @ 0x7fb1cac2d200] Setting 'w' to value '240'
- [scale @ 0x7fb1cac2d200] Setting 'h' to value '180'
- [Parsed_scale_8 @ 0x7fb1cac2d180] w:240 h:180 flags:'' interl:0
- [pad @ 0x7fb1cac2d4e0] Setting 'width' to value '480'
- [pad @ 0x7fb1cac2d4e0] Setting 'height' to value '180'
- [pad @ 0x7fb1cac2d4e0] Setting 'x' to value '0'
- [pad @ 0x7fb1cac2d4e0] Setting 'y' to value '0'
- [pad @ 0x7fb1cac2da60] Setting 'width' to value 'max(240,iw)'
- [pad @ 0x7fb1cac2da60] Setting 'height' to value 'max(180,ih)'
- [pad @ 0x7fb1cac2da60] Setting 'x' to value '0'
- [pad @ 0x7fb1cac2da60] Setting 'y' to value '0'
- [pad @ 0x7fb1cac2da60] Setting 'color' to value '0x00000000'
- [scale @ 0x7fb1cac2dcc0] Setting 'w' to value '240'
- [scale @ 0x7fb1cac2dcc0] Setting 'h' to value '180'
- [Parsed_scale_11 @ 0x7fb1cac2dc40] w:240 h:180 flags:'' interl:0
- [pad @ 0x7fb1cac2e000] Setting 'width' to value '480'
- [pad @ 0x7fb1cac2e000] Setting 'height' to value '180'
- [pad @ 0x7fb1cac2e000] Setting 'x' to value '240'
- [pad @ 0x7fb1cac2e000] Setting 'y' to value '0'
- [AVFilterGraph @ 0x7fb1cac2c1a0] No such filter: ''
- Error configuring filters.
- Statistics: 65536 bytes read, 0 seeks
- [AVIOContext @ 0x7fb1cac194c0] Statistics: 65536 bytes read, 0 seeks
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement