Skip to content
This repository has been archived by the owner on Oct 7, 2021. It is now read-only.

Multi threaded parallel executions of ffmpeg command #182

Closed
leephela opened this issue Jul 12, 2019 · 5 comments
Closed

Multi threaded parallel executions of ffmpeg command #182

leephela opened this issue Jul 12, 2019 · 5 comments
Assignees
Labels
enhancement New feature or request fixed

Comments

@leephela
Copy link

Hello,
When you execute the command via the static method ffmpeg.execute(), you get the return code of only the last operation.

What if your application is mutli threaded , and sometimes you want to have two executions running in parallel, how do you differentiate the two return codes, like which one of the two generates which return code?

@tanersener
Copy link
Owner

Unfortunately, parallel executions are not supported right now. If you start a second execution your application may crash.

Please note that FFmpeg.execute() returns an integer which is the actual return code of that execution. So if I add parallel executions support in the future then you'll be able to use the return code of execute to differentiate.

@tanersener tanersener added the question Further information is requested label Jul 12, 2019
@tanersener tanersener self-assigned this Jul 12, 2019
@tanersener tanersener added the enhancement New feature or request label Jul 12, 2019
@leephela
Copy link
Author

Is this feature ( parallel operation) not coming in anytime soon? It will be the most complete library if it supports this feature.

@tanersener
Copy link
Owner

It's on the roadmap but I don't have a release date yet. I'm still working on it.

@tanersener tanersener removed the question Further information is requested label Dec 18, 2019
@tanersener tanersener added this to To do in Next MobileFFmpeg release due to 01.2020 via automation Dec 18, 2019
@tanersener tanersener moved this from To do to In progress in Next MobileFFmpeg release due to 01.2020 Dec 18, 2019
@tanersener
Copy link
Owner

Experimental support is added in development branch

@tanersener
Copy link
Owner

Fixed in v4.3.1 release.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request fixed
Projects
No open projects
Development

No branches or pull requests

2 participants