Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Listen to Youtube videos sound (only)
Listen to Youtube videos sound (only)
Hi! is there an application in the Debian repositories to listen to Youtube videos sound (only) and create playlists?
Re: Listen to Youtube videos sound (only)
I am not sure what you mean exactly, like do you want to not download the video content, or would you be fine with just not watching it?
Because for sure you can watch youtube videos on VLC and it has an option to disable video track, therefore you hear only audio.
There is also an mpd like daemon called "mopidy" in the debian repos that has a youtube plugin, you can therefore listen to youtube video audio, make playlists whatever.
But I believe these both download the whole video - possibly with youtube-dl and then just extract the audio
Because for sure you can watch youtube videos on VLC and it has an option to disable video track, therefore you hear only audio.
There is also an mpd like daemon called "mopidy" in the debian repos that has a youtube plugin, you can therefore listen to youtube video audio, make playlists whatever.
But I believe these both download the whole video - possibly with youtube-dl and then just extract the audio
Re: Listen to Youtube videos sound (only)
To do this on the fly:
https://gist.github.com/daz/93242c47b78 ... ec98f85e65
If your goal is to get and save the audio, you can do it in two steps:
1) Download the video
2) Extract the audio w/ ffmpeg - lots of online tutorials on how to do this along with format options (ogg vs mp3 vs flac).
https://gist.github.com/daz/93242c47b78 ... ec98f85e65
If your goal is to get and save the audio, you can do it in two steps:
1) Download the video
2) Extract the audio w/ ffmpeg - lots of online tutorials on how to do this along with format options (ogg vs mp3 vs flac).
Re: Listen to Youtube videos sound (only)
mps might be worth a look
https://github.com/mps-youtube/mps-youtube
youtube-dl can extract audio (-x) and works well with playlists in that it can skip errors, transcode etc. I've not used it for streaming audio only playlists though.
mpv has a --no-video option and can leverage youtube-dl for downloading/streaming.
https://github.com/mps-youtube/mps-youtube
youtube-dl can extract audio (-x) and works well with playlists in that it can skip errors, transcode etc. I've not used it for streaming audio only playlists though.
mpv has a --no-video option and can leverage youtube-dl for downloading/streaming.
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 71 times
Re: Listen to Youtube videos sound (only)
I kind of remember seeing some app for this on the OMGUbuntu or webupd8 blogs, but will leave the search up to you. If you can find it, I would try and help build a Debian package, though.
VLC also seems to be able to do just about anything, so there's no doubt some command line way to get to just play the audio from a Youtube stream, though IDK about playlists.
VLC also seems to be able to do just about anything, so there's no doubt some command line way to get to just play the audio from a Youtube stream, though IDK about playlists.
MX Linux packager and developer
Re: Listen to Youtube videos sound (only)
+2 for these suggestions.Proinsias wrote:mps might be worth a look
https://github.com/mps-youtube/mps-youtube
youtube-dl can extract audio (-x) and works well with playlists in that it can skip errors, transcode etc. I've not used it for streaming audio only playlists though.
mpv has a --no-video option and can leverage youtube-dl for downloading/streaming.