Skip to content

Instantly share code, notes, and snippets.

@ascheel
Created January 4, 2018 18:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ascheel/90cdf0871fad66fe5fc282132eb65f7a to your computer and use it in GitHub Desktop.
Save ascheel/90cdf0871fad66fe5fc282132eb65f7a to your computer and use it in GitHub Desktop.
arts@support:~/Lex_Hero5 0$ ffmpeg -r 30 -f image2 -start_number 10082 -i maybe/480/DCIM/G00%05d.JPG -s 480x360 -vcodec libx264 480.mp4
ffmpeg version 2.6.8 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-4)
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
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
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100
[mjpeg @ 0x1d4ca20] Changeing bps to 8
Input #0, image2, from 'maybe/480/DCIM/G00%05d.JPG':
Duration: 00:00:00.23, start: 0.000000, bitrate: N/A
Stream #0:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 480x360 [SAR 1:1 DAR 4:3], 30 fps, 30 tbr, 30 tbn, 30 tbc
File '480.mp4' already exists. Overwrite ? [y/N] y
No pixel format specified, yuvj420p for H.264 encoding chosen.
Use -pix_fmt yuv420p for compatibility with outdated media players.
[libx264 @ 0x1d4e3e0] using SAR=1/1
[libx264 @ 0x1d4e3e0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0x1d4e3e0] profile High, level 3.0
[libx264 @ 0x1d4e3e0] 264 - core 142 r2495 6a301b6 - 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 '480.mp4':
Metadata:
encoder : Lavf56.25.101
Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuvj420p(pc), 480x360 [SAR 1:1 DAR 4:3], q=-1--1, 30 fps, 15360 tbn, 30 tbc
Metadata:
encoder : Lavc56.26.100 libx264
Stream mapping:
Stream #0:0 -> #0:0 (mjpeg (native) -> h264 (libx264))
Press [q] to stop, [?] for help
frame= 7 fps=0.0 q=-1.0 Lsize= 54kB time=00:00:00.16 bitrate=2673.7kbits/s
video:54kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.592223%
[libx264 @ 0x1d4e3e0] frame I:1 Avg QP:27.23 size: 7812
[libx264 @ 0x1d4e3e0] frame P:6 Avg QP:27.53 size: 7721
[libx264 @ 0x1d4e3e0] mb I I16..4: 13.2% 76.7% 10.1%
[libx264 @ 0x1d4e3e0] mb P I16..4: 6.6% 60.7% 6.6% P16..4: 13.8% 8.1% 2.9% 0.0% 0.0% skip: 1.3%
[libx264 @ 0x1d4e3e0] 8x8 transform intra:81.2% inter:73.2%
[libx264 @ 0x1d4e3e0] coded y,uvDC,uvAC intra: 63.5% 54.0% 11.6% inter: 48.8% 39.1% 2.1%
[libx264 @ 0x1d4e3e0] i16 v,h,dc,p: 20% 13% 13% 53%
[libx264 @ 0x1d4e3e0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 26% 9% 31% 7% 6% 5% 5% 9% 3%
[libx264 @ 0x1d4e3e0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 25% 10% 23% 10% 8% 7% 5% 10% 2%
[libx264 @ 0x1d4e3e0] i8c dc,h,v,p: 55% 15% 27% 3%
[libx264 @ 0x1d4e3e0] Weighted P-Frames: Y:16.7% UV:16.7%
[libx264 @ 0x1d4e3e0] ref P L0: 56.9% 30.0% 7.1% 2.5% 3.6%
[libx264 @ 0x1d4e3e0] kb/s:1856.23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment