[FFmpeg-trac] #2595(avfilter:new): Last frame of partly deintelacted video stream, not deinterlaced
FFmpeg
trac at avcodec.org
Tue May 21 21:58:05 CEST 2013
#2595: Last frame of partly deintelacted video stream, not deinterlaced
------------------------------------+------------------------------------
Reporter: khali | Owner:
Type: defect | Status: new
Priority: normal | Component: avfilter
Version: git-master | Resolution:
Keywords: yadif | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
------------------------------------+------------------------------------
Comment (by khali):
{{{
$ ffmpeg -i ffmpeg-bug-2595.mpg -vf "yadif=enable='between(t,0,1.040)'"
-codec:v libx264 ffmpeg-bug-2595.mp4
ffmpeg version N-53323-gb8a9876 Copyright (c) 2000-2013 the FFmpeg
developers
built on May 21 2013 16:20:56 with gcc 4.7 (SUSE Linux)
configuration: --prefix=/opt/ffmpeg --enable-shared --enable-libmp3lame
--enable-libxvid --enable-postproc --enable-gpl --enable-x11grab --enable-
avfilter --enable-version3 --enable-libx264 --enable-pthreads --enable-
libvorbis --enable-libtheora
libavutil 52. 33.100 / 52. 33.100
libavcodec 55. 10.101 / 55. 10.101
libavformat 55. 7.100 / 55. 7.100
libavdevice 55. 1.100 / 55. 1.100
libavfilter 3. 68.102 / 3. 68.102
libswscale 2. 3.100 / 2. 3.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 3.100 / 52. 3.100
Input #0, mpeg, from 'ffmpeg-bug-2595.mpg':
Duration: 00:00:01.96, start: 0.245800, bitrate: 4838 kb/s
Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576 [SAR
64:45 DAR 16:9], 25.25 fps, 25 tbr, 90k tbn, 100 tbc
[libx264 @ 0x15e6d20] using SAR=64/45
[libx264 @ 0x15e6d20] using cpu capabilities: MMX2 SSE2Fast SSSE3
FastShuffle SSE4.2
[libx264 @ 0x15e6d20] profile High, level 3.0
[libx264 @ 0x15e6d20] 264 - core 129 - H.264/MPEG-4 AVC codec - Copyleft
2003-2013 - 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=12
lookahead_threads=2 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 'ffmpeg-bug-2595.mp4':
Metadata:
encoder : Lavf55.7.100
Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p,
720x576 [SAR 64:45 DAR 16:9], q=-1--1, 12800 tbn, 25 tbc
Stream mapping:
Stream #0:0 -> #0:0 (mpeg2video -> libx264)
Press [q] to stop, [?] for help
frame= 50 fps=0.0 q=-1.0 Lsize= 251kB time=00:00:01.92
bitrate=1069.8kbits/s dup=1 drop=0
video:250kB audio:0kB subtitle:0 global headers:0kB muxing overhead
0.474299%
}}}
If you look at the output video file you'll see that the frame at
00:01.040 was not deinterlaced. I tried a different container format (avi)
and a different video codec (libxvid) and the problem is still present. I
tries using between(n,0,16) and the result is the same. If I use
between(t,0,1.080) instead then it looks OK.
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2595#comment:3>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list