Hi all, Is there a way to stream or to seek in a mp3 file, from a lighty server? So you can make a flash mp3 player that seeks in very long mp3 files? Maybe its possible to alter the flv streaming module? Or to make a mp3 streaming module ,that works just like the flv streaming module? See this discussion: http://www.jeroenwijering.com/?thread=8945 Would be great! :-D greetz, Migz
on 03.05.2008 02:28
on 03.05.2008 15:07
migz wrote:
> Maybe its possible to alter the flv streaming module?
Why not do what has been suggested and use size-based seeks instead of
time-based seeks?
on 03.05.2008 17:52
Olaf van der Spek wrote: > Why not do what has been suggested and use size-based seeks instead of > time-based seeks? i'm not talking about time-based seeks. I know you can calculate the byte position (size based seeks) if you know the bitrate, filesize and duration. But...as far as i know, you can't seek to a position in the mp3 file wich has not been downloaded yet (progressive download). Just like with flv files. Works only if you can tell the server to return the file from a specific byte position. Like the flv streaming module does. Greetz!
on 03.05.2008 22:30
Migz wrote: > But...as far as i know, you can't seek to a position in the mp3 file > wich has not been downloaded yet (progressive download). Just like with In that case you don't know enough. ;) HTTP does support range requests.
on 04.05.2008 09:43
Migz wrote: > Olaf van der Spek wrote: > >> Why not do what has been suggested and use size-based seeks instead of >> time-based seeks? > > i'm not talking about time-based seeks. I know you can calculate the > byte position (size based seeks) if you know the bitrate, filesize and > duration. > > But...as far as i know, you can't seek to a position in the mp3 file > wich has not been downloaded yet (progressive download). Just like with > flv files. Works only if you can tell the server to return the file from > a specific byte position. Like the flv streaming module does. > > > Greetz! I have make a modify to mod_flv_streaming to support binary streaming, would you please to try it with /xspf_player_slim.swf?song_url=/some music.mp3?start=1043665 . you can get the modifyed file from: http://trac.lighttpd.net/trac/ticket/1657 greetz!
on 04.05.2008 15:35
Olaf van der Spek wrote: > In that case you don't know enough. ;) > HTTP does support range requests. Starting with Flash Player 9.0.115 Request-Range headers are blocked :( http://kb.adobe.com/selfservice/viewContent.do?externalId=kb403030 @ Rhinofly, thanks for your time :)! but first I need to compile the module right?
on 04.05.2008 15:37
Migz wrote: > Olaf van der Spek wrote: >> In that case you don't know enough. ;) >> HTTP does support range requests. > > > Starting with Flash Player 9.0.115 Request-Range headers are blocked :( > http://kb.adobe.com/selfservice/viewContent.do?externalId=kb403030 > > @ Rhinofly, thanks for your time :)! > but first I need to compile the module right? hmm maybe a server side script could make a http request range and give it back to flash...
on 06.05.2008 20:59
Great mod! Many thanx, this is really useful to us!

