Reputation: 1190
I'm running an android ffmpeg build through the Runtime.getRuntime().exec() command Problem is that when i specify the input as a file i get this error:
E/MainActivity(18168): file:/mnt/sdcard/young.flv: Protocol not found
Initially i just specified the file name without the "file:" prefix and still get the same error. How can i specify input files?
Upvotes: 2
Views: 1657
Reputation: 1190
so apparently my ffmpeg build didnt have "file" listed when i run "ffmpeg -protocols". So I added --enable-protocol=file to configure and rebuilt ffmpeg. Now it can accept file inputs without even adding the "file:" prefix
Upvotes: 2