[FFmpeg-user] Problem for converting images to video with mov and mp4

Roger Pack rogerdpack2 at gmail.com
Mon Sep 17 18:06:01 CEST 2012


> 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

The "1 kb/s" may be suspicious...

> In both cases I get two videos whose weight is 2.8 kb. I tried with
> other codecs and everything works fine ... is there a problem with the
> mov mp4 and at this level?

What do you mean by weight? "bitrate="?
It may have to do with libx264 not the container.
-r


More information about the ffmpeg-user mailing list