Skip to content

Instantly share code, notes, and snippets.

@alexbaldwin
Created February 27, 2013 02:06
Show Gist options
  • Save alexbaldwin/5044309 to your computer and use it in GitHub Desktop.
Save alexbaldwin/5044309 to your computer and use it in GitHub Desktop.
trouble
[~/Desktop] ffmpeg -loop 1 -r 1 -shortest -y -i natalie.png -i tiesto.mp3 -acodec copy ouput.mp4
zsh: correct 'ouput.mp4' to 'output.mp4' [nyae]? y
ffmpeg version 1.1.3 Copyright (c) 2000-2013 the FFmpeg developers
built on Feb 25 2013 14:50:20 with Apple LLVM version 4.2 (clang-425.0.24) (based on LLVM 3.2svn)
configuration: --prefix=/usr/local/Cellar/ffmpeg/1.1.3 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --cc=cc --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid
libavutil 52. 13.100 / 52. 13.100
libavcodec 54. 86.100 / 54. 86.100
libavformat 54. 59.106 / 54. 59.106
libavdevice 54. 3.102 / 54. 3.102
libavfilter 3. 32.100 / 3. 32.100
libswscale 2. 1.103 / 2. 1.103
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
Input #0, image2, from 'natalie.png':
Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
Stream #0:0: Video: png, rgb24, 1210x1210 [SAR 5669:5669 DAR 1:1], 25 fps, 25 tbr, 25 tbn, 25 tbc
[mp3 @ 0x7fb27b037600] max_analyze_duration 5000000 reached at 5015510
Input #1, mp3, from 'tiesto.mp3':
Metadata:
artist : Tiesto, Swanky Tunes, featuring Ben McInerney
genre : Electro House
title : Make Some Noise (Dyro Remix)
Duration: 00:05:59.11, start: 0.000000, bitrate: 320 kb/s
Stream #1:0: Audio: mp3, 44100 Hz, stereo, s16p, 320 kb/s
Stream #1:1: Video: mjpeg, yuvj420p, 500x500 [SAR 1:1 DAR 1:1], 90k tbr, 90k tbn, 90k tbc
Metadata:
title :
comment : Cover (front)
[libx264 @ 0x7fb27b043600] using SAR=1/1
[libx264 @ 0x7fb27b043600] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
[libx264 @ 0x7fb27b043600] profile High 4:4:4 Predictive, level 4.0, 4:4:4 8-bit
[libx264 @ 0x7fb27b043600] 264 - core 125 - H.264/MPEG-4 AVC codec - Copyleft 2003-2012 - 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=4 threads=12 lookahead_threads=2 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=1 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 'output.mp4':
Metadata:
encoder : Lavf54.59.106
Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv444p, 1210x1210 [SAR 1:1 DAR 1:1], q=-1--1, 16384 tbn, 1 tbc
Stream #0:1: Audio: mp3 (i[0][0][0] / 0x0069), 44100 Hz, stereo, 320 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (png -> libx264)
Stream #1:0 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame=31397 fps= 28 q=-1.0 Lsize= 107780kB time=08:43:15.00 bitrate= 28.1kbits/s
video:93324kB audio:14028kB subtitle:0 global headers:0kB muxing overhead 0.398775%
[libx264 @ 0x7fb27b043600] frame I:126 Avg QP: 3.29 size:735322
[libx264 @ 0x7fb27b043600] frame P:7912 Avg QP: 5.05 size: 213
[libx264 @ 0x7fb27b043600] frame B:23359 Avg QP:17.00 size: 53
[libx264 @ 0x7fb27b043600] consecutive B-frames: 0.8% 0.0% 0.0% 99.2%
[libx264 @ 0x7fb27b043600] mb I I16..4: 23.1% 26.5% 50.4%
[libx264 @ 0x7fb27b043600] mb P I16..4: 0.0% 0.0% 0.0% P16..4: 0.8% 0.0% 0.0% 0.0% 0.0% skip:99.2%
[libx264 @ 0x7fb27b043600] 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: 7.0% L1:93.0% BI: 0.0%
[libx264 @ 0x7fb27b043600] 8x8 transform intra:26.5% inter:96.9%
[libx264 @ 0x7fb27b043600] coded y,u,v intra: 99.7% 94.2% 91.4% inter: 0.0% 0.0% 0.0%
[libx264 @ 0x7fb27b043600] i16 v,h,dc,p: 18% 24% 35% 23%
[libx264 @ 0x7fb27b043600] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 17% 20% 10% 8% 7% 6% 9% 10% 14%
[libx264 @ 0x7fb27b043600] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 22% 8% 7% 10% 7% 11% 8% 11%
[libx264 @ 0x7fb27b043600] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0x7fb27b043600] ref P L0: 99.0% 0.0% 0.9% 0.1%
[libx264 @ 0x7fb27b043600] ref B L0: 84.0% 15.9% 0.1%
[libx264 @ 0x7fb27b043600] ref B L1: 79.7% 20.3%
[libx264 @ 0x7fb27b043600] kb/s:24.35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment