[FFmpeg-user] ffmpeg linux & windows
S Kilian
iskilian at hotmail.com
Sat Dec 15 07:18:25 CET 2012
ffmpeg -f image2 -i out%04d.png -vcodec libx264 out.mp
I think "image2" is only for jpeg files. I don't think *.png files qualify as jpeg files... so I think.
Also if you are forcing the input format type with the "-f", you generally need to specify all the paramaters (pix format, video size, etc...).
> Date: Thu, 13 Dec 2012 21:54:09 +0100
> From: philippe.torgue at laposte.net
> To: ffmpeg-user at ffmpeg.org
> Subject: Re: [FFmpeg-user] ffmpeg linux & windows
>
>
> $:~/ada_lumen_2/lumen$ ffmpeg -f image2 -i out%04d.png -vcodec libx264 out.mp4
> WARNING: gnome-keyring:: couldn't connect to: /home/philippe/.cache/keyring-
> hnIK5W/pkcs11: No such file or directory
> ffmpeg version 1.0 Copyright (c) 2000-2012 the FFmpeg developers
> built on Nov 17 2012 11:28:48 with gcc 4.7 (Debian 4.7.2-4)
> configuration: --prefix=/usr --extra-cflags='-g -O2 -fstack-protector --param=ssp-
> buffer-size=4 -Wformat -Werror=format-security ' --extra-ldflags='-Wl,-z,relro' --
> cc='ccache cc' --enable-shared --enable-libmp3lame --enable-gpl --enable-nonfree --
> disable-decoder=libdirac --enable-libvorbis --enable-pthreads --enable-libfaac --enable-
> libxvid --enable-postproc --enable-x11grab --enable-libgsm --enable-libtheora --enable-
> libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libspeex --enable-
> nonfree --disable-stripping --enable-libschroedinger --disable-encoder=libschroedinger --
> enable-version3 --enable-libopenjpeg --enable-libvpx --enable-librtmp --enable-avfilter -
> -enable-libfreetype --enable-libvo-aacenc --disable-decoder=amrnb --enable-libvo-amrwbenc
> --enable-libaacplus --libdir=/usr/lib/x86_64-linux-gnu --disable-vda --enable-libbluray -
> -enable-libcdio --enable-gnutls --enable-frei0r --enable-openssl --enable-libass --
> enable-libopus --enable-fontconfig --enable-libdc1394 --disable-altive libavutil
> 51. 73.101 / 51. 73.101
> libavcodec 54. 59.100 / 54. 59.100
> libavformat 54. 29.104 / 54. 29.104
> libavdevice 54. 2.101 / 54. 2.101
> libavfilter 3. 17.100 / 3. 17.100
> libswscale 2. 1.101 / 2. 1.101
> libswresample 0. 15.100 / 0. 15.100
> libpostproc 52. 0.100 / 52. 0.100
> [image2 @ 0x1043ba0] max_analyze_duration 5000000 reached at 5000000
> Input #0, image2, from 'out%04d.png':
> Duration: 00:01:27.28, start: 0.000000, bitrate: N/A
> Stream #0:0: Video: png, rgb24, 1200x1000, 25 fps, 25 tbr, 25 tbn, 25 tbc
> File 'out.mp4' already exists. Overwrite ? [y/N] y
> using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
> [libx264 @ 0x1025bc0] profile High 4:4:4 Predictive, level 3.2, 4:4:4 8-bit
> [libx264 @ 0x1025bc0] 264 - core 129 - 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=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 'out.mp4':
> Metadata:
> encoder : Lavf54.29.104
> Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv444p, 1200x1000, q=-1--1, 25
> tbn, 25 tbc
> Stream mapping:
> Stream #0:0 -> #0:0 (png -> libx264)
> Press [q] to stop, [?] for help
> Input stream #0:0 frame changed from size:1200x1000 fmt:rgb24 to size:1200x1000 fmt:pal8
> frame= 2182 fps= 36 q=32766.0 Lsize= 49568kB time=00:01:27.20 bitrate=4656.7kbits/s
> video:49550kB audio:0kB subtitle:0 global headers:0kB muxing overhead 0.035509%
> [libx264 @ 0x1025bc0] frame I:10 Avg QP:22.56 size: 39614
> [libx264 @ 0x1025bc0] frame P:1456 Avg QP:25.99 size: 33804
> [libx264 @ 0x1025bc0] frame B:716 Avg QP:27.97 size: 1569
> [libx264 @ 0x1025bc0] consecutive B-frames: 56.0% 0.5% 0.1% 43.3%
> [libx264 @ 0x1025bc0] mb I I16..4: 14.8% 70.2% 15.0%
> [libx264 @ 0x1025bc0] mb P I16..4: 2.7% 0.5% 7.6% P16..4: 7.8% 3.0% 2.4% 0.0%
> 0.0% skip:75.9%
> [libx264 @ 0x1025bc0] mb B I16..4: 0.1% 0.1% 0.0% B16..8: 3.9% 0.5% 0.2% direct:
> 0.2% skip:95.2% L0:49.0% L1:49.7% BI: 1.2%
> [libx264 @ 0x1025bc0] 8x8 transform intra:8.9% inter:0.3%
> [libx264 @ 0x1025bc0] coded y,u,v intra: 50.7% 0.0% 0.0% inter: 4.1% 0.0% 0.0%
> [libx264 @ 0x1025bc0] i16 v,h,dc,p: 58% 17% 24% 2%
> [libx264 @ 0x1025bc0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 5% 67% 1% 1% 1% 1% 1% 1%
> [libx264 @ 0x1025bc0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 31% 14% 42% 3% 2% 2% 2% 1% 2%
> [libx264 @ 0x1025bc0] Weighted P-Frames: Y:2.5% UV:0.0%
> [libx264 @ 0x1025bc0] ref P L0: 74.4% 3.5% 13.6% 8.3% 0.2%
> [libx264 @ 0x1025bc0] ref B L0: 74.9% 22.1% 3.0%
> [libx264 @ 0x1025bc0] ref B L1: 83.9% 16.1%
> [libx264 @ 0x1025bc0] kb/s:4650.69
>
> Well this time it's the complete outpull !
>
> > Message du 13/12/12 21:13
> > De : "Lou"
> > A : ffmpeg-user at ffmpeg.org
> > Copie à :
> > Objet : Re: [FFmpeg-user] ffmpeg linux & windows
> >
> > On Thu, 13 Dec 2012 20:34:54 +0100
> > "philippe.torgue"
> wrote:
> >
> > >
> > > oh sorry, bad paste on my console
> > >
> > > ffmpeg -f image2 -i out%04d.png -vcodec libx264 out.mp
> > >
> > > ffmpeg version 1.0 Copyright (c) 2000-2012 the FFmpeg developers
> > > built on Nov 17 2012 11:28:48 with gcc 4.7 (Debian 4.7.2-4)
> > > configuration: --prefix=/usr --extra-cflags='-g -O2 -fstack-protector --param=ssp-
> > > buffer-size=4 -Wformat -Werror=format-security ' --extra-ldflags='-Wl,-z,relro' --
> > > cc='ccache cc' --enable-shared --enable-libmp3lame --enable-gpl --enable-nonfree --
> > > disable-decoder=libdirac --enable-libvorbis --enable-pthreads --enable-libfaac --
> enable-
> > > libxvid --enable-postproc --enable-x11grab --enable-libgsm --enable-libtheora --
> enable-
> > > libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libspeex --
> enable-
> > > nonfree --disable-stripping --enable-libschroedinger --disable-
> encoder=libschroedinger --
> > > enable-version3 --enable-libopenjpeg --enable-libvpx --enable-librtmp --enable-
> avfilter -
> > > -enable-libfreetype --enable-libvo-aacenc --disable-decoder=amrnb --enable-libvo-
> amrwbenc
> > > --enable-libaacplus --libdir=/usr/lib/x86_64-linux-gnu --disable-vda --enable-
> libbluray -
> > > -enable-libcdio --enable-gnutls --enable-frei0r --enable-openssl --enable-libass --
> > > enable-libopus --enable-fontconfig --enable-libdc1394 --disable-altive libavutil
> > > 51. 73.101 / 51. 73.101
> > > libavcodec 54. 59.100 / 54. 59.100
> > > libavformat 54. 29.104 / 54. 29.104
> > > libavdevice 54. 2.101 / 54. 2.101
> > > libavfilter 3. 17.100 / 3. 17.100
> > > libswscale 2. 1.101 / 2. 1.101
> > > libswresample 0. 15.100 / 0. 15.100
> > > libpostproc 52. 0.100 / 52. 0.100
> > > [image2 @ 0x168fba0] max_analyze_duration 5000000 reached at 5000000
> > > Input #0, image2, from 'out%04d.png':
> > > Duration: 00:01:27.28, start: 0.000000, bitrate: N/A
> > > Stream #0:0: Video: png, rgb24, 1200x1000, 25 fps, 25 tbr, 25 tbn, 25 tbc
> > > File 'out.mp4' already exists. Overwrite ? [y/N]
> >
> > Let's try again. This is not the complete console output. I'd like to
> > see the information that shows up after you confirm the overwrite.
> >
> > Note that you should not use top-posting on FFmpeg mailing lists.
> > _______________________________________________
> > ffmpeg-user mailing list
> > ffmpeg-user at ffmpeg.org
> > http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> >
>
> Une messagerie gratuite, garantie à vie et des services en plus, ça vous tente ?
> Je crée ma boîte mail www.laposte.net
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
More information about the ffmpeg-user
mailing list