Skip to content

Auto Frame-Rate Switching Support #10583

Open
@mo123

Description

@mo123

Checklist

  • I made sure that there are no existing issues - open or closed - which I could contribute my information to.
  • I have read the FAQ and my problem isn't listed.
  • I'm aware that this is a request for NewPipe itself and that requests for adding a new service need to be made at NewPipeExtractor.
  • I have taken the time to fill in all the required details. I understand that the feature request will be dismissed otherwise.
  • This issue contains only one feature request.
  • I have read and understood the contribution guidelines.

Feature description

Is it possible to add auto frame-rate matching to Newpipe with a setting to enable or disable it?

There is a problem in AndroidTV/GoogleTV 12 where Exoplayer now automatically enables Seamless-Only frame-rate switching even if a device doesn't support the new Android 12 API.

Android 12 devices that use the old Display mode API frame-rate switching now just displays a black screen if trying to play a video in NewPipe unless you disable the Seamless-Only setting and change it to Never in AndroidTV Display & Sound - Match Content frame-rate menu.

https://medium.com/androiddevelopers/prep-your-tv-app-for-android-12-9a859d9bb967#:~:text=Android%2012%20developer,app%20for%20compatibility

or CHANGE_FRAME_RATE_NEVER

https://developer.android.com/guide/topics/media/frame-rate

I don't know if ExoPlayer used in NewPipe can be changed to CHANGE_FRAME_RATE_NEVER instead by default or add support for the old Display API too in a setting users can toggle?
https://developer.android.com/reference/android/view/Display

Other Youtube apps like SmartTube implements frame-rate switching correctly.
https://github.com/search?q=repo%3Ayuliskov%2FSmartTube+afr&type=commits&p=9

Why do you want this feature?

It will improve the smoothness of video playback and reduce judder on AndroidTV and tv box devices.

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Android TVIssue is related to Android TVfeature requestIssue is related to a feature in the appplayerIssues related to any player (main, popup and background)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions