Eremitak 6 Posted November 1, 2022 Posted November 1, 2022 I would like to understand if it is possible to implement multithreading support for decoding in emby's "integrated" player. At the moment it happens to visualize lag or freeze for even whole minutes (until the "heavy" scene ends). This problem would seem to be due to multithreading in decoding since on MX Player, in SW, such freeze and lag do not occur. To understand, this is an example of a video that freezes during the first few seconds of the opening. VCB Ep2.txt (mediaInfo) According to the stats for nerds, the video plays directly (audio too), I guess in SW mode as this type of HEVC is not support in HW from my device. -------------------------------------------------------- Another peculiar thing, if I start a video that is not supported in HW, 90% of the time the screen remains black and the UI is not displayed but the audio is reproduced. I mean: that if I click on the screen, nothing appears. To make the screen show the images and the UI, first I have to "update" the display to be able to view the UI that is not loaded as the video... for example by opening the status bar or forcing the display of the bar " < o ■ " of the function keys (which in my device is SW and not HW and therefore is automatically hidden when a video starts); At that point, if I force the aspect ratio to anything other than the default, the video comes back and so does the UI. The weird part comes now though... If I play the next video while I am in the video player, the video is not affected by this problem (I don't have to change the AR to fix the black screen and the UI not appearing). Unfortunately, recording the screen with an App does not show this bug, in the app you can see the video while I see everything black on the screen. I will try to register with another phone but the camera sucks enough, also, it seems to stay fixed until I restart the app. My device: Teclast M40 https://www.gsmchoice.com/en/catalogue/teclast/m40/
Luke 42077 Posted November 1, 2022 Posted November 1, 2022 Hi, we use ExoPlayer on Android. It will use hardware decoding whenever your device supports the video format. We'll have to see if there are ways to improve software decoding with it.
Luke 42077 Posted November 1, 2022 Posted November 1, 2022 Quote Another peculiar thing, if I start a video that is not supported in HW, 90% of the time the screen remains black and the UI is not displayed but the audio is reproduced. Hi there, let's look at an example. Please attach the information requested in how to report a media playback issue. Thanks!
Eremitak 6 Posted November 2, 2022 Author Posted November 2, 2022 20 hours ago, Luke said: Hi, we use ExoPlayer on Android. It will use hardware decoding whenever your device supports the video format. I rely on MX Player, that's why I said maybe (because it's not written if it's in HW or SW). That example is SW. 20 hours ago, Luke said: We'll have to see if there are ways to improve software decoding with it. So it is possible to implement multithreading. Without a shadow of a doubt it gets better! From 1 to 8 (today the CPUs on smartphones are 8 cores). As I said above, except on MX player, any other player lags or just freezes. In the end, mx player is the only one that truly introduces multithreading (we're talking about MXP without custom codecs). It's just a shame to give up the emby player for performance reasons. 20 hours ago, Luke said: Hi there, let's look at an example. Please attach the information requested in how to report a media playback issue. Thanks! Except for a screenshot/video and log, I have already put 75% of the information. Between today and tomorrow I find the time to record the video with another smartphone and then comment with the video and the log. However the problem is as I said: I start the video> black screen (but in reality everything is working)> if you tap 2 times in the center (for pause) it pauses... too bad the screen is still black and the UI did not show itself (despite mine interaction with the UI was taken). Solution: Force the screen update, in various attempts to press as fast as possible (you will see why in the video), open the settings and change the zoom/AR from default to anything else. As soon as I can I upload the video and the log.
Eremitak 6 Posted November 3, 2022 Author Posted November 3, 2022 (edited) logs.7z I don't know why but the logs stop at 2021. I searched in /Data/Data and in the external SD card but there are no other logs except those in Android (which however stop at 2021). Video Unfortunately I only have that as a recording cam, but you understand the problem well. In the video the screen stays still in the background image because I started playing from the series. If I start from the HomeScreen it stays black (but that's not the problem). As you can see, as long as I don't swipe up the toolbar (I'll call it that), the screen doesn't "refresh". I forgot to do this in the video... but if I then press the "play next" button at the end of the video, the next video is not affected by this problem. It occurred to me that I use a blue filter app called "Twlight". It could be that it gives problems ... I'll try with the app closed. Nope. Edited November 3, 2022 by Eremitak Update last comment
Luke 42077 Posted December 14, 2022 Posted December 14, 2022 @Eremitak are you still having an issue with this?
Eremitak 6 Posted December 22, 2022 Author Posted December 22, 2022 On 12/14/2022 at 6:56 AM, Luke said: @Eremitak are you still having an issue with this? Given the bug I stayed to use an external player. In this period I try with the latest version of the app.
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