[FFmpeg-user] ffmpeg for creting video from images
pratik at devrepublic.nl
pratik at devrepublic.nl
Wed Jan 27 13:21:23 CET 2016
Hi Carl,
I am running this command
ffmpeg -framerate 1/5 -pattern_type glob -i
'/home/devprj01/domains/devrepublic-projects.nl/public_html/development/houseview2/uploads/projects/52/images/temp/*.jpg'
-i
'/home/devprj01/domains/devrepublic-projects.nl/public_html/development/houseview2/uploads/templatemp3/3/Then
A Kiss.mp3' -c:v libx264 -vf 'scale=trunc(iw/2)*2:trunc(ih/2)*2'
-pix_fmt yuv420p -c:a aac -strict experimental -shortest
/home/devprj01/domains/devrepublic-projects.nl/public_html/development/houseview2/uploads/projects/52/videos/vid27-01-2016_13-16-26.mp4
output is
ffmpeg version 2.2.1 Copyright (c) 2000-2014 the FFmpeg developers
built on Apr 13 2014 13:00:18 with gcc 4.4.6 (GCC) 20120305 (Red Hat
4.4.6-4)
configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64
--mandi r=/usr/share/man --enable-shared --enable-runtime-cpudetect
--enable-gpl --enabl e-version3 --enable-postproc --enable-avfilter
--enable-pthreads --enable-x11gra b --enable-vdpau --disable-avisynth
--enable-frei0r --enable-libopencv --enable- libdc1394 --enable-libgsm
--enable-libmp3lame --enable-libnut --enable-libopenco re-amrnb
--enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enab
le-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx
--enable-libx2 64 --enable-libxavs --enable-libxvid --extra-cflags='-O2
-g -pipe -Wall -Wp,-D_F ORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -m tune=generic -fPIC'
--disable-stripping
libavutil 52. 66.100 / 52. 66.100
libavcodec 55. 52.102 / 55. 52.102
libavformat 55. 33.100 / 55. 33.100
libavdevice 55. 10.100 / 55. 10.100
libavfilter 4. 2.100 / 4. 2.100
libswscale 2. 5.102 / 2. 5.102
libswresample 0. 18.100 / 0. 18.100
libpostproc 52. 3.100 / 52. 3.100
Input #0, image2, from
'/home/devprj01/domains/devrepublic-projects.nl/public_ht
ml/development/houseview2/uploads/projects/52/images/temp/*.jpg':
Duration: 00:00:20.00, start: 0.000000, bitrate: N/A
Stream #0:0: Video: mjpeg, yuvj444p(pc), 500x333 [SAR 72:72 DAR
500:333], 0. 20 fps, 1 tbr, 0.20 tbn, 0.20 tbc
[mp3 @ 0x9511e0] Estimating duration from bitrate, this may be
inaccurate
Input #1, mp3, from
'/home/devprj01/domains/devrepublic-projects.nl/public_html/
development/houseview2/uploads/templatemp3/3/Then A Kiss.mp3':
Metadata:
title : Then A Kiss
artist : www.freeplaymusic.com
TCM : Composed by: Ronald Gamache, BMI. Published by: Freeplaymu sic,
BMI
album : Contemporary Jazz Guitar Vol 2
encoded_by : iTunes v7.0.2
Duration: 00:03:09.76, start: 0.000000, bitrate: 160 kb/s
Stream #1:0: Audio: mp3, 44100 Hz, stereo, s16p, 160 kb/s
[swscaler @ 0x946260] deprecated pixel format used, make sure you did
set range correctly
[libx264 @ 0x952980] using SAR=332/333
[libx264 @ 0x952980] using cpu capabilities: MMX2 SSE2 SSE3 Cache64
[libx264 @ 0x952980] profile High, level 2.1
[libx264 @ 0x952980] 264 - core 142 - H.264/MPEG-4 AVC codec - Copyleft
2003-201 4 - http://www.videolan.org/x264.html - options: cabac=1 ref=3
deblock=1:0:0 ana lyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00
mixed_ref=1 me_range=16 chr oma_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 bl
uray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1
b_bias=0 direc t=1 weightb=1 open_gop=0 weightp=2 keyint=250
keyint_min=1 scenecut=40 intra_ref resh=0 rc_lookahead=40 rc=crf
mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpst ep=4 ip_ratio=1.40
aq=1:1.00
Output #0, mp4, to
'/home/devprj01/domains/devrepublic-projects.nl/public_html/d
evelopment/houseview2/uploads/projects/52/videos/vid27-01-2016_13-16-26.mp4':
Metadata:
encoder : Lavf55.33.100
Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p,
500x33 2 [SAR 332:333 DAR 500:333], q=-1--1, 16384 tbn, 1 tbc
Stream #0:1: Audio: aac ([64][0][0][0] / 0x0040), 44100 Hz, stereo,
fltp, 12 8 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (mjpeg -> libx264)
Stream #1:0 -> #0:1 (mp3 -> aac)
Press [q] to stop, [?] for help
frame= 16 fps=0.0 q=0.0 size= 0kB time=00:00:07.12 bitrate= 0.1kbits/s
frame= 16 fps= 16 q=0.0 size= 33kB time=00:00:12.09 bitrate= 22.5kbits/s
frame= 16 fps=5.0 q=-1.0 Lsize= 480kB time=00:00:16.02 bitrate=
245.6kbits /s dup=12 drop=0
video:225kB audio:251kB subtitle:0 data:0 global headers:0kB muxing
overhead 0.8 96536%
[libx264 @ 0x952980] frame I:4 Avg QP:12.47 size: 57324
[libx264 @ 0x952980] frame P:3 Avg QP:15.94 size: 29
[libx264 @ 0x952980] frame B:9 Avg QP:15.33 size: 18
[libx264 @ 0x952980] consecutive B-frames: 25.0% 0.0% 0.0% 75.0%
[libx264 @ 0x952980] mb I I16..4: 6.4% 32.3% 61.3%
[libx264 @ 0x952980] mb P I16..4: 0.0% 0.0% 0.0% P16..4: 0.4% 0.1% 0.0%
0.0% 0.0% skip:99.5%
[libx264 @ 0x952980] mb B I16..4: 0.0% 0.0% 0.0% B16..8: 0.2% 0.0% 0.0%
direct: 0.0% skip:99.8% L0:36.4% L1:63.6% BI: 0.0%
[libx264 @ 0x952980] 8x8 transform intra:32.3% inter:100.0%
[libx264 @ 0x952980] coded y,uvDC,uvAC intra: 96.8% 97.7% 93.4% inter:
0.0% 0.0% 0.0%
[libx264 @ 0x952980] i16 v,h,dc,p: 19% 5% 6% 69%
[libx264 @ 0x952980] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 18% 31% 17% 4% 4% 4%
7% 5% 10%
[libx264 @ 0x952980] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 26% 25% 9% 6% 6% 5%
9% 6% 8%
[libx264 @ 0x952980] i8c dc,h,v,p: 42% 23% 24% 11%
[libx264 @ 0x952980] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0x952980] kb/s:114.77
Please let me know if you need more details.
Regards,
Pratik
More information about the ffmpeg-user
mailing list