Opened 6 years ago

Closed 4 years ago

#6962 closed defect (fixed)

ffplay: command line -stats not independent of -log_level

Reported by: mp_q Owned by:
Priority: important Component: ffplay
Version: git-master Keywords: logging regression
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

If -log_level fatal is specified, -stats has no effect, no stats are displayed in terminal.

Expected behavior: -stats independent of -log_level and stats are displayed

Perhaps same cause as #1687 (which apparently was fixed in ffmpeg 5 years ago - current ffmpeg does show stats when using -stats -loglevel fatal).

How to reproduce:

% ffplay -stats -loglevel fatal (input)

ffplay version N-89723-g2ca65fc7b7-tessus
  built with Apple LLVM version 9.0.0 (clang-900.0.39.2)
  configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --extra-version=tessus --enable-avisynth --enable-fontconfig --enable-gpl --enable-libass --enable-libbluray --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopus --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzmq --enable-libzvbi --enable-version3 --pkg-config-flags=--static --enable-librtmp --enable-ffplay --enable-sdl2 --disable-ffmpeg --disable-ffprobe --disable-ffserver
  libavutil      56.  7.100 / 56.  7.100
  libavcodec     58.  9.100 / 58.  9.100
  libavformat    58.  3.100 / 58.  3.100
  libavdevice    58.  0.100 / 58.  0.100
  libavfilter     7. 11.101 /  7. 11.101
  libswscale      5.  0.101 /  5.  0.101
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100

Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.

Change History (2)

comment:1 by Carl Eugen Hoyos, 6 years ago

Keywords: regression added; stats removed
Priority: normalimportant
Reproduced by developer: set
Status: newopen

Regression since 3b491c5a5002f33288a0e8e91ca3a704b225bd4e, related to ticket #2630.

comment:2 by Gyan, 4 years ago

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