[Libav-user] Slideshow with pictures has grainy effect
Vijay Kumar Kanta
viju.kantah at gmail.com
Thu Jun 12 10:14:39 CEST 2014
On 06/10/2014 08:15 PM, Carl Eugen Hoyos wrote:
> Vijay Kumar Kanta <viju.kantah at ...> writes:
>
>> ffmpeg -r 1/5 -i tmpdir/img%03d.png -i music/xyz.mp3
>> -c:a aac -c:v libx264 -r 30 -pix_fmt yuv420p
>> -shortest out.mp4
> Complete, uncut console output missing.
>
> Carl Eugen
>
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
Hi, this is the output. All pictures have some odd filter auto-applied
even with standard options I believe.
INPUT:
ffmpeg -r 1/5 -i tmpdir/img%03d.png -i music/xyz.mp3
-c:a aac -c:v libx264 -r 30 -pix_fmt yuv420p
-shortest out.mp4
OUTPUT:
ffmpeg version 2.1.1 Copyright (c) 2000-2013 the FFmpeg developers
built on Dec 20 2013 14:50:46 with gcc 4.6.3 (GCC) 20120306 (Red Hat 4.6.3-2)
configuration: --enable-libass --enable-shared --enable-libx264 --enable-gpl
libavutil 52. 48.101 / 52. 48.101
libavcodec 55. 39.101 / 55. 39.101
libavformat 55. 19.104 / 55. 19.104
libavdevice 55. 5.100 / 55. 5.100
libavfilter 3. 90.100 / 3. 90.100
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 17.104 / 0. 17.104
libpostproc 52. 3.100 / 52. 3.100
Input #0, image2, from '/path/to/pics/5rKYlPFejTZZDQhOt/img%03d.jpg':
Duration: 00:00:00.28, start: 0.000000, bitrate: N/A
Stream #0:0: Video: mjpeg, yuvj420p(pc), 480x480 [SAR 96:96 DAR 1:1], 25 fps, 25 tbr, 25 tbn, 25 tbc
Input #1, mp3, from '/home/ec2-user/www/music/HyoB9cFJtmysSGyXm.mp3':
Metadata:
title : Closer to the End
artist : EXIT project
album : Mistery Journey of Girl with her Death
track : 9
Duration: 00:03:48.99, start: 0.000000, bitrate: 128 kb/s
Stream #1:0: Audio: mp3, 44100 Hz, stereo, s16p, 128 kb/s
[swscaler @ 0x839afa0] deprecated pixel format used, make sure you did set range correctly
[libx264 @ 0x83bc300] using SAR=1/1
[libx264 @ 0x83bc300] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
[libx264 @ 0x83bc300] profile High, level 3.0
[libx264 @ 0x83bc300] 264 - core 140 - H.264/MPEG-4 AVC codec - Copyleft 2003-2013 -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=1 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 '/path/to/video/5rKYlPFejTZZDQhOt.mp4':
Metadata:
encoder : Lavf55.19.104
Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 480x480 [SAR 1:1 DAR 1:1], q=-1--1, 12800 tbn, 25 tbc
Stream #0:1: Audio: aac ([64][0][0][0] / 0x0040), 44100 Hz, stereo, fltp, 128 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (mjpeg -> libx264)
Stream #1:0 -> #0:1 (mp3 -> aac)
Press [q] to stop, [?] for help
[output stream 0:0 @ 0x83accc0] 100 buffers queued in output stream 0:0, something may be wrong.
frame= 125 fps=109 q=28.0 size= 0kB time=00:00:03.28 bitrate= 0.1kbits/s
frame= 250 fps= 91 q=28.0 size= 76kB time=00:00:08.28 bitrate= 75.3kbits/s
frame= 375 fps= 83 q=28.0 size= 196kB time=00:00:13.28 bitrate= 120.8kbits/s
frame= 500 fps= 83 q=28.0 size= 323kB time=00:00:18.28 bitrate= 144.8kbits/s
frame= 625 fps= 84 q=28.0 size= 422kB time=00:00:23.28 bitrate= 148.4kbits/s
frame= 750 fps= 83 q=28.0 size= 521kB time=00:00:28.28 bitrate= 150.9kbits/s
frame= 751 fps= 77 q=28.0 Lsize= 718kB time=00:00:30.04 bitrate= 195.9kbits/s
video:221kB audio:472kB subtitle:0 global headers:0kB muxing overhead 3.732901%
[libx264 @ 0x83bc300] frame I:6 Avg QP:14.45 size: 33262
[libx264 @ 0x83bc300] frame P:187 Avg QP:18.33 size: 80
[libx264 @ 0x83bc300] frame B:558 Avg QP:23.90 size: 20
[libx264 @ 0x83bc300] consecutive B-frames: 0.9% 0.0% 0.0% 99.1%
[libx264 @ 0x83bc300] mb I I16..4: 10.3% 88.0% 1.8%
[libx264 @ 0x83bc300] mb P I16..4: 0.0% 0.5% 0.0% P16..4: 0.7% 0.0% 0.0% 0.0% 0.0% skip:98.7%
[libx264 @ 0x83bc300] 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:57.5% L1:42.5% BI: 0.0%
[libx264 @ 0x83bc300] 8x8 transform intra:87.4% inter:66.7%
[libx264 @ 0x83bc300] coded y,uvDC,uvAC intra: 67.9% 59.6% 39.2% inter: 0.0% 0.2% 0.0%
[libx264 @ 0x83bc300] i16 v,h,dc,p: 59% 21% 19% 2%
[libx264 @ 0x83bc300] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 28% 13% 24% 5% 6% 8% 5% 7% 6%
[libx264 @ 0x83bc300] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 37% 17% 14% 5% 6% 7% 5% 6% 3%
[libx264 @ 0x83bc300] i8c dc,h,v,p: 55% 16% 23% 5%
[libx264 @ 0x83bc300] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0x83bc300] ref P L0: 99.2% 0.0% 0.6% 0.2%
[libx264 @ 0x83bc300] ref B L0: 50.2% 49.5% 0.2%
[libx264 @ 0x83bc300] kb/s:60.06
More information about the Libav-user
mailing list