I'm using ffmpeg-mobile to convert compressed audio files (mp3, ogg, ...) to (originally) a PCM file. I then read that in. It works fine, but as normal with ffmpeg goes through an intermediate file.
Now, I tried to use piping to get rid of that file. I registered a named pipe with Config.registerNewFFmpegPipe and changed the command passed to executeAsync to end with "> " + namedPipe
As a result, I get an exit code 1 from ffmpeg, and the last line after all the statistics for the file in logcat reads mobile-ffmpeg: >: Read-only file system
FIXED: The syntax is wrong, should be just namedPipe. Closing issue.
I'm using ffmpeg-mobile to convert compressed audio files (mp3, ogg, ...) to (originally) a PCM file. I then read that in. It works fine, but as normal with ffmpeg goes through an intermediate file.
Now, I tried to use piping to get rid of that file. I registered a named pipe with
Config.registerNewFFmpegPipe
and changed the command passed to executeAsync to end with"> " + namedPipe
As a result, I get an exit code 1 from ffmpeg, and the last line after all the statistics for the file in logcat reads
mobile-ffmpeg: >: Read-only file system
FIXED: The syntax is wrong, should be just
namedPipe
. Closing issue.