4 ms·
I have been struggling with termux on Android 13 pixel 6 pro. Whenever I edit a picture with ffmpeg, it's invisible to the normal Photos app.
by cft 3y ago
I have been struggling with termux on Android 13 pixel 6 pro. Whenever I edit a picture with ffmpeg, it's invisible to the normal Photos app.
- cfiggers 3y agoTermux uses a sandboxed file system by default, but you can give it access to the rest of the phone's shared files by running `termux-setup-storage` from within Termux (more details at: https://wiki.termux.com/wiki/Termux-setup-storage https://wiki.termux.com/wiki/Termux-setup-storage). That'll mount a new folder called "storage" in your home directory where you can place files in locations where other apps can see them.
- cft 3y agoI have done that, the files are created in their normal locations where the rest of the photos are. But the files created by ffmpeg don't have the execute x permission bit set and I think because of that they're invisible in the photos app.
- freedomben 3y agoForgive the possibly obvious question, but have you tried `chmod +x` ing the ffmpeg output files with termux?
- cft 3y agoYes, it returns successfully but the x bit is not set
- pjmlp 3y agoThat doesn't work any more in modern Android, unless SAF is used for communication between applications to access private data.