VLC will not play videos with either ads or copyright-claimed material.

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.
UmberPhyris

VLC will not play videos with either ads or copyright-claimed material.

Postby UmberPhyris » 01 Dec 2018 00:24

This is no attempt to advertise, and I have tried using the search function, only for the page to never load.

I have, with both VLC alone and in vanilla OBS Studio, attempted to play videos that contain copyright-claimed material.
Even though the details behind this explain it can be watched but it will show ads, https://imgur.com/HAKmb9E.png
it refuses to play in VLC, simply skipping if you use a playlist, meanwhile giving *this* message as a result: https://imgur.com/X1VJdtZ.png
It suggests checking the log for details, so I told it to make a log, then I got this message the 2x after that I had tried again: https://imgur.com/SgNoV8z.png
To make matters worse, attempting to use the VLC playlist addon in vanilla OBS Studio, you get much of the same results: The video refuses to play in the playlist you specify, just nothing, until you skip to the point where it encounters a video *without* copyright-claimed materials.

...Now, if anyone wants the link to the add-on in question used in VLC, information on the plug-in used in vanilla OBS, or even the playlist information to test this out for themselves, please tell me.
I am avoiding tossing such information out there for the sake of advertisement prevention and to stick to the point.

Has this been known? Is there no workaround except by outer means? Is there anything, *within reason*, that I can do to stop this from happening to me?

Hitchhiker
Big Cone-huna
Big Cone-huna
Posts: 2203
Joined: 29 Jun 2018 11:40
VLC version: 3.0.17.4
Operating System: Windows 8.1
Location: The Netherlands

Re: VLC will not play videos with either ads or copyright-claimed material.

Postby Hitchhiker » 01 Dec 2018 16:46

You need to create a new youtube.luac file to replace the one which was installed with vlc. Here are instructions:

  1. If vlc is still open, close it.
  2. Go to this site and copy the block of text in the center and then paste it into Notepad.
  3. Click File ---> Save As and give it the name youtube.luac Underneath that field change "Text documents" (txt) into All Files via the drop down menu and then click Save. Place it somewhere where you can find it easily.
  4. Next, hit Windows key + R to open the Run command and then copy/paste the following text in the bold font and hit Enter: C:\Program Files\VideoLAN\VLC\lua\playlist This will open the location where all the vlc .luac files are stored.
  5. Drag and drop the youtube.luac file you created earlier and confirm that you want to overwrite the one which is already present.
  6. Close File Explorer and then restart vlc and try and play the videos which produced the error before.

If you're using the 32-bit version of vlc, the path will be C:\Program Files(x86)\VideoLAN\VLC\lua\playlist instead of the one mentioned above.

UmberPhyris

Re: VLC will not play videos with either ads or copyright-claimed material.

Postby UmberPhyris » 01 Dec 2018 19:12

Thanks, that worked completely.

...As it turns out, the add-on I used, resulting in an additional "youtube.lua", was preventing videos with copyright-claimed material from being played,
even though it worked just fine otherwise when I pasted playlist links into it and in vanilla OBS studio as a result.
I will find another way to get the same effect. Thanks.

Hitchhiker
Big Cone-huna
Big Cone-huna
Posts: 2203
Joined: 29 Jun 2018 11:40
VLC version: 3.0.17.4
Operating System: Windows 8.1
Location: The Netherlands

Re: VLC will not play videos with either ads or copyright-claimed material.

Postby Hitchhiker » 02 Dec 2018 11:58

You can fast forward 10 seconds of playback time to skip ads or other undesirable content by hitting ALT+ right arrow key, or CTRL+ right arrow to skip one minute of playback if that helps.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 56 guests