[FFmpeg-user] flags +ildct+ilme produce corrupted file
Massimo Battistel
battistel at gmail.com
Mon Mar 3 11:24:04 CET 2014
Hello,
you can download sample from here:
http://www.datafilehost.com/d/79d66b8c
The following command line generates a corrupted file. Removing from
command line "-flags +ildct+ilme -top 1" output is fine (but not marked as
interlaced).
ffmpeg -i ref.mp4 -vcodec libx264 -pix_fmt yuv420p -flags +ildct+ilme -top
1 -aspect 16:9 -b:v 4M -preset ultrafast -g 25 -acodec libvo_aacenc -an -f
mp4 -y cap_bad.mp4
Output:
ffmpeg version N-59275-g9b195dd Copyright (c) 2000-2013 the FFmpeg
developers
built on Dec 21 2013 22:03:44 with gcc 4.8.2 (GCC)
configuration: --disable-static --enable-shared --enable-gpl
--enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib
--enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv
--enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype
--enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
--enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr
--enable-libspeex --enable-libtheora --enable-libtwolame
--enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc
--enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libx264
--enable-libxavs --enable-libxvid --enable-zlib
libavutil 52. 58.101 / 52. 58.101
libavcodec 55. 45.103 / 55. 45.103
libavformat 55. 22.100 / 55. 22.100
libavdevice 55. 5.102 / 55. 5.102
libavfilter 4. 0.100 / 4. 0.100
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 17.104 / 0. 17.104
libpostproc 52. 3.100 / 52. 3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'ref.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf55.22.100
Duration: 00:00:22.20, start: 0.033333, bitrate: 231 kb/s
Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 /
0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 98 kb/s, 25 fps, 25
tbr, 12800 tbn, 50 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo,
fltp, 128 kb/s (default)
Metadata:
handler_name : SoundHandler
[libx264 @ 01f122e0] using SAR=1/1
[libx264 @ 01f122e0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
[libx264 @ 01f122e0] profile Main, level 4.0
[libx264 @ 01f122e0] 264 - core 140 r2377 1ca7bb9 - H.264/MPEG-4 AVC codec
- Copyleft 2003-2013 - http://www.videolan.org/x264.html - options: cabac=0
ref=1 deblock=0:0:0 analyse=0:0 me=dia subme=0 psy=1 psy_rd=1.00:0.00
mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11
fast_pskip=1 chroma_qp_offset=0 threads=12 lookahead_threads=2
sliced_threads=0 nr=0 decimate=1 interlaced=tff bluray_compat=0
constrained_intra=0 bframes=0 weightp=0 keyint=25 keyint_min=2 scenecut=0
intra_refresh=0 rc=abr mbtree=0 bitrate=4000 ratetol=1.0 qcomp=0.60 qpmin=0
qpmax=69 qpstep=4 ip_ratio=1.40 aq=0
Output #0, mp4, to 'cap_bad.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf55.22.100
Stream #0:0(und): Video: h264 (libx264) ([33][0][0][0] / 0x0021),
yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 4000 kb/s, 12800 tbn, 25
tbc (default)
Metadata:
handler_name : VideoHandler
Stream mapping:
Stream #0:0 -> #0:0 (h264 -> libx264)
Press [q] to stop, [?] for help
frame= 91 fps=0.0 q=0.0 size= 461kB time=00:00:03.12
bitrate=1211.7kbits/s dup=1 drop=0
frame= 187 fps=186 q=0.0 size= 866kB time=00:00:06.96
bitrate=1019.5kbits/s dup=1 drop=0
frame= 285 fps=189 q=0.0 size= 1259kB time=00:00:10.88 bitrate=
947.7kbits/s dup=1 drop=0
frame= 385 fps=191 q=0.0 size= 1658kB time=00:00:14.88 bitrate=
912.7kbits/s dup=1 drop=0
frame= 484 fps=192 q=0.0 size= 2110kB time=00:00:18.84 bitrate=
917.3kbits/s dup=1 drop=0
frame= 556 fps=190 q=-1.0 Lsize= 2621kB time=00:00:22.24 bitrate=
965.4kbits/s dup=1 drop=0
video:2617kB audio:0kB subtitle:0 global headers:0kB muxing overhead
0.137348%
[libx264 @ 01f122e0] frame I:23 Avg QP: 0.96 size: 14746
[libx264 @ 01f122e0] frame P:533 Avg QP: 0.45 size: 4391
[libx264 @ 01f122e0] mb I I16..4: 100.0% 0.0% 0.0%
[libx264 @ 01f122e0] mb P I16..4: 34.3% 0.0% 0.0% P16..4: 1.5% 0.0%
0.0% 0.0% 0.0% skip:64.2%
[libx264 @ 01f122e0] final ratefactor: -0.71
[libx264 @ 01f122e0] field mbs: intra: 100.0% inter:100.0% skip:100.0%
[libx264 @ 01f122e0] coded y,uvDC,uvAC intra: 0.3% 0.0% 0.0% inter: 0.0%
0.0% 0.0%
[libx264 @ 01f122e0] i16 v,h,dc,p: 99% 1% 0% 0%
[libx264 @ 01f122e0] i8c dc,h,v,p: 97% 0% 3% 0%
[libx264 @ 01f122e0] kb/s:963.81
If you try to play the output file with ffplay, you'll see lots of these
messages:
[h264 @ 03c76300] top block unavailable for requested intra mode at 0 0
[h264 @ 03c76300] error while decoding MB 0 0
Thanks,
MB
More information about the ffmpeg-user
mailing list