On Thu, 2 May 2002, Reza Naima wrote:
I basically have two buffers, one with raw MP3 data, and one where I need to write the post-processed data in empeg-friendly format. Any suggestions for a good reference? Should I go the low-level or high-level route?
I opted for this:
/sbin/rtpdump 224.0.1.2 5004 | /sbin/madplay - 2>&1 | /sbin/udpcat 10.0.1.188
which I'd call decidedly "high-level" :) (udpcat is just a debugging tool I wrote to dump stdout across the network to a listening netcat process)
Anyway, being one to do things "quick and dirty", I'd feed madplay a named pipe on one end, nice it up high so that it wouldn't drop frames, and then run the UI and what-not in another process. At least, that's basically what I'm planning to do in -my- rewrite of the Rio Receiver firmware :)