[FFmpeg-user] Problem for converting images to video with mov and mp4
PyProg PyProg
pyprog05 at gmail.com
Sun Sep 16 21:43:27 CEST 2012
2012/9/16 Carl Eugen Hoyos <cehoyos at ag.or.at>:
> (Note that you cannot specify an input resolution for jpg images.)
>
> Complete, uncut console output missing.
The output seem good but the video is unreadable on arrival and weighs 2.8 kb.
Here the output for the mov :
toto at toto-kubuntu:~$
/home/toto/ekd_toto/linux_dependances_portables/ffmpeg/ffmpeg -r 12
-s 800x600 -f image2 -i "/home/toto/.ekd_tmp/ekd_toto/%08d.jpg" -b:v
1800 -f mov -q:v 1 -y
"/home/toto/a/nouv_EKD/video/version_3/transform_img_en_vid/16_09_12.mov"
ffmpeg version N-44443-g570931d Copyright (c) 2000-2012 the FFmpeg developers
built on Sep 14 2012 05:11:00 with gcc 4.6 (Debian 4.6.3-1)
configuration: --prefix=/root/ffmpeg-static/32bit --arch=x86_32
--extra-cflags='-m32 -I/root/ffmpeg-static/32bit/include -static'
--extra-ldflags='-m32 -L/root/ffmpeg-static/32bit/lib -static'
--extra-libs='-lxml2 -lexpat -lfreetype' --enable-static
--disable-shared --disable-ffserver --disable-doc --enable-bzlib
--enable-zlib --enable-postproc --enable-runtime-cpudetect
--enable-libx264 --enable-gpl --enable-libtheora --enable-libvorbis
--enable-libmp3lame --enable-gray --enable-libass --enable-libfreetype
--enable-libopenjpeg --enable-libspeex --enable-libvo-aacenc
--enable-libvo-amrwbenc --enable-version3 --enable-libvpx
libavutil 51. 73.100 / 51. 73.100
libavcodec 54. 55.100 / 54. 55.100
libavformat 54. 27.100 / 54. 27.100
libavdevice 54. 2.100 / 54. 2.100
libavfilter 3. 16.103 / 3. 16.103
libswscale 2. 1.101 / 2. 1.101
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
Input #0, image2, from '/home/toto/.ekd_tmp/ekd_toto/%08d.jpg':
Duration: 00:00:02.08, start: 0.000000, bitrate: N/A
Stream #0:0: Video: mjpeg, yuvj420p, 800x600 [SAR 72:72 DAR 4:3],
12 fps, 12 tbr, 12 tbn, 12 tbc
[libx264 @ 0x996a1e0] using SAR=1/1
[libx264 @ 0x996a1e0] using cpu capabilities: MMX2 SSE2Fast
FastShuffle SSEMisalign LZCNT
[libx264 @ 0x996a1e0] profile High, level 3.1
[libx264 @ 0x996a1e0] 264 - core 124 r2197 69a0443 - 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=-2
threads=6 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=12 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=abr
mbtree=1 bitrate=1 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4
ip_ratio=1.40 aq=1:1.00
Output #0, mov, to
'/home/toto/a/nouv_EKD/video/version_3/transform_img_en_vid/16_09_12.mov':
Metadata:
encoder : Lavf54.27.100
Stream #0:0: Video: h264 (avc1 / 0x31637661), yuvj420p, 800x600
[SAR 1:1 DAR 4:3], q=-1--1, 1 kb/s, 12 tbn, 12 tbc
Stream mapping:
Stream #0:0 -> #0:0 (mjpeg -> libx264)
Press [q] to stop, [?] for help
frame= 25 fps=0.0 q=-1.0 Lsize= 3kB time=00:00:01.91 bitrate=
12.0kbits/s
video:2kB audio:0kB subtitle:0 global headers:0kB muxing overhead 43.690773%
[libx264 @ 0x996a1e0] frame I:2 Avg QP:51.00 size: 212
[libx264 @ 0x996a1e0] frame P:23 Avg QP:51.00 size: 37
[libx264 @ 0x996a1e0] mb I I16..4: 47.6% 52.4% 0.0%
[libx264 @ 0x996a1e0] mb P I16..4: 0.0% 0.0% 0.0% P16..4: 0.1%
0.0% 0.2% 0.0% 0.0% skip:99.6%
[libx264 @ 0x996a1e0] final ratefactor: 79.38
[libx264 @ 0x996a1e0] 8x8 transform intra:52.4%
[libx264 @ 0x996a1e0] coded y,uvDC,uvAC intra: 0.0% 0.4% 0.0% inter:
0.0% 0.0% 0.0%
[libx264 @ 0x996a1e0] i16 v,h,dc,p: 88% 9% 3% 0%
[libx264 @ 0x996a1e0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 0% 0% 100% 0%
0% 0% 0% 0% 0%
[libx264 @ 0x996a1e0] i8c dc,h,v,p: 100% 0% 0% 0%
[libx264 @ 0x996a1e0] Weighted P-Frames: Y:8.7% UV:8.7%
[libx264 @ 0x996a1e0] kb/s:4.93
> Carl Eugen
a+
--
http://ekd.tuxfamily.org
http://ekdm.wordpress.com
http://glouk.legtux.org/guiescputil
http://lcs.dunois.clg14.ac-caen.fr/~alama/blog
http://lprod.org/wiki/doku.php/video:encodage:avchd_converter
More information about the ffmpeg-user
mailing list