I'm also new, but doesn't your "-r 1/5" argument show each jpg for 5 seconds? That wouldn't create 100 seconds, it would create 500 seconds.
Instead of using -r 30 try -vf "fps30" On Mon, Jun 8, 2020 at 6:36 PM Dave Stevens <[email protected]> wrote: > I have ~3k images of about 2.3 megs each, all jpgs. I want to make a > video using them. I very seldom use ffmpeg so I always forget the > settings. I found a command line on stackexchange that seemed as if it > would do the job. Output is below. > > I perhaps naively thought that 3k input frames would produce the same > number of output frames and then at 30fps playback I'd have 100 seconds > of video. That would be fine. > > What I did was wait a really long time while ffmpeg displayed a frame > count in excess of 10K, almost 20K and turned out a video clip of 112 > megs. This doesn't seem reasonable. Can anyone who is able to interpret > the output below make a suggestion? I only want a simple video. The max > number of frames would be 16,000 - a day's worth at one every 5 > seconds. I thought that many frames would make a 10 minute video which > is okay. > > Ideas? > > Thanks, > > Dave > > --------------- ffmpeg run time output ------------------- > > dave@dave-900X1B ~/Documents/Smokecam/2days > ofoutdoorcapturesDecember112016 $ ffmpeg -r 1/5 -start_number 2 > -i /home/dave/Documents/Smokecam/2days\ > ofoutdoorcapturesDecember112016/smokey%04d.jpg -c:v libx264 -r 30 > -pix_fmt yuv420p out.mp4 ffmpeg version 2.8.15-0ubuntu0.16.04.1 > Copyright (c) 2000-2018 the FFmpeg developers built with gcc 5.4.0 > (Ubuntu 5.4.0-6ubuntu1~16.04.10) 20160609 configuration: --prefix=/usr > --extra-version=0ubuntu0.16.04.1 --build-suffix=-ffmpeg > --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu > --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl > --enable-shared --disable-stripping --disable-decoder=libopenjpeg > --disable-decoder=libschroedinger --enable-avresample --enable-avisynth > --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray > --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite > --enable-libfontconfig --enable-libfreetype --enable-libfribidi > --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame > --enable-libopenjpeg --enable-libopus --enable-libpulse > --enable-librtmp --enable-libschroedinger --enable-libshine > --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh > --enable-libtheora --enable-libtwolame --enable-libvorbis > --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 > --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl > --enable-x11grab --enable-libdc1394 --enable-libiec61883 > --enable-libzmq --enable-frei0r --enable-libx264 --enable-libopencv > WARNING: library configuration mismatch avcodec configuration: > --prefix=/usr --extra-version=0ubuntu0.16.04.1 --build-suffix=-ffmpeg > --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu > --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl > --enable-shared --disable-stripping --disable-decoder=libopenjpeg > --disable-decoder=libschroedinger --enable-avresample --enable-avisynth > --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray > --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite > --enable-libfontconfig --enable-libfreetype --enable-libfribidi > --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame > --enable-libopenjpeg --enable-libopus --enable-libpulse > --enable-librtmp --enable-libschroedinger --enable-libshine > --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh > --enable-libtheora --enable-libtwolame --enable-libvorbis > --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 > --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl > --enable-x11grab --enable-libdc1394 --enable-libiec61883 > --enable-libzmq --enable-frei0r --enable-libx264 --enable-libopencv > --enable-version3 --disable-doc --disable-programs --disable-avdevice > --disable-avfilter --disable-avformat --disable-avresample > --disable-postproc --disable-swscale --enable-libopencore_amrnb > --enable-libopencore_amrwb --enable-libvo_aacenc > --enable-libvo_amrwbenc libavutil 54. 31.100 / 54. 31.100 > libavcodec 56. 60.100 / 56. 60.100 libavformat 56. 40.101 / 56. > 40.101 libavdevice 56. 4.100 / 56. 4.100 libavfilter 5. > 40.101 / 5. 40.101 libavresample 2. 1. 0 / 2. 1. 0 > libswscale 3. 1.101 / 3. 1.101 libswresample 1. 2.101 / 1. > 2.101 libpostproc 53. 3.100 / 53. 3.100 [mjpeg @ 0x198d800] > Changeing bps to 8 Input #0, image2, from > '/home/dave/Documents/Smokecam/2days > ofoutdoorcapturesDecember112016/smokey%04d.jpg': Duration: 00:01:57.64, > start: 0.000000, bitrate: N/A Stream #0:0: Video: mjpeg, yuvj420p(pc, > bt470bg/unknown/unknown), 2592x1944, 25 fps, 25 tbr, 25 tbn, 25 tbc > File 'out.mp4' already exists. Overwrite ? [y/N] y [swscaler @ > 0x199cb80] deprecated pixel format used, make sure you did set range > correctly [libx264 @ 0x198f200] using cpu capabilities: MMX2 SSE2Fast > SSSE3 SSE4.2 AVX [libx264 @ 0x198f200] profile High, level 5.1 [libx264 > @ 0x198f200] 264 - core 148 r2643 5c65704 - H.264/MPEG-4 AVC codec - > Copyleft 2003-2015 - 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 'out.mp4': Metadata: encoder : > Lavf56.40.101 Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / > 0x0021), yuv420p, 2592x1944, q=-1--1, 30 fps, 15360 tbn, 30 tbc > Metadata: encoder : Lavc56.60.100 libx264 Stream mapping: > Stream #0:0 -> #0:0 (mjpeg (native) -> h264 (libx264)) Press [q] to > stop, [?] for help frame=19351 fps=5.9 q=-1.0 Lsize= 110126kB > time=00:10:44.96 bitrate=1398.8kbits/s dup=19221 drop=0 video:109896kB > audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing > overhead: 0.208995% [libx264 @ 0x198f200] frame I:78 Avg QP:13.34 > size:686665 [libx264 @ 0x198f200] frame P:4980 Avg QP:16.25 size: > 11239 [libx264 @ 0x198f200] frame B:14293 Avg QP:22.23 size: 210 > [libx264 @ 0x198f200] consecutive B-frames: 1.3% 0.5% 0.0% 98.1% > [libx264 @ 0x198f200] mb I I16..4: 0.5% 83.0% 16.5% [libx264 @ > 0x198f200] mb P I16..4: 0.0% 0.9% 0.0% P16..4: 3.9% 0.8% 0.5% > 0.0% 0.0% skip:93.9% [libx264 @ 0x198f200] mb B I16..4: 0.0% > 0.0% 0.0% B16..8: 0.5% 0.0% 0.0% direct: 0.0% skip:99.5% > L0:11.7% L1:88.3% BI: 0.0% [libx264 @ 0x198f200] 8x8 transform > intra:87.5% inter:80.1% [libx264 @ 0x198f200] coded y,uvDC,uvAC intra: > 98.3% 70.2% 53.3% inter: 0.5% 0.9% 0.0% [libx264 @ 0x198f200] i16 > v,h,dc,p: 12% 15% 24% 49% [libx264 @ 0x198f200] i8 > v,h,dc,ddl,ddr,vr,hd,vl,hu: 13% 15% 30% 6% 8% 6% 7% 6% 9% > [libx264 @ 0x198f200] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 18% 18% 9% 7% > 11% 9% 10% 8% 10% [libx264 @ 0x198f200] i8c dc,h,v,p: 48% 31% 13% 8% > [libx264 @ 0x198f200] Weighted P-Frames: Y:0.0% UV:0.0% [libx264 @ > 0x198f200] ref P L0: 81.9% 7.5% 9.9% 0.6% 0.0% [libx264 @ > 0x198f200] ref B L0: 71.5% 28.5% 0.1% [libx264 @ 0x198f200] ref B L1: > 97.5% 2.5% [libx264 @ 0x198f200] kb/s:1395.68 Exiting normally, > received signal 2. > > > -- > Affectionate tactile stimulation is a primary need, a need which must > be satisfied if the infant is to develop as a healthy human being. > > And what is a healthy human being? One who is able to love, to work, to > play, and to think critically and unprejudicially. > > -- Ashley Montagu – Touching, The human significance of the skin. 2e > 1978 > ettings > _______________________________________________ > ffmpeg-user mailing list > [email protected] > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > [email protected] with subject "unsubscribe". -- John Van Ostrand At large on sabbatical _______________________________________________ ffmpeg-user mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
