VLC is not playing youtube videos

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
FlandreScarlet64
New Cone
New Cone
Posts: 1
Joined: 29 Aug 2019 10:59

VLC is not playing youtube videos

Postby FlandreScarlet64 » 29 Aug 2019 11:09

Everytime i try to open a youtube video i get this error.
Your input can't be opened:
VLC is unable to open the MRL 'https://youtu.be/ZdtBopbuAOw'. Check the log for details.
Tried the youtube.luac from https://git.videolan.org/?p=vlc.git;a=blob_plain;f=share/lua/playlist/youtube.lua;hb=HEAD yet no such luck.
Anyone know how to fix it? note:i am using windows 7 32-bits.

realdiamond
New Cone
New Cone
Posts: 2
Joined: 12 Sep 2019 00:25

Re: VLC is not playing youtube videos

Postby realdiamond » 12 Sep 2019 00:45

You won't be able to do any thing in the VLC app...
Youtube has taken steps to block Third party access and block all third party apps using there page URLs as reference...
They do this regular and you will have to wait for VLC or some one to post the NEW code that is required to be added to apps to by pass youtubes insistence that you use there app and there app only...
.

What you may do while you wait for VLC coders to catch up is use third party sites to convert the video page URL into a Direct google URL feed download...
There are many sites like savefrom.net that allow you to enter the youtube video page URL and give a download link.. You can copy the download link and add it to VLC ... or you can download the hole video file and then open it in VLC after but this will force an addition step..

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

Re: VLC is not playing youtube videos

Postby highflux7 » 12 Sep 2019 02:26

Python script, takes yt url, parses for something yt will accept, executes yt with newly discovered url.
Usage: ./yt.py https://www.youtube.com/watch?v=hvIctUYRDtY

# yt.py

Code: Select all

#!/usr/bin/python3 # Launch VLC with an (almost) arbitrary Youtube URL. # Assumes Python > 3.5 (or something) ''' Copyright 2019 Carl Svensson Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ''' import urllib.parse as up import urllib.request as req import json import sys import subprocess PREF_MAXRES = 1700 # skip hd vids inurl = sys.argv[1] u = up.urlparse(inurl) q = up.parse_qs(u.query) yturl = "https://www.youtube.com/get_video_info?video_id="+q["v"][0] raw = req.urlopen(yturl).read() dcd = up.parse_qs(str(raw)) inf = json.loads(dcd["player_response"][0]) formats = inf["streamingData"]["formats"] resmax = 0 vidurl = "" for fmt in formats: # skip webm, mp4:s should be ok for hw decoding if "mp4" in str(fmt.get("mimeType")): hres = fmt.get("height", 0) if hres < PREF_MAXRES and hres > resmax: resmax = fmt.get("height") vidurl = fmt.get("url") if vidurl: subprocess.run(["vlc", vidurl, "--meta-title", "Youtube ("+inurl+")"]) else: print("Unable to parse video URL")

User avatar
hamza-mostakim
Blank Cone
Blank Cone
Posts: 30
Joined: 08 Jun 2019 12:31
VLC version: 3.0.7
Operating System: windows

Re: VLC is not playing youtube videos

Postby hamza-mostakim » 12 Sep 2019 12:18

Everytime i try to open a youtube video i get this error.
Your input can't be opened:
VLC is unable to open the MRL 'https://youtu.be/ZdtBopbuAOw'. Check the log for details.
Tried the youtube.luac from https://git.videolan.org/?p=vlc.git;a=blob_plain;f=share/lua/playlist/youtube.lua;hb=HEAD yet no such luck.
Anyone know how to fix it? note:i am using windows 7 32-bits.
no I can play this link : ( https://youtu.be/ZdtBopbuAOw ) in VLC ... look :o
.
Image

#thweiss
Cone that earned his stripes
Cone that earned his stripes
Posts: 136
Joined: 07 Nov 2017 07:13
Location: Germany

Re: VLC is not playing youtube videos

Postby #thweiss » 13 Sep 2019 19:50

Hello together,

I can play the Youtube-Link 'https://youtu.be/ZdtBopbuAOw' very well with VLC-Player Version 3.0.7.1 (64-Bit) under Windows 10 Version 1903.

Try to download and install the VLC-Version 3.0.7.1 (32-Bit) under Windows 7 (32-Bit).
- 'https://download.videolan.org/vlc/3.0.7.1/win32/'

User avatar
hamza-mostakim
Blank Cone
Blank Cone
Posts: 30
Joined: 08 Jun 2019 12:31
VLC version: 3.0.7
Operating System: windows

Re: VLC is not playing youtube videos

Postby hamza-mostakim » 13 Sep 2019 20:02

Hello together,

I can play the Youtube-Link 'https://youtu.be/ZdtBopbuAOw' very well with VLC-Player Version 3.0.7.1 (64-Bit) under Windows 10 Version 1903.

Try to download and install the VLC-Version 3.0.7.1 (32-Bit) under Windows 7 (32-Bit).
- 'https://download.videolan.org/vlc/3.0.7.1/win32/'
no friend it's run at me :o

Image


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 54 guests