media
media copied to clipboard
Transformer.start() should support Uri or OutputStream
I need to be able to pass the result of DocumentFile.createFile() to Transformer.Start(). Either as a Uri from DocumentFile.getUri() or as an OutputStream from ContentResolver.openOutputStream().
This is important for large files (eg more than 10GB) as otherwise I have to write to a temp file (suppling it's filename to transformer.start) and then afterwards copy the contents of this into the above mentioned uri/outputsteam which sadly I can't even do with a File.renameTo. This causes twice the disk usage and a lot of extra time for the copy.
Thank you for the feature request. This is currently not supported but it is on our roadmap to add more flexibility to Transformer. You could check out issue #619 to get a few alternative ideas how you could solve it in the meantime, for example you could write a custom muxer.
Thank you for the feature request. This is currently not supported but it is on our roadmap to add more flexibility to Transformer. You could check out issue #619 to get a few alternative ideas how you could solve it in the meantime, for example you could write a custom muxer.
any idea on when you'll reach this item on your roadmap?
Probably sometime in H2 next year or later. Keep in mind, these dates are subject to change 🙂
nudge nudge
nudge nudge nudge
This is tentatively on the roadmap but I'm afraid it will likely still be a few months until we get round to this.