[FFmpeg-user] ffmpeg ignores duration and skips concat images

Spencer Graves spencer.graves at prodsyse.com
Sun Jun 15 22:19:05 CEST 2014


Hello:


       ffmpeg seems to be using only about 60 of 1500 image files in 
creating a 1 minute video with the following command:


ffmpeg -y -r 1 -i restrictSecrecy3.mp2^
           -f concat -i framesFiles.txt^
           -vf fps=1 -pix_fmt yuv420p restrictSecrecy.mp4


       The audio (restrictSecrecy3.mp2) plays fine in the output 
(restrictSecrecy.mp4), but the video does not flow. "framesFiles.txt" 
contains 3000 records, the first 4 of which are as follows:


file 01-00001NSA.png
duration 0.04
file 01-00002NSA.png
duration 0.04


       Below please find the output generated using ffmpeg version 
N-61620-ge555e1b under Windows 7.  The inputs are available at 
"https://drive.google.com/folderview?id=0B1bTqmKWlWxhaEFWRlVhekk5M2M&usp=sharing". 



       Thanks for your consideration.


       Best Wishes,
       Spencer Graves


 >ffmpeg -y -r 1 -i restrictSecrecy3.mp2          -f concat -i framesFil
es.txt          -vf fps=1 -pix_fmt yuv420p restrictSecrecy.mp4
ffmpeg version N-61620-ge555e1b Copyright (c) 2000-2014 the FFmpeg 
developers
   built on Mar 19 2014 22:01:32 with gcc 4.8.2 (GCC)
   configuration: --enable-gpl --enable-version3 --disable-w32threads 
--enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r 
--enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libcaca 
--enable-libfreetyp
e --enable-libgsm --enable-libilbc --enable-libmodplug 
--enable-libmp3lame --ena
ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg 
--enable-l
ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr 
--enable-libsp
eex --enable-libtheora --enable-libtwolame --enable-libvidstab 
--enable-libvo-aa
cenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx 
--enable-libwavp
ack --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid 
--enable
-zlib
   libavutil      52. 67.100 / 52. 67.100
   libavcodec     55. 52.102 / 55. 52.102
   libavformat    55. 34.101 / 55. 34.101
   libavdevice    55. 11.100 / 55. 11.100
   libavfilter     4.  3.100 /  4.  3.100
   libswscale      2.  5.102 /  2.  5.102
   libswresample   0. 18.100 /  0. 18.100
   libpostproc    52.  3.100 / 52.  3.100
[mp3 @ 02b653e0] Estimating duration from bitrate, this may be inaccurate
Input #0, mp3, from 'restrictSecrecy3.mp2':
   Metadata:
     genre           : A Cappella
     track           : 1
     album           : Restrict secrecy more than data collection
     artist          : Spencer Graves
     title           : Restrict secrecy
     date            : 2014
   Duration: 00:00:59.13, start: 0.000000, bitrate: 159 kb/s
     Stream #0:0: Audio: mp2, 44100 Hz, stereo, s16p, 159 kb/s
Input #1, concat, from 'framesFiles.txt':
   Duration: 00:01:00.00, start: 0.000000, bitrate: 8 kb/s
     Stream #1:0: Video: png, rgb24, 842x842, 25 tbr, 25 tbn, 25 tbc
[libx264 @ 02b85cc0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
[libx264 @ 02b85cc0] profile High, level 3.1
[libx264 @ 02b85cc0] 264 - core 142 r2409 d6b4e63 - H.264/MPEG-4 AVC 
codec - Cop
yleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=1 
ref=3 deb
lock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 
mixed_ref=1 m
e_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 
fast_pskip=1 chro
ma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 
decimate=1 i
nterlaced=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=1 
scenecu
t=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 'restrictSecrecy.mp4':
   Metadata:
     genre           : A Cappella
     track           : 1
     album           : Restrict secrecy more than data collection
     artist          : Spencer Graves
     title           : Restrict secrecy
     date            : 2014
     encoder         : Lavf55.34.101
     Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), 
yuv420p, 842x84
2, q=-1--1, 16384 tbn, 1 tbc
     Stream #0:1: Audio: aac (libvo_aacenc) ([64][0][0][0] / 0x0040), 
44100 Hz, s
tereo, s16, 128 kb/s
Stream mapping:
   Stream #1:0 -> #0:0 (png -> libx264)
   Stream #0:0 -> #0:1 (mp2 -> libvo_aacenc)
Press [q] to stop, [?] for help
Input stream #1:0 frame changed from size:842x842 fmt:rgb24 to 
size:480x480 fmt:
rgb24
Input stream #1:0 frame changed from size:480x480 fmt:rgb24 to 
size:960x960 fmt:
rgb24
Input stream #1:0 frame changed from size:960x960 fmt:rgb24 to 
size:842x842 fmt:
rgb24
Input stream #1:0 frame changed from size:842x842 fmt:rgb24 to 
size:480x480 fmt:
pal8
Input stream #1:0 frame changed from size:480x480 fmt:pal8 to 
size:480x480 fmt:r
gb24
Input stream #1:0 frame changed from size:480x480 fmt:rgb24 to 
size:480x480 fmt:
pal8
Input stream #1:0 frame changed from size:480x480 fmt:pal8 to 
size:480x480 fmt:r
gb24
Input stream #1:0 frame changed from size:480x480 fmt:rgb24 to 
size:480x480 fmt:
pal8
Input stream #1:0 frame changed from size:480x480 fmt:pal8 to 
size:480x480 fmt:r
gb24
frame=   46 fps=3.5 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A 
dup=1 dro
Input stream #1:0 frame changed from size:480x480 fmt:rgb24 to 
size:480x480 fmt:
pal8
frame=   48 fps=3.5 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A 
dup=1 dro
frame=   50 fps=3.5 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A 
dup=1 dro
Input stream #1:0 frame changed from size:480x480 fmt:pal8 to 
size:480x480 fmt:r
gb24
frame=   52 fps=3.6 q=17.0 size=       0kB time=00:00:00.00 bitrate=N/A 
dup=1 dr
frame=   54 fps=3.6 q=17.0 size=     102kB time=00:00:02.00 bitrate= 
419.7kbits/
frame=   55 fps=3.5 q=17.0 size=     218kB time=00:00:03.00 bitrate= 
596.4kbits/
frame=   57 fps=3.5 q=17.0 size=     346kB time=00:00:05.00 bitrate= 
566.4kbits/
frame=   59 fps=3.5 q=17.0 size=     386kB time=00:00:07.00 bitrate= 
451.2kbits/
frame=   61 fps=3.6 q=17.0 size=     453kB time=00:00:20.14 bitrate= 
184.3kbits/
frame=   61 fps=3.5 q=17.0 size=     786kB time=00:00:41.45 bitrate= 
155.4kbits/
frame=   61 fps=3.2 q=-1.0 Lsize=    2483kB time=00:00:59.00 bitrate= 
344.7kbits
/s dup=1 drop=0
video:1550kB audio:920kB subtitle:0 data:0 global headers:0kB muxing 
overhead 0.
495821%
[libx264 @ 02b85cc0] frame I:9     Avg QP: 4.98  size: 68607
[libx264 @ 02b85cc0] frame P:37    Avg QP:14.47  size: 23209
[libx264 @ 02b85cc0] frame B:15    Avg QP:11.92  size:  7352
[libx264 @ 02b85cc0] consecutive B-frames: 59.0% 19.7% 14.8%  6.6%
[libx264 @ 02b85cc0] mb I  I16..4: 65.4% 12.3% 22.4%
[libx264 @ 02b85cc0] mb P  I16..4:  2.1%  5.3%  6.4%  P16..4:  2.3% 
0.8%  0.4%
  0.0%  0.0%    skip:82.6%
[libx264 @ 02b85cc0] mb B  I16..4:  0.0%  0.6%  1.4%  B16..8:  3.7% 
0.6%  0.3%
  direct: 0.3%  skip:93.0%  L0:58.9% L1:36.5% BI: 4.6%
[libx264 @ 02b85cc0] 8x8 transform intra:22.0% inter:33.2%
[libx264 @ 02b85cc0] coded y,uvDC,uvAC intra: 36.9% 34.2% 32.4% inter: 
1.6% 1.8%
  1.5%
[libx264 @ 02b85cc0] i16 v,h,dc,p: 93%  4%  3%  0%
[libx264 @ 02b85cc0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 30% 16% 27%  3% 5%  
4%  5%
  4%  6%
[libx264 @ 02b85cc0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 29% 24% 14%  4% 6%  
6%  6%
  5%  6%
[libx264 @ 02b85cc0] i8c dc,h,v,p: 78%  9% 10%  3%
[libx264 @ 02b85cc0] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 02b85cc0] ref P L0: 78.1%  6.9% 12.0%  3.0%
[libx264 @ 02b85cc0] ref B L0: 87.7% 12.0%  0.3%
[libx264 @ 02b85cc0] ref B L1: 98.8%  1.2%
[libx264 @ 02b85cc0] kb/s:208.06

C:\Users\sgraves\2013\politics\effectiveDefense\leaks\restrictSecrecy\ffmpeg\ffm
pegSecr59>


More information about the ffmpeg-user mailing list