FreeTubeApp / FreeTube

An Open Source YouTube app for privacy
https://freetubeapp.io/
GNU Affero General Public License v3.0
13.54k stars 842 forks source link

[Bug]: Choppy, inconsistent playback at 720p/1080p, 50/60fps #2908

Closed RetroAbstract closed 1 year ago

RetroAbstract commented 1 year ago

Guidelines

Describe the bug

Videos playing in 720p50, 720p60, 1080p50 & 1080p60 have choppy playback.

Enabling the video stats, I notice lots of frames are dropped during playback, resulting in the choppy playback.

The playback varies in speed, and stutter in the resolutions & frame rates outlisted above. It's very inconsistent.

This happens on both Local/Invidious APIs and .7z/.exe installations.

Expected Behavior

Smooth 50/60fps playback at 720p & 1080p resolutions.

Issue Labels

visual bug

FreeTube Version

v.0.18.0, 4fc5b47

Operating System Version

Windows 10 Pro 22H2

Installation Method

.zip

Primary API used

Local API

Last Known Working FreeTube Version (If Any)

No response

Additional Information

Videos playing in 30fps are smooth.

Nightly Build

arrowgent commented 1 year ago

are you using an invidious instance? can you go to that invidious website in a browser and view the video on invidious?

the instances are not as fast as youtube, they will be slow and buffer at times

it may be freetube, yet be sure to narrow down that your invidious instance choice is working "correctly" https://api.invidious.io/ this will show you Location, and Users (ie: service load)

RetroAbstract commented 1 year ago

are you using an invidious instance? can you go to that invidious website in a browser and view the video on invidious?

the instances are not as fast as youtube, they will be slow and buffer at times

it may be freetube, yet be sure to narrow down that your invidious instance choice is working "correctly" https://api.invidious.io/ this will show you Location, and Users (ie: service load)

@arrowgent This happens on both the Local API & Invidious API, whether the video are proxied through Invidious.

It's specifically the playback of what has been buffered that is inconsistent (details in original post above). The speed at which FreeTube buffers videos is perfectly fine.

It only happens at 50fps & 60fps playback. The standard 30fps is smooth and consistent as expected.

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 28 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 28 days with no activity. Remove stale label or comment or this will be closed in 7 days.

efb4f5ff-1298-471a-8973-3d47447115dc commented 1 year ago

Hi @RetroAbstract can you try a nightly build and check if u can still reproduce the bug? https://docs.freetubeapp.io/development/nightly-builds

https://github.com/FreeTubeApp/FreeTube/actions/runs/4056792643

RetroAbstract commented 1 year ago

Hi @RetroAbstract can you try a nightly build and check if u can still reproduce the bug? https://docs.freetubeapp.io/development/nightly-builds

https://github.com/FreeTubeApp/FreeTube/actions/runs/4056792643

Tried the latest nightly build and seems to be fixed! Thank you.