LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-11-2017, 02:26 AM   #1
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,657

Rep: Reputation: 255Reputation: 255Reputation: 255
Listening Supertuxkart music OGG with mplayer?


Hello,

I would like to listen using mplayer the OGGs, if possible, over an url.

Mplayer over url/stream:
Code:
mplayer "https://github.com/kdave/supertuxkart-classic/blob/master/data/music/OnTheRiver.ogg"
Here the list of files:
https://github.com/kdave/supertuxkar...ter/data/music

Maybe you would have an idea to do so?

Thanks
 
Old 03-11-2017, 03:13 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Code:
mplayer "https://github.com/kdave/supertuxkart-classic/blob/master/data/music/Boom_boom_boom.ogg?raw=true"
 
Old 03-11-2017, 04:27 AM   #3
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,657

Original Poster
Rep: Reputation: 255Reputation: 255Reputation: 255
Quote:
Originally Posted by ondoho View Post
Code:
mplayer "https://github.com/kdave/supertuxkart-classic/blob/master/data/music/Boom_boom_boom.ogg?raw=true"
it gives the following error unfortunately:
Code:
turokix@alienware18:~$ mplayer "https://github.com/kdave/supertuxkart-classic/blob/master/data/music/Boom_boom_boom.ogg?raw=true"
MPlayer2 2.0-728-g2c378c7-4+b1 (C) 2000-2012 MPlayer Team
Cannot open file '/nfsgroup/home/elionix/turokix/.mplayer/input.conf': No such file or directory
Failed to open /nfsgroup/home/elionix/turokix/.mplayer/input.conf.
Cannot open file '/etc/mplayer/input.conf': No such file or directory
Failed to open /etc/mplayer/input.conf.

Playing https://github.com/kdave/supertuxkart-classic/blob/master/data/music/Boom_boom_boom.ogg?raw=true.
No stream found to handle url https://github.com/kdave/supertuxkart-classic/blob/master/data/music/Boom_boom_boom.ogg?raw=true


Exiting... (End of file)
 
Old 03-11-2017, 01:21 PM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
problem on your side.
the relevant bit is "?raw=true".
for me, works for both mplayer and mpv.
qed.
 
Old 03-17-2017, 04:38 PM   #5
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,137
Blog Entries: 6

Rep: Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826
https://github.com/kdave/supertuxkar..._boom_boom.ogg

Change blob to raw in the url
Code:
mplayer https://github.com/kdave/supertuxkart-classic/raw/master/data/music/Boom_boom_boom.ogg
Code:
ffprobe https://github.com/kdave/supertuxkart-classic/raw/master/data/music/Lava.ogg
..........
Input #0, ogg, from 'https://github.com/kdave/supertuxkart-classic/raw/master/data/music/Lava.ogg':
  Duration: 00:02:24.07, start: 0.000000, bitrate: 161 kb/s
    Stream #0:0: Audio: vorbis, 44100 Hz, stereo, fltp, 160 kb/s
    Metadata:
      ALBUM           : Kalbermatter Sandro's Album
      TITLE           : 2011_03_07 Lava
      BPM             : 120.000000
      DATE            : 2011-03-10
      ARTIST          : Kalbermatter Sandro
      ITUNSMPB        :  00000000 00000210 00000930 000000000060E640 00000000 00000000
etc.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
help listening to music on fedora14? dwible Linux - Newbie 1 03-07-2011 03:52 PM
An ogg music player / compiling MPlayer in Slackware wilson47 Linux - Software 4 02-09-2009 04:26 PM
Listening to music = slow, freezes. RoaCh Of DisCor Linux - Newbie 5 03-04-2006 08:04 PM
listening to music on the net UGT001 Linux - Newbie 1 01-09-2005 07:05 PM
Best soundcard for listening to music/movies? nameLock Linux - Hardware 1 01-12-2004 06:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration