[FFmpeg-trac] #2595(avfilter:open): Last frame of partly deintelacted video stream, not deinterlaced

FFmpeg trac at avcodec.org
Sat May 3 01:27:58 CEST 2014


#2595: Last frame of partly deintelacted video stream, not deinterlaced
------------------------------------+------------------------------------
             Reporter:  khali       |                    Owner:
                 Type:  defect      |                   Status:  open
             Priority:  normal      |                Component:  avfilter
              Version:  git-master  |               Resolution:
             Keywords:  yadif       |               Blocked By:
             Blocking:              |  Reproduced by developer:  1
Analyzed by developer:  0           |
------------------------------------+------------------------------------
Changes (by cehoyos):

 * reproduced:  0 => 1


Comment:

 I attached nine interlaced frames from a dvb recording.
 The following command produces a file with the first, eighth and ninth
 frame still interlaced (the documentation explains that n starts from 0):
 {{{
 $ ffmpeg -i interlaced.mpg -vf yadif=enable="'between(n,2,7)'" -qscale 2
 out.avi
 ffmpeg version N-62898-g1ccd1a3 Copyright (c) 2000-2014 the FFmpeg
 developers
   built on May  2 2014 08:38:05 with gcc 4.7 (SUSE Linux)
   configuration: --enable-gpl
   libavutil      52. 80.100 / 52. 80.100
   libavcodec     55. 60.103 / 55. 60.103
   libavformat    55. 37.102 / 55. 37.102
   libavdevice    55. 13.100 / 55. 13.100
   libavfilter     4.  5.100 /  4.  5.100
   libswscale      2.  6.100 /  2.  6.100
   libswresample   0. 18.100 /  0. 18.100
   libpostproc    52.  3.100 / 52.  3.100
 Input #0, mpeg, from 'interlaced.mpg':
   Duration: 00:00:00.24, start: 1.320000, bitrate: 6348 kb/s
     Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p(tv), 720x576
 [SAR 64:45 DAR 16:9], max. 3500 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
 Please use -q:a or -q:v, -qscale is ambiguous
 Output #0, avi, to 'out.avi':
   Metadata:
     ISFT            : Lavf55.37.102
     Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 720x576 [SAR
 64:45 DAR 16:9], q=2-31, 200 kb/s, 25 tbn, 25 tbc
 Stream mapping:
   Stream #0:0 -> #0:0 (mpeg2video -> mpeg4)
 Press [q] to stop, [?] for help
 frame=    9 fps=0.0 q=2.0 Lsize=     229kB time=00:00:00.36
 bitrate=5215.3kbits/s dup=0 drop=1
 video:223kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: 2.615136%
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/2595#comment:9>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list