您好咨询RxFFmpeg推流提示Permission denied的问题
lowpair opened this issue · 1 comments
lowpair commented
感谢您在安卓平台上开源了FFmpeg这样的好工具;
在将RxFFmpeg加入demo尝试推流时:
String text = "ffmpeg -re -i /storage/sdcard1/fubu.mp4 -c:v libx264 -f flv rtmp://123.56.xxx.xx/ulbotx/livestream2";
String[] commands = text.split(" ");
RxFFmpegInvoke.getInstance().runCommand(commands, null);
Cannot open connection tcp://123.56.xxx.xx:1935
2023-12-08 15:39:35.163 5830-5830 TAG_FFMPEG com.example.myapplication E rtmp://123.56.181.xx/ulbotx/livestream2: Permission denied
这是什么原因呢?难道安装后安卓里面还要对ffmpeg授权?在安卓里面安卓后FFmpeg又在哪个目录呢?
lowpair commented
加权限