VLC ignoring Preferred video resolution setting

*nix specific usage questions
highflux7
New Cone
New Cone
Posts: 5
Joined: 23 Nov 2017 03:49

VLC ignoring Preferred video resolution setting

Postby highflux7 » 23 Nov 2017 04:19

Long time user of VLC 2.2.2 under Ubuntu 16.04.03 LTS. (2.2.2-5ubuntu0.16.04.4)

In advanced settings under input/codecs, I have the preferred video resolution set to SD (576 or 480 lines).
Until 20-Nov-2017, streaming youtube videos (https://www.youtube.com/watch?v=CBtBD9zQjUs) resulted in the desired lower (SD) resolution video being displayed as they should.

Subsequently, youtube videos are displayed at HD resolution regardless of the "preferred video resolution" setting. Even streams that previously played fine at the lower SD resolution now refuse to play at anything lower than HD.

Checked the vlcrc file, which also indicates the SD setting as set via advanced preferences.
Went so far as to uninstall/purge/reinstall vlc with same result.

Ideas?

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

Re: VLC ignoring Preferred video resolution setting

Postby Rémi Denis-Courmont » 23 Nov 2017 17:01

YouTube changed the format. Try latest VLC prereleases.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

highflux7
New Cone
New Cone
Posts: 5
Joined: 23 Nov 2017 03:49

Re: VLC ignoring Preferred video resolution setting

Postby highflux7 » 24 Nov 2017 05:20

Tried the current VLC Daily Build of stable branch version 2.2.7 Umbrella (2.2.2+git20170721+r59033+56~ubuntu16.04.1) with same result.
Also tried current VLC Daily Build of master branch, media player 3.0.0-git Vetinari (revision 3.0.0~~git20171118+r72557+91~ubuntu16.04.1): same.

None of the three clients (2.2.2) (2.2.7) (3.0.0) appear to honor the "preferred video resolution" when streaming youtube. In each case, the "Best Available" resolution is chosen instead of the (usually lower) preferred resolution. What am I doing wrong here or what could have changed?? This was working perfectly until just a day ago.

highflux7
New Cone
New Cone
Posts: 5
Joined: 23 Nov 2017 03:49

Re: VLC ignoring Preferred video resolution setting

Postby highflux7 » 25 Nov 2017 02:08

Though not ideal, streamlink (https://github.com/streamlink/streamlink) can differentiate the available streams for feeding into vlc:

Code: Select all

streamlink -O https://www.youtube.com/watch?v=CBtBD9zQjUs 360p | ffmpeg -i - -vcodec copy -tune zerolatency -acodec copy -preset fast -f mpegts - 2>/dev/null | vlc
for 360p, etc...

highflux7
New Cone
New Cone
Posts: 5
Joined: 23 Nov 2017 03:49

Re: VLC ignoring Preferred video resolution setting

Postby highflux7 » 25 Nov 2017 04:56

Another fix can be realized by updating the youtube.luac file with a copy of the latest version from http://git.videolan.org/?p=vlc.git;a=bl ... ua;hb=HEAD

In my case, running vlc 2.2.0 (2.2.2-5ubuntu0.16.04.4):

# move old script aside:

Code: Select all

$ sudo mv /usr/lib/vlc/lua/playlist/youtube.luac /usr/lib/vlc/lua/playlist/youtube.luac.old
# grab copy of new replacement script:

Code: Select all

$ sudo wget -O /usr/lib/vlc/lua/playlist/youtube.lua "http://git.videolan.org/?p=vlc.git;a=blob_plain;f=share/lua/playlist/youtube.lua;hb=HEAD"

May not be the proper way to fix & dunno what it might break, but at least again has vlc honoring the Preferred-Video-Resolution setting with yt.


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

Who is online

Users browsing this forum: No registered users and 22 guests