ffmpeg-android
ffmpeg-android copied to clipboard
How to concat two videos.
-y -i "concat:/storage/emulated/0/input1.ts|/storage/emulated/0/input2.ts" -c copy -bsf:a aac_adtstoasc /storage/emulated/0/output.mp4
I am using this command and it works for windows but doesn't work for android.
+1 for remote link video.
@FloridaStream hey you have any idea?
@hiteshsondhi88 Can you please help?Does concat actually work or not with this lib.?
In newer versions this was disabled in ffmpeg, you need to use the command -safe 0
to allow the use of concat
.
Be aware that for a better understanding, the logs, debug log of the operation are necessary. @prateekjain2104
@FloridaStream Can you please elaborate your answer? Do we need to use "-safe 0" while executing command to concat files? OR Do we need to use "-safe 0" while compiling FFMPEG for Android?
@FloridaStream -safe 0 argument in command while concat fix the issue. Thanks for your inputs. This issue should be closed now.