Kodi Community Forum
Bad KODI video player and portrait orientation ? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Video Support (https://forum.kodi.tv/forumdisplay.php?fid=264)
+--- Thread: Bad KODI video player and portrait orientation ? (/showthread.php?tid=379326)

Pages: 1 2


Bad KODI video player and portrait orientation ? - alda1234 - 2024-11-01

I am really very disappointed with how video playback works in KODI in recent versions. Especially with portrait video. I remember the times when everything ran as it should and now the SAME videos cannot be played.
I'm not sure when video player in KODI was changed, but it was really big error without solution till now.

So my question is :
1. Is there any other video player which I can use as substitution of "standart" buldin video player ?
2. What was last KODI version with previous video player ?
3. Is planned to solve a portrait issue ?

Thanks

Alex


Bad KODI video player and portrait orientation ? - Hitcher - 2024-11-01

(2024-11-01, 16:15)alda1234 Wrote: Is planned to solve a portrait issue ?
First time hearing about it. There's no issues on GitHub related to portrait mode:

https://github.com/xbmc/xbmc/issues?q=is%3Aissue+is%3Aopen+portrait+in%3Abody

Please provide a full debug log.

The instructions are here... debug log (wiki)

If you are using the Basic Method, then ensure the following is applied...
1.Enable debugging in Settings>System Settings>Logging,
2.Restart Kodi
3.Replicate the problem.
4.Upload the log to Kodi Paste Site manually or use the Kodi Logfile Uploader. (wiki) With either method post the link to the log back here.

If you are using the Advanced Method ensure you have correctly created and applied the advancedsettings.xml file (wiki)

In both instances, you should see the word DEBUG throughout the log.

Note: Full logs only. No partial or redacted logs
Do NOT post your logs directly into the forum. Use the Kodi Paste Site. Post the link to your pasted log in the forum



RE: Bad KODI video player and portrait orientation ? - alda1234 - 2024-11-01

It crazy. Replicate ? This error is there all the time with last versions of the KODI. I tried severals videos from the severals phones and doesn't make sense which phone is it.

 Image
Preview is ok
but playback bad bad bad (orientation and also aspect ration) :
Image

LOG I will post if it's needed, but you can reproduce himself (only portrait video is needed).

Alex


RE: Bad KODI video player and portrait orientation ? - alda1234 - 2024-11-01

here is a log.

https://paste.kodi.tv/ejaverewar.kodi


I restarted KODI and started only crtitical video.
After stop of the video I copied a log

Alex


RE: Bad KODI video player and portrait orientation ? - sarbes - 2024-11-01

I don't know what people expect when they say "just replicate it", but we have at least a dozen different playback paths. With just the major hardware vendors alone, we have hundreds of different ways to play a particular video. On my hardware, I'm not able to reproduce it.

If I had to take an educated guess, your hardware (a RPI4 or 5) has no support for 90° rotation. Specifically the scanout engine is lacking (https://drmdb.emersion.fr/snapshots/57a22f12bb69):
Quote:"rotation": bitmask {"rotate-0", "rotate-180", "reflect-x", "reflect-y"} = (rotate-0)
You might be able to display such videos correctly via the OpenGL ES playback path, but this will tax the device quite a bit.


RE: Bad KODI video player and portrait orientation ? - alda1234 - 2024-11-01

Yes, it's RPi4 and as I wrote, videos was working without any problem with older Kodi releases.
I'm not programmer and normaly I think play button must be enough to play home videos especially when it worked before.
Or Rpi4 is no longer supported with last Kodi releases ? 
So which HW is now the right one for this releases ?


RE: Bad KODI video player and portrait orientation ? - alda1234 - 2024-11-01

So back in releases. This is last when it was working without any problem out of the box. Only image flash :

Image

Image

Image
So Is solution for all RPi4 usesrs go back to this version ?

Alex


RE: Bad KODI video player and portrait orientation ? - sarbes - 2024-11-01

(2024-11-01, 19:24)alda1234 Wrote: So back in releases. This is last when it was working without any problem out of the box.
Log please.

Edit: on further thought, we dropped a lot of hardware specific support. I'd guess the Pi drivers did some magic under the hood to rotate the video, which the current pipeline does not.

(2024-11-01, 19:24)alda1234 Wrote: So Is solution for all RPi4 usesrs go back to this version ?
Just for those who want a somewhat hardware accelerated playback path for rotated videos. Or you could try the GPU playback path ("Render Method") in the video settings.


RE: Bad KODI video player and portrait orientation ? - alda1234 - 2024-11-01

so Here is a log :

hastebin - gusemumebo


RE: Bad KODI video player and portrait orientation ? - alda1234 - 2024-11-01

(2024-11-01, 19:27)sarbes Wrote:
(2024-11-01, 19:24)alda1234 Wrote: So back in releases. This is last when it was working without any problem out of the box.
Log please.

Edit: on further thought, we dropped a lot of hardware specific support. I'd guess the Pi drivers did some magic under the hood to rotate the video, which the current pipeline does not.
(2024-11-01, 19:24)alda1234 Wrote: So Is solution for all RPi4 usesrs go back to this version ?
Just for those who want a somewhat hardware accelerated playback path for rotated videos. Or you could try the GPU playback path ("Render Method") in the video settings.

1. So what is standart HW where last release of KODI is normaly working ? RPi community is too low for Kodi ?

2. Please what is last release where RPi4 HW was fully supported ?

2. For me there is more strange behavior of the new release like : when I want create movie library only from the local informations. With new release it took 4hours ! With this release 18.9. it was done in 10minutes.


RE: Bad KODI video player and portrait orientation ? - Neo1973 - 2024-11-01

The 18.9 log shows that Kodi was using software decoding. In 21.1 it uses hardware decoding. Try disabling hardware decoding in 21.1 and report if that improves the situation.
(2024-11-01, 20:18)alda1234 Wrote: when I want create movie library only from the local informations. With new release it took 4hours ! With this release 18.9. it was done in 10minutes.
This will be fixed in the next release, see https://github.com/xbmc/xbmc/pull/25883.


RE: Bad KODI video player and portrait orientation ? - alda1234 - 2024-11-01

(2024-11-01, 20:36)Neo1973 Wrote: The 18.9 log shows that Kodi was using software decoding. In 21.1 it uses hardware decoding. Try disabling hardware decoding in 21.1 and report if that improves the situation.
(2024-11-01, 20:18)alda1234 Wrote: when I want create movie library only from the local informations. With new release it took 4hours ! With this release 18.9. it was done in 10minutes.
This will be fixed in the next release, see https://github.com/xbmc/xbmc/pull/25883.
Thanks, it's good news, but for me is much more important to use SW which support my HW as much as possible.
Is version 18.9 the last one where RPi4 was supported ?


RE: Bad KODI video player and portrait orientation ? - sarbes - 2024-11-01

(2024-11-01, 20:18)alda1234 Wrote: 1. So what is standart HW where last release of KODI is normaly working ? RPi community is too low for Kodi ?
We don't support any hardware, but interfaces. Every platform which exposes those interfaces is supported by Kodi. Some hardware might not support certain features via those interfaces (like video rotation).

(2024-11-01, 20:18)alda1234 Wrote: 2. Please what is last release where RPi4 HW was fully supported ?
Kodi can utilize all hardware features of a Pi 4 which are exposed via such interfaces. In this sense, it is fully supported.

Kodi 18/LE 9 had support for MMAL, which is deprecated in favor of more modern interfaces. I suspect this is the latest iteration which allowed (semi) hardware accelerated video playback for rotated videos.

(2024-11-01, 20:18)alda1234 Wrote: 2. For me there is more strange behavior of the new release like : when I want create movie library only from the local informations. With new release it took 4hours ! With this release 18.9. it was done in 10minutes.
You can stay at 18.9 if you are happy with it.


RE: Bad KODI video player and portrait orientation ? - alda1234 - 2024-11-01

Thank you for your clear answer.

I think it would be useful to inform all RPi4 (and also RPi5 ?) users in the download section about this missing MMAL support in the last releases and information that last version was 18.9

For me - YES I must ( I need functionality ) stay with 18.9. For me this version ran much smoothly on the RPi4. 

Thank you


RE: Bad KODI video player and portrait orientation ? - sarbes - 2024-11-01

(2024-11-01, 21:17)alda1234 Wrote: I think it would be useful to inform all RPi4 (and also RPi5 ?) users in the download section about this missing MMAL support in the last releases and information that last version was 18.9
I don't see the relevance here. MMAL has been deprecated by the Raspberry Pi Foundation at around the same time. There is no 64 bit version, which makes it irrelevant for modern systems anyway. The Pi 5 never had support for it. And we don't even offer a 32bit Flatpack on our download page. Also, the Raspberry Pis make up just a fraction of our user base. And we have ended support for other interfaces in the past in a similar manner, with virtually no relevance to our users.

(2024-11-01, 21:17)alda1234 Wrote: For me - YES I must ( I need functionality ) stay with 18.9. For me this version ran much smoothly on the RPi4.
As I've written, you can still play such videos (1080p30, SDR) with Kodi 21, using the GPU playback path.