bravobit / FFmpeg-Android

FFMpeg/FFprobe compiled for Android
https://bravobit.nl/
MIT License
733 stars 172 forks source link

[Question] Convert from byte array to stream or other byte array. #136

Open isabsent opened 4 years ago

isabsent commented 4 years ago

Is it possible to convert input audio byte array to another byte array or stream without saving data to file in the middle by means of FFMPEG and how to do it if yes?

alexcohn commented 4 years ago

You can pipe the data to ffmpeg and get the output as a pipe, too. Or, to use ffmpeg as an in-process library, choose another project, e.g. https://github.com/tanersener/mobile-ffmpeg.

vivek599 commented 2 years ago

can you post the above command, it would be easier to understand, i need to use ffmpeg.exe to get input from byte* buffer and write to a pipe.

MUhammadasadnazar commented 2 years ago

hello , I want to convert array bytes but the file is not working any one can help me?