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

*nix specific usage questions
vlc_lover1234
New Cone
New Cone
Posts: 6
Joined: 20 Nov 2020 15:17
VLC version: VLC media player 3.0
Operating System: Linux

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

Postby vlc_lover1234 » 20 Nov 2020 15:24

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
Lubuntu 20.04
VLC media player 3.0.9.2 Vetinari

Rémi Denis-Courmont
Developer
Developer
Posts: 15266
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

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

Postby Rémi Denis-Courmont » 20 Nov 2020 19:23

There is a preference setting for preferred resolution.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

vlc_lover1234
New Cone
New Cone
Posts: 6
Joined: 20 Nov 2020 15:17
VLC version: VLC media player 3.0
Operating System: Linux

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

Postby vlc_lover1234 » 21 Nov 2020 11:35

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.
Lubuntu 20.04
VLC media player 3.0.9.2 Vetinari

acffilterece
Blank Cone
Blank Cone
Posts: 15
Joined: 01 Dec 2020 15:48
Operating System: Linux

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

Postby acffilterece » 01 Dec 2020 17:12

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.

Lotesdelere
Cone Master
Cone Master
Posts: 9964
Joined: 08 Sep 2006 04:39
Location: Europe

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

Postby Lotesdelere » 04 Dec 2020 06:52

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.


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 25 guests