Opened 8 months ago

Last modified 6 months ago

#6001 open defect

ffprobe: incorrect determination of the number of reference frames

Reported by: alex2016 Owned by:
Priority: important Component: undetermined
Version: git-master Keywords: codecpar regression
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

Hi!

ffprobe incorrect determinates of the number of reference frames. ffprobe for all video returns refs=1, which does not coincide with the values returned by MediaInfo?.
The attached txt file contains information returned by ffprobe and MediaInfo?.

Attachments (4)

latest.txt (6.8 KB) - added by alex2016 8 months ago.
ffprobe_latest.txt (3.8 KB) - added by alex2016 8 months ago.
IMAG0008.avi (1.7 MB) - added by alex2016 8 months ago.
sample file
IMAG0008.mp4 (2.1 MB) - added by alex2016 8 months ago.
example file

Change History (14)

Changed 8 months ago by alex2016

comment:1 Changed 8 months ago by cehoyos

Please test current FFmpeg git head to make this a valid ticket and provide a sample file.

comment:2 Changed 8 months ago by cehoyos

  • Component changed from ffprobe to undetermined
  • Keywords codecpar regression added
  • Version changed from unspecified to git-master

Regression since 6f69f7a8

Last edited 6 months ago by cehoyos (previous) (diff)

comment:3 Changed 8 months ago by cehoyos

  • Priority changed from normal to important
  • Reproduced by developer set

Changed 8 months ago by alex2016

Changed 8 months ago by alex2016

sample file

comment:4 Changed 8 months ago by alex2016

  • Component changed from undetermined to ffprobe

comment:5 Changed 8 months ago by cehoyos

  • Component changed from ffprobe to undetermined
  • Status changed from new to open
$ ffmpeg -loglevel verbose -i fate-suite/h264/twofields_packet.mp4
ffmpeg version N-82785-g6b95da9 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl
  libavutil      55. 41.101 / 55. 41.101
  libavcodec     57. 66.109 / 57. 66.109
  libavformat    57. 58.101 / 57. 58.101
  libavdevice    57.  2.100 / 57.  2.100
  libavfilter     6. 68.100 /  6. 68.100
  libswscale      4.  3.101 /  4.  3.101
  libswresample   2.  4.100 /  2.  4.100
  libpostproc    54.  2.100 / 54.  2.100
[h264 @ 0x2cf8340] Reinit context to 1920x1088, pix_fmt: yuv420p
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'fate-suite/h264/twofields_packet.mp4':
  Metadata:
    major_brand     : avc1
    minor_version   : 0
    compatible_brands: avc1isom
    creation_time   : 2008-01-01T00:01:58.000000Z
  Duration: 00:00:04.90, start: 0.000000, bitrate: 10785 kb/s
    Stream #0:0(eng): Video: h264 (Main), 1 reference frame (avc1 / 0x31637661), yuv420p(left), 1920x1080 (1920x1088) [SAR 1:1 DAR 16:9], 10603 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc (default)
    Metadata:
      creation_time   : 2008-01-01T00:01:58.000000Z
      handler_name    :  Ambarella AVC
      encoder         : Ambarella AVC encoder
    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 127 kb/s (default)
    Metadata:
      creation_time   : 2008-01-01T00:01:58.000000Z
      handler_name    :  Ambarella AAC
At least one output file must be specified

Changed 8 months ago by alex2016

example file

comment:6 Changed 8 months ago by alex2016

E:\Work\Projects\MediaStreamInfo\App>ffmpeg -loglevel verbose -i IMAG0008.mp4 
ffmpeg version N-82785-g6b95da9 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 5.4.0 (GCC)
  configuration: --enable-gpl 
  libavutil      55. 41.101 / 55. 41.101
  libavcodec     57. 66.109 / 57. 66.109
  libavformat    57. 58.101 / 57. 58.101
  libavdevice    57.  2.100 / 57.  2.100
  libavfilter     6. 68.100 /  6. 68.100
  libswscale      4.  3.101 /  4.  3.101
  libswresample   2.  4.100 /  2.  4.100
  libpostproc    54.  2.100 / 54.  2.100
[h264 @ 00481080] Reinit context to 1920x1088, pix_fmt: yuv420p
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'IMAG0008.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    date            : 2011-11-13
    encoder         : Lavf57.41.100
  Duration: 00:00:02.10, start: 0.000000, bitrate: 8464 kb/s
    Stream #0:0(und): Video: h264 (Main), 1 reference frame (avc1 / 0x31637661),
 yuv420p(left), 1920x1080 (1920x1088) [SAR 1:1 DAR 16:9], 8259 kb/s, 29.97 fps,
29.97 tbr, 11988 tbn, 59.94 tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, flt
p, 197 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
Last edited 8 months ago by alex2016 (previous) (diff)

comment:7 Changed 8 months ago by alex2016

  • Component changed from undetermined to ffprobe

comment:8 Changed 8 months ago by alex2016

  • Component changed from ffprobe to undetermined

comment:9 Changed 8 months ago by alex2016

  • Component changed from undetermined to ffprobe

comment:10 Changed 8 months ago by cehoyos

  • Component changed from ffprobe to undetermined
Note: See TracTickets for help on using tickets.