jellyfin / jellyfin-androidtv

Android TV Client for Jellyfin
https://jellyfin.org
GNU General Public License v2.0
2.65k stars 453 forks source link

LibVLC: 4:3 content is stretched to 16:9 #2891

Closed EthanArmbrust closed 3 weeks ago

EthanArmbrust commented 1 year ago

Describe the bug

  1. Switch player to LibVLC
  2. Play media with 4:3 aspect ratio
  3. Media is stretched to fill 16:9 screen

Logs

No response

FFmpeg logs

No response

Media info of the file

$ ffprobe "The Simpsons - 4x01 - Kamp Krusty.mkv"
ffprobe version n6.0 Copyright (c) 2007-2023 the FFmpeg developers
  built with gcc 13.1.1 (GCC) 20230429
  configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-amf --enable-avisynth --enable-cuda-llvm --enable-lto --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libdav1d --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libjxl --enable-libmfx --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librav1e --enable-librsvg --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-libzimg --enable-nvdec --enable-nvenc --enable-opencl --enable-opengl --enable-shared --enable-version3 --enable-vulkan
  libavutil      58.  2.100 / 58.  2.100
  libavcodec     60.  3.100 / 60.  3.100
  libavformat    60.  3.100 / 60.  3.100
  libavdevice    60.  1.100 / 60.  1.100
  libavfilter     9.  3.100 /  9.  3.100
  libswscale      7.  1.100 /  7.  1.100
  libswresample   4. 10.100 /  4. 10.100
  libpostproc    57.  1.100 / 57.  1.100
Input #0, matroska,webm, from 'The Simpsons - 4x01 - Kamp Krusty.mkv':
  Metadata:
    title           : SIMPSONS_SEASON4_DISC1
    creation_time   : 2022-07-31T18:27:07.000000Z
    ENCODER         : Lavf58.76.100
  Duration: 00:22:55.95, start: 0.000000, bitrate: 2086 kb/s
  Chapters:
    Chapter #0:0: start 0.000000, end 81.790000
      Metadata:
        title           : Chapter 1
    Chapter #0:1: start 81.790000, end 372.581000
      Metadata:
        title           : Chapter 2
    Chapter #0:2: start 372.581000, end 491.374000
      Metadata:
        title           : Chapter 3
    Chapter #0:3: start 491.374000, end 992.700000
      Metadata:
        title           : Chapter 4
    Chapter #0:4: start 992.700000, end 1269.643000
      Metadata:
        title           : Chapter 5
    Chapter #0:5: start 1269.643000, end 1375.892000
      Metadata:
        title           : Chapter 6
  Stream #0:0: Video: h264 (Main), yuv420p(tv, smpte170m, progressive), 716x480 [SAR 8:9 DAR 179:135], 23.98 fps, 23.98 tbr, 1k tbn (default)
    Metadata:
      DURATION        : 00:22:55.946000000
  Stream #0:1(eng): Audio: aac (LC), 48000 Hz, stereo, fltp (default)
    Metadata:
      title           : Stereo
      DURATION        : 00:22:55.914000000
  Stream #0:2(eng): Audio: aac (LC), 48000 Hz, stereo, fltp
    Metadata:
      title           : Stereo
      DURATION        : 00:22:55.914000000
  Stream #0:3(spa): Audio: aac (LC), 48000 Hz, stereo, fltp
    Metadata:
      title           : Stereo
      DURATION        : 00:22:55.914000000
  Stream #0:4(spa): Audio: aac (LC), 48000 Hz, stereo, fltp
    Metadata:
      title           : Stereo
      DURATION        : 00:22:55.914000000
  Stream #0:5(fre): Audio: aac (LC), 48000 Hz, stereo, fltp
    Metadata:
      title           : Stereo
      DURATION        : 00:22:55.914000000
  Stream #0:6(eng): Subtitle: dvd_subtitle, 720x480
    Metadata:
      title           : Closed Caption
      DURATION        : 00:22:50.689000000
  Stream #0:7(eng): Subtitle: ass
    Metadata:
      DURATION        : 00:22:50.507000000

Application version

0.15.11

Device information

Amazon Fire Stick 3rd Generation

Android version

LineageOS 18.1

Jellyfin server version

10.8.10

jellyfin-bot commented 9 months ago

This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments.

If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or master branch, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label.

This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on Matrix or Social Media.

EthanArmbrust commented 9 months ago

This is still present in v0.16.0-beta.5

arzezio7 commented 6 months ago

what about anamorphic aspect ratio? It also did get stretched to 16:9 too

ada2k commented 5 months ago

still present

jellyfin-bot commented 1 month ago

This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments.

If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or master branch, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label.

This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on Matrix or Social Media.