Opened 10 years ago

Closed 2 years ago

#3073 closed enhancement (fixed)

Allow idet to identify telecined content

Reported by: Carl Eugen Hoyos Owned by:
Priority: wish Component: avfilter
Version: git-master Keywords: idet pullup
Cc: mirh Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description (last modified by Elon Musk)

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

Change History (4)

comment:1 by Elon Musk, 10 years ago

Description: modified (diff)
Status: newopen

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

comment:2 by mirh, 2 years ago

Cc: mirh added

Fixed in fdf22f973d4118b6844ff73b881d046a2e50f435 I guess?
If not any, mpv itself dropped their external filters, and they seem to be doing interlacing/telecining detection only through ffmpeg's idet now.

comment:3 by Balling, 2 years ago

Yes, it does appear to be fixed.

-i http://samples.mplayerhq.hu/V-codecs/SVQ3/Vertical400kbit.sorenson3
.mov -vf telecine,idet -an -f null -

Parsed_idet_1 @ 000001713fc88340] Repeated Fields: Neither: 886 Top: 375 Bottom: 374
[Parsed_idet_1 @ 000001713fc88340] Single frame detection: TFF: 957 BFF: 10 Progressive: 261 Undetermined:

407

[Parsed_idet_1 @ 000001713fc88340] Multi frame detection: TFF: 1631 BFF: 0 Progressive: 4 Undetermined:

0

Last edited 2 years ago by Balling (previous) (diff)

comment:4 by Elon Musk, 2 years ago

Resolution: fixed
Status: openclosed
Note: See TracTickets for help on using tickets.