Eselter 7 Posted August 29, 2020 Share Posted August 29, 2020 (edited) I have problem with wrong aspect ratio in emby tizen app (v1.0.82). On web browser and any other player (VLC, potplayer, plex, windows media player) problem doesn't apear. Thumbnail also is ok on tizen app. General Complete name : ...\VID_20190907_123845.mp4 Format : MPEG-4 Format profile : Base Media / Version 2 Codec ID : mp42 (isom/mp42) File size : 23.9 MiB Duration : 15 s 353 ms Overall bit rate : 13.1 Mb/s Encoded date : UTC 2019-09-07 09:39:01 Tagged date : UTC 2019-09-07 09:39:01 com.android.version : 9 Video ID : 2 Format : AVC Format/Info : Advanced Video Codec Format profile : High@L4 Format settings : CABAC / 1 Ref Frames Format settings, CABAC : Yes Format settings, Reference frames : 1 frame Format settings, GOP : M=1, N=25 Codec ID : avc1 Codec ID/Info : Advanced Video Coding Duration : 15 s 353 ms Bit rate : 13.0 Mb/s Width : 1 080 pixels Height : 1 920 pixels Display aspect ratio : 0.563 Rotation : 270° Frame rate mode : Variable Frame rate : 30.091 FPS Minimum frame rate : 7.242 FPS Maximum frame rate : 2 812.500 FPS Standard : NTSC Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.208 Stream size : 23.8 MiB (99%) Title : VideoHandle Language : English Encoded date : UTC 2019-09-07 09:39:01 Tagged date : UTC 2019-09-07 09:39:01 Color range : Limited Color primaries : BT.601 PAL Transfer characteristics : BT.601 Matrix coefficients : BT.601 Codec configuration box : avcC Audio ID : 1 Format : AAC LC Format/Info : Advanced Audio Codec Low Complexity Codec ID : mp4a-40-2 Duration : 15 s 350 ms Bit rate mode : Constant Bit rate : 64.0 kb/s Channel(s) : 1 channel Channel layout : C Sampling rate : 44.1 kHz Frame rate : 43.066 FPS (1024 SPF) Compression mode : Lossy Stream size : 120 KiB (0%) Title : SoundHandle Language : English Encoded date : UTC 2019-09-07 09:39:01 Tagged date : UTC 2019-09-07 09:39:01 Edited August 29, 2020 by Eselter add emby tizen app ver and eng version of media info Link to comment Share on other sites More sharing options...
Eselter 7 Posted August 29, 2020 Author Share Posted August 29, 2020 Is seems like video is rotated but display resolution is not. Link to comment Share on other sites More sharing options...
Happy2Play 8281 Posted August 29, 2020 Share Posted August 29, 2020 To me the web client looks like it is stretching the video. Looking at those two images I would think the TV is correct 270degree image from like a phone. Link to comment Share on other sites More sharing options...
Eselter 7 Posted August 29, 2020 Author Share Posted August 29, 2020 Maybe this shot will be better Link to comment Share on other sites More sharing options...
Happy2Play 8281 Posted August 29, 2020 Share Posted August 29, 2020 Yes that one shows the opposite to me. But will have to wait on one of the Samsung gurus to comment. Link to comment Share on other sites More sharing options...
SamES 890 Posted August 29, 2020 Share Posted August 29, 2020 I think I can see why it is displaying it wrong, but as @Happy2Play has commented, something seems backwards. Since that looks like a short video, could you please share a copy of it with me via PM and I will see if I can work out what we need to do to make this display correctly. Link to comment Share on other sites More sharing options...
Eselter 7 Posted August 29, 2020 Author Share Posted August 29, 2020 (edited) Ok, I send you a massage with link to google drive. Edited August 29, 2020 by Eselter Link to comment Share on other sites More sharing options...
SamES 890 Posted August 30, 2020 Share Posted August 30, 2020 The issue with this video is that it has a rotation set in the metadata, so players like vlc and modern browsers adjust the aspect ratio based on this rotation flag. https://blog.addpipe.com/mp4-rotation-metadata-in-mobile-video-files/ 22:40:51.129 Stream #0:1(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, smpte170m/bt470bg/smpte170m), 1080x1920, 12983 kb/s, SAR 1:1 DAR 9:16, Level 40, 30.09 fps, 90k tbr, 90k tbn, 180k tbc (default) 22:40:51.129 Metadata: 22:40:51.129 rotate : 270 22:40:51.129 creation_time : 2019-09-07T09:39:01.000000Z 22:40:51.129 handler_name : VideoHandle 22:40:51.129 Side data: 22:40:51.129 displaymatrix: rotation of 90.00 degrees In the Tizen app we don't see this rotation flag, so the rotation to the aspect ratio (9:16 -> 16:9) is not being applied. To correct this, we would need the rotate metadata. @Luke? Does this sound correct? I don't think there's any other way to handle this 1 Link to comment Share on other sites More sharing options...
Luke 37064 Posted August 30, 2020 Share Posted August 30, 2020 Yes that sounds right. Link to comment Share on other sites More sharing options...
Eselter 7 Posted September 19, 2020 Author Share Posted September 19, 2020 Any news about this bug? Problem still exist on 1.0.84. Link to comment Share on other sites More sharing options...
SamES 890 Posted September 21, 2020 Share Posted September 21, 2020 On 20/09/2020 at 09:49, Eselter said: Any news about this bug? Problem still exist on 1.0.84. I'm working on something that will help in the short term. Hopefully in the next usb release. 2 Link to comment Share on other sites More sharing options...
DJX 18 Posted September 23, 2020 Share Posted September 23, 2020 I have the same issue. Aspect ratio of files is fine using DLNA but videos are stretched to fill the whole t.v. screen when using emby app, so app specific. Will await the USB release! Link to comment Share on other sites More sharing options...
SamES 890 Posted September 23, 2020 Share Posted September 23, 2020 2 hours ago, DJX said: I have the same issue. Aspect ratio of files is fine using DLNA but videos are stretched to fill the whole t.v. screen when using emby app, so app specific. Will await the USB release! This sounds like a different issue. Could you please post the mediainfo for a file? Link to comment Share on other sites More sharing options...
DJX 18 Posted September 24, 2020 Share Posted September 24, 2020 8 hours ago, SamES said: This sounds like a different issue. Could you please post the mediainfo for a file? Please can you give me steps on how to obtain it? It seems to be all the videos I've taken with my phone (Samsung s7) Link to comment Share on other sites More sharing options...
Luke 37064 Posted September 24, 2020 Share Posted September 24, 2020 34 minutes ago, DJX said: Please can you give me steps on how to obtain it? It seems to be all the videos I've taken with my phone (Samsung s7) Just copy and paste the media info section from the bottom of the web app detail screen. Link to comment Share on other sites More sharing options...
DJX 18 Posted September 24, 2020 Share Posted September 24, 2020 17 minutes ago, Luke said: Just copy and paste the media info section from the bottom of the web app detail screen. Okay - got it! I notice when I play via the webapp, with the settings dial on the right, its on Auto aspect ratio, and it plays fine (black on either side of video) On the TV, its like its in "fill" mode. Video Title SD H264 Codec H264 Codec Tag avc1 AVC Yes Profile Baseline Level 30 Resolution 640x352 Aspect Ratio 20:11 Interlaced No Framerate 30.311 Bitrate 2,062 kbps Colour Primaries bt470bg Bit Depth 8 bit Pixel Format yuv420p Reference Frames 1 NAL 4 Audio Title Und AAC stereo (Default) Language und Codec AAC Codec Tag mp4a Profile LC Layout stereo Channels 2 ch Bitrate 153 kbps Sample Rate 48,000 Hz Default Yes Container mp4 Path \\ServerName\Media\Misc\Dates\2019\June\VID-20190602-WA0020.mp4 Size 2MB Link to comment Share on other sites More sharing options...
SamES 890 Posted September 24, 2020 Share Posted September 24, 2020 So this should be display as portrait, (tall and narrow) instead of landscape. Correct? @Luke, is it possible to bring in the rotation parameter as part of the stream probe, or is that not likely to happen? The issue is that these items have a rotation angle, and the html video player rotates the aspect ratio automatically based on this angle, but in the Tizen avplayer we will need to rotate this manually. For the original case, adding the Fill option will resolve this as the video needs to go from portrait to landscape, but this example I suspect needs to go the other way, which is not so easy without the rotate angle Link to comment Share on other sites More sharing options...
DJX 18 Posted September 24, 2020 Share Posted September 24, 2020 1 hour ago, SamES said: So this should be display as portrait, (tall and narrow) instead of landscape. Correct? @Luke, is it possible to bring in the rotation parameter as part of the stream probe, or is that not likely to happen? The issue is that these items have a rotation angle, and the html video player rotates the aspect ratio automatically based on this angle, but in the Tizen avplayer we will need to rotate this manually. For the original case, adding the Fill option will resolve this as the video needs to go from portrait to landscape, but this example I suspect needs to go the other way, which is not so easy without the rotate angle Yes, it should - you are correct! Just to confirm, the video itself is oriented correctly, in terms of that I took it in a portrait manner, but when its being played via emby, the video is being stretched/filled to the whole screen. Link to comment Share on other sites More sharing options...
SamES 890 Posted September 24, 2020 Share Posted September 24, 2020 Thanks for confirming. You are correct, the video is the right orientation, but the aspect ratio needs to rotate from 20:11 to 11:20. Do do this, we need to know that it has a rotation factor. Link to comment Share on other sites More sharing options...
DJX 18 Posted September 24, 2020 Share Posted September 24, 2020 Alright, we'll leave it in yours and the teams capable hands! On a positive note, its only my second day of using emby and I'm very pleased with it otherwise! 2 Link to comment Share on other sites More sharing options...
SamES 890 Posted September 30, 2020 Share Posted September 30, 2020 On 20/09/2020 at 09:49, Eselter said: Any news about this bug? Problem still exist on 1.0.84. @Eselter Can you please try the latest USB release? It isn't resolved, but from the playback settings menu you can now change the Aspect ratio to Fill which will expand the video to full screen. If you have the basic remote (not the smart remote) you can also press the Pic.Size button to toggle this. It's not a complete solution, but should help for now. Link to comment Share on other sites More sharing options...
Eselter 7 Posted October 1, 2020 Author Share Posted October 1, 2020 Fill whole screen working fine but this only works fine with horizontal video with the same aspect ratio like TV. The biggest problem now is vertical video witch is displaying horizontal on TV (instant of 9:16 is 16:9) and this solution don't help in this case. Link to comment Share on other sites More sharing options...
SamES 890 Posted October 1, 2020 Share Posted October 1, 2020 1 hour ago, Eselter said: Fill whole screen working fine but this only works fine with horizontal video with the same aspect ratio like TV. The biggest problem now is vertical video witch is displaying horizontal on TV (instant of 9:16 is 16:9) and this solution don't help in this case. Can you please attach a photo showing showing this? Does it just need resizing, or does it need to be rotated as well? Link to comment Share on other sites More sharing options...
Eselter 7 Posted October 1, 2020 Author Share Posted October 1, 2020 (edited) Only resizing. The same case like in 1st post but now in vertical video. TV (I know it looks fine but it isn't): Browser (this is correct): Media info: Width : 1 920 pixels Height : 1 080 pixels Display aspect ratio : 16:9 Rotation : 90° General Complete name : J:\Zdjęcia\Rodos 2020-09-07\1 tydzień\20200910_064838.mp4 Format : MPEG-4 Format profile : Base Media / Version 2 Codec ID : mp42 (isom/mp42) File size : 312 MiB Duration : 2 min 32 s Overall bit rate : 17.2 Mb/s Performer : LG-H930 Encoded date : UTC 2020-09-10 03:51:13 Tagged date : UTC 2020-09-10 03:51:13 xyz : +36.2463+028.1640/ com.android.version : 9 Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : High@L4 Format settings : CABAC / 1 Ref Frames Format settings, CABAC : Yes Format settings, Reference frames : 1 frame Format settings, GOP : M=1, N=30 Codec ID : avc1 Codec ID/Info : Advanced Video Coding Duration : 2 min 32 s Source duration : 2 min 32 s Bit rate : 17.0 Mb/s Width : 1 920 pixels Height : 1 080 pixels Display aspect ratio : 16:9 Rotation : 90° Frame rate mode : Variable Frame rate : 30.000 FPS Minimum frame rate : 24.064 FPS Maximum frame rate : 30.447 FPS Standard : NTSC Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.273 Stream size : 309 MiB (99%) Source stream size : 309 MiB (99%) Title : VideoHandle Language : English Encoded date : UTC 2020-09-10 03:51:13 Tagged date : UTC 2020-09-10 03:51:13 Color range : Limited colour_range_Original : Full Color primaries : BT.709 colour_primaries_Original : BT.601 NTSC Transfer characteristics : BT.709 transfer_characteristics_Original : BT.601 Matrix coefficients : BT.709 matrix_coefficients_Original : BT.601 mdhd_Duration : 152414 Codec configuration box : avcC Audio ID : 2 Format : AAC LC Format/Info : Advanced Audio Codec Low Complexity Codec ID : mp4a-40-2 Duration : 2 min 32 s Bit rate mode : Constant Bit rate : 156 kb/s Channel(s) : 2 channels Channel layout : L R Sampling rate : 48.0 kHz Frame rate : 46.875 FPS (1024 SPF) Compression mode : Lossy Stream size : 2.84 MiB (1%) Title : SoundHandle Language : English Encoded date : UTC 2020-09-10 03:51:13 Tagged date : UTC 2020-09-10 03:51:13 Edited October 1, 2020 by Eselter Link to comment Share on other sites More sharing options...
Eselter 7 Posted October 1, 2020 Author Share Posted October 1, 2020 (edited) Also, all is fine when I play video from usb on TV in default tizen video player and also is fine when using emby dlna server. Only app which has problem is emby client for tizen. Edited October 1, 2020 by Eselter 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now