-
-
Notifications
You must be signed in to change notification settings - Fork 762
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
(bug/question) How to properly use one ffmpeg.exec() execution output as another's ffmpeg.exec() input? #749
Comments
Thanks @tiuvi I've taken a look at your logic, learned form how do you do it, and looks like it solves my issue, at least from my experiments. I've been debugging with Do you have any solution if I just wanted to prune any custom element within filesystem and start from scratch? because I'm not sure, if I destroy and reinitialize FFMpeg object, it won't get re-downloaded again - scenario I'd like to avoid at all costs. |
I always end the ffmpeg process
You need to combine url.createurl with the ffmpeg outputs, nothing much can be done. |
Describe the bug
Whenever I'm using previous
ffmpeg.exec()
output filename (i.eoutput-temp.mp4
) in nextffmpeg.exec
operation is input (by passing string with filename to-i
), transformations do not stack - instead only first operation called gets presented.To Reproduce
Here's a code simillar to which I run in my project. For this scenario let's assume all conditionals are met (As I do in my environment, with console output). In the final stage, video is presented in
<video>
element and blob data is used insrc
attribute, to return effect of ffmpeg processing to the user visually.To verify that it's not problem with logic or ffmpeg commands, all that I need is to specify in some step different output name i.e
output.mp4
and then use that as data for blob. This way I can verify that my transformation are working properly (just as in debugging bash script I maintain).Expected behavior
Whenever I use name for output, such as 'temp_output.mp4', and use this name in string format as another
ffmpeg.exec()
input file (i.e-i temp_output.mp4
), ffmpeg wil use the latest version of the file with latest applied transformations in memory.Screenshots
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: