Advertisement
Guest User

Untitled

a guest
Aug 29th, 2016
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 7.24 KB | None | 0 0
  1. # Command
  2. ffmpeg -loop 1 -r 25 -i base.jpg -i overlay.png -i overlay.mp4 -filter_complex "[0:v][1:v] overlay=0:0:enable='between(t, 0, 10') [overlaid1]; [overlaid1][2:v] overlay=0:0:enable='between(t, 10, 20')" -c:v libx264 -pix_fmt yuv420p -t 20 -y output.ts
  3.  
  4. # Output
  5. ffmpeg version 2.6.8 Copyright (c) 2000-2016 the FFmpeg developers
  6.   built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-4)
  7.   configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' --enable-bzlib --disable-crystalhd --enable-gnutls --enable-ladspa --enable-libass --enable-libcdio --enable-libdc1394 --enable-libfaac --enable-nonfree --enable-libfdk-aac --enable-nonfree --disable-indev=jack --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-openal --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libx264 --enable-libx265 --enable-libxvid --enable-x11grab --enable-avfilter --enable-avresample --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect
  8.   libavutil      54. 20.100 / 54. 20.100
  9.   libavcodec     56. 26.100 / 56. 26.100
  10.   libavformat    56. 25.101 / 56. 25.101
  11.   libavdevice    56.  4.100 / 56.  4.100
  12.   libavfilter     5. 11.102 /  5. 11.102
  13.   libavresample   2.  1.  0 /  2.  1.  0
  14.   libswscale      3.  1.101 /  3.  1.101
  15.   libswresample   1.  1.100 /  1.  1.100
  16.   libpostproc    53.  3.100 / 53.  3.100
  17. [mjpeg @ 0xf800e0] Changeing bps to 8
  18. Input #0, image2, from '/vagrant/app/public/images/c/pp/preview/1801/ind_preview20160304-21333-1gv3pck_merged.jpg-processed-preview.jpg':
  19.   Duration: 00:00:00.04, start: 0.000000, bitrate: 3768 kb/s
  20.     Stream #0:0: Video: mjpeg, yuvj444p(pc, bt470bg/unknown/unknown), 480x270 [SAR 105:105 DAR 16:9], 25 fps, 25 tbr, 25 tbn, 25 tbc
  21. Input #1, png_pipe, from '/vagrant/app/public/pps/c/1/1801/final.png':
  22.   Duration: N/A, bitrate: N/A
  23.     Stream #1:0: Video: png, rgb24, 180x180, 25 tbr, 25 tbn, 25 tbc
  24. Input #2, mov,mp4,m4a,3gp,3g2,mj2, from '/vagrant/app/public/image_libraries/c/v/500ml_R2_CCL-CCR-CCZ.mp4':
  25.   Metadata:
  26.     major_brand     : isom
  27.     minor_version   : 512
  28.     compatible_brands: isomiso2avc1mp41
  29.     encoder         : Lavf56.25.101
  30.   Duration: 00:00:10.00, start: 0.000000, bitrate: 438 kb/s
  31.     Stream #2:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 480x270 [SAR 5:12 DAR 20:27], 435 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
  32.     Metadata:
  33.       handler_name    : VideoHandler
  34. [swscaler @ 0xf495a0] deprecated pixel format used, make sure you did set range correctly
  35. [libx264 @ 0x106dd20] using SAR=1/1
  36. [libx264 @ 0x106dd20] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX LZCNT
  37. [libx264 @ 0x106dd20] profile High, level 2.1
  38. Output #0, mpegts, to '/vagrant/app/public/images/c/pp/preview/1801/ind_preview20160304-21333-1gv3pck_merged.jpg-processed-preview-180s.ts':
  39.   Metadata:
  40.     encoder         : Lavf56.25.101
  41.     Stream #0:0: Video: h264 (libx264), yuv420p, 480x270 [SAR 1:1 DAR 16:9], q=-1--1, 25 fps, 90k tbn, 25 tbc (default)
  42.     Metadata:
  43.       encoder         : Lavc56.26.100 libx264
  44. Stream mapping:
  45.   Stream #0:0 (mjpeg) -> overlay:main
  46.   Stream #1:0 (png) -> overlay:overlay
  47.   Stream #2:0 (h264) -> overlay:overlay
  48.   overlay -> Stream #0:0 (libx264)
  49. Press [q] to stop, [?] for help
  50. frame=  500 fps=243 q=-1.0 Lsize=     143kB time=00:00:19.92 bitrate=  58.8kbits/s
  51. video:53kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 168.123978%
  52. [libx264 @ 0x106dd20] frame I:2     Avg QP:16.87  size: 21898
  53. [libx264 @ 0x106dd20] frame P:126   Avg QP:16.09  size:    24
  54. [libx264 @ 0x106dd20] frame B:372   Avg QP:23.83  size:    21
  55. [libx264 @ 0x106dd20] consecutive B-frames:  0.8%  0.0%  0.0% 99.2%
  56. [libx264 @ 0x106dd20] mb I  I16..4: 11.3% 49.4% 39.3%
  57. [libx264 @ 0x106dd20] mb P  I16..4:  0.0%  0.0%  0.0%  P16..4:  0.1%  0.0%  0.0%  0.0%  0.0%    skip:99.9%
  58. [libx264 @ 0x106dd20] mb B  I16..4:  0.0%  0.1%  0.0%  B16..8:  0.5%  0.0%  0.0%  direct: 0.0%  skip:99.4%  L0:56.1% L1:43.9% BI: 0.0%
  59. [libx264 @ 0x106dd20] 8x8 transform intra:57.7% inter:15.8%
  60. [libx264 @ 0x106dd20] coded y,uvDC,uvAC intra: 50.3% 41.9% 38.8% inter: 0.0% 0.0% 0.0%
  61. [libx264 @ 0x106dd20] i16 v,h,dc,p: 54% 24% 17%  5%
  62. [libx264 @ 0x106dd20] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 60% 15% 11%  2%  2%  2%  3%  1%  4%
  63. [libx264 @ 0x106dd20] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 21% 29% 12%  7%  6%  6%  6%  5%  8%
  64. [libx264 @ 0x106dd20] i8c dc,h,v,p: 66% 19%  9%  6%
  65. [libx264 @ 0x106dd20] Weighted P-Frames: Y:0.0% UV:0.0%
  66. [libx264 @ 0x106dd20] ref P L0: 88.1%  1.2% 10.6%
  67. [libx264 @ 0x106dd20] ref B L0: 27.2% 72.6%  0.2%
  68. [libx264 @ 0x106dd20] ref B L1: 99.2%  0.8%
  69. [libx264 @ 0x106dd20] kb/s:21.85
  70. ffmpeg version 2.6.8 Copyright (c) 2000-2016 the FFmpeg developers
  71.   built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-4)
  72.   configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' --enable-bzlib --disable-crystalhd --enable-gnutls --enable-ladspa --enable-libass --enable-libcdio --enable-libdc1394 --enable-libfaac --enable-nonfree --enable-libfdk-aac --enable-nonfree --disable-indev=jack --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-openal --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libx264 --enable-libx265 --enable-libxvid --enable-x11grab --enable-avfilter --enable-avresample --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect
  73.   libavutil      54. 20.100 / 54. 20.100
  74.   libavcodec     56. 26.100 / 56. 26.100
  75.   libavformat    56. 25.101 / 56. 25.101
  76.   libavdevice    56.  4.100 / 56.  4.100
  77.   libavfilter     5. 11.102 /  5. 11.102
  78.   libavresample   2.  1.  0 /  2.  1.  0
  79.   libswscale      3.  1.101 /  3.  1.101
  80.   libswresample   1.  1.100 /  1.  1.100
  81.   libpostproc    53.  3.100 / 53.  3.100
  82. Input #0, concat, from 'pipe:':
  83.   Duration: N/A, start: 0.000000, bitrate: N/A
  84.     Stream #0:0: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 480x270 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
  85. Output #0, mp4, to '/vagrant/app/private/ds/c/0/644/preview.mp4':
  86.   Metadata:
  87.     encoder         : Lavf56.25.101
  88.     Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 480x270 [SAR 1:1 DAR 16:9], q=2-31, 25 fps, 25 tbr, 90k tbn, 90k tbc
  89. Stream mapping:
  90.   Stream #0:0 -> #0:0 (copy)
  91. frame=  500 fps=0.0 q=-1.0 Lsize=      63kB time=00:00:19.88 bitrate=  25.9kbits/s
  92. video:56kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 11.861995%
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement