[FFmpeg-user] Last frame with wrong duration - video from images

Leonardo lsbplsb at yahoo.com
Mon Jun 22 21:33:38 EEST 2020


 Here is the full output

$ ffmpeg -framerate 1/5 -i figura%03d.png -c:v libx264 -pix_fmt yuv420p -r 30 -vf scale=1920:1080 video.mp4

ffmpeg version 4.1.4-1~deb10u1 Copyright (c) 2000-2019 the FFmpeg developers
 built with gcc 8 (Debian 8.3.0-6)
 configuration: --prefix=/usr --extra-version='1~deb10u1' --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
 libavutil 56. 22.100 / 56. 22.100
 libavcodec 58. 35.100 / 58. 35.100
 libavformat 58. 20.100 / 58. 20.100
 libavdevice 58. 5.100 / 58. 5.100
 libavfilter 7. 40.101 / 7. 40.101
 libavresample 4. 0. 0 / 4. 0. 0
 libswscale 5. 3.100 / 5. 3.100
 libswresample 3. 3.100 / 3. 3.100
 libpostproc 55. 3.100 / 55. 3.100
Input #0, image2, from 'figura%03d.png':
 Duration: 00:00:10.00, start: 0.000000, bitrate: N/A
 Stream #0:0: Video: png, rgb24(pc), 1920x1080, 0.20 tbr, 0.20 tbn, 0.20 tbc
Stream mapping:
 Stream #0:0 -> #0:0 (png (native) -> h264 (libx264))
Press [q] to stop, [?] for help
[libx264 @ 0x56107b539380] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0x56107b539380] profile High, level 4.0
[libx264 @ 0x56107b539380] 264 - core 155 r2917 0a84d98 - H.264/MPEG-4 AVC codec - Copyleft 2003-2018 - 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 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 'video.mp4':
 Metadata:
 encoder : Lavf58.20.100
 Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv420p, 1920x1080, q=-1--1, 30 fps, 15360 tbn, 30 tbc
 Metadata:
 encoder : Lavc58.35.100 libx264
 Side data:
 cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
frame= 151 fps= 66 q=29.0 size= 0kB time=00:00:03.26 bitrate= 0.1kbits/frame= 151 fps= 54 q=-1.0 Lsize= 39kB time=00:00:04.93 bitrate= 65.0kbits/s dup=149 drop=0 speed=1.77x 
video:37kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 7.077967%
[libx264 @ 0x56107b539380] frame I:1 Avg QP:19.00 size: 20449
[libx264 @ 0x56107b539380] frame P:38 Avg QP:11.10 size: 158
[libx264 @ 0x56107b539380] frame B:112 Avg QP:13.68 size: 92
[libx264 @ 0x56107b539380] consecutive B-frames: 0.7% 1.3% 0.0% 98.0%
[libx264 @ 0x56107b539380] mb I I16..4: 21.4% 74.5% 4.1%
[libx264 @ 0x56107b539380] mb P I16..4: 0.0% 0.0% 0.0% P16..4: 0.1% 0.0% 0.0% 0.0% 0.0% skip:99.8%
[libx264 @ 0x56107b539380] mb B I16..4: 0.0% 0.0% 0.0% B16..8: 0.3% 0.0% 0.0% direct: 0.0% skip:99.7% L0:62.0% L1:38.0% BI: 0.0%
[libx264 @ 0x56107b539380] 8x8 transform intra:74.0% inter:9.7%
[libx264 @ 0x56107b539380] coded y,uvDC,uvAC intra: 2.3% 1.2% 1.2% inter: 0.0% 0.0% 0.0%
[libx264 @ 0x56107b539380] i16 v,h,dc,p: 91% 2% 7% 0%
[libx264 @ 0x56107b539380] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 44% 1% 55% 0% 0% 0% 0% 0% 0%
[libx264 @ 0x56107b539380] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 47% 18% 14% 3% 4% 3% 5% 4% 2%
[libx264 @ 0x56107b539380] i8c dc,h,v,p: 99% 1% 1% 0%
[libx264 @ 0x56107b539380] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0x56107b539380] ref P L0: 78.2% 2.6% 19.0% 0.1%
[libx264 @ 0x56107b539380] ref B L0: 43.5% 56.5%



     On Monday, June 22, 2020, 03:27:27 PM GMT-3, Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:  
 
 Am Mo., 22. Juni 2020 um 19:45 Uhr schrieb Leonardo via ffmpeg-user
<ffmpeg-user at ffmpeg.org>:

> I have two images named figur001.png and figur002.png that I want to make a video of 10 seconds, each figure being displayed for 5 seconds.
>
> After command
>
> ffmpeg -framerate 1/5 -i figur%03d.png -c:v libx264 -pix_fmt yuv420p -r 30 -vf scale=1920:1080 video.mp4

Complete, uncut console output missing.

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".  


More information about the ffmpeg-user mailing list