Instead in files, use rxJava Observer/Observable
KangoV opened this issue · 3 comments
This is a fantastic project, but if you could make the input and output use Reactive designs, then this would be cool.
@KangoV Thank you for feedback. Could you please provide few examples/use-cases when it will be useful/necessary?
One idea would be to have a remote conversion server. You could have parallel incoming and outgoing streams. Think "conversion as a service" kind of thing. Reactive streams offer some nice features such as the ability of the producer to not overwhelm a consumer and to process data in parallel. Quite a lot of possibilities.
I'm not sure that is possible to implement with avconv (it is a command line tool). avconv4java just provides a simple API to construct command line parameters.
Anyway, I'm open for pull requests. :)