moster67 Expert Licensed User Longtime User Mar 14, 2019 #1 I am trying out some features in my ffmpegwrapper and there is a possibility to use a "pipe" as an input-source. The command in ffmpeg is something like this: B4X: ffmpeg -y -f yuv4mpegpipe -i – -i audio.mp3 -target ntsc-dvd -aspect 4:3 foo.mpg Basically I am supposed to pass the data stream to ffmpeg with stdin Now, anyone knows if "pipes" and "stdin" are available in Android (and B4A) and how to use them? Thanks. Last edited: Mar 14, 2019
I am trying out some features in my ffmpegwrapper and there is a possibility to use a "pipe" as an input-source. The command in ffmpeg is something like this: B4X: ffmpeg -y -f yuv4mpegpipe -i – -i audio.mp3 -target ntsc-dvd -aspect 4:3 foo.mpg Basically I am supposed to pass the data stream to ffmpeg with stdin Now, anyone knows if "pipes" and "stdin" are available in Android (and B4A) and how to use them? Thanks.
Erel B4X founder Staff member Licensed User Longtime User Mar 15, 2019 #2 I never tried it. Maybe you can use mkfifo to create a named pipe and then write to this pipe with the file methods. Upvote 0
I never tried it. Maybe you can use mkfifo to create a named pipe and then write to this pipe with the file methods.