LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-25-2007, 05:54 PM   #1
vondoom
LQ Newbie
 
Registered: Jan 2007
Posts: 2

Rep: Reputation: 0
Apache ogg files and music players


Hello everybody!

I have a apache server that runs the mythtvweb interface. On the server i have ogg files in a directory that is "linked" to the web site. When i click on one of the songs firefox presents me with the download file popup and i select what program i want the file to open in. The problem is that when i play songs this way the time bar (seek bar) dissapers on the music player and the remaining time of the song shows 0.
Is it possible to enable something in the apache config that would make the music player show the remaining time?

Is it because the music player streams the file from the server and thus don't know the total size of the file? I have tried to raise the prebuffer values in the music players so it would download the whole file before playing but nothing helps.

I have tried allot of players but none seems to handle this correctly.
xmms,vlc,audacious,mpd,mplayer.

OBS! I posted this on one of the mythtv forums.

Last edited by vondoom; 01-26-2007 at 02:25 PM.
 
Old 01-26-2007, 11:36 AM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
If you download the ogg file and then play it from your computer, does it display the time as expected?
 
Old 01-26-2007, 02:23 PM   #3
vondoom
LQ Newbie
 
Registered: Jan 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
If you download the ogg file and then play it from your computer, does it display the time as expected?
Yeah if i select "save to" in firefox and then open the file in my music player it will show the time remaining and i can use the seek bar.

Am i the only one experience this? If you have access to a apache webserver you can test it yourself. Just place an mp3 or ogg under /var/www/htdocs or whatever your webroot is then enter the URL in firefox or directly in xmms or some other music player.

Anyone know if you get the same result from IIS?

Just tried it with Windows Mediaplayer 9 and Illuminable's Ogg directshow filter, looks like wmp behaves as the other players.

Hmm looks like it's a music player feature, if i use xmplayer for windows then i can use the seek bar and see the remaining time of the song. Maybe xmplayer "cache" the song before playing it.

Last edited by vondoom; 01-26-2007 at 03:46 PM.
 
Old 01-26-2007, 03:52 PM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
It probably is a matter of not having the entire file at the time it starts. Just like streaming radio can't be fast-forwarded, neither can the streaming file.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
music players newbiesforever Linux - Software 1 01-13-2007 11:32 PM
any command line software for ogg concatenation but ogmcat.? Joining ogg files Emmanuel_uk Linux - Software 1 06-15-2006 09:52 AM
Music Players tauhshi Linux - Software 3 12-27-2005 02:42 AM
Compatiable portable linux MP3/OGG players nny0000 Linux - Hardware 4 02-09-2004 05:51 PM
Question about MP3 / OGG players jpbarto Linux - Software 3 07-01-2003 09:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:10 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