Opened 7 years ago

Last modified 2 years 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 7 years ago.
ffprobe_latest.txt (3.8 KB ) - added by alex2016 7 years ago.
IMAG0008.avi (1.7 MB ) - added by alex2016 7 years ago.
sample file
IMAG0008.mp4 (2.1 MB ) - added by alex2016 7 years ago.
example file

Change History (15)

by alex2016, 7 years ago

Attachment: latest.txt added

comment:1 by Carl Eugen Hoyos, 7 years ago

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

comment:2 by Carl Eugen Hoyos, 7 years ago

Component: ffprobeundetermined
Keywords: codecpar regression added
Version: unspecifiedgit-master

Regression since 6f69f7a8

Last edited 7 years ago by Carl Eugen Hoyos (previous) (diff)

comment:3 by Carl Eugen Hoyos, 7 years ago

Priority: normalimportant
Reproduced by developer: set

by alex2016, 7 years ago

Attachment: ffprobe_latest.txt added

by alex2016, 7 years ago

Attachment: IMAG0008.avi added

sample file

comment:4 by alex2016, 7 years ago

Component: undeterminedffprobe

comment:5 by Carl Eugen Hoyos, 7 years ago

Component: ffprobeundetermined
Status: newopen
$ 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

by alex2016, 7 years ago

Attachment: IMAG0008.mp4 added

example file

comment:6 by alex2016, 7 years ago

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 7 years ago by alex2016 (previous) (diff)

comment:7 by alex2016, 7 years ago

Component: undeterminedffprobe

comment:8 by alex2016, 7 years ago

Component: ffprobeundetermined

comment:9 by alex2016, 7 years ago

Component: undeterminedffprobe

comment:10 by Carl Eugen Hoyos, 7 years ago

Component: ffprobeundetermined

comment:11 by Balling, 2 years ago

Does this really have 3 ref frames?

Note: See TracTickets for help on using tickets.