VLC stream record problem [Solved]

Message
Author
subluminal
Posts: 51
Joined: Tue Oct 15, 2019 9:40 am

VLC stream record problem [Solved]

#1 Post by subluminal »

I'm trying to record a part of a youtube video using vlc. VLC cannot play the file if I use Ctrl+n to give url. But I solved that by using this function in my bash_aliases.

Code: Select all

vlcstream ()
{
vlc --meta-title "$(youtube-dl --skip-download --get-filename "$1")" $(youtube-dl -f bestvideo --skip-download --get-url "$1")
}
It works as intended. I can view the video but since the filename is too long, I cannot record the file. So I was wondering if there is a way to SET the title of the file using vlc or using youtube-dl.

EDIT:Sorry, found the solution after some searching. Had to modify my function. Now it works just as I want it to.

Return to “Software / Configuration”