Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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
- ffmpeg version 2.6.2 Copyright (c) 2000-2015 the FFmpeg developers
- built with llvm-gcc 4.2.1 (LLVM build 2336.11.00)
- 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
- libavutil 54. 20.100 / 54. 20.100
- libavcodec 56. 26.100 / 56. 26.100
- libavformat 56. 25.101 / 56. 25.101
- libavdevice 56. 4.100 / 56. 4.100
- libavfilter 5. 11.102 / 5. 11.102
- libswscale 3. 1.101 / 3. 1.101
- libswresample 1. 1.100 / 1. 1.100
- libpostproc 53. 3.100 / 53. 3.100
- Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '1.mp4':
- Metadata:
- major_brand : mp42
- minor_version : 1
- compatible_brands: mp41mp42isom
- creation_time : 2015-04-25 03:06:35
- Duration: 00:00:06.53, start: 0.000000, bitrate: 1912 kb/s
- 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)
- Metadata:
- creation_time : 2015-04-25 03:06:35
- handler_name : Core Media Video
- Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 93 kb/s (default)
- Metadata:
- creation_time : 2015-04-25 03:06:35
- handler_name : Core Media Audio
- Input #1, image2, from 'background.jpg':
- Duration: 00:00:00.04, start: 0.000000, bitrate: 33349 kb/s
- Stream #1:0: Video: mjpeg, yuvj444p(pc, bt470bg/unknown/unknown), 1803x1421 [SAR 72:72 DAR 1803:1421], 25 tbr, 25 tbn, 25 tbc
- File 'out.mp4' already exists. Overwrite ? [y/N] y
- [swscaler @ 0x7fa9a2008000] deprecated pixel format used, make sure you did set range correctly
- [libx264 @ 0x7fa9a181da00] width not divisible by 2 (1803x1421)
- Output #0, mp4, to 'out.mp4':
- Metadata:
- major_brand : mp42
- minor_version : 1
- compatible_brands: mp41mp42isom
- Stream #0:0: Video: h264, none, q=2-31, 128 kb/s, SAR 1:1 DAR 0:0, 25 fps (default)
- Metadata:
- encoder : Lavc56.26.100 libx264
- Stream mapping:
- Stream #0:0 (h264) -> overlay:overlay
- Stream #1:0 (mjpeg) -> overlay:main
- overlay -> Stream #0:0 (libx264)
- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
- Gabis-Hackbook-Air:vine gabi$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement