dumb
dumb copied to clipboard
Accept stdin for dumbout?
I was trying to add tracker module support to an internet music streamer project of mine, and found out that dumbout can't accept stdin or a URL as input.
I'm using libmodplug with ffmpeg for the time being and I'd really like to use DUMB instead.
It can't use stdin without completely buffering the file first, and it can't use URLs because it doesn't import a network access library. Maybe convince FFMPEG to adopt my library as an option? Also convince them to switch from libmodplug to libopenmpt while you're at it.
Update: I may do gradually buffering stdin support, just to make this work. It would need a realloc buffer that grows as the file is read, and supports seeking backwards, since I added seeking support. Nothing terribly difficult.