|
Home > Archive > Linux Debian support > October 2004 > Command line media player to make a front-end ?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Command line media player to make a front-end ?
|
|
| François Fleuret 2004-10-07, 2: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
| |
| Madhusudan Singh 2004-10-07, 11:17 am |
| 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.
| |
| Neil Woods 2004-10-08, 5: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
| |
| spamite@delbert.dcp 2004-10-10, 8:45 pm |
| 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.
|
|
|
|
|