Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alex@alex-System-Product-Name:~/Pictures/mercerdes$ ffmpeg -framerate 1/5 -i image%03d.jpg -i audio.mp3 -i frame.png -i youtube_footer.png -filter_complex "[0:v][2:v]overlay=(W-w)/2:H-h[v1];[v1][3:v]overlay=(W-w)/2:H-h,format=yuv420p[out]" -map "[out]" -map 1:a -c:v libx264 -c:a aac -strict experimental -r 30 outAudio.mp4
- ffmpeg version 1.2.6-7:1.2.6-1~trusty1 Copyright (c) 2000-2014 the FFmpeg developers
- built on Apr 26 2014 18:52:58 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
- configuration: --arch=amd64 --disable-stripping --enable-avresample --enable-pthreads --enable-runtime-cpudetect --extra-version='7:1.2.6-1~trusty1' --libdir=/usr/lib/x86_64-linux-gnu --prefix=/usr --enable-bzlib --enable-libdc1394 --enable-libfreetype --enable-frei0r --enable-gnutls --enable-libgsm --enable-libmp3lame --enable-librtmp --enable-libopencv --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-vaapi --enable-vdpau --enable-libvorbis --enable-libvpx --enable-zlib --enable-gpl --enable-postproc --enable-libcdio --enable-x11grab --enable-libx264 --shlibdir=/usr/lib/x86_64-linux-gnu --enable-shared --disable-static
- libavutil 52. 18.100 / 52. 18.100
- libavcodec 54. 92.100 / 54. 92.100
- libavformat 54. 63.104 / 54. 63.104
- libavdevice 53. 5.103 / 53. 5.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
- [image2 @ 0x1ff6d40] max_analyze_duration 5000000 reached at 5000000 microseconds
- Input #0, image2, from 'image%03d.jpg':
- Duration: 00:01:00.00, start: 0.000000, bitrate: N/A
- Stream #0:0: Video: mjpeg, yuvj420p, 640x480 [SAR 1:1 DAR 4:3], 0.20 fps, 1 tbr, 0.20 tbn, 0.20 tbc
- [mp3 @ 0x1fea840] max_analyze_duration 5000000 reached at 5015510 microseconds
- Input #1, mp3, from 'audio.mp3':
- Metadata:
- major_brand : dash
- minor_version : 0
- compatible_brands: iso6mp41
- encoder : Lavf54.29.104
- Duration: 00:01:00.26, start: 0.000000, bitrate: 253 kb/s
- Stream #1:0: Audio: mp3, 44100 Hz, stereo, s16p, 253 kb/s
- Input #2, image2, from 'frame.png':
- Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
- Stream #2:0: Video: png, rgba, 640x360 [SAR 3149:3149 DAR 16:9], 25 tbr, 25 tbn, 25 tbc
- Input #3, image2, from 'youtube_footer.png':
- Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
- Stream #3:0: Video: png, rgba, 640x360, 25 tbr, 25 tbn, 25 tbc
- File 'outAudio.mp4' already exists. Overwrite ? [y/N] y
- using SAR=1/1
- [libx264 @ 0x20160e0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
- [libx264 @ 0x20160e0] profile High, level 3.0
- [libx264 @ 0x20160e0] 264 - core 142 r2389 956c8d8 - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
- Output #0, mp4, to 'outAudio.mp4':
- Metadata:
- encoder : Lavf54.63.104
- Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 640x480 [SAR 1:1 DAR 4:3], q=-1--1, 15360 tbn, 30 tbc
- Stream #0:1: Audio: aac ([64][0][0][0] / 0x0040), 44100 Hz, stereo, fltp, 128 kb/s
- Stream mapping:
- Stream #0:0 (mjpeg) -> overlay:main (graph 0)
- Stream #2:0 (png) -> overlay:overlay (graph 0)
- Stream #3:0 (png) -> overlay:overlay (graph 0)
- format (graph 0) -> Stream #0:0 (libx264)
- Stream #1:0 -> #0:1 (mp3 -> aac)
- Press [q] to stop, [?] for help
- frame= 300 fps=0.0 q=29.0 size= 111kB time=00:00:08.26 bitrate= 110.1kbits/frame= 600 fps=439 q=29.0 size= 384kB time=00:00:18.26 bitrate= 172.4kbits/frame= 900 fps=427 q=29.0 size= 644kB time=00:00:28.26 bitrate= 186.6kbits/frame= 1200 fps=421 q=29.0 size= 905kB time=00:00:38.26 bitrate= 193.7kbits/frame= 1500 fps=414 q=29.0 size= 1158kB time=00:00:48.26 bitrate= 196.5kbits/frame= 1650 fps=390 q=29.0 size= 1291kB time=00:00:53.26 bitrate= 198.6kbits/frame= 1650 fps=362 q=-1.0 Lsize= 1582kB time=00:01:00.28 bitrate= 215.0kbits/s dup=1638 drop=0
- video:575kB audio:946kB subtitle:0 global headers:0kB muxing overhead 3.970254%
- [libx264 @ 0x20160e0] frame I:11 Avg QP:16.54 size: 46317
- [libx264 @ 0x20160e0] frame P:418 Avg QP:18.29 size: 131
- [libx264 @ 0x20160e0] frame B:1221 Avg QP:27.88 size: 20
- [libx264 @ 0x20160e0] consecutive B-frames: 1.3% 0.0% 0.0% 98.7%
- [libx264 @ 0x20160e0] mb I I16..4: 6.3% 84.8% 8.9%
- [libx264 @ 0x20160e0] mb P I16..4: 0.0% 0.2% 0.0% P16..4: 0.5% 0.0% 0.0% 0.0% 0.0% skip:99.2%
- [libx264 @ 0x20160e0] mb B I16..4: 0.0% 0.0% 0.0% B16..8: 0.0% 0.0% 0.0% direct: 0.0% skip:100.0% L0:41.6% L1:58.4% BI: 0.0%
- [libx264 @ 0x20160e0] 8x8 transform intra:84.9% inter:61.9%
- [libx264 @ 0x20160e0] coded y,uvDC,uvAC intra: 90.0% 83.9% 66.0% inter: 0.0% 0.1% 0.0%
- [libx264 @ 0x20160e0] i16 v,h,dc,p: 1% 81% 3% 15%
- [libx264 @ 0x20160e0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 12% 35% 17% 4% 4% 5% 8% 5% 10%
- [libx264 @ 0x20160e0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 47% 8% 4% 6% 5% 7% 3% 6%
- [libx264 @ 0x20160e0] i8c dc,h,v,p: 43% 37% 14% 7%
- [libx264 @ 0x20160e0] Weighted P-Frames: Y:0.0% UV:0.0%
- [libx264 @ 0x20160e0] ref P L0: 98.5% 0.0% 1.1% 0.4%
- [libx264 @ 0x20160e0] ref B L0: 51.3% 48.0% 0.7%
- [libx264 @ 0x20160e0] ref B L1: 97.7% 2.3%
- [libx264 @ 0x20160e0] kb/s:85.59
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement