[FFmpeg-trac] #3073(avfilter:open): Allow idet to identify telecined content

FFmpeg trac at avcodec.org
Wed Oct 23 10:09:05 CEST 2013


#3073: Allow idet to identify telecined content
-------------------------------------+------------------------------------
             Reporter:  cehoyos      |                    Owner:
                 Type:  enhancement  |                   Status:  open
             Priority:  wish         |                Component:  avfilter
              Version:  git-master   |               Resolution:
             Keywords:  idet pullup  |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+------------------------------------
Changes (by richardpl):

 * status:  new => open


Old description:

> The idet output is currently misleading for telecined content.
> {{{
> $ ffmpeg -i fate-suite/svq3/Vertical400kbit.sorenson3.mov -vf
> telecine,idet -an -f null -
> ffmpeg version N-57330-g610a8b1 Copyright (c) 2000-2013 the FFmpeg
> developers
>   built on Oct 23 2013 09:07:07 with icc (ICC) 14.0.0 20130728
>   configuration:
> --cc=/opt/intel/composer_xe_2013_sp1.0.080/bin/intel64/icc --enable-gpl
> --enable-x11grab
>   libavutil      52. 47.101 / 52. 47.101
>   libavcodec     55. 37.102 / 55. 37.102
>   libavformat    55. 19.103 / 55. 19.103
>   libavdevice    55.  4.100 / 55.  4.100
>   libavfilter     3. 89.100 /  3. 89.100
>   libswscale      2.  5.101 /  2.  5.101
>   libswresample   0. 17.104 /  0. 17.104
>   libpostproc    52.  3.100 / 52.  3.100
> Guessed Channel Layout for  Input Stream #0.1 : mono
> Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'fate-
> suite/svq3/Vertical400kbit.sorenson3.mov':
>   Metadata:
>     creation_time   : 2001-03-20 16:17:18
>     title           : Vertical Online SV3 Demo
>     title-eng       : Vertical Online SV3 Demo
>     artist          : Logan Kelsey
>     artist-eng      : Logan Kelsey
>     copyright       : © Vertical Online 2001
>     copyright-eng   : © Vertical Online 2001
>     encoder         : Sorenson Video 3
>     encoder-eng     : Sorenson Video 3
>   Duration: 00:00:43.58, start: 0.000000, bitrate: 580 kb/s
>     Stream #0:0(eng): Video: svq3 (SVQ3 / 0x33515653), yuvj420p, 320x240,
> 391 kb/s, 30.02 fps, 30 tbr, 600 tbn, 600 tbc (default)
>     Metadata:
>       creation_time   : 2001-03-20 16:17:18
>       handler_name    : Apple Alias Data Handler
>     Stream #0:1(eng): Audio: adpcm_ima_qt (ima4 / 0x34616D69), 44100 Hz,
> mono, s16p, 176 kb/s (default)
>     Metadata:
>       creation_time   : 2001-03-20 16:17:18
>       handler_name    : Apple Alias Data Handler
> [Parsed_telecine_0 @ 0x2b18da0] Telecine pattern 23 yields up to 2 frames
> per frame, pts advance factor: 4/5
> Output #0, null, to 'pipe:':
>   Metadata:
>     encoder-eng     : Sorenson Video 3
>     title           : Vertical Online SV3 Demo
>     title-eng       : Vertical Online SV3 Demo
>     artist          : Logan Kelsey
>     artist-eng      : Logan Kelsey
>     copyright       : © Vertical Online 2001
>     copyright-eng   : © Vertical Online 2001
>     encoder         : Lavf55.19.103
>     Stream #0:0(eng): Video: rawvideo (I420 / 0x30323449), yuvj420p,
> 320x240, q=2-31, 200 kb/s, 90k tbn, 37.50 tbc (default)
>     Metadata:
>       creation_time   : 2001-03-20 16:17:18
>       handler_name    : Apple Alias Data Handler
> Stream mapping:
>   Stream #0:0 -> #0:0 (svq3 -> rawvideo)
> Press [q] to stop, [?] for help
> [null @ 0x2b1e600] Encoder did not produce proper pts, making some up.
> frame= 1634 fps=0.0 q=0.0 Lsize=N/A time=00:00:43.57 bitrate=N/A
> video:153kB audio:0kB subtitle:0 global headers:0kB muxing overhead
> -100.014025%
> [Parsed_idet_1 @ 0x2b19360] Single frame detection: TFF:222 BFF:8
> Progressive:372 Undetermined:1032
> [Parsed_idet_1 @ 0x2b19360] Multi frame detection: TFF:1631 BFF:0
> Progressive:0 Undetermined:3
> }}}

New description:

 The idet output is currently misleading for telecined content.
 {{{
 $ ffmpeg -i fate-suite/svq3/Vertical400kbit.sorenson3.mov -vf
 telecine,idet -an -f null -
 ffmpeg version N-57330-g610a8b1 Copyright (c) 2000-2013 the FFmpeg
 developers
   built on Oct 23 2013 09:07:07 with icc (ICC) 14.0.0 20130728
   configuration:
 --cc=/opt/intel/composer_xe_2013_sp1.0.080/bin/intel64/icc --enable-gpl
 --enable-x11grab
   libavutil      52. 47.101 / 52. 47.101
   libavcodec     55. 37.102 / 55. 37.102
   libavformat    55. 19.103 / 55. 19.103
   libavdevice    55.  4.100 / 55.  4.100
   libavfilter     3. 89.100 /  3. 89.100
   libswscale      2.  5.101 /  2.  5.101
   libswresample   0. 17.104 /  0. 17.104
   libpostproc    52.  3.100 / 52.  3.100
 Guessed Channel Layout for  Input Stream #0.1 : mono
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'fate-
 suite/svq3/Vertical400kbit.sorenson3.mov':
   Metadata:
     creation_time   : 2001-03-20 16:17:18
     title           : Vertical Online SV3 Demo
     title-eng       : Vertical Online SV3 Demo
     artist          : Logan Kelsey
     artist-eng      : Logan Kelsey
     copyright       : (c) Vertical Online 2001
     copyright-eng   : (c) Vertical Online 2001
     encoder         : Sorenson Video 3
     encoder-eng     : Sorenson Video 3
   Duration: 00:00:43.58, start: 0.000000, bitrate: 580 kb/s
     Stream #0:0(eng): Video: svq3 (SVQ3 / 0x33515653), yuvj420p, 320x240,
 391 kb/s, 30.02 fps, 30 tbr, 600 tbn, 600 tbc (default)
     Metadata:
       creation_time   : 2001-03-20 16:17:18
       handler_name    : Apple Alias Data Handler
     Stream #0:1(eng): Audio: adpcm_ima_qt (ima4 / 0x34616D69), 44100 Hz,
 mono, s16p, 176 kb/s (default)
     Metadata:
       creation_time   : 2001-03-20 16:17:18
       handler_name    : Apple Alias Data Handler
 [Parsed_telecine_0 @ 0x2b18da0] Telecine pattern 23 yields up to 2 frames
 per frame, pts advance factor: 4/5
 Output #0, null, to 'pipe:':
   Metadata:
     encoder-eng     : Sorenson Video 3
     title           : Vertical Online SV3 Demo
     title-eng       : Vertical Online SV3 Demo
     artist          : Logan Kelsey
     artist-eng      : Logan Kelsey
     copyright       : (c) Vertical Online 2001
     copyright-eng   : (c) Vertical Online 2001
     encoder         : Lavf55.19.103
     Stream #0:0(eng): Video: rawvideo (I420 / 0x30323449), yuvj420p,
 320x240, q=2-31, 200 kb/s, 90k tbn, 37.50 tbc (default)
     Metadata:
       creation_time   : 2001-03-20 16:17:18
       handler_name    : Apple Alias Data Handler
 Stream mapping:
   Stream #0:0 -> #0:0 (svq3 -> rawvideo)
 Press [q] to stop, [?] for help
 [null @ 0x2b1e600] Encoder did not produce proper pts, making some up.
 frame= 1634 fps=0.0 q=0.0 Lsize=N/A time=00:00:43.57 bitrate=N/A
 video:153kB audio:0kB subtitle:0 global headers:0kB muxing overhead
 -100.014025%
 [Parsed_idet_1 @ 0x2b19360] Single frame detection: TFF:222 BFF:8
 Progressive:372 Undetermined:1032
 [Parsed_idet_1 @ 0x2b19360] Multi frame detection: TFF:1631 BFF:0
 Progressive:0 Undetermined:3
 }}}

--

Comment:

 ildetect from mpv-player supports that, i wonder about adding such code
 into idet.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/3073#comment:1>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list