You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The end event is emitted when processing has finished. Listeners receive ffmpeg standard output and standard error as arguments, except when generating thumbnails (see below), in which case they receive an array of the generated filenames.
stdout is empty when the command outputs to a stream. Both stdout and stderr are limited by the stdoutLines option (defaults to 100 lines).
The confusion is about the expected behaviour when generating thumbnails. In the examples here, there seems to be an event called filenames which returns you the list of filenames. In this documentation, it is mentioned that the stout and stderr will be replaced with the filenames when generating thumbnails.
I have not been able to replicate this. As in, even in success cases, the callback arguments are not an array of filenames. And in failure cases, we seem to get stout and stderr as expected.
Is this a mistake in documentation? Or am I understanding the expected behaviour wrong?
The text was updated successfully, but these errors were encountered:
In the docs there is this section:
'end': processing finished
The
end
event is emitted when processing has finished. Listeners receive ffmpeg standard output and standard error as arguments, except when generating thumbnails (see below), in which case they receive an array of the generated filenames.stdout
is empty when the command outputs to a stream. Bothstdout
andstderr
are limited by thestdoutLines
option (defaults to 100 lines).The confusion is about the expected behaviour when generating thumbnails. In the examples here, there seems to be an event called
filenames
which returns you the list of filenames. In this documentation, it is mentioned that thestout
andstderr
will be replaced with the filenames when generating thumbnails.I have not been able to replicate this. As in, even in success cases, the callback arguments are not an array of filenames. And in failure cases, we seem to get stout and stderr as expected.
Is this a mistake in documentation? Or am I understanding the expected behaviour wrong?
The text was updated successfully, but these errors were encountered: