Page 1 of 1

Can't play you tube with VLC and can't uninstall it

Posted: 16 Jun 2007 05:11
by djcaliendo
I can't play you tube video's and some other links friends email me with VLC. Tried to uninstall it as described in the "read me" file; but I get an error message that I "don't have enough authority". There is no network and I have this on my home computer (mac with safari 10.4.9). Can anyone help?
Thanks,
Dan

Re: Can't play you tube with VLC and can't uninstall it

Posted: 18 Jun 2007 10:53
by laklakararaki
I can't play you tube video's and some other links friends email me with VLC. Tried to uninstall it as described in the "read me" file; but I get an error message that I "don't have enough authority". There is no network and I have this on my home computer (mac with safari 10.4.9). Can anyone help?
Thanks,
Dan
vlc does not play or open links to youtube videos, i dont know of any player that does this. to play a youtube video in a stand-alone media player there would be two prerequisites;

1. one must download the embedded .flv file from the youtube video's page either by searching through the source code of the page or using a tool/site like keepvid.com.

2. one's media player must support the playback of .flv files.

vlc supports the playback of .flv files found on youtube and other similar sites, so that is not a problem, all you have to do is download the embedded video. as for your other problem, it sounds like you cannot remove vlc from your system because the account you are using does not have the privileges necessary to delete files/applications from certain locations.

Posted: 18 Jun 2007 10:57
by MetalheadGautham
use videodownloader extention of firefox. coppy the download link, paste to vlc's open link. you may later choose save to file..

you can even add postprocessing or transcoading

Posted: 18 Jun 2007 11:01
by laklakararaki
use videodownloader extention of firefox. coppy the download link, paste to vlc's open link. you may later choose save to file..

you can even add postprocessing or transcoading
...he or she might not be using firefox, in-fact the poster mentions they are using safari, this is just an observation though.

Posted: 18 Jun 2007 11:02
by MetalheadGautham
well, you can install firefox then

Posted: 18 Jun 2007 11:03
by MetalheadGautham

Posted: 18 Jun 2007 11:05
by laklakararaki

Posted: 18 Jun 2007 11:09
by MetalheadGautham
but I know that vlc did have a feature reqest which said that it could do this. j-b says that it is present in the nightlies. why dont you check em out?

Re: Can't play you tube with VLC and can't uninstall it

Posted: 28 Jun 2007 11:42
by madmax_2069
or you can use tubesock to download and encode to a MP4 and save to iTunes for playback and you can open the video in VLC which works way better than the player in iTunes

Re: Can't play you tube with VLC and can't uninstall it

Posted: 04 Feb 2008 07:34
by mon312
you can instal firefox and that will help, I think .

Re: Can't play you tube with VLC and can't uninstall it

Posted: 04 Feb 2008 12:57
by madmax_2069
i know when you download the file from youtube using safari the file that is downloaded has to be renamed to what ever you want but you have to add the .flv file extension in order for VLC to play it. if you dont VLC will not play it.

a better way to show you how is to watch this http://youtube.com/watch?v=EZ3nnPmx1dY

before VLC will play the file you download from youtube using safari you have to add the .FLV file extension to the file name.

Re: Can't play you tube with VLC and can't uninstall it

Posted: 15 Jun 2008 23:51
by gnomon
HOWTO play YouTube files directly in VLC

(I'm adding this very basic info to this thread because it came up as the first Google hit for "play youtube with vlc", but the thread doesn't yet contain the actual solution. Apparently (viewtopic.php?f=16&t=43711) VLC 0.9 supports this functionality natively; the below has been tested with 0.8.6d and 0.8.6e)

You *can* play files directly from YouTube via VLC; there is no need to transcode the file or use any of the specialized services and tools. It's just a matter of crafting the correct URL. There are several redirects from said properly-crafted URL to the actual file contents, but VLC follows them correctly and transparently.

A caveat: pause, rewind and fast-forward don't seem to work correctly (and really, I would be pretty surprised if they did).

The format of the URL that you need in order to directly access a video is this: http://www.youtube.com/get_video?video_ ... &sk=SK&t=T

The three values you need from the actual YouTube page are VIDEO_ID, SK and T. All three values are stored in the swfArgs variable: yippee! That makes the values really easy to reach! This little code snippet here will pop up an alert box with the proper values stuffed into the proper slots:

Code: Select all

javascript:alert("http://www.youtube.com/get_video?video_id=" + swfArgs.video_id + "&sk=" + swfArgs.sk + "&t=" + swfArgs.t)
...and this'll do the same thing in a slightly more structured fashion, if that kind of thing floats your boat:

Code: Select all

javascript:alert((new String("http://www.youtube.com/get_video?video_id=%s&sk=%s&t=%s")).replace(/%s/, swfArgs.video_id).replace(/%s/, swfArgs.sk).replace(/%s/, swfArgs.t))
Pop the generated URL directly into VLC's "Open Network Stream - HTTP/HTTPS/FTP/MSS" dialog and hit play.

Re: Can't play you tube with VLC and can't uninstall it

Posted: 16 Jun 2008 00:56
by Arite
Interesting - I didn't know that the required field were all stored in the swfArgs variable :).

The same string can be generated using e.g. http://keepvid.com/ which presumably executes the same/a similar javascript script etc.
A caveat: pause, rewind and fast-forward don't seem to work correctly (and really, I would be pretty surprised if they did).
This is a known bug in VLC. It is fixed in the development release of 0.9.0-git:
http://nightlies.videolan.org/

It takes a while to buffer however seeking does work.

Arite.