Please stabilise the caption text
Checklist
- [x] I am using the latest version - 0.21.1
- [x] I checked, but didn't find any duplicates (open OR closed) of this issue in the repo.
- [x] I have read the contribution guidelines given at https://github.com/TeamNewPipe/NewPipe/blob/HEAD/.github/CONTRIBUTING.md.
- [x] This issue contains only one bug. I will open one issue for every bug report I want to file.
Steps to reproduce the bug
- Go to 'https://www.youtube.com/watch?v=Y_ejCmX008s', or basically any video
- turn on captions
- choose "auto-generated"
Actual behaviour
With the auto-generated caption, the text are centrally justified. This causes the text to shift back and forth when changing lines, making them hard to track by the eye.
Expected behavior
The start position of each line of text should stay the same, so perhaps left-justification is ideal, as YouTube does.
Screenshots/Screen recordings
Logs
Device info
The behavior appears on various devices, all with Android 9 as I tried.
Same problem here
Hmm this is interesting: It seems like the subtitles itself determine where they are (→ ExoPlayer doc): e.g. https://www.youtube.com/watch?v=BiDvLshi9CY
- English -> Text is centered (and jumps)
- English/auto-generated -> Text is aligned left
The above works for YT and the YT app, however the auto-generated text is also centered in the NewPipe app.
Maybe something is lost while parsing the data from YT?
Another problem related to subtitle placement when viewing video in landscape mode - on some phones like google pixels, long subtitles can overlap with the front camera, thus a part of the subtitle becomes unreadable. I advise newpipe to pad the subtitle region by the size of the notification bar to avoid this problem.
@LeoK987, @hafizmuhmmadismail, @litetex, @snouup:
There is also a font size problem.
Youtube:

NewPipe:

@SameenAhnaf : Isn't there a way inside the app that allows you to customize the font size?
@Angelk90 Yes, Go to Settings>Appearance>Captions>Caption size and style.
Also, please avoid pinging so many people from next time.
@SameenAhnaf : I think there is a problem with the videoplayer subtitles, I put as "very small" font size nothing changed, I closed and reopened the app.
Furthermore there is also the following problem popup:

@TobiGr : There is also a font size problem.
Youtube:

NewPipe:

I also did this: 'Settings'> 'Appearance'> 'Captions'> 'Caption size and style'.
But the font does not change, it is very small. Tested on Tablet.
Yeah when is this going to be fixed? It's already 2024 and the issue still persists. Changing the settings in Settings > Appearance > Captions > Caption size and style has no effects and it is not a solution because it will affect other apps. Just adding a slider for the font should have solved the problem.