I use VLC to stream YouTube videos.
-
Is there any way to also save the video to a local file at the same time as I am watching it? I mean without consuming any more megabytes off of my data plan.
-
Is there any way to save all YouTube videos by default every time I stream them with VLC?
EDIT: I am on OS X 10.10.1
EDIT: To those who are offended by the violation of YouTube's TAC implied in the question, please just pretend the question was about a stream provided under the GPL.
Best Answer
Read the help of Vlc [1], it is an interesting lecture of a might program.
In general if you know the real source of a stream or a file you can download it & watch meanwhile, maybe with
wget http://where/it/is/mystream.mp4
and run vlc over the downloading chunk.If in your country is allowed or you have the right to do it, you can use VLC to clean the link to the file and to download it, without loss of quality [2]
You can also record clips from VLC by pressing the red Record button in the player itself; this is a conversion with all that it concerns.
When you write the link in the open network stream there is the possibility to play Alt+P, to stream Alt+S or to convert Alt+0. Chosing the streaming (stream to a file) or conversion case meanwhile you can see it too. Probably if you choose the same encoding for video, audio you can have a not lossy output. The shortcut from keyboard can be different for language different from English or in different version of Vlc.