Opened 14 months ago

Last modified 14 months ago

#9246 new defect

ffplay blurry video

Reported by: Arnab Animesh Das Owned by:
Priority: normal Component: ffplay
Version: Keywords:
Cc: Arnab Animesh Das Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:

I have 150% scaling hidpi display. When I open a video (I checked with h264 video), the text looks blurry as compared to other players like mpc-hc
How to reproduce:

% ffplay -fs "insert 1080p video with small text"
ffplay version n4.4-4-gacb339bb88 Copyright (c) 2003-2021 the FFmpeg developers
  built with gcc 9.3-win32 (GCC) 20200320

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

Attachments (3)

a.mp4 (1.3 MB ) - added by Arnab Animesh Das 14 months ago.
input sample
ffplay.png (1.3 MB ) - added by Arnab Animesh Das 14 months ago.
ffplay screenshot
mpchc.png (1.4 MB ) - added by Arnab Animesh Das 14 months ago.
mpchc screenshot

Change History (5)

comment:1 by Marton Balint, 14 months ago

Provide input sample, provide screenshots for good/bad, provide ffplay console output, etc.

by Arnab Animesh Das, 14 months ago

Attachment: a.mp4 added

input sample

by Arnab Animesh Das, 14 months ago

Attachment: ffplay.png added

ffplay screenshot

by Arnab Animesh Das, 14 months ago

Attachment: mpchc.png added

mpchc screenshot

comment:2 by Arnab Animesh Das, 14 months ago

ffplay console output (ffplay -fs source.mp4)

ffplay version n4.4-4-gacb339bb88 Copyright (c) 2003-2021 the FFmpeg developers
  built with gcc 9.3-win32 (GCC) 20200320
  configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static --pkg-config=pkg-config --cross-prefix=x86_64-w64-mingw32- --arch=x86_64 --target-os=mingw32 --enable-gpl --enable-version3 --disable-debug --disable-w32threads --enable-pthreads --enable-iconv --enable-libxml2 --enable-zlib --enable-libfreetype --enable-libfribidi --enable-gmp --enable-lzma --enable-fontconfig --enable-libvorbis --enable-opencl --enable-libvmaf --enable-vulkan --enable-amf --enable-libaom --enable-avisynth --enable-libdav1d --enable-libdavs2 --enable-ffnvcodec --enable-cuda-llvm --enable-libglslang --enable-libgme --enable-libass --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvpx --enable-libwebp --enable-lv2 --enable-libmfx --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librav1e --enable-librubberband --enable-schannel --enable-sdl2 --enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtwolame --enable-libuavs3d --enable-libvidstab --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libzimg --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-ldflags=-pthread --extra-libs=-lgomp
  libavutil      56. 70.100 / 56. 70.100
  libavcodec     58.134.100 / 58.134.100
  libavformat    58. 76.100 / 58. 76.100
  libavdevice    58. 13.100 / 58. 13.100
  libavfilter     7.110.100 /  7.110.100
  libswscale      5.  9.100 /  5.  9.100
  libswresample   3.  9.100 /  3.  9.100
  libpostproc    55.  9.100 / 55.  9.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'source.mp4':B sq=    0B f=0/0
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf58.76.100
  Duration: 01:55:21.09, start: 0.000000, bitrate: 1163 kb/s
  Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 1000 kb/s, 10 fps, 10 tbr, 90k tbn, 180k tbc (default)
    Metadata:
      handler_name    : VideoHandler
      vendor_id       : [0][0][0][0]
  Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 159 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
      vendor_id       : [0][0][0][0]
  14.39 A-V: -0.058 fd=   0 aq=   70KB vq=  490KB sq=    0B f=0/0

Input Sample: https://trac.ffmpeg.org/raw-attachment/ticket/9246/a.mp4

ffplay screenshot (bad):
https://trac.ffmpeg.org/raw-attachment/ticket/9246/ffplay.png

mpchc screenshot (good):
https://trac.ffmpeg.org/raw-attachment/ticket/9246/mpchc.png

mpchc was played using LAV Decoder from Klite standard codec pack and the output device was selected as MPC Video renderer.

Note: See TracTickets for help on using tickets.