ffmpeg-kit
ffmpeg-kit copied to clipboard
Is it Possible to Use Absolute Paths in Concat Input.txt Returned from FFmpegKitConfig.getSafParameterForRead?
I am attempting to let Android users supply their own text file with a list of images using absolute file paths to FFmpeg for concat.
#Example file format for input.txt file '/storage/emulated/0/DCIM/img000.jpg' file '/storage/emulated/0/DCIM/img001.jpg' file '/storage/emulated/0/DCIM/img002.jpg'
I am able to use the Storage Access Framework to get the content uri of input.txt and successfully receive "saf:1.txt" from getSafParameterForRead. However, when I run the command I get an error saying "ffmpeg-kit Impossible to open saf:/storage/emulated/0/DCIM/img000.jpg".
Is the getSafParameterForRead method even intended to be used for the input.txt list file or is it only for media files?
I haven't tested using saf
protocol URLs with concat demuxer before. So, I'm not %100 sure whether that is possible or not.
Have you tried providing saf
schema as well for the input files e.g. file saf:'1.txt'
?
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.
This issue was closed because it has been stalled for 7 days with no activity.