Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to concat two videos. #44

Open
prateekjain2104 opened this issue Aug 31, 2016 · 6 comments
Open

How to concat two videos. #44

prateekjain2104 opened this issue Aug 31, 2016 · 6 comments

Comments

@prateekjain2104
Copy link

-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.

@prateekjain2104 prateekjain2104 changed the title How to concat to videos. How to concat to videos.w Aug 31, 2016
@prateekjain2104 prateekjain2104 changed the title How to concat to videos.w How to concat two videos. Aug 31, 2016
@MythodeaLoL
Copy link

+1 for remote link video.

@prateekjain2104
Copy link
Author

@FloridaStream hey you have any idea?

@prateekjain2104
Copy link
Author

@hiteshsondhi88
Can you please help?Does concat actually work or not with this lib.?

@MythodeaLoL
Copy link

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

@sagartrehan
Copy link

@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?

@sagartrehan
Copy link

@FloridaStream -safe 0 argument in command while concat fix the issue. Thanks for your inputs. This issue should be closed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants