Audio-only youtube player

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP












27















I would like to find an application external to the internet browser that would play only youtube sound.



Preferably a very light one, CLI or GUI.










share|improve this question



















  • 2





    What research have you done? What possibilities have you already considered? Doing research before you ask helps you ask a better question, and sharing your research helps everyone.

    – D.W.
    Sep 16 '15 at 0:43






  • 1





    @D.W. - I knew about youtube being played in external video players like VLC, SMPlayer, MPV, but not about any application that would do what I am asking above, and I didn't thought there is one, when I found about MPS-Youtube. Then, I thought it would be nice to create a question in order to provide this answer - also here. - Other answers and comments came with new suggestions.

    – cipricus
    Sep 16 '15 at 11:26











  • @cipricus: see also my answer to this question

    – eadmaster
    Jul 5 '16 at 15:27
















27















I would like to find an application external to the internet browser that would play only youtube sound.



Preferably a very light one, CLI or GUI.










share|improve this question



















  • 2





    What research have you done? What possibilities have you already considered? Doing research before you ask helps you ask a better question, and sharing your research helps everyone.

    – D.W.
    Sep 16 '15 at 0:43






  • 1





    @D.W. - I knew about youtube being played in external video players like VLC, SMPlayer, MPV, but not about any application that would do what I am asking above, and I didn't thought there is one, when I found about MPS-Youtube. Then, I thought it would be nice to create a question in order to provide this answer - also here. - Other answers and comments came with new suggestions.

    – cipricus
    Sep 16 '15 at 11:26











  • @cipricus: see also my answer to this question

    – eadmaster
    Jul 5 '16 at 15:27














27












27








27


17






I would like to find an application external to the internet browser that would play only youtube sound.



Preferably a very light one, CLI or GUI.










share|improve this question
















I would like to find an application external to the internet browser that would play only youtube sound.



Preferably a very light one, CLI or GUI.







audio youtube






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Sep 15 '15 at 22:27









Gilles

532k12810681594




532k12810681594










asked Sep 15 '15 at 11:32









cipricuscipricus

2,9351254138




2,9351254138







  • 2





    What research have you done? What possibilities have you already considered? Doing research before you ask helps you ask a better question, and sharing your research helps everyone.

    – D.W.
    Sep 16 '15 at 0:43






  • 1





    @D.W. - I knew about youtube being played in external video players like VLC, SMPlayer, MPV, but not about any application that would do what I am asking above, and I didn't thought there is one, when I found about MPS-Youtube. Then, I thought it would be nice to create a question in order to provide this answer - also here. - Other answers and comments came with new suggestions.

    – cipricus
    Sep 16 '15 at 11:26











  • @cipricus: see also my answer to this question

    – eadmaster
    Jul 5 '16 at 15:27













  • 2





    What research have you done? What possibilities have you already considered? Doing research before you ask helps you ask a better question, and sharing your research helps everyone.

    – D.W.
    Sep 16 '15 at 0:43






  • 1





    @D.W. - I knew about youtube being played in external video players like VLC, SMPlayer, MPV, but not about any application that would do what I am asking above, and I didn't thought there is one, when I found about MPS-Youtube. Then, I thought it would be nice to create a question in order to provide this answer - also here. - Other answers and comments came with new suggestions.

    – cipricus
    Sep 16 '15 at 11:26











  • @cipricus: see also my answer to this question

    – eadmaster
    Jul 5 '16 at 15:27








2




2





What research have you done? What possibilities have you already considered? Doing research before you ask helps you ask a better question, and sharing your research helps everyone.

– D.W.
Sep 16 '15 at 0:43





What research have you done? What possibilities have you already considered? Doing research before you ask helps you ask a better question, and sharing your research helps everyone.

– D.W.
Sep 16 '15 at 0:43




1




1





@D.W. - I knew about youtube being played in external video players like VLC, SMPlayer, MPV, but not about any application that would do what I am asking above, and I didn't thought there is one, when I found about MPS-Youtube. Then, I thought it would be nice to create a question in order to provide this answer - also here. - Other answers and comments came with new suggestions.

– cipricus
Sep 16 '15 at 11:26





@D.W. - I knew about youtube being played in external video players like VLC, SMPlayer, MPV, but not about any application that would do what I am asking above, and I didn't thought there is one, when I found about MPS-Youtube. Then, I thought it would be nice to create a question in order to provide this answer - also here. - Other answers and comments came with new suggestions.

– cipricus
Sep 16 '15 at 11:26













@cipricus: see also my answer to this question

– eadmaster
Jul 5 '16 at 15:27






@cipricus: see also my answer to this question

– eadmaster
Jul 5 '16 at 15:27











5 Answers
5






active

oldest

votes


















31














There is youtube-dl that lets you download youtube videos from the cli. There is also a new(ish) tool called mps-youtube, that I haven't personally used, but looks like it does exactly what you want.



https://github.com/mps-youtube/mps-youtube



Give it a try and let us know if it works




MPS is available in Ubuntu repos.



Launch the MPS console with



mpsyt


To search youtube in mps console:



/<your_search_term>


After searching a term, and then selecting a number, the stream will play sound; there are play/pause, seek, volume options:



enter image description here



To see options:



mpsyt h


enter image description here



More detailed options:



mpsyt help search


enter image description here



mpsyt help download


enter image description here



After searching and then selecting the number of the stream with a command that would show download options:



d <number>


enter image description here



Playlists can also be searched in the PLS console with



pls <search_term>


or even simpler



//<serch_term>





share|improve this answer

























  • I knew about mps and that gave me the idea to ask a question to find if there are others. if you don't mind I'll edit your answer on MPS to add more info because I've just used it and it's great

    – cipricus
    Sep 15 '15 at 11:44











  • Sure, please do so. As someone else has mentioned, there is also vlc, and I believe mplayer with some tricks can also be used.

    – Sharninder
    Sep 15 '15 at 11:49











  • vlc and other external players with an option for 'no video' are interesting too. But I think MPS is no 1 for now, being so specialized in what the question asks.

    – cipricus
    Sep 15 '15 at 12:12












  • I thought mpsyt would be sweet, but it seems there's some bugs to fix when it comes to its handling of things that run over 30mins, like symphonies or mixes. Cuts out partway through. Maybe something that could be mitigated through downloading the file and then listening to it through the interface it provides

    – Dmitri DB
    Oct 9 '16 at 21:40


















19














VLC can do that.



  • Use cvlc to turn off the GUI

  • Reject the video to just play the audio using --vout none or --no-video

Example:



cvlc --vout none <URL>
cvlc --no-video <URL>





share|improve this answer


















  • 2





    That can be used in Firefox with Openwith addon: add usr/bin/cvlc, edit argument to cvlc --vout none or cvlc --no-video, and edit name to something like 'VLC Audio'. Then, in the Firefox, right click on a youtube link, 'Open with': VLC Audio. To shut down pkill vlc. -- But even so the interaction with the playing track is very limited and the results are not as good as with the more specialized MPS.

    – cipricus
    Sep 15 '15 at 12:34











  • for mplayer, it would be mplayer -novideo

    – cipricus
    Sep 15 '15 at 13:05


















11














You can do this with yturl, for example, using mpv or mplayer:



mpv --no-video "$(yturl <url>)"
mplayer -novideo "$(yturl <url>)"


Disclaimer: I am the author of yturl.






share|improve this answer

























  • Would it be better then mpv --no-video <url>? I tested the latter and it starts after a minute or more

    – cipricus
    Sep 15 '15 at 13:28












  • @cipricus "Better" is subjective. I don't know why it would take a minute or more, but if it's network related, you can try using a lower bitrate, for example using mpv --no-video "$(yturl -q low <url>)".

    – Chris Down
    Sep 15 '15 at 13:30



















5














In order to select only the audio stream and send it to a player (video players like SMPlayer, VLC, mpv, mplayer, Dragon Player, Totem, but also audio players like Audacious):



  • SMTube

It is able search, list and play Youtube videos, and is meant to work with SMPlayer, but can be used separately. It has a setting to add/use different players and also an option to select only audio.



Go to settings



enter image description here



Then select and/or add players to be used, and edit their setting to play also audio (for video players) or only audio, for audio players like Audacious.



enter image description here



enter image description here



They can then be found when right-clicking a title and selecting 'Open audio'.



enter image description here





  • Kaku player.

Can be found as deb and other formats here. It supports more than Youtube (Baidu, Video etc) and has a setting to play only audio:



enter image description here



It can create and save playlists.





  • With the Flashgot addon in Firefox by adding the external player as Flashgot "downloader" (like here) and then, after starting the youtube video in Firefox, using Flashgot to play only the audio stream by going to 'Available formats/DASH (separate audio and video tracks)' and selecting the specific audio track.

flashgot-select-audio-track



It will start after a few seconds, some players after more than others. The fastest seems to be SMPlayer.



To use the 'no-video' arguments with the Firefox addons, the way to do it is like so for Flashgot:



enter image description here



and like so for OpenWith:



enter image description here



More on playing embedded videos in external players, in this superuser question.



Also, an idea is that using certain internet browsers (Seamonkey, Epiphany etc - but not Firefox and Chrome), an Youtube title could be dragged and dropped onto mpv or a mpv fron-tend to play Youtube videos.



For the present purpose those players should be started with a 'no video' argument.




Youtube-Viewer



(more here) can be adjusted to play only sound.



For *ubuntu:



sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install youtube-viewer


In spite of what is said at the link above, it works fine with mplayer.



Just like MPS from the other answer, it is meant to search, play and download youtube streams, only that by default it will play the video and not just the audio stream. It can use mplayer as external player.



The command for mplayer without video is



mplayer -novideo



To start Youtube Viewer with this option:



youtube-viewer --video-player=mplayer -novideo


That can be added in a .desktop file with the lines:



[Desktop Entry]
Name=Youtube Audio-only
Exec=bash -c 'youtube-viewer --video-player=mplayer -novideo'
Terminal=true
Type=Application
Icon=youtube-viewer


When started, just type the search and then the number of the track to play.



enter image description here



Closing the terminal will close the play.



(d <number> will download that video, by default as webm. And, of course, Youtube-Viewer is meant for seeing the youtube video too. For that, just use youtube-viewer --video-player=mplayer or youtube-viewer --video-player=mpv.)






share|improve this answer
































    1














    Headset app lets you play only the audio from YouTube. It has built in search functionality where you can search directly into YouTube. It also provides you an option to play songs from particular subreddit. But it opens a small window, which plays the lowest possible quality of video from YouTube.



    The application is opensource and available as a .deb file for Ubuntu and also for other platforms like Windows and Mac OS.



    enter image description here






    share|improve this answer

























    • As mentioned, this is not "audio only", as it keeps a small video window. But that separate window can be minimized, while the main window only shows an image. The memory use is low, even if it starts 4-5 different processes.

      – cipricus
      Jul 18 '17 at 13:55











    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "106"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f229787%2faudio-only-youtube-player%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    5 Answers
    5






    active

    oldest

    votes








    5 Answers
    5






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    31














    There is youtube-dl that lets you download youtube videos from the cli. There is also a new(ish) tool called mps-youtube, that I haven't personally used, but looks like it does exactly what you want.



    https://github.com/mps-youtube/mps-youtube



    Give it a try and let us know if it works




    MPS is available in Ubuntu repos.



    Launch the MPS console with



    mpsyt


    To search youtube in mps console:



    /<your_search_term>


    After searching a term, and then selecting a number, the stream will play sound; there are play/pause, seek, volume options:



    enter image description here



    To see options:



    mpsyt h


    enter image description here



    More detailed options:



    mpsyt help search


    enter image description here



    mpsyt help download


    enter image description here



    After searching and then selecting the number of the stream with a command that would show download options:



    d <number>


    enter image description here



    Playlists can also be searched in the PLS console with



    pls <search_term>


    or even simpler



    //<serch_term>





    share|improve this answer

























    • I knew about mps and that gave me the idea to ask a question to find if there are others. if you don't mind I'll edit your answer on MPS to add more info because I've just used it and it's great

      – cipricus
      Sep 15 '15 at 11:44











    • Sure, please do so. As someone else has mentioned, there is also vlc, and I believe mplayer with some tricks can also be used.

      – Sharninder
      Sep 15 '15 at 11:49











    • vlc and other external players with an option for 'no video' are interesting too. But I think MPS is no 1 for now, being so specialized in what the question asks.

      – cipricus
      Sep 15 '15 at 12:12












    • I thought mpsyt would be sweet, but it seems there's some bugs to fix when it comes to its handling of things that run over 30mins, like symphonies or mixes. Cuts out partway through. Maybe something that could be mitigated through downloading the file and then listening to it through the interface it provides

      – Dmitri DB
      Oct 9 '16 at 21:40















    31














    There is youtube-dl that lets you download youtube videos from the cli. There is also a new(ish) tool called mps-youtube, that I haven't personally used, but looks like it does exactly what you want.



    https://github.com/mps-youtube/mps-youtube



    Give it a try and let us know if it works




    MPS is available in Ubuntu repos.



    Launch the MPS console with



    mpsyt


    To search youtube in mps console:



    /<your_search_term>


    After searching a term, and then selecting a number, the stream will play sound; there are play/pause, seek, volume options:



    enter image description here



    To see options:



    mpsyt h


    enter image description here



    More detailed options:



    mpsyt help search


    enter image description here



    mpsyt help download


    enter image description here



    After searching and then selecting the number of the stream with a command that would show download options:



    d <number>


    enter image description here



    Playlists can also be searched in the PLS console with



    pls <search_term>


    or even simpler



    //<serch_term>





    share|improve this answer

























    • I knew about mps and that gave me the idea to ask a question to find if there are others. if you don't mind I'll edit your answer on MPS to add more info because I've just used it and it's great

      – cipricus
      Sep 15 '15 at 11:44











    • Sure, please do so. As someone else has mentioned, there is also vlc, and I believe mplayer with some tricks can also be used.

      – Sharninder
      Sep 15 '15 at 11:49











    • vlc and other external players with an option for 'no video' are interesting too. But I think MPS is no 1 for now, being so specialized in what the question asks.

      – cipricus
      Sep 15 '15 at 12:12












    • I thought mpsyt would be sweet, but it seems there's some bugs to fix when it comes to its handling of things that run over 30mins, like symphonies or mixes. Cuts out partway through. Maybe something that could be mitigated through downloading the file and then listening to it through the interface it provides

      – Dmitri DB
      Oct 9 '16 at 21:40













    31












    31








    31







    There is youtube-dl that lets you download youtube videos from the cli. There is also a new(ish) tool called mps-youtube, that I haven't personally used, but looks like it does exactly what you want.



    https://github.com/mps-youtube/mps-youtube



    Give it a try and let us know if it works




    MPS is available in Ubuntu repos.



    Launch the MPS console with



    mpsyt


    To search youtube in mps console:



    /<your_search_term>


    After searching a term, and then selecting a number, the stream will play sound; there are play/pause, seek, volume options:



    enter image description here



    To see options:



    mpsyt h


    enter image description here



    More detailed options:



    mpsyt help search


    enter image description here



    mpsyt help download


    enter image description here



    After searching and then selecting the number of the stream with a command that would show download options:



    d <number>


    enter image description here



    Playlists can also be searched in the PLS console with



    pls <search_term>


    or even simpler



    //<serch_term>





    share|improve this answer















    There is youtube-dl that lets you download youtube videos from the cli. There is also a new(ish) tool called mps-youtube, that I haven't personally used, but looks like it does exactly what you want.



    https://github.com/mps-youtube/mps-youtube



    Give it a try and let us know if it works




    MPS is available in Ubuntu repos.



    Launch the MPS console with



    mpsyt


    To search youtube in mps console:



    /<your_search_term>


    After searching a term, and then selecting a number, the stream will play sound; there are play/pause, seek, volume options:



    enter image description here



    To see options:



    mpsyt h


    enter image description here



    More detailed options:



    mpsyt help search


    enter image description here



    mpsyt help download


    enter image description here



    After searching and then selecting the number of the stream with a command that would show download options:



    d <number>


    enter image description here



    Playlists can also be searched in the PLS console with



    pls <search_term>


    or even simpler



    //<serch_term>






    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Jan 7 at 12:05









    cipricus

    2,9351254138




    2,9351254138










    answered Sep 15 '15 at 11:37









    SharninderSharninder

    52435




    52435












    • I knew about mps and that gave me the idea to ask a question to find if there are others. if you don't mind I'll edit your answer on MPS to add more info because I've just used it and it's great

      – cipricus
      Sep 15 '15 at 11:44











    • Sure, please do so. As someone else has mentioned, there is also vlc, and I believe mplayer with some tricks can also be used.

      – Sharninder
      Sep 15 '15 at 11:49











    • vlc and other external players with an option for 'no video' are interesting too. But I think MPS is no 1 for now, being so specialized in what the question asks.

      – cipricus
      Sep 15 '15 at 12:12












    • I thought mpsyt would be sweet, but it seems there's some bugs to fix when it comes to its handling of things that run over 30mins, like symphonies or mixes. Cuts out partway through. Maybe something that could be mitigated through downloading the file and then listening to it through the interface it provides

      – Dmitri DB
      Oct 9 '16 at 21:40

















    • I knew about mps and that gave me the idea to ask a question to find if there are others. if you don't mind I'll edit your answer on MPS to add more info because I've just used it and it's great

      – cipricus
      Sep 15 '15 at 11:44











    • Sure, please do so. As someone else has mentioned, there is also vlc, and I believe mplayer with some tricks can also be used.

      – Sharninder
      Sep 15 '15 at 11:49











    • vlc and other external players with an option for 'no video' are interesting too. But I think MPS is no 1 for now, being so specialized in what the question asks.

      – cipricus
      Sep 15 '15 at 12:12












    • I thought mpsyt would be sweet, but it seems there's some bugs to fix when it comes to its handling of things that run over 30mins, like symphonies or mixes. Cuts out partway through. Maybe something that could be mitigated through downloading the file and then listening to it through the interface it provides

      – Dmitri DB
      Oct 9 '16 at 21:40
















    I knew about mps and that gave me the idea to ask a question to find if there are others. if you don't mind I'll edit your answer on MPS to add more info because I've just used it and it's great

    – cipricus
    Sep 15 '15 at 11:44





    I knew about mps and that gave me the idea to ask a question to find if there are others. if you don't mind I'll edit your answer on MPS to add more info because I've just used it and it's great

    – cipricus
    Sep 15 '15 at 11:44













    Sure, please do so. As someone else has mentioned, there is also vlc, and I believe mplayer with some tricks can also be used.

    – Sharninder
    Sep 15 '15 at 11:49





    Sure, please do so. As someone else has mentioned, there is also vlc, and I believe mplayer with some tricks can also be used.

    – Sharninder
    Sep 15 '15 at 11:49













    vlc and other external players with an option for 'no video' are interesting too. But I think MPS is no 1 for now, being so specialized in what the question asks.

    – cipricus
    Sep 15 '15 at 12:12






    vlc and other external players with an option for 'no video' are interesting too. But I think MPS is no 1 for now, being so specialized in what the question asks.

    – cipricus
    Sep 15 '15 at 12:12














    I thought mpsyt would be sweet, but it seems there's some bugs to fix when it comes to its handling of things that run over 30mins, like symphonies or mixes. Cuts out partway through. Maybe something that could be mitigated through downloading the file and then listening to it through the interface it provides

    – Dmitri DB
    Oct 9 '16 at 21:40





    I thought mpsyt would be sweet, but it seems there's some bugs to fix when it comes to its handling of things that run over 30mins, like symphonies or mixes. Cuts out partway through. Maybe something that could be mitigated through downloading the file and then listening to it through the interface it provides

    – Dmitri DB
    Oct 9 '16 at 21:40













    19














    VLC can do that.



    • Use cvlc to turn off the GUI

    • Reject the video to just play the audio using --vout none or --no-video

    Example:



    cvlc --vout none <URL>
    cvlc --no-video <URL>





    share|improve this answer


















    • 2





      That can be used in Firefox with Openwith addon: add usr/bin/cvlc, edit argument to cvlc --vout none or cvlc --no-video, and edit name to something like 'VLC Audio'. Then, in the Firefox, right click on a youtube link, 'Open with': VLC Audio. To shut down pkill vlc. -- But even so the interaction with the playing track is very limited and the results are not as good as with the more specialized MPS.

      – cipricus
      Sep 15 '15 at 12:34











    • for mplayer, it would be mplayer -novideo

      – cipricus
      Sep 15 '15 at 13:05















    19














    VLC can do that.



    • Use cvlc to turn off the GUI

    • Reject the video to just play the audio using --vout none or --no-video

    Example:



    cvlc --vout none <URL>
    cvlc --no-video <URL>





    share|improve this answer


















    • 2





      That can be used in Firefox with Openwith addon: add usr/bin/cvlc, edit argument to cvlc --vout none or cvlc --no-video, and edit name to something like 'VLC Audio'. Then, in the Firefox, right click on a youtube link, 'Open with': VLC Audio. To shut down pkill vlc. -- But even so the interaction with the playing track is very limited and the results are not as good as with the more specialized MPS.

      – cipricus
      Sep 15 '15 at 12:34











    • for mplayer, it would be mplayer -novideo

      – cipricus
      Sep 15 '15 at 13:05













    19












    19








    19







    VLC can do that.



    • Use cvlc to turn off the GUI

    • Reject the video to just play the audio using --vout none or --no-video

    Example:



    cvlc --vout none <URL>
    cvlc --no-video <URL>





    share|improve this answer













    VLC can do that.



    • Use cvlc to turn off the GUI

    • Reject the video to just play the audio using --vout none or --no-video

    Example:



    cvlc --vout none <URL>
    cvlc --no-video <URL>






    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Sep 15 '15 at 11:37









    MarcoMarco

    25.2k783117




    25.2k783117







    • 2





      That can be used in Firefox with Openwith addon: add usr/bin/cvlc, edit argument to cvlc --vout none or cvlc --no-video, and edit name to something like 'VLC Audio'. Then, in the Firefox, right click on a youtube link, 'Open with': VLC Audio. To shut down pkill vlc. -- But even so the interaction with the playing track is very limited and the results are not as good as with the more specialized MPS.

      – cipricus
      Sep 15 '15 at 12:34











    • for mplayer, it would be mplayer -novideo

      – cipricus
      Sep 15 '15 at 13:05












    • 2





      That can be used in Firefox with Openwith addon: add usr/bin/cvlc, edit argument to cvlc --vout none or cvlc --no-video, and edit name to something like 'VLC Audio'. Then, in the Firefox, right click on a youtube link, 'Open with': VLC Audio. To shut down pkill vlc. -- But even so the interaction with the playing track is very limited and the results are not as good as with the more specialized MPS.

      – cipricus
      Sep 15 '15 at 12:34











    • for mplayer, it would be mplayer -novideo

      – cipricus
      Sep 15 '15 at 13:05







    2




    2





    That can be used in Firefox with Openwith addon: add usr/bin/cvlc, edit argument to cvlc --vout none or cvlc --no-video, and edit name to something like 'VLC Audio'. Then, in the Firefox, right click on a youtube link, 'Open with': VLC Audio. To shut down pkill vlc. -- But even so the interaction with the playing track is very limited and the results are not as good as with the more specialized MPS.

    – cipricus
    Sep 15 '15 at 12:34





    That can be used in Firefox with Openwith addon: add usr/bin/cvlc, edit argument to cvlc --vout none or cvlc --no-video, and edit name to something like 'VLC Audio'. Then, in the Firefox, right click on a youtube link, 'Open with': VLC Audio. To shut down pkill vlc. -- But even so the interaction with the playing track is very limited and the results are not as good as with the more specialized MPS.

    – cipricus
    Sep 15 '15 at 12:34













    for mplayer, it would be mplayer -novideo

    – cipricus
    Sep 15 '15 at 13:05





    for mplayer, it would be mplayer -novideo

    – cipricus
    Sep 15 '15 at 13:05











    11














    You can do this with yturl, for example, using mpv or mplayer:



    mpv --no-video "$(yturl <url>)"
    mplayer -novideo "$(yturl <url>)"


    Disclaimer: I am the author of yturl.






    share|improve this answer

























    • Would it be better then mpv --no-video <url>? I tested the latter and it starts after a minute or more

      – cipricus
      Sep 15 '15 at 13:28












    • @cipricus "Better" is subjective. I don't know why it would take a minute or more, but if it's network related, you can try using a lower bitrate, for example using mpv --no-video "$(yturl -q low <url>)".

      – Chris Down
      Sep 15 '15 at 13:30
















    11














    You can do this with yturl, for example, using mpv or mplayer:



    mpv --no-video "$(yturl <url>)"
    mplayer -novideo "$(yturl <url>)"


    Disclaimer: I am the author of yturl.






    share|improve this answer

























    • Would it be better then mpv --no-video <url>? I tested the latter and it starts after a minute or more

      – cipricus
      Sep 15 '15 at 13:28












    • @cipricus "Better" is subjective. I don't know why it would take a minute or more, but if it's network related, you can try using a lower bitrate, for example using mpv --no-video "$(yturl -q low <url>)".

      – Chris Down
      Sep 15 '15 at 13:30














    11












    11








    11







    You can do this with yturl, for example, using mpv or mplayer:



    mpv --no-video "$(yturl <url>)"
    mplayer -novideo "$(yturl <url>)"


    Disclaimer: I am the author of yturl.






    share|improve this answer















    You can do this with yturl, for example, using mpv or mplayer:



    mpv --no-video "$(yturl <url>)"
    mplayer -novideo "$(yturl <url>)"


    Disclaimer: I am the author of yturl.







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Sep 15 '15 at 13:28

























    answered Sep 15 '15 at 13:27









    Chris DownChris Down

    79.7k14188202




    79.7k14188202












    • Would it be better then mpv --no-video <url>? I tested the latter and it starts after a minute or more

      – cipricus
      Sep 15 '15 at 13:28












    • @cipricus "Better" is subjective. I don't know why it would take a minute or more, but if it's network related, you can try using a lower bitrate, for example using mpv --no-video "$(yturl -q low <url>)".

      – Chris Down
      Sep 15 '15 at 13:30


















    • Would it be better then mpv --no-video <url>? I tested the latter and it starts after a minute or more

      – cipricus
      Sep 15 '15 at 13:28












    • @cipricus "Better" is subjective. I don't know why it would take a minute or more, but if it's network related, you can try using a lower bitrate, for example using mpv --no-video "$(yturl -q low <url>)".

      – Chris Down
      Sep 15 '15 at 13:30

















    Would it be better then mpv --no-video <url>? I tested the latter and it starts after a minute or more

    – cipricus
    Sep 15 '15 at 13:28






    Would it be better then mpv --no-video <url>? I tested the latter and it starts after a minute or more

    – cipricus
    Sep 15 '15 at 13:28














    @cipricus "Better" is subjective. I don't know why it would take a minute or more, but if it's network related, you can try using a lower bitrate, for example using mpv --no-video "$(yturl -q low <url>)".

    – Chris Down
    Sep 15 '15 at 13:30






    @cipricus "Better" is subjective. I don't know why it would take a minute or more, but if it's network related, you can try using a lower bitrate, for example using mpv --no-video "$(yturl -q low <url>)".

    – Chris Down
    Sep 15 '15 at 13:30












    5














    In order to select only the audio stream and send it to a player (video players like SMPlayer, VLC, mpv, mplayer, Dragon Player, Totem, but also audio players like Audacious):



    • SMTube

    It is able search, list and play Youtube videos, and is meant to work with SMPlayer, but can be used separately. It has a setting to add/use different players and also an option to select only audio.



    Go to settings



    enter image description here



    Then select and/or add players to be used, and edit their setting to play also audio (for video players) or only audio, for audio players like Audacious.



    enter image description here



    enter image description here



    They can then be found when right-clicking a title and selecting 'Open audio'.



    enter image description here





    • Kaku player.

    Can be found as deb and other formats here. It supports more than Youtube (Baidu, Video etc) and has a setting to play only audio:



    enter image description here



    It can create and save playlists.





    • With the Flashgot addon in Firefox by adding the external player as Flashgot "downloader" (like here) and then, after starting the youtube video in Firefox, using Flashgot to play only the audio stream by going to 'Available formats/DASH (separate audio and video tracks)' and selecting the specific audio track.

    flashgot-select-audio-track



    It will start after a few seconds, some players after more than others. The fastest seems to be SMPlayer.



    To use the 'no-video' arguments with the Firefox addons, the way to do it is like so for Flashgot:



    enter image description here



    and like so for OpenWith:



    enter image description here



    More on playing embedded videos in external players, in this superuser question.



    Also, an idea is that using certain internet browsers (Seamonkey, Epiphany etc - but not Firefox and Chrome), an Youtube title could be dragged and dropped onto mpv or a mpv fron-tend to play Youtube videos.



    For the present purpose those players should be started with a 'no video' argument.




    Youtube-Viewer



    (more here) can be adjusted to play only sound.



    For *ubuntu:



    sudo add-apt-repository ppa:nilarimogard/webupd8
    sudo apt-get update
    sudo apt-get install youtube-viewer


    In spite of what is said at the link above, it works fine with mplayer.



    Just like MPS from the other answer, it is meant to search, play and download youtube streams, only that by default it will play the video and not just the audio stream. It can use mplayer as external player.



    The command for mplayer without video is



    mplayer -novideo



    To start Youtube Viewer with this option:



    youtube-viewer --video-player=mplayer -novideo


    That can be added in a .desktop file with the lines:



    [Desktop Entry]
    Name=Youtube Audio-only
    Exec=bash -c 'youtube-viewer --video-player=mplayer -novideo'
    Terminal=true
    Type=Application
    Icon=youtube-viewer


    When started, just type the search and then the number of the track to play.



    enter image description here



    Closing the terminal will close the play.



    (d <number> will download that video, by default as webm. And, of course, Youtube-Viewer is meant for seeing the youtube video too. For that, just use youtube-viewer --video-player=mplayer or youtube-viewer --video-player=mpv.)






    share|improve this answer





























      5














      In order to select only the audio stream and send it to a player (video players like SMPlayer, VLC, mpv, mplayer, Dragon Player, Totem, but also audio players like Audacious):



      • SMTube

      It is able search, list and play Youtube videos, and is meant to work with SMPlayer, but can be used separately. It has a setting to add/use different players and also an option to select only audio.



      Go to settings



      enter image description here



      Then select and/or add players to be used, and edit their setting to play also audio (for video players) or only audio, for audio players like Audacious.



      enter image description here



      enter image description here



      They can then be found when right-clicking a title and selecting 'Open audio'.



      enter image description here





      • Kaku player.

      Can be found as deb and other formats here. It supports more than Youtube (Baidu, Video etc) and has a setting to play only audio:



      enter image description here



      It can create and save playlists.





      • With the Flashgot addon in Firefox by adding the external player as Flashgot "downloader" (like here) and then, after starting the youtube video in Firefox, using Flashgot to play only the audio stream by going to 'Available formats/DASH (separate audio and video tracks)' and selecting the specific audio track.

      flashgot-select-audio-track



      It will start after a few seconds, some players after more than others. The fastest seems to be SMPlayer.



      To use the 'no-video' arguments with the Firefox addons, the way to do it is like so for Flashgot:



      enter image description here



      and like so for OpenWith:



      enter image description here



      More on playing embedded videos in external players, in this superuser question.



      Also, an idea is that using certain internet browsers (Seamonkey, Epiphany etc - but not Firefox and Chrome), an Youtube title could be dragged and dropped onto mpv or a mpv fron-tend to play Youtube videos.



      For the present purpose those players should be started with a 'no video' argument.




      Youtube-Viewer



      (more here) can be adjusted to play only sound.



      For *ubuntu:



      sudo add-apt-repository ppa:nilarimogard/webupd8
      sudo apt-get update
      sudo apt-get install youtube-viewer


      In spite of what is said at the link above, it works fine with mplayer.



      Just like MPS from the other answer, it is meant to search, play and download youtube streams, only that by default it will play the video and not just the audio stream. It can use mplayer as external player.



      The command for mplayer without video is



      mplayer -novideo



      To start Youtube Viewer with this option:



      youtube-viewer --video-player=mplayer -novideo


      That can be added in a .desktop file with the lines:



      [Desktop Entry]
      Name=Youtube Audio-only
      Exec=bash -c 'youtube-viewer --video-player=mplayer -novideo'
      Terminal=true
      Type=Application
      Icon=youtube-viewer


      When started, just type the search and then the number of the track to play.



      enter image description here



      Closing the terminal will close the play.



      (d <number> will download that video, by default as webm. And, of course, Youtube-Viewer is meant for seeing the youtube video too. For that, just use youtube-viewer --video-player=mplayer or youtube-viewer --video-player=mpv.)






      share|improve this answer



























        5












        5








        5







        In order to select only the audio stream and send it to a player (video players like SMPlayer, VLC, mpv, mplayer, Dragon Player, Totem, but also audio players like Audacious):



        • SMTube

        It is able search, list and play Youtube videos, and is meant to work with SMPlayer, but can be used separately. It has a setting to add/use different players and also an option to select only audio.



        Go to settings



        enter image description here



        Then select and/or add players to be used, and edit their setting to play also audio (for video players) or only audio, for audio players like Audacious.



        enter image description here



        enter image description here



        They can then be found when right-clicking a title and selecting 'Open audio'.



        enter image description here





        • Kaku player.

        Can be found as deb and other formats here. It supports more than Youtube (Baidu, Video etc) and has a setting to play only audio:



        enter image description here



        It can create and save playlists.





        • With the Flashgot addon in Firefox by adding the external player as Flashgot "downloader" (like here) and then, after starting the youtube video in Firefox, using Flashgot to play only the audio stream by going to 'Available formats/DASH (separate audio and video tracks)' and selecting the specific audio track.

        flashgot-select-audio-track



        It will start after a few seconds, some players after more than others. The fastest seems to be SMPlayer.



        To use the 'no-video' arguments with the Firefox addons, the way to do it is like so for Flashgot:



        enter image description here



        and like so for OpenWith:



        enter image description here



        More on playing embedded videos in external players, in this superuser question.



        Also, an idea is that using certain internet browsers (Seamonkey, Epiphany etc - but not Firefox and Chrome), an Youtube title could be dragged and dropped onto mpv or a mpv fron-tend to play Youtube videos.



        For the present purpose those players should be started with a 'no video' argument.




        Youtube-Viewer



        (more here) can be adjusted to play only sound.



        For *ubuntu:



        sudo add-apt-repository ppa:nilarimogard/webupd8
        sudo apt-get update
        sudo apt-get install youtube-viewer


        In spite of what is said at the link above, it works fine with mplayer.



        Just like MPS from the other answer, it is meant to search, play and download youtube streams, only that by default it will play the video and not just the audio stream. It can use mplayer as external player.



        The command for mplayer without video is



        mplayer -novideo



        To start Youtube Viewer with this option:



        youtube-viewer --video-player=mplayer -novideo


        That can be added in a .desktop file with the lines:



        [Desktop Entry]
        Name=Youtube Audio-only
        Exec=bash -c 'youtube-viewer --video-player=mplayer -novideo'
        Terminal=true
        Type=Application
        Icon=youtube-viewer


        When started, just type the search and then the number of the track to play.



        enter image description here



        Closing the terminal will close the play.



        (d <number> will download that video, by default as webm. And, of course, Youtube-Viewer is meant for seeing the youtube video too. For that, just use youtube-viewer --video-player=mplayer or youtube-viewer --video-player=mpv.)






        share|improve this answer















        In order to select only the audio stream and send it to a player (video players like SMPlayer, VLC, mpv, mplayer, Dragon Player, Totem, but also audio players like Audacious):



        • SMTube

        It is able search, list and play Youtube videos, and is meant to work with SMPlayer, but can be used separately. It has a setting to add/use different players and also an option to select only audio.



        Go to settings



        enter image description here



        Then select and/or add players to be used, and edit their setting to play also audio (for video players) or only audio, for audio players like Audacious.



        enter image description here



        enter image description here



        They can then be found when right-clicking a title and selecting 'Open audio'.



        enter image description here





        • Kaku player.

        Can be found as deb and other formats here. It supports more than Youtube (Baidu, Video etc) and has a setting to play only audio:



        enter image description here



        It can create and save playlists.





        • With the Flashgot addon in Firefox by adding the external player as Flashgot "downloader" (like here) and then, after starting the youtube video in Firefox, using Flashgot to play only the audio stream by going to 'Available formats/DASH (separate audio and video tracks)' and selecting the specific audio track.

        flashgot-select-audio-track



        It will start after a few seconds, some players after more than others. The fastest seems to be SMPlayer.



        To use the 'no-video' arguments with the Firefox addons, the way to do it is like so for Flashgot:



        enter image description here



        and like so for OpenWith:



        enter image description here



        More on playing embedded videos in external players, in this superuser question.



        Also, an idea is that using certain internet browsers (Seamonkey, Epiphany etc - but not Firefox and Chrome), an Youtube title could be dragged and dropped onto mpv or a mpv fron-tend to play Youtube videos.



        For the present purpose those players should be started with a 'no video' argument.




        Youtube-Viewer



        (more here) can be adjusted to play only sound.



        For *ubuntu:



        sudo add-apt-repository ppa:nilarimogard/webupd8
        sudo apt-get update
        sudo apt-get install youtube-viewer


        In spite of what is said at the link above, it works fine with mplayer.



        Just like MPS from the other answer, it is meant to search, play and download youtube streams, only that by default it will play the video and not just the audio stream. It can use mplayer as external player.



        The command for mplayer without video is



        mplayer -novideo



        To start Youtube Viewer with this option:



        youtube-viewer --video-player=mplayer -novideo


        That can be added in a .desktop file with the lines:



        [Desktop Entry]
        Name=Youtube Audio-only
        Exec=bash -c 'youtube-viewer --video-player=mplayer -novideo'
        Terminal=true
        Type=Application
        Icon=youtube-viewer


        When started, just type the search and then the number of the track to play.



        enter image description here



        Closing the terminal will close the play.



        (d <number> will download that video, by default as webm. And, of course, Youtube-Viewer is meant for seeing the youtube video too. For that, just use youtube-viewer --video-player=mplayer or youtube-viewer --video-player=mpv.)







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Jun 29 '17 at 11:34

























        answered Sep 15 '15 at 13:21









        cipricuscipricus

        2,9351254138




        2,9351254138





















            1














            Headset app lets you play only the audio from YouTube. It has built in search functionality where you can search directly into YouTube. It also provides you an option to play songs from particular subreddit. But it opens a small window, which plays the lowest possible quality of video from YouTube.



            The application is opensource and available as a .deb file for Ubuntu and also for other platforms like Windows and Mac OS.



            enter image description here






            share|improve this answer

























            • As mentioned, this is not "audio only", as it keeps a small video window. But that separate window can be minimized, while the main window only shows an image. The memory use is low, even if it starts 4-5 different processes.

              – cipricus
              Jul 18 '17 at 13:55
















            1














            Headset app lets you play only the audio from YouTube. It has built in search functionality where you can search directly into YouTube. It also provides you an option to play songs from particular subreddit. But it opens a small window, which plays the lowest possible quality of video from YouTube.



            The application is opensource and available as a .deb file for Ubuntu and also for other platforms like Windows and Mac OS.



            enter image description here






            share|improve this answer

























            • As mentioned, this is not "audio only", as it keeps a small video window. But that separate window can be minimized, while the main window only shows an image. The memory use is low, even if it starts 4-5 different processes.

              – cipricus
              Jul 18 '17 at 13:55














            1












            1








            1







            Headset app lets you play only the audio from YouTube. It has built in search functionality where you can search directly into YouTube. It also provides you an option to play songs from particular subreddit. But it opens a small window, which plays the lowest possible quality of video from YouTube.



            The application is opensource and available as a .deb file for Ubuntu and also for other platforms like Windows and Mac OS.



            enter image description here






            share|improve this answer















            Headset app lets you play only the audio from YouTube. It has built in search functionality where you can search directly into YouTube. It also provides you an option to play songs from particular subreddit. But it opens a small window, which plays the lowest possible quality of video from YouTube.



            The application is opensource and available as a .deb file for Ubuntu and also for other platforms like Windows and Mac OS.



            enter image description here







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Jul 18 '17 at 14:03









            cipricus

            2,9351254138




            2,9351254138










            answered Jul 14 '17 at 17:40









            BarathVutukuriBarathVutukuri

            1112




            1112












            • As mentioned, this is not "audio only", as it keeps a small video window. But that separate window can be minimized, while the main window only shows an image. The memory use is low, even if it starts 4-5 different processes.

              – cipricus
              Jul 18 '17 at 13:55


















            • As mentioned, this is not "audio only", as it keeps a small video window. But that separate window can be minimized, while the main window only shows an image. The memory use is low, even if it starts 4-5 different processes.

              – cipricus
              Jul 18 '17 at 13:55

















            As mentioned, this is not "audio only", as it keeps a small video window. But that separate window can be minimized, while the main window only shows an image. The memory use is low, even if it starts 4-5 different processes.

            – cipricus
            Jul 18 '17 at 13:55






            As mentioned, this is not "audio only", as it keeps a small video window. But that separate window can be minimized, while the main window only shows an image. The memory use is low, even if it starts 4-5 different processes.

            – cipricus
            Jul 18 '17 at 13:55


















            draft saved

            draft discarded
















































            Thanks for contributing an answer to Unix & Linux Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f229787%2faudio-only-youtube-player%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown






            Popular posts from this blog

            How to check contact read email or not when send email to Individual?

            Displaying single band from multi-band raster using QGIS

            How many registers does an x86_64 CPU actually have?