Jellyfin detects wrong aspect ratio - White - 2024-02-23
Hi all,
I've watching Star Trek Enterprise in my Jellyfin instance. And noticed that some Episodes will be played back by Jellyfin in 4:3 aspect ratio. The majority of Episodes are played back with the correct aspect ratio (10:9 or something like that ;-) ).
The Episodes with the wrong aspect ratio get played back wrong in the Webversion using Firefox on Linux and also using the Android Jellyfin app. When I use the "Copy stream direct link" feature and copy the URL into VLC on Linux or Android the episode is played back at the correct aspect ratio.
Media Info from incorrect aspect ratio Wrote:Video
Titel: 576p MPEG2VIDEO SDR
Codec: MPEG2VIDEO
Profil: Main
Level: 8
Auflösung: 720x576
Seitenverhältnis: 4:3
Zeilensprungverfahren: No
Bildrate: 25
Bitrate: 5949 kbps
Bit-Tiefe: 8 bit
Videobereich: SDR
Video range type: SDR
Farbraum: bt470bg
Farbübertragung: bt470bg
Primärfarben: bt470bg
Pixelformat: yuv420p
Referenz-Frames: 1
Wrong aspect ratio video played back in vlc (where it is played back correctly) Wrote:Stream 0
Codec: MPEG-1/2 Video (mpgv)
Sprache: Englisch
Videoauflösung: 720x576
Pufferabmessungen: 720x576
Bildwiederholrate: 25
Decodiertes Format:
Ausrichtung: Oben links
Grundfarben: ITU-R BT.601 (625 Zeilen, 50 Hz)
Farbübertragungsfunktion: ITU-R BT.470 BG
Farbraum: ITU-R BT.601 Bereich
Farbsättigungslage: Links
Video with correct aspect ratio played back in Jellyfin Wrote:Video
Titel: 576p MPEG2VIDEO SDR
Codec: MPEG2VIDEO
Profil: Main
Level: 8
Auflösung: 720x576
Seitenverhältnis: 16:9
Zeilensprungverfahren: No
Bildrate: 25
Bitrate: 5951 kbps
Bit-Tiefe: 8 bit
Videobereich: SDR
Video range type: SDR
Farbraum: bt470bg
Farbübertragung: bt470bg
Primärfarben: bt470bg
Pixelformat: yuv420p
Referenz-Frames: 1
Video with correct aspect ratio played back in VLC Wrote:Stream 0
Codec: MPEG-1/2 Video (mpgv)
Sprache: Englisch
Typ: Video
Videoauflösung: 720x576
Pufferabmessungen: 720x576
Bildwiederholrate: 25
Decodiertes Format:
Ausrichtung: Oben links
Grundfarben: ITU-R BT.601 (625 Zeilen, 50 Hz)
Farbübertragungsfunktion: ITU-R BT.470 BG
Farbraum: ITU-R BT.601 Bereich
Farbsättigungslage: Links
All Episodes are ripped using MakeMKV.
I'm running Jellyfin Version: 10.8.13 using the docker image.
Can anyone give me hints how to solve this problem?
RE: Jellyfin detects wrong aspect ratio - TheDreadPirate - 2024-02-23
Try repackaging the file with this command.
Code: ffmpeg -fflags genpts -i "/path/to/video.mkv" -map 0:v -map 0:a -map 0:s -map_chapters 0 -c:v copy -c:a copy -c:s copy outputFile.mkv
RE: Jellyfin detects wrong aspect ratio - White - 2024-02-23
I backed the file up with cp "Episode S02E07.mkv" "bak.bak"
and then I issued the command: ffmpeg -fflags genpts -i "bak.bak" -map 0:v -map 0:a -map 0:s -map_chapters 0 -c:v copy -c:a copy -c:s copy "Episode S02E07.mkv"
Quote:white@HPGEN8media/daten1/filme/Shows/Star Trek Enterprise/SEASON 2$ ffmpeg -fflags genpts -i "bak.bak" -map 0:v -map 0:a -map 0:s -map_chapters 0 -c:v copy -c:a copy -c:s copy "Episode S02E07.mkv"
ffmpeg version 4.3.6-0+deb11u1 Copyright © 2000-2023 the FFmpeg developers
built with gcc 10 (Debian 10.2.1-6)
configuration: --prefix=/usr --extra-version=0+deb11u1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
libavutil 56. 51.100 / 56. 51.100
libavcodec 58. 91.100 / 58. 91.100
libavformat 58. 45.100 / 58. 45.100
libavdevice 58. 10.100 / 58. 10.100
libavfilter 7. 85.100 / 7. 85.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 7.100 / 5. 7.100
libswresample 3. 7.100 / 3. 7.100
libpostproc 55. 7.100 / 55. 7.100
Input #0, matroska,webm, from 'bak.bak':
Metadata:
encoder : libmakemkv v1.17.5 (1.3.10/1.5.2) x86_64-linux-gnu
creation_time : 2023-12-26T12:10:26.000000Z
Duration: 00:41:06.62, start: 0.000000, bitrate: 5949 kb/s
Chapter #0:0: start 0.000000, end 133.880000
Metadata:
title : Chapter 01
Chapter #0:1: start 133.880000, end 525.280000
Metadata:
title : Chapter 02
Chapter #0:2: start 525.280000, end 835.680000
Metadata:
title : Chapter 03
Chapter #0:3: start 835.680000, end 1132.640000
Metadata:
title : Chapter 04
Chapter #0:4: start 1132.640000, end 1452.120000
Metadata:
title : Chapter 05
Chapter #0:5: start 1452.120000, end 1838.000000
Metadata:
title : Chapter 06
Chapter #0:6: start 1838.000000, end 2129.560000
Metadata:
title : Chapter 07
Chapter #0:7: start 2129.560000, end 2466.624000
Metadata:
title : Chapter 08
Stream #0:0(eng): Video: mpeg2video (Main), yuv420p(tv, bt470bg, progressive), 720x576 [SAR 64:45 DAR 16:9], SAR 16:15 DAR 4:3, 25 fps, 25 tbr, 1k tbn, 50 tbc
Metadata:
BPS-eng : 4821487
DURATION-eng : 00:41:06.600000000
NUMBER_OF_FRAMES-eng: 61665
NUMBER_OF_BYTES-eng: 1486585240
SOURCE_ID-eng : 0100E0
_STATISTICS_WRITING_APP-eng: MakeMKV v1.17.5 linux(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2023-12-26 12:10:26
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Side data:
cpb: bitrate max/min/avg: 9800000/0/0 buffer size: 1835008 vbv_delay: N/A
Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s (default)
Metadata:
title : Surround 5.1
BPS-eng : 448000
DURATION-eng : 00:41:06.624000000
NUMBER_OF_FRAMES-eng: 77082
NUMBER_OF_BYTES-eng: 138130944
SOURCE_ID-eng : 0180BD
_STATISTICS_WRITING_APP-eng: MakeMKV v1.17.5 linux(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2023-12-26 12:10:26
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:2(ger): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
Metadata:
title : Surround 5.1
BPS-eng : 448000
DURATION-eng : 00:41:06.624000000
NUMBER_OF_FRAMES-eng: 77082
NUMBER_OF_BYTES-eng: 138130944
SOURCE_ID-eng : 0181BD
_STATISTICS_WRITING_APP-eng: MakeMKV v1.17.5 linux(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2023-12-26 12:10:26
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:3(fre): Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
Metadata:
title : Stereo
BPS-eng : 192000
DURATION-eng : 00:41:06.624000000
NUMBER_OF_FRAMES-eng: 77082
NUMBER_OF_BYTES-eng: 59198976
SOURCE_ID-eng : 0182BD
_STATISTICS_WRITING_APP-eng: MakeMKV v1.17.5 linux(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2023-12-26 12:10:26
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:4(dan): Subtitle: dvd_subtitle, 720x576 (default)
Metadata:
BPS-eng : 4836
DURATION-eng : 00:40:00.718755555
NUMBER_OF_FRAMES-eng: 502
NUMBER_OF_BYTES-eng: 1451382
SOURCE_ID-eng : 0120BD
_STATISTICS_WRITING_APP-eng: MakeMKV v1.17.5 linux(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2023-12-26 12:10:26
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:5(ger): Subtitle: dvd_subtitle, 720x576
Metadata:
BPS-eng : 5330
DURATION-eng : 00:40:00.718755555
NUMBER_OF_FRAMES-eng: 502
NUMBER_OF_BYTES-eng: 1599582
SOURCE_ID-eng : 0122BD
_STATISTICS_WRITING_APP-eng: MakeMKV v1.17.5 linux(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2023-12-26 12:10:26
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:6(eng): Subtitle: dvd_subtitle, 720x576
Metadata:
BPS-eng : 4962
DURATION-eng : 00:40:00.673244444
NUMBER_OF_FRAMES-eng: 519
NUMBER_OF_BYTES-eng: 1489250
SOURCE_ID-eng : 0124BD
_STATISTICS_WRITING_APP-eng: MakeMKV v1.17.5 linux(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2023-12-26 12:10:26
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:7(fre): Subtitle: dvd_subtitle, 720x576
Metadata:
BPS-eng : 4758
DURATION-eng : 00:40:00.673244444
NUMBER_OF_FRAMES-eng: 502
NUMBER_OF_BYTES-eng: 1427856
SOURCE_ID-eng : 0126BD
_STATISTICS_WRITING_APP-eng: MakeMKV v1.17.5 linux(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2023-12-26 12:10:26
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:8(dut): Subtitle: dvd_subtitle, 720x576
Metadata:
BPS-eng : 4881
DURATION-eng : 00:40:00.673244444
NUMBER_OF_FRAMES-eng: 502
NUMBER_OF_BYTES-eng: 1464800
SOURCE_ID-eng : 0128BD
_STATISTICS_WRITING_APP-eng: MakeMKV v1.17.5 linux(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2023-12-26 12:10:26
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:9(nor): Subtitle: dvd_subtitle, 720x576
Metadata:
BPS-eng : 4778
DURATION-eng : 00:40:00.673244444
NUMBER_OF_FRAMES-eng: 502
NUMBER_OF_BYTES-eng: 1434036
SOURCE_ID-eng : 012ABD
_STATISTICS_WRITING_APP-eng: MakeMKV v1.17.5 linux(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2023-12-26 12:10:26
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:10(swe): Subtitle: dvd_subtitle, 720x576
Metadata:
BPS-eng : 4399
DURATION-eng : 00:40:00.752888888
NUMBER_OF_FRAMES-eng: 502
NUMBER_OF_BYTES-eng: 1320152
SOURCE_ID-eng : 012CBD
_STATISTICS_WRITING_APP-eng: MakeMKV v1.17.5 linux(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2023-12-26 12:10:26
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
File 'Episode S02E07.mkv' already exists. Overwrite? [y/N] y
Output #0, matroska, to 'Episode S02E07.mkv':
Metadata:
encoder : Lavf58.45.100
Chapter #0:0: start 0.000000, end 133.880000
Metadata:
title : Chapter 01
Chapter #0:1: start 133.880000, end 525.280000
Metadata:
title : Chapter 02
Chapter #0:2: start 525.280000, end 835.680000
Metadata:
title : Chapter 03
Chapter #0:3: start 835.680000, end 1132.640000
Metadata:
title : Chapter 04
Chapter #0:4: start 1132.640000, end 1452.120000
Metadata:
title : Chapter 05
Chapter #0:5: start 1452.120000, end 1838.000000
Metadata:
title : Chapter 06
Chapter #0:6: start 1838.000000, end 2129.560000
Metadata:
title : Chapter 07
Chapter #0:7: start 2129.560000, end 2466.624000
Metadata:
title : Chapter 08
Stream #0:0(eng): Video: mpeg2video (Main) (mpg2 / 0x3267706D), yuv420p(tv, bt470bg, progressive), 720x576 [SAR 16:15 DAR 4:3], q=2-31, 25 fps, 25 tbr, 1k tbn, 1k tbc
Metadata:
BPS-eng : 4821487
DURATION-eng : 00:41:06.600000000
NUMBER_OF_FRAMES-eng: 61665
NUMBER_OF_BYTES-eng: 1486585240
SOURCE_ID-eng : 0100E0
_STATISTICS_WRITING_APP-eng: MakeMKV v1.17.5 linux(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2023-12-26 12:10:26
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Side data:
cpb: bitrate max/min/avg: 9800000/0/0 buffer size: 1835008 vbv_delay: N/A
Stream #0:1(eng): Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, 5.1(side), fltp, 448 kb/s (default)
Metadata:
title : Surround 5.1
BPS-eng : 448000
DURATION-eng : 00:41:06.624000000
NUMBER_OF_FRAMES-eng: 77082
NUMBER_OF_BYTES-eng: 138130944
SOURCE_ID-eng : 0180BD
_STATISTICS_WRITING_APP-eng: MakeMKV v1.17.5 linux(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2023-12-26 12:10:26
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:2(ger): Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, 5.1(side), fltp, 448 kb/s
Metadata:
title : Surround 5.1
BPS-eng : 448000
DURATION-eng : 00:41:06.624000000
NUMBER_OF_FRAMES-eng: 77082
NUMBER_OF_BYTES-eng: 138130944
SOURCE_ID-eng : 0181BD
_STATISTICS_WRITING_APP-eng: MakeMKV v1.17.5 linux(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2023-12-26 12:10:26
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:3(fre): Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo, fltp, 192 kb/s
Metadata:
title : Stereo
BPS-eng : 192000
DURATION-eng : 00:41:06.624000000
NUMBER_OF_FRAMES-eng: 77082
NUMBER_OF_BYTES-eng: 59198976
SOURCE_ID-eng : 0182BD
_STATISTICS_WRITING_APP-eng: MakeMKV v1.17.5 linux(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2023-12-26 12:10:26
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:4(dan): Subtitle: dvd_subtitle ([255][255][255][255] / 0xFFFFFFFF), 720x576 (default)
Metadata:
BPS-eng : 4836
DURATION-eng : 00:40:00.718755555
NUMBER_OF_FRAMES-eng: 502
NUMBER_OF_BYTES-eng: 1451382
SOURCE_ID-eng : 0120BD
_STATISTICS_WRITING_APP-eng: MakeMKV v1.17.5 linux(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2023-12-26 12:10:26
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:5(ger): Subtitle: dvd_subtitle ([255][255][255][255] / 0xFFFFFFFF), 720x576
Metadata:
BPS-eng : 5330
DURATION-eng : 00:40:00.718755555
NUMBER_OF_FRAMES-eng: 502
NUMBER_OF_BYTES-eng: 1599582
SOURCE_ID-eng : 0122BD
_STATISTICS_WRITING_APP-eng: MakeMKV v1.17.5 linux(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2023-12-26 12:10:26
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:6(eng): Subtitle: dvd_subtitle ([255][255][255][255] / 0xFFFFFFFF), 720x576
Metadata:
BPS-eng : 4962
DURATION-eng : 00:40:00.673244444
NUMBER_OF_FRAMES-eng: 519
NUMBER_OF_BYTES-eng: 1489250
SOURCE_ID-eng : 0124BD
_STATISTICS_WRITING_APP-eng: MakeMKV v1.17.5 linux(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2023-12-26 12:10:26
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:7(fre): Subtitle: dvd_subtitle ([255][255][255][255] / 0xFFFFFFFF), 720x576
Metadata:
BPS-eng : 4758
DURATION-eng : 00:40:00.673244444
NUMBER_OF_FRAMES-eng: 502
NUMBER_OF_BYTES-eng: 1427856
SOURCE_ID-eng : 0126BD
_STATISTICS_WRITING_APP-eng: MakeMKV v1.17.5 linux(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2023-12-26 12:10:26
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:8(dut): Subtitle: dvd_subtitle ([255][255][255][255] / 0xFFFFFFFF), 720x576
Metadata:
BPS-eng : 4881
DURATION-eng : 00:40:00.673244444
NUMBER_OF_FRAMES-eng: 502
NUMBER_OF_BYTES-eng: 1464800
SOURCE_ID-eng : 0128BD
_STATISTICS_WRITING_APP-eng: MakeMKV v1.17.5 linux(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2023-12-26 12:10:26
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:9(nor): Subtitle: dvd_subtitle ([255][255][255][255] / 0xFFFFFFFF), 720x576
Metadata:
BPS-eng : 4778
DURATION-eng : 00:40:00.673244444
NUMBER_OF_FRAMES-eng: 502
NUMBER_OF_BYTES-eng: 1434036
SOURCE_ID-eng : 012ABD
_STATISTICS_WRITING_APP-eng: MakeMKV v1.17.5 linux(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2023-12-26 12:10:26
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:10(swe): Subtitle: dvd_subtitle ([255][255][255][255] / 0xFFFFFFFF), 720x576
Metadata:
BPS-eng : 4399
DURATION-eng : 00:40:00.752888888
NUMBER_OF_FRAMES-eng: 502
NUMBER_OF_BYTES-eng: 1320152
SOURCE_ID-eng : 012CBD
_STATISTICS_WRITING_APP-eng: MakeMKV v1.17.5 linux(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2023-12-26 12:10:26
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Stream #0:2 -> #0:2 (copy)
Stream #0:3 -> #0:3 (copy)
Stream #0:4 -> #0:4 (copy)
Stream #0:5 -> #0:5 (copy)
Stream #0:6 -> #0:6 (copy)
Stream #0:7 -> #0:7 (copy)
Stream #0:8 -> #0:8 (copy)
Stream #0:9 -> #0:9 (copy)
Stream #0:10 -> #0:10 (copy)
Press [q] to stop, [?] for help
frame=61665 fps=6986 q=-1.0 Lsize= 1791666kB time=00:41:06.59 bitrate=5950.4kbits/s speed= 279x
After that I issed a rescan of all media folders and started the playback sadly still with 4:3 ratio.
RE: Jellyfin detects wrong aspect ratio - TheDreadPirate - 2024-02-23
Its possible that the stream metadata is incorrect coming off the disc. Try importing it into something like MKVToolNix and see if you can tweak the metadata.
RE: Jellyfin detects wrong aspect ratio - White - 2024-02-24
The properties for the defect and a working Episode are equal. Both have a resolution of 720x576 and no aspect ratio flag set.
Edit: okay after further investigation. It seems that a MKV file have Video-Pixel Height and Width (which are identical on my ripps) and also there is "Video Display Width" and "Video Display Height" (don't exactly know how it is in English my GUI is in German ;-). ANd the "Video Display Width" on a correct playing episode is 1024 and on an incorrect it is 768. After fixing that that MKVToolNix the episode is getting played back correctly. Thanks for your help :-)
RE: Jellyfin detects wrong aspect ratio - TheDreadPirate - 2024-02-24
Huzzah! You know, I have some Futurama rips that have incorrect aspect ratios....I will have to go back and investigate with MKVToolNix.
RE: Jellyfin detects wrong aspect ratio - Efficient_Good_5784 - 2024-02-24
First thing that came to my mind after reading this thread is anamorphic widescreen:
https://en.m.wikipedia.org/wiki/Anamorphic_widescreen
https://handbrake.fr/docs/en/latest/technical/anamorphic-guide.html
RE: Jellyfin detects wrong aspect ratio - White - 2024-02-25
Argh okay the two episodes I editet with MKVToolNix are playable using the webplayer in my browser. But both episodes are loading endless on android.
When I switch to the Webplayer in the Jellyfin Android App the video is played back.
Edit: Okay as soon as I open a mkv with MKVToolNix and save it (without any changes) the Android App with internal player can't playback the movie anymore. So then this is maybe not the favored solution. Any ideas?
RE: Jellyfin detects wrong aspect ratio - Efficient_Good_5784 - 2024-02-25
You can try re-encoding the affected video files and have their resolutions not be anamorphic.
If you use something like Handbrake, its GUI will tell you what the storage and playback resolutions will be after encoding a video.
RE: Jellyfin detects wrong aspect ratio - White - 2024-02-25
(2024-02-25, 03:17 PM)Efficient_Good_5784 Wrote: You can try re-encoding the affected video files and have their resolutions not be anamorphic.
If you use something like Handbrake, its GUI will tell you what the storage and playback resolutions will be after encoding a video.
In my understanding Reencording is a loss of quality. Or is there a way to make it lossless?
|