kode54 / dumb

[Semi unmaintained] Dynamic Universal Music Bibliotheque - DUMB - Module/tracker based music format parser and player library -- Please consider using libopenmpt instead of this, it's considerably faster and produces similar or better rendering quality
Other
127 stars 26 forks source link

Accept stdin for dumbout? #23

Open TheBlackParrot opened 8 years ago

TheBlackParrot commented 8 years ago

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.

kode54 commented 8 years ago

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 commented 7 years ago

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.