Closed lkorasik closed 8 months ago
What error did ffmpeg return? 'ffmpeg returned non-zero exit status. Check stdout.'...
But I would guess it's because you've set the input format to null. Move the setFormat to after the addOutput line, and the setFormat will apply to the output instead.
Yes. Your guess turned out to be correct. I have set the input format to null. It was necessary to do this:
new FFmpegBuilder()
.setInput(streamPath)
.setVideoFilter("idet,metadata=mode=print")
.addOutput("/dev/null")
.setFormat("null")
.done();
Thank you!
I want to run the following command:
For this I wrote the following code:
I received these messages in the logs:
The library generated an incorrect command. I wrote above what the command should look like.
Tell me, what am I doing wrong?