Advertisement
Guest User

Untitled

a guest
Apr 25th, 2015
237
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.69 KB | None | 0 0
  1. Gabis-Hackbook-Air:code gabi$ ./ffmpeg -i 1.mp4 -i background.jpg -filter_complex '[1:v][0:v]overlay=x=(W-w)/2:y=(H-h)/2[v]' -map '[v]' out.mp4
  2. ffmpeg version 2.6.2 Copyright (c) 2000-2015 the FFmpeg developers
  3.   built with llvm-gcc 4.2.1 (LLVM build 2336.11.00)
  4.   configuration: --prefix=/Volumes/Ramdisk/sw --enable-gpl --enable-pthreads --enable-version3 --enable-libspeex --enable-libvpx --disable-decoder=libvpx --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-avfilter --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --enable-libgsm --enable-libvidstab --enable-libx265 --disable-doc --arch=x86_64 --enable-runtime-cpudetect
  5.   libavutil      54. 20.100 / 54. 20.100
  6.   libavcodec     56. 26.100 / 56. 26.100
  7.   libavformat    56. 25.101 / 56. 25.101
  8.   libavdevice    56.  4.100 / 56.  4.100
  9.   libavfilter     5. 11.102 /  5. 11.102
  10.   libswscale      3.  1.101 /  3.  1.101
  11.   libswresample   1.  1.100 /  1.  1.100
  12.   libpostproc    53.  3.100 / 53.  3.100
  13. Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '1.mp4':
  14.   Metadata:
  15.     major_brand     : mp42
  16.     minor_version   : 1
  17.     compatible_brands: mp41mp42isom
  18.     creation_time   : 2015-04-25 03:06:35
  19.   Duration: 00:00:06.53, start: 0.000000, bitrate: 1912 kb/s
  20.     Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 720x720, 1812 kb/s, 30 fps, 30 tbr, 600 tbn, 1200 tbc (default)
  21.     Metadata:
  22.       creation_time   : 2015-04-25 03:06:35
  23.       handler_name    : Core Media Video
  24.     Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 93 kb/s (default)
  25.     Metadata:
  26.       creation_time   : 2015-04-25 03:06:35
  27.       handler_name    : Core Media Audio
  28. Input #1, image2, from 'background.jpg':
  29.   Duration: 00:00:00.04, start: 0.000000, bitrate: 33349 kb/s
  30.     Stream #1:0: Video: mjpeg, yuvj444p(pc, bt470bg/unknown/unknown), 1803x1421 [SAR 72:72 DAR 1803:1421], 25 tbr, 25 tbn, 25 tbc
  31. File 'out.mp4' already exists. Overwrite ? [y/N] y
  32. [swscaler @ 0x7fa9a2008000] deprecated pixel format used, make sure you did set range correctly
  33. [libx264 @ 0x7fa9a181da00] width not divisible by 2 (1803x1421)
  34. Output #0, mp4, to 'out.mp4':
  35.   Metadata:
  36.     major_brand     : mp42
  37.     minor_version   : 1
  38.     compatible_brands: mp41mp42isom
  39.     Stream #0:0: Video: h264, none, q=2-31, 128 kb/s, SAR 1:1 DAR 0:0, 25 fps (default)
  40.     Metadata:
  41.       encoder         : Lavc56.26.100 libx264
  42. Stream mapping:
  43.   Stream #0:0 (h264) -> overlay:overlay
  44.   Stream #1:0 (mjpeg) -> overlay:main
  45.   overlay -> Stream #0:0 (libx264)
  46. Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
  47. Gabis-Hackbook-Air:vine gabi$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement