Trying to get into the details seems to be a religious issue -- nearly everybody is convinced that every style but their own is ugly and unreadable. Leave out the 'but their own' and they're probably right...
[client] makes request to [web server]
[web server] runs [filter program]
[filter program] takes [file.flv] and starts extractiju JUST the audio stream and returns data to [web server]
[web server] sends data back to [client]
This program may seem tricky to write but is pretty straight forward! It could be even an ffmpeg (output file specified as stdout)!
You may trade computation, however, for space, i.e., extract mp3's out of .flv's as I explained in my article and then just serve the mp3's!
I am being sponsored by Syntress! They bought me an amazing dedicated server to run catonmat on. If you're looking web services, I highly recommend the Syntress guys!
Education Sponsors
I am being sponsored by A-Writer! If you ever need help with essay writing, look no further than A-Writer! They will help you with your writing in as quickly as 3 hours!
Hi Matthew. I answered your question via email, but I'll also copy the answer here:
Sure, it's possible. Except it's computationally expensive. The solution is to use some kind of a filter that stands before .flv and your web server.
[file.flv] <-> [filter program] <-> [web server] <-> [client]
[client] makes request to [web server]
[web server] runs [filter program]
[filter program] takes [file.flv] and starts extractiju JUST the audio stream and returns data to [web server]
[web server] sends data back to [client]
This program may seem tricky to write but is pretty straight forward! It could be even an ffmpeg (output file specified as stdout)!
You may trade computation, however, for space, i.e., extract mp3's out of .flv's as I explained in my article and then just serve the mp3's!
Reply To This Comment