Page 1 of 1

I want to stream Youtube videos is 360p only ... Please tell me the procedure

Posted: 20 Nov 2020 15:24
by vlc_lover1234
I am using a 4G connection with a daily limit of 3GB. Is there a way to stream Youtube videos in 360p *only* ?

Code: Select all

$ vlc --version VLC media player 3.0.9.2 Vetinari (revision 3.0.9.2-0-gd4c1aefe4d) VLC version 3.0.9.2 Vetinari (3.0.9.2-0-gd4c1aefe4d) Compiled by buildd on lgw01-amd64-060.buildd (Apr 9 2020 19:29:44) Compiler: gcc version 9.3.0 (Ubuntu 9.3.0-10ubuntu2) This program comes with NO WARRANTY, to the extent permitted by law. You may redistribute it under the terms of the GNU General Public License; see the file named COPYING for details. Written by the VideoLAN team; see the AUTHORS file.

Code: Select all

$ inxi -Fxz System: Kernel: 5.4.0-54-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: LXQt 0.14.1 Distro: Ubuntu 20.04.1 LTS (Focal Fossa) Machine: Type: Desktop Mobo: ASUSTeK model: H110M-CS v: Rev X.0x serial: <filter> UEFI: American Megatrends v: 3016 date: 12/27/2016 CPU: Topology: Dual Core model: Intel Core i3-6100 bits: 64 type: MT MCP arch: Skylake-S rev: 3 L2 cache: 3072 KiB flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 29598 Speed: 800 MHz min/max: 800/3700 MHz Core speeds (MHz): 1: 800 2: 800 3: 800 4: 800 Graphics: Device-1: Intel HD Graphics 530 vendor: ASUSTeK driver: i915 v: kernel bus ID: 00:02.0 Display: x11 server: X.Org 1.20.8 driver: modesetting unloaded: fbdev,vesa resolution: 1366x768~60Hz OpenGL: renderer: Mesa Intel HD Graphics 530 (SKL GT2) v: 4.6 Mesa 20.0.8 direct render: Yes Audio: Device-1: Intel 100 Series/C230 Series Family HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel bus ID: 00:1f.3 Sound Server: ALSA v: k5.4.0-54-generic Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: ASUSTeK driver: r8169 v: kernel port: e000 bus ID: 02:00.0 IF: enp2s0 state: down mac: <filter> Device-2: Ralink MT7601U Wireless Adapter type: USB driver: mt7601u bus ID: 1-7:4 IF: wlx0e4b880019ac state: up mac: <filter> Drives: Local Storage: total: 111.79 GiB used: 12.38 GiB (11.1%) ID-1: /dev/sda vendor: Samsung model: SSD 750 EVO 120GB size: 111.79 GiB Partition: ID-1: / size: 109.04 GiB used: 12.37 GiB (11.3%) fs: ext4 dev: /dev/sda2 Sensors: System Temperatures: cpu: 29.8 C mobo: 27.8 C Fan Speeds (RPM): N/A Info: Processes: 172 Uptime: 30m Memory: 3.71 GiB used: 1.07 GiB (28.9%) Init: systemd runlevel: 5 Compilers: gcc: N/A Shell: bash v: 5.0.17 inxi: 3.0.38

Re: I want to stream Youtube videos is 360p only ... Please tell me the procedure

Posted: 20 Nov 2020 19:23
by RĂ©mi Denis-Courmont
There is a preference setting for preferred resolution.

Re: I want to stream Youtube videos is 360p only ... Please tell me the procedure

Posted: 21 Nov 2020 11:35
by vlc_lover1234
There is a preference setting for preferred resolution.
Thanks for the reply.
Can you please tell me exactly where that setting is ? The preference window is so vast I am getting lost.
A screenshot will help immensely.

Re: I want to stream Youtube videos is 360p only ... Please tell me the procedure

Posted: 01 Dec 2020 17:12
by acffilterece
I highly suggest you use

Code: Select all

youtube-dl
for this purpose. It is unfathomably versatile, supports a mind-blowing variety of sites and, yes, fixes your problem. For example,

Code: Select all

youtube-dl --format 'best[height<=360]/worst' <url> -o- | vlc -
would give you the best stream containing audio and video with a resolution of 360p or lower, if that is unavailable, the worst available. Note that VP9 and AV1 with Opus audio tend to have lower bitrates though, so I suggest that you download the videos, though ultimately, it is down to personal preference.

Re: I want to stream Youtube videos is 360p only ... Please tell me the procedure

Posted: 04 Dec 2020 06:52
by Lotesdelere
There is a preference setting for preferred resolution.
Thanks for the reply.
Can you please tell me exactly where that setting is ? The preference window is so vast I am getting lost.

Tools -> Preferences -> Show settings: ALL
Input codecs
Then on the right panel -> Preferred Video Resolution.

That said, it seems to work only for Youtube, not for other sites/streams.