It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
Video game presentations are quite flashy, but still a good way to get a first impression.
I see two problems:

1. By default, quality is set to the highest value. I don't need 1080 HQ video and have to set quality for each and every video manually, this is annoying and time wasting.
2. Also, I really hate forced captions and want to watch YT video game presentations without captions by default.
Post edited 7 hours ago by johan-2
avatar
johan-2:
Please, consider viewing YouTube videos via yt-dlp (coupled with your media player of choice, such as: mpv).

While completing tasks, I will often have a video playing in one of the corners of the screen; so, there is no need to waste resources on decoding high-definition video. I tend to request something akin to the following (with the vertical resolution of the source video limited to a maximum of 360 pixels):
mpv --ytdl-format='bestvideo[height<=?360]+bestaudio' https://www.youtube.com/watch?v=IIIIIIIIIII
avatar
johan-2:
avatar
Palestine: Please, consider viewing YouTube videos via yt-dlp (coupled with your media player of choice, such as: mpv).

While completing tasks, I will often have a video playing in one of the corners of the screen; so, there is no need to waste resources on decoding high-definition video. I tend to request something akin to the following (with the vertical resolution of the source video limited to a maximum of 360 pixels):

mpv --ytdl-format='bestvideo[height<=?360]+bestaudio' https://www.youtube.com/watch?v=IIIIIIIIIII
avatar
Palestine:
Wow, I never thought to get such an awesome answer.
I use mpv, updated yt-dlp but can't get any video (eg. https://www.youtube.com/watch?v=ADBH1EgCud0) to play:
```
[build_webm] Lua error: [string "~/.config/mpv/scripts/build-webm.lua"]:1: attempt to index a nil value
[ytdl_hook] ERROR: [youtube] ADBH1EgCud0: Unable to extract uploader id; filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U
[ytdl_hook] youtube-dl failed: unexpected error occurred
Failed to recognize file format.

Exiting... (Errors when loading file)
```
if I try to play with mpv LINK instead I get:
```
Authorization required, but no authorization protocol specified
[vo/gpu] VT_GETMODE failed: Inappropriate ioctl for device
[vo/gpu/opengl] Failed to set up VT switcher. Terminal switching will be unavailable.
_amdgpu_device_initialize: amdgpu_query_info(ACCEL_WORKING) failed (-13)
amdgpu: amdgpu_device_initialize failed.
_amdgpu_device_initialize: amdgpu_query_info(ACCEL_WORKING) failed (-13)
amdgpu: amdgpu_device_initialize failed.
[vo/gpu] Failed to commit ModeSetting atomic request (-13)
[vo/gpu/opengl] Failed to set CRTC for connector 126: Permission denied
Authorization required, but no authorization protocol specified
Authorization required, but no authorization protocol specified
Authorization required, but no authorization protocol specified
Authorization required, but no authorization protocol specified
[vo/sdl] SDL_Init failed
Authorization required, but no authorization protocol specified
Authorization required, but no authorization protocol specified
Error opening/initializing the selected video_out (--vo) device.
Video: no video
```
this is YT, probably I would need an account on YT to get it working.
Post edited 6 hours ago by johan-2
avatar
johan-2:
For the provided YouTube link ('God of War' Trailer), there should be no need to provide log-in/sign-in credentials, as it is not an age-restricted (nor subscriber-only) video (and plays correctly on the Linux-based devices that I had tested). Anyway, the supplied error messages suggest that the source of the problem resides elsewhere.

Is there a particular reason for the inclusion of 'build-webm.lua' within your "$HOME/.config/mpv/scripts" directory?
Also, which windowing system are you using (X, Wayland-based, or none at all: directly rendered within the framebuffer)?

Uncertain of which Linux distribution you are using, but, unfortunately, yt-dlp ultimately depends upon a fair number of Python components, and, in my experience, if the versions of any of these are not synchronized with that of the others, one can expect issues to develop (eventually). Not only is this vital, but, quite frequently, yt-dlp itself becomes out-of-date (due to alterations made by Google).
Post edited 19 minutes ago by Palestine