Jellyfin Forum
Anamorphic/non-square pixels on Samsung (Tizen) Client - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: Anamorphic/non-square pixels on Samsung (Tizen) Client (/t-anamorphic-non-square-pixels-on-samsung-tizen-client)



Anamorphic/non-square pixels on Samsung (Tizen) Client - cniessen - 2025-08-03

Hello-
I've got the Jellyfin client loaded on my Samsung TV.  I have files that were ripped from DVDs that are anamorphic with non-square pixels.  So, for example, the video is stored as 720x480 pixels, but its meant to be displayed as 853x720.  Has anyone found any set of encoder parameters that cause the Tizen htmlVideoPlayer to recognize that the display size is not the same as the storage size?

Some detail on my setup.  I'm using Jellyfin 10.10.7 with the server running on Ubuntu 22.04, and the client is the 10.10.7 build of jellyfin-tizen.  The Samsung TV is a QN55Q6FNA.  Its running the latest firmware from Samsung (1350.7).  I've loaded the pre-built jellyfin-tizen app, and I've also built my own from scratch to add additional debugging/logging information.  I've used handbrake to transcode the video to H.264 (and H.265, no difference) in mkv and mp4 containers.  ffprobe verifies that the video streams are marked with SAR 32:27 and DAR 16:9.  I've also tried the straight MPEG transport stream carrying the original MPG2 from the DVD, which shows the same SAR/DAR.  The videos play at the correct aspect ratio on the mac chrome jellyfin client.  The videos play at the correct aspect ratio when played directly by the TV using the built in DLNA file browser.  I've verified from the logs that the video streams are not being transcoded.

In the jellyfin-tizen htmlVideoPlayer plugin, the mediaElement parameters for videoHeight,videoWidth return 720,480, which is supposed to be the "intrinsic video size", which is supposed to take pixel aspect ration into account.  The files play at the correct aspect ratio on everything else (including directly on the TV), just not the underlying tizen video renderer used by the htmlVideoPlayer plugin.    

If I set the aspect ratio to "fill" the video displays with the correct aspect ratio.  Otherwise, it has black bars on the left and right, since its trying to display it at 720x480 on a 1920x1080 player.  The playback info stats on the TV indicate a "video resolution" of 720x480.  (Accessing the same video via the chrome web client shows a "video resoluition" of 853x480, so the underlying chrome renderer is recognizing the non-square pixels.)  

So I understand that the limitation is on the underlying video renderer, not really the jellyfin-tizen client, and I can't find any way to give the renderer a "hint" that it should be anamorphic.  There are lots of ways to work around it (re-code the videos to use square pixels, manually change the aspect ratio in the UI every time I play one of those videos, etc.), but I'm wondering if anyone has managed to find a way to get an anamorphic video stream to play correctly on this particular client.
Thanks!