dumb icon indicating copy to clipboard operation
dumb copied to clipboard

Accept stdin for dumbout?

Open TheBlackParrot opened this issue 8 years ago • 2 comments

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.

TheBlackParrot avatar Jan 31 '16 07:01 TheBlackParrot

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.

kode54 avatar Jan 31 '16 07:01 kode54

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.

kode54 avatar Sep 14 '17 06:09 kode54