jellyfin / jellyfin-androidtv

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

libVLC does not play avi files in fullscreen #372

Closed Bidley closed 4 years ago

Bidley commented 4 years ago

I have a bunch of .avi files (all from the same source) that, when played via the Jellyfin app for Android TV, only appear in a small square less than a quarter of the screen - hopefully this makes sense!

The same files play fine with the regular Android app and via the browser client. I'm running Jellyfin in docker on OMV. I don't have this issue with any other file (including other .avi files).

Mediainfo:

General Format : AVI Format/Info : Audio Video Interleave File size : 560 MiB Duration : 48 min 55 s Overall bit rate mode : Variable Overall bit rate : 1 600 kb/s

Video ID : 0 Format : MPEG-4 Visual Format settings : BVOP1 Format settings, BVOP : 1 Format settings, QPel : No Format settings, GMC : No warppoints Format settings, Matrix : Default (H.263) Muxing mode : Packed bitstream Codec ID : DX50 Codec ID/Hint : DivX 5 Duration : 48 min 55 s Bit rate : 1 320 kb/s Nominal bit rate : 4 000 kb/s Width : 720 pixels Height : 464 pixels Display aspect ratio : 16:10 Frame rate : 25.000 FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Compression mode : Lossy Bits/(Pixel*Frame) : 0.158 Stream size : 462 MiB (83%) Title : Video Writing library : DivX 5.2.1 Alpha (UTC 2004-09-08)

Audio ID : 1 Format : MPEG Audio Format version : Version 1 Format profile : Layer 3 Format settings : Joint stereo / MS Stereo Codec ID : 55 Codec ID/Hint : MP3 Duration : 48 min 54 s Bit rate mode : Variable Bit rate : 256 kb/s Channel(s) : 2 channels Sampling rate : 44.1 kHz Compression mode : Lossy Stream size : 93.6 MiB (17%) Alignment : Aligned on interleaves Interleave, duration : 26 ms (0.65 video frame) Interleave, preload duration : 479 ms Title : Audio

Bidley commented 4 years ago

Forcing Exoplayer has seemingly solved all my issues!

thornbill commented 4 years ago

:tada: Glad that fixed it for you!

I'm going to keep this open. We should explore either using exoplayer by default for this media type or see if it can be fixed for libvlc.

Bidley commented 4 years ago

Ok good call. I was also having problems with black screen/just audio with files like this;

Mediainfo Format : Matroska Format version : Version 4 File size : 1.28 GiB Duration : 1 h 41 min Overall bit rate : 1 799 kb/s Movie name : The.Wizard.Of.Oz.1939.75th.Anniversary.Edition.1080p.BluRay.x265.Encoded by MeGaTronN Encoded date : UTC 2020-01-05 07:52:04 Writing application : mkvmerge v40.0.0 ('Old Town Road + Pony') 64-bit Writing library : libebml v1.3.9 + libmatroska v1.5.2

Video ID : 1 Format : HEVC Format/Info : High Efficiency Video Coding Format profile : Format Range@L4@Main Codec ID : V_MPEGH/ISO/HEVC Duration : 1 h 41 min Bit rate : 1 685 kb/s Width : 1 480 pixels Height : 1 080 pixels Display aspect ratio : 1.370 Frame rate mode : Constant Frame rate : 29.970 (30000/1001) FPS Chroma subsampling : 4:4:4 Bit depth : 10 bits Bits/(Pixel*Frame) : 0.035 Stream size : 1.20 GiB (94%) Writing library : x265 3.1+4-4f6dde51a5db:[Windows][clang 8.0.0][64 bit] 10bit Encoding settings : cpuid=1049583 / frame-threads=5 / numa-pools=4 / wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=3 / input-csp=3 / input-res=1480x1080 / interlace=0 / total-frames=0 / level-idc=0 / high-tier=1 / uhd-bd=0 / ref=3 / allow-non-conformance / no-repeat-headers / annexb / no-aud / no-hrd / info / hash=0 / no-temporal-layers / open-gop / min-keyint=30 / keyint=300 / gop-lookahead=0 / bframes=4 / b-adapt=2 / b-pyramid / bframe-bias=0 / rc-lookahead=20 / lookahead-slices=6 / scenecut=40 / radl=0 / no-splice / no-intra-refresh / ctu=64 / min-cu-size=8 / no-rect / no-amp / max-tu-size=32 / tu-inter-depth=1 / tu-intra-depth=1 / limit-tu=0 / rdoq-level=0 / dynamic-rd=0.00 / no-ssim-rd / signhide / no-tskip / nr-intra=0 / nr-inter=0 / no-constrained-intra / strong-intra-smoothing / max-merge=3 / limit-refs=1 / no-limit-modes / me=1 / subme=2 / merange=57 / temporal-mvp / weightp / no-weightb / no-analyze-src-pics / deblock=-2:-2 / sao / no-sao-non-deblock / rd=3 / early-skip / rskip / no-fast-intra / no-tskip-fast / no-cu-lossless / b-intra / no-splitrd-skip / rdpenalty=0 / psy-rd=2.00 / psy-rdoq=0.00 / no-rd-refine / no-lossless / cbqpoffs=6 / crqpoffs=6 / rc=cbr / bitrate=1700 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=0 / vbv-maxrate=1700 / vbv-bufsize=1214 / vbv-init=0.9 / ipratio=1.40 / pbratio=1.30 / aq-mode=2 / aq-strength=1.00 / cutree / zone-count=0 / no-strict-cbr / qg-size=32 / no-rc-grain / qpmax=69 / qpmin=0 / no-const-vbv / sar=1 / overscan=0 / videoformat=5 / range=0 / colorprim=2 / transfer=2 / colormatrix=2 / chromaloc=0 / display-window=0cll=0,0 / min-luma=0 / max-luma=1023 / log2-max-poc-lsb=8 / vui-timing-info / vui-hrd-info / slices=1 / no-opt-qp-pps / no-opt-ref-list-length-pps / no-multi-pass-opt-rps / scenecut-bias=0.05 / no-opt-cu-delta-qp / no-aq-motion / no-hdr / no-hdr-opt / no-dhdr10-opt / no-idr-recovery-sei / analysis-reuse-level=5 / scale-factor=0 / refine-intra=0 / refine-inter=0 / refine-mv=0 / refine-ctu-distortion=0 / no-limit-sao / ctu-info=0 / no-lowpass-dct / refine-analysis-type=538976288 / copy-pic=1 / max-ausize-factor=1.0 / no-dynamic-refine / no-single-sei / no-hevc-aq / no-svt / no-field / qp-adaptation-range=1.00 Language : English Default : Yes Forced : No Color range : Limited

Audio ID : 2 Format : AC-3 Format/Info : Audio Coding 3 Commercial name : Dolby Digital Codec ID : A_AC3 Duration : 1 h 41 min Bit rate mode : Constant Bit rate : 112 kb/s Channel(s) : 2 channels Channel layout : L R Sampling rate : 48.0 kHz Frame rate : 31.250 FPS (1536 SPF) Compression mode : Lossy Stream size : 81.5 MiB (6%) Language : English Service kind : Complete Main Default : Yes Forced : No

Text ID : 3 Format : ASS Codec ID : S_TEXT/ASS Codec ID/Info : Advanced Sub Station Alpha Duration : 1 h 41 min Bit rate : 111 b/s Count of elements : 1459 Compression mode : Lossless Stream size : 82.8 KiB (0%) Language : English Default : Yes Forced : No

Artiume commented 4 years ago

Your wizard of Oz is in Hevc 10bit. That's probably cover by this ticket, which player had issues libvlc or exo?

https://github.com/jellyfin/jellyfin-androidtv/issues/292

Bidley commented 4 years ago

Your wizard of Oz is in Hevc 10bit. That's probably cover by this ticket, which player had issues libvlc or exo?

292

Libvlc had issues. Exoplayer is fine.

napogh commented 4 years ago

How do you switch from libvlc to exoplayer?

nielsvanvelzen commented 4 years ago

In the settings change the option "preferred media player" from auto/libvlc/external to exoplayer

napogh commented 4 years ago

What menu is that under in the settings?

On Thu, May 14, 2020 at 2:06 AM Niels van Velzen notifications@github.com wrote:

In the settings change the option "preferred media player" from auto/libvlc/external to exoplayer

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jellyfin/jellyfin-androidtv/issues/372#issuecomment-628434022, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACMXDXU6EBIAR7DTWWADJN3RROJ73ANCNFSM4LAOROQA .

-- Napo Ghonda Jr.

napogh commented 4 years ago

Found it. I was looking at the server settings. Not the app settings. Thx!

On Fri, May 15, 2020 at 1:42 AM Napo Jr. Ghonda napogh@gmail.com wrote:

What menu is that under in the settings?

On Thu, May 14, 2020 at 2:06 AM Niels van Velzen notifications@github.com wrote:

In the settings change the option "preferred media player" from auto/libvlc/external to exoplayer

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jellyfin/jellyfin-androidtv/issues/372#issuecomment-628434022, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACMXDXU6EBIAR7DTWWADJN3RROJ73ANCNFSM4LAOROQA .

-- Napo Ghonda Jr.

-- Napo Ghonda Jr.

stale[bot] commented 4 years 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.

Artiume commented 4 years ago

This is also happening for mpeg4 (DIVX) videos on libvlc.