Command line media player to make a front-end ?
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Debian support > Linux Debian support > Command line media player to make a front-end ?




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Command line media player to make a front-end ?  
François Fleuret


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-07-04 07:45 AM

Hi people,

I am writing a front-end to listen to my music files and streaming
radios from emacs. For a long time I have been using mpg321 as a media
player, but it is not able to cope with ogg vorbis files or streaming
radio. Thus, I tried 'vlc --intf rc' and 'mplayer -slave'.

Neither of those two do what I am looking for. I won't go into details
but basically their pipe interfaces are missing trivial function (for
instance vlc does not report when a song terminates, nor it give a
precise account about the stream position. mplayer dies when the song
is over and does not provides feedback about the volume, etc.)

Any advice ? Except hacking those two to make a decent pipe interface
?

Cheers,

--
François Fleuret





[ Post a follow-up to this message ]



    Re: Command line media player to make a front-end ?  
Madhusudan Singh


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-07-04 04:17 PM

François Fleuret wrote:

> Hi people,
>
> I am writing a front-end to listen to my music files and streaming
> radios from emacs. For a long time I have been using mpg321 as a media
> player, but it is not able to cope with ogg vorbis files or streaming
> radio. Thus, I tried 'vlc --intf rc' and 'mplayer -slave'.
>
> Neither of those two do what I am looking for. I won't go into details
> but basically their pipe interfaces are missing trivial function (for
> instance vlc does not report when a song terminates, nor it give a
> precise account about the stream position. mplayer dies when the song
> is over and does not provides feedback about the volume, etc.)
>
> Any advice ? Except hacking those two to make a decent pipe interface
> ?
>
> Cheers,
>

Though I have written pipe interfaces in fortran/C, I am no expert on this.
But would it not it be possible to use many different tools to do this ?

Like vsound for streaming media, and things like play, sox (if you need to
do some conversion), etc for different tasks. I know this will entail
opening multiple pipes, but its a thought.





[ Post a follow-up to this message ]



    Re: Command line media player to make a front-end ?  
Neil Woods


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-08-04 10:45 PM

On Thu, Oct 07 2004, François Fleuret wrote:
> Hi people,
>
> I am writing a front-end to listen to my music files and streaming
> radios from emacs. For a long time I have been using mpg321 as a media
> player, but it is not able to cope with ogg vorbis files or streaming
> radio. Thus, I tried 'vlc --intf rc' and 'mplayer -slave'.
>
> Neither of those two do what I am looking for. I won't go into details
> but basically their pipe interfaces are missing trivial function (for
> instance vlc does not report when a song terminates, nor it give a
> precise account about the stream position. mplayer dies when the song
> is over and does not provides feedback about the volume, etc.)
>
> Any advice ? Except hacking those two to make a decent pipe interface
> ?

You might want to take a look at EMMS, the Emacs Multi-Media System.  It
will play multimedia files from within Emacs, using external players.

Neil





[ Post a follow-up to this message ]



    Re: Command line media player to make a front-end ?  
spamite@delbert.dcp


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-11-04 01:45 AM

On 2004-10-07, François Fleuret <francois.fleuret@REMOVEIFYOUDONTSPAMepfl.ch
> wrote:

> Any advice ? Except hacking those two to make a decent pipe interface
> ?

Hello,

I'm presently using MPD for this type of task.  It can be found at http://musicpd.
org/  It plays MP3s, OGGs, AACs(MP4), FLACs, and module formats, if you have
 those.  It doesn't quite pick up all the useful info (it grabs most but not
 all tag info.)  and
it has several available front-ends.





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 12:23 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register