-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2160p60 playback after ExoPlayer 2.12.1 update #259
Comments
Same over here on Sony 65xf9005, some micro-stuttering mostly in the beginning of 4k videos. |
Thanks for the positive feedback about exoplayer 2.12.1. |
Probably all modes in order to be able to compare the outcome on a slow SoC.
|
Tried 10.56 with Wonder whether you can query and display vfpo (Video Frame Processing Offset) from ExoPlayer? |
I agree, still some tiny micro stutter with 10.56 at the beginning of 4k and higher videos. Maybe loading or buffer issue at the start ? As from 5 or 10 seconds onwards, it plays perfect here. |
|
Indeed that's a great video to test with, as it has panning and slow motions. |
Damn. It reverted to 1080p30 AVC. Need to re-evaluate... |
Strange, here i have vp9 60fps |
In order to downgrade I had to uninstall STubeNext. That's how my preferred format (being VP9 HDR) got reset. I will need to do another comparison using the following versions:
|
For me the 10.56 version is the best release so far, aside from a bit micro lag at the beginning of 4k+ videos... |
Will try 10.58 with |
10.58 has more stutter than 10.56 on my Sony 4K. |
How about the status when you watch 1.5 or 2x speed ? |
Haven't tried 10.58 but I am not 100% sure about what you just wrote. One time Sony works better, one time worse. It depends on services that might run in parallel in the background. What I can say is that 2160p60 playback pretty much exhausts the CPU which is the reason why playback might be fragile. I really need to do a more thorough investigation, testing on a longer term and creating the same conditions for all versions. |
Well for me 10.56 was better (just reinstalled), and in version 10.48 I had no lagging/stutter at all. And even the former SYTV-app still plays flawless without lagging. |
Just for completeness... 10.48 was with ExoPlayer 2.12.1 in Will add my results tomorrow. |
I got your point, but to test the HQ settings, normal 1.0 speed is the standard/reference of course. |
I now finished profiling 2160p60 playback on a slow Sony BRAVIA X900F using different SmartTubeNext/ExoPlayer versions with different MediaCodec operational modes (sync/async). Device: Sony BRAVIA KD-65XF9005 (X900F) SmartTubeNext 10.44ExoPlayer: 2.10.6 2160p60 (4K/UHD) 2X speed exhibits extreme frame dropping and bad stuttering. 1440p60 (2K/QHD) 2X speed exhibits extreme frame dropping and bad stuttering. SmartTubeNext 10.54ExoPlayer: 2.12.1 2160p60 (4K/UHD) 2X speed exhibits extreme frame dropping and bad stuttering. 1440p60 (2K/QHD) 2X speed exhibits extreme frame dropping and bad stuttering. SmartTubeNext 10.56ExoPlayer: 2.12.1 Pretty similar to 10.54. Async MediaCodec does not seem to have an impact. SmartTubeNext 10.58ExoPlayer: 2.12.1 Same as 10.56. ConclusionExoPlayer 2.10.6 seems better than 2.12.1. The MediaCodec modes do not seem to be having a real impact. Are we sure that they get applied at all? 2160p60 suffers from recurring micro-stuttering on BRAVIA due to playback exhausting the slow CPU. Streaming high bitrate content (30mbps isn't exactly high though...) seems to have quite an impact on CPU usage. Also quite some frames get dropped when browsing recommendations on top of the playing video. 1440p60 is fine already (which is half the bitrate). 2160p60 is also fine after the clip has finished downloading. So it clearly looks like streaming and rendering threads are fighting for resources. |
@CiNcH83 @yuliskov |
Can't really confirm. It is on a level with STubeNext 10.44 here. Micro-stuttering still happens and is also caused by CPU usage going to almost 100% at times. |
I can't find anything suspicious except of exoplayer version. |
I posted my findings over at the ExoPlayer repository. |
@foreveryoungforty what do you say about 10.50? |
I will re-install and let you know by mail. |
SmartTubeNext 10.56 is play smoothly (acceptable than others) except the video beginnig stutterings on MiBoxS with 1.0 playback speed, just fyi ... |
I am receiving many frame drops [more frame drops than undropped ones -also some frame drops at FHD video-] with 10.59 version at 4k 60fps (1.0 playback speed). I dont know which operation mode is using on 10.59 exoplayer 2.10.6 but sytnext 10.56 was way better on 4k 60fps it has no frame drops with its exoplayer playback mode via MiBoxS ! Please turn back; PS: old seeking preview style was better than in this version (10.59) from my point of view. |
Thanks for the feedback. |
I've added a build script for Windows named gradlew.bat.
Now should be fine.
…On Wed, Dec 30, 2020 at 2:41 PM Yuriy Liskov ***@***.***> wrote:
update repo and try again
On Wed, Dec 30, 2020 at 1:56 PM CiNcH83 ***@***.***> wrote:
> JDK error solved. Now I get the following using this gradlew.bat
> <https://github.com/gradle/gradle/blob/master/gradlew.bat>:
>
> > Task :smarttubetv:compileStorigDebugJavaWithJavac
> D:\private\SmartTubeNext\smarttubetv\src\main\java\com\liskovsoft\smartyoutubetv2\tv\ui\playback\other\StoryBoardSeekDataProvider.java:10: error: class StoryboardSeekDataProvider is public, should be declared in a file named StoryboardSeekDataProvider.java
> public class StoryboardSeekDataProvider extends PlaybackSeekDataProvider {
> ^
> Note: Some input files use or override a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> Note: Some input files use unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> 1 error
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#259 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ABM7Z6G56KODTBI5YBN6EBLSXMINZANCNFSM4U2REZXA>
> .
>
|
Again cloned into your master. Building still fails towards the end using your gradlew.bat. Attaching the command line output. |
Seems Windows naming glitch. Pls rename
D:\private\SmartTubeNext\smarttubetv\src\main\java\com\liskovsoft\smartyoutubetv2\tv\ui\playback\other\StoryBoardSeekDataProvider.java
to
D:\private\SmartTubeNext\smarttubetv\src\main\java\com\liskovsoft\smartyoutubetv2\tv\ui\playback\other\StoryboardSeekDataProvider.java
…On Wed, Dec 30, 2020 at 3:13 PM CiNcH83 ***@***.***> wrote:
Again cloned into your master. Building still fails towards the end using
your gradlew.bat. Attaching the command line output.
output.txt
<https://github.com/yuliskov/SmartTubeNext/files/5754293/output.txt>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#259 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABM7Z6HNOXFJNVQXN3QIUOTSXMRP5ANCNFSM4U2REZXA>
.
|
Build went through. Can't find any useful build result though. Does it take another step to create an installer apk? |
Hi @yuliskov Google will close the respective ticket in 7 days if no further information concerning the above questions is delivered. I unfortunately failed to create an APK (no
|
Ticket has been closed. |
The issue is still pinned. So is this still a thing? |
Yes. It's very important. I will return to it someday.
Regards, Yuriy
…On Tue, Mar 2, 2021, 10:26 CiNcH83 ***@***.***> wrote:
The issue is still pinned. So is this still a thing?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#259 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABM7Z6HBPHKGFH6AOIEDZKLTBSOLXANCNFSM4U2REZXA>
.
|
OK, cool. |
I suppose this is the right place to report this. Just after version 10.122 I see many of dropped frames on some high bitrate (~30Mbps) videos. This one, very intensive, Bulgaria 8K HDR 60P (FUHD) is yet again causing the video player to drop a lot of frames at 5-10% rate. Earlier versions (last month) of STNext had only extreme minor issues with the same video. Maybe this video should be used for checking player or software upgrades before release, as it looks like one of the most proceesing intensive I've ever tried. Tested on Sony Bravia ATV3 49XG8377 (X850G) |
@costinmx thx for the info. I wasn't aware that there is an regression. |
Indeed, serious amount of dropped frames and stuttering in that Bulgaria-video on my Sony 4K BRAVIA KD-65XF9005 too. |
Still micro stuttering on 4K@60fps on my Mi Box S. Maybe it's caused by a generally slow CPU as some have suggested earlier on other devices? |
After version 10.127 (up to current 10.141) looks like there is a major improvment regarding that Bulgaria HDR 60fps video. Only a few, rare, dropped frames now. After testing many other videos, it looks like it has something to do more with processing resources on HDR, than bitrate. I have seen a lot of 4K non-HDR videos with 40-60 Mbps bitrate, without a single frame dropped. Yet, that Bulgaria HDR video used to cause problems at just 30 Mbps. |
@costinmx |
Sorry I have just tested this today in ver 11.18 - I didn't notice any difference when changing max video preset to 4K 60fps (non-HDR) on my Bravia 49XG8377 (X1). Strange - test video droped frames exactly the same when playing non-HDR version also. Could not find any logic in this behavior other than maybe some 4K 60fps videos have a particular interaction with Bravia X1 video processor. But this looks more and more like a Sony issue, not SmartTube Next. Hopefully soon I wiil get to test this issue against the newest 4K Chromecast with AndroidTV, see how it behaves. |
On version 11.18, I tested some videos regarding this open issue, and again I must conclude that on my Sony 4K BRAVIA KD-65XF9005 HDR, if I set the video preset in the app to 4K 60fps VP9, there is no lag/frame drop on test-video The World in HDR in 4K , and almost none visible on the Bulgaria video. If I put it on 4K 60fps VP9+HDR, there is always some little lag/stutter at the beginning of that 4K video, and visible more in several scenes on that 8k Bulgaria video. |
So even if we switch the video to not 4k and not 60fps, it still happens the bad buffering... Any idea why? |
4k 60fps HDR is once again in trouble since versions 11.4x on Sony Android. I got 10-33% dropped frames on many high framerate HDR videos. Looks like it's a new exoplayer version (2.13.3). It was never mentioned in the update changelog, as I would have avoided this. Later edit: I had to correct and delete some claims I made in original post, since some issues were related to some interferring background apps. Sorry about that. |
Exo has been upped just for the test.
I'll revert old version (2.10.6) soon.
Regards, Yuriy
…On Sun, Jun 27, 2021, 03:21 costinmx ***@***.***> wrote:
4k 60fps HDR is once again almost unplayable since versions 11.4x on Sony
Android. I got 33-50% dropped frames virtually on every high framerate HDR
video. It's a bigger mess than ever before, all those videos have some
degree of visible playback frame dropping issues. Looks like it's a new
exoplayer version (2.13.3). It was never mentioned in the update changelog,
as I would have avoided this.
Also got continous buffering issues with many live streams (not all) that
never had issues before. They never buffer more than 2-4 seconds max, then
stall.
At some point everthing worked just fine, then comes either an Youtube api
update or an ST Next update which ruins everything. So sad........ Will
these issues ever end?...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#259 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABM7Z6H773XKWXRSPMXAARLTUZVHJANCNFSM4U2REZXA>
.
|
Thank you, Yuriy. I know its really hard work these days. I also thought this exo was updated to solve some issues. |
Indeed , 4k 60fps HDR is once again in trouble on Sony Android, even without HDR, way more stutter in 4K videos. |
I also notice a slight degradation in image sharpness on some regular 4K videos... Especially in 25Hz videos where Sony motion compensation does not seem to work properly anymore. 30/50/60 Hz are fine in motion. Edit: Just tested - Strange, some of this also happens in original YT app... Does not look very different than 2.13 exoplayer. Maybe something changed on YT end, also? |
Everything works fine on Sony XG83 (X850G) again after 11.46 update. 4K and HDR back to a smooth sharp playback. Also Super Walker channel HDR videos in Paris, and VIRTUAL JAPAN channel HDR videos in Tokyo, Osaka play so smooth now. With old Exoplayer they were small glitches once in a while For my TV everything seems fine, for now. Live streams buffering ok, including 4K, no buffer issues, no video decoder errors or "can't download video"... Let's hope it's the same for everybody. Thanky you very much Yuri for your commitment to this project. Even if someone decide to go premium on YT, it will still miss the amazing features ST Next has, both the smooth android TV adapted interface and the player (PIP function is fantastic). |
I wonder what the problem actually is with newer versions of ExoPlayer in SmartTubeNext. I am currently watching European Football Championship via ORF TVthek in Austria. The app uses ExoPlayer 2.12. Stream is 2160p50 and it is perfectly smooth. |
Could not help to notice on some tests - somehow 11.78 plays best 2160 60fps HDR videos. Very rare hard to spot frame drops. Pity this update is having such bad issues, like crashing on Sony Action Menu. Are these two matters connected? |
ExoPlayer devs now changed the way to enable asynchronous MediaCodec in the dev-v2 branch. It is not experimental anymore and will be part of the next release 2.16. Asynchronous MediaCodec is enabled by default for devices running Android 12. It can however be enabled for devices running Android 6 Marshmallow and above via DefaultMediaCodecAdapterFactory. |
ExoPlayer 2.16 has now been released.
|
@yuliskov
I now tried 2160p60 playback on a BRAVIA ATV2 (MediaTek MT5891 @ 1GHz) with STubeNext 10.54 with the updated ExoPlayer 2.12.1. Looks much better now, similar to the original YouTube app. There is some minor micro-stuttering every few seconds left.
I wonder which MediaCodec mode ExoPlayer operates in. I don't see one being explicitly set by STubeNext. So I assume it operates in
OPERATION_MODE_SYNCHRONOUS
? How about Tunneled playback mode?The text was updated successfully, but these errors were encountered: