[FFmpeg-user] Repeating image tiles
Molly Millions
mollyrazormillions at gmail.com
Thu May 30 18:24:26 CEST 2013
Hi!
I use the following command line to convert flv movies to mp4 and also
create a 10x9 image tile. Each tile gets written at 2 second intervals, so
a full image tile should be written after every 3 minutes. My problem is,
that with the followinging 9 minute video, ffmpeg creates a lot (100+) of
repeating (md5 sums match) tiles. Any idea what might be the problem?
Source video file:
https://www.dropbox.com/s/9uiup4uc9u3pdg7/v20.flv.flv
$ ffmpeg -i v20.flv.flv -y -movflags faststart -vf 'scale=320:240'
'video-20.360.mp4' -vf
'select=isnan(prev_selected_t)+gte(t-prev_selected_t\,2),scale=90:45,tile=10x9'
-qscale:v 3 'f%03d.jpg'
ffmpeg version N-53613-g4d2825a Copyright (c) 2000-2013 the FFmpeg
developers
built on May 29 2013 05:24:41 with gcc 4.6 (Debian 4.6.3-1)
configuration: --prefix=/root/ffmpeg-static/64bit
--extra-cflags='-I/root/ffmpeg-static/64bit/include -static'
--extra-ldflags='-L/root/ffmpeg-static/64bit/lib -static'
--extra-libs='-lxml2 -lexpat -lfreetype' --enable-static --disable-shared
--disable-ffserver --disable-doc --enable-bzlib --enable-zlib
--enable-postproc --enable-runtime-cpudetect --enable-libx264 --enable-gpl
--enable-libtheora --enable-libvorbis --enable-libmp3lame --enable-gray
--enable-libass --enable-libfreetype --enable-libopenjpeg --enable-libspeex
--enable-libvo-aacenc --enable-libvo-amrwbenc --enable-version3
--enable-libvpx
libavutil 52. 34.100 / 52. 34.100
libavcodec 55. 12.102 / 55. 12.102
libavformat 55. 7.100 / 55. 7.100
libavdevice 55. 1.101 / 55. 1.101
libavfilter 3. 72.100 / 3. 72.100
libswscale 2. 3.100 / 2. 3.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 3.100 / 52. 3.100
Input #0, flv, from 'v20.flv.flv':
Metadata:
hasKeyframes : true
hasVideo : true
canSeekToEnd : false
datasize : 24360527
lasttimestamp : 594
audiosize : 5176996
hasAudio : true
audiodelay : 0
videosize : 19177783
metadatacreator : inlet media FLVTool2 v1.0.6 -
http://www.inlet-media.de/flvtool2
lastkeyframetimestamp: 586
hasMetadata : true
hasCuePoints : false
Duration: 00:09:54.46, start: 0.000000, bitrate: 330 kb/s
Stream #0:0: Video: flv1, yuv420p, 320x240, 261 kb/s, 29.97 tbr, 1k
tbn, 1k tbc
Stream #0:1: Audio: mp3, 22050 Hz, mono, s16p, 67 kb/s
[libx264 @ 0x36b3f40] using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
[libx264 @ 0x36b3f40] profile High, level 1.3
[libx264 @ 0x36b3f40] 264 - core 129 r2230 1cffe9f - 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=-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-20.360.mp4':
Metadata:
hasKeyframes : true
hasVideo : true
canSeekToEnd : false
datasize : 24360527
lasttimestamp : 594
audiosize : 5176996
hasAudio : true
audiodelay : 0
videosize : 19177783
metadatacreator : inlet media FLVTool2 v1.0.6 -
http://www.inlet-media.de/flvtool2
lastkeyframetimestamp: 586
hasMetadata : true
hasCuePoints : false
encoder : Lavf55.7.100
Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p,
320x240, q=-1--1, 30k tbn, 29.97 tbc
Stream #0:1: Audio: aac (libvo_aacenc) ([64][0][0][0] / 0x0040), 22050
Hz, mono, s16, 128 kb/s
Output #1, image2, to 'f%03d.jpg':
Metadata:
hasKeyframes : true
hasVideo : true
canSeekToEnd : false
datasize : 24360527
lasttimestamp : 594
audiosize : 5176996
hasAudio : true
audiodelay : 0
videosize : 19177783
metadatacreator : inlet media FLVTool2 v1.0.6 -
http://www.inlet-media.de/flvtool2
lastkeyframetimestamp: 586
hasMetadata : true
hasCuePoints : false
encoder : Lavf55.7.100
Stream #1:0: Video: mjpeg, yuvj420p, 900x405, q=2-31, 200 kb/s, 90k
tbn, 0.33 tbc
Stream mapping:
Stream #0:0 -> #0:0 (flv -> libx264)
Stream #0:1 -> #0:1 (mp3 -> libvo_aacenc)
Stream #0:0 -> #1:0 (flv -> mjpeg)
Press [q] to stop, [?] for help
Stream discovered after head already parsed207kB time=00:09:50.87 bitrate=
529.7kbits/s dup=118 drop=0
[flv @ 0x36ac8a0] New data stream 0:2 at pos:24480465 and DTS:593.427s
[mp4 @ 0x36af720] Starting second pass: moving header on top of the file
frame=17816 fps=298 q=-1.0 Lq=0.0 size= 38876kB time=00:09:54.54 bitrate=
535.7kbits/s dup=177 drop=0
video:47808kB audio:9291kB subtitle:0 global headers:0kB muxing overhead
-31.913943%
[libx264 @ 0x36b3f40] frame I:142 Avg QP:20.94 size: 9935
[libx264 @ 0x36b3f40] frame P:16981 Avg QP:25.18 size: 1673
[libx264 @ 0x36b3f40] frame B:693 Avg QP:29.51 size: 179
[libx264 @ 0x36b3f40] consecutive B-frames: 94.5% 0.7% 0.5% 4.3%
[libx264 @ 0x36b3f40] mb I I16..4: 9.6% 85.3% 5.1%
[libx264 @ 0x36b3f40] mb P I16..4: 0.7% 2.3% 0.1% P16..4: 38.7% 13.1%
11.9% 0.0% 0.0% skip:33.1%
[libx264 @ 0x36b3f40] mb B I16..4: 0.2% 0.3% 0.0% B16..8: 19.7% 1.7%
0.5% direct: 0.6% skip:77.1% L0:44.4% L1:48.7% BI: 6.9%
[libx264 @ 0x36b3f40] 8x8 transform intra:75.3% inter:82.6%
[libx264 @ 0x36b3f40] coded y,uvDC,uvAC intra: 68.1% 63.1% 8.4% inter:
22.9% 12.2% 0.4%
[libx264 @ 0x36b3f40] i16 v,h,dc,p: 34% 35% 25% 6%
[libx264 @ 0x36b3f40] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 21% 35% 3% 3%
3% 3% 3% 7%
[libx264 @ 0x36b3f40] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 34% 21% 16% 4% 5%
5% 6% 4% 5%
[libx264 @ 0x36b3f40] i8c dc,h,v,p: 49% 26% 23% 2%
[libx264 @ 0x36b3f40] Weighted P-Frames: Y:0.3% UV:0.1%
[libx264 @ 0x36b3f40] ref P L0: 80.1% 11.2% 6.5% 2.2% 0.0%
[libx264 @ 0x36b3f40] ref B L0: 86.9% 10.9% 2.2%
[libx264 @ 0x36b3f40] ref B L1: 95.2% 4.8%
[libx264 @ 0x36b3f40] kb/s:402.90
[libvo_aacenc @ 0x37270e0] 1 frames left in the queue on closing
Thanks!
More information about the ffmpeg-user
mailing list