Skip to content
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

Playback speed doesn't change #3881

Open
DC-Modding opened this issue Aug 11, 2024 · 9 comments
Open

Playback speed doesn't change #3881

DC-Modding opened this issue Aug 11, 2024 · 9 comments
Labels
bug Something isn't working playback Issue related to media playback

Comments

@DC-Modding
Copy link

Describe the bug

  1. Start playing any media
  2. Click on "playback speed" setting
  3. Select any setting (0.25x-2.00x)

The playback speed doesn't change. Doesn't matter if you select slower or faster

Logs

No response

FFmpeg logs

No response

Media info of the file

No response

Application version

0.17.2

Device information

Zidoo Z9X pro

Android version

Android 11

Jellyfin server version

10.9.9

@DC-Modding DC-Modding added bug Something isn't working playback Issue related to media playback labels Aug 11, 2024
@FunctionDJ
Copy link

FunctionDJ commented Aug 26, 2024

I feel like it's a recent regression. I almost always watch at 1.25x and only noticed today that the setting stopped working. It was working a couple of days ago. Not sure when my app updated (Play Store).

Currently installed (playback speed broken): 0.17.4
Server version: 10.9.9
Device: NVIDIA Shield Pro 2019

Edit: Downgrading to 0.17.1 didn't fix the issue for me. Mysterious.

@DC-Modding
Copy link
Author

Think it broke with the 0.17 update from 0.16.x
At least I noticed it right after it.

@FunctionDJ
Copy link

@DC-Modding Downgrading to 0.16.11 didn't fix the issue for me.

@Kuphi
Copy link

Kuphi commented Sep 3, 2024

Duplicate of #2367
Maybe reopen #2367, because it has not been resolved so far.

Actually also a duplicate of #1517 which was closed because it is an issue of exoplayer. Maybe it is still possible to find a fix for this within jellyfin-androidtv.

@Kuphi
Copy link

Kuphi commented Sep 4, 2024

I was able to change the playback speed by building jellyfin-androidtv from master branch. This gave me a new option in the settings in the jellyfin-androidtv app:
Settings -> Developer Settings -> "Prefer FFmpeg for audio playback" (check the box)

--> This might already be the solution for some devices

But due to circumstances of Amazon Fire TV Sticks, this led to another problem:

"Interestingly, once the frames are "late" (=the presentation time is in the past), the decoder is suddenly able to quickly release all decoded frames, so that no frames are actually dropped, but you get this jerky, jumpy movements in regular intervals."

@tonihei posted a solution two years ago, at least for Amazon Fire TV Sticks:
google/ExoPlayer#9773 (comment)

If anyone can help to transfer this solution to jellyfin-androidtv that would be great.

@nielsvanvelzen
Copy link
Member

Don't bother upstream developers. This is not appreciated.

@Kuphi
Copy link

Kuphi commented Sep 5, 2024

Don't bother upstream developers. This is not appreciated.

I'm genuinely trying to contribute to solving this issue, but I find your comment a bit difficult to understand. Could you clarify your point?

From my understanding, the original playback speed issue at #1517 (comment) was closed because it's related to upstream developers (ExoPlayer). If that's the case, wouldn't it be necessary to address the problem there? If not, I’d appreciate some guidance on the best course of action.

@FunctionDJ
Copy link

I was able to fix the issue for me (at least temporarily) by either changing the preferred player to LibVLC, changing the Audiooutput to Mixdown Stereo (from Direct) or disabling DTS Audio Bitstream.

I'm wording it so weird because i changed all three settings (but then immediately changed player back to ExoPlayer), then force stopped the app, opened it, and the issue was fixed, but then afterwards i tried resetting the other two settings and the issue still doesn't come up even though all settings are exactly as before as far as i can tell.

So i'm not able to pinpoint exactly which setting fixed the issue for me, but maybe this info helps someone else.

@w1nwin
Copy link

w1nwin commented Sep 8, 2024

All I did was change "Audio output" to "Downmix to stereo" and it worked again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working playback Issue related to media playback
Projects
None yet
Development

No branches or pull requests

5 participants