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
To handle such case (i.e. it is trying to add 10GB of output here). I have added a way to discard putting the output in the resulting ProcessResult.stdout. I have added options noStdoutResult and noStderrResult to ShellOptions and runExecutableArguments. In this case the resulting ProcessResult will have a null stdout (or stderr). You can still stream the output as desired but the overall result is discarded and it should solve your issue. Let me know
usage example:
var shell =Shell(options:ShellOptions(noStdoutResult:true));
await shell.run('xxxx');
I have a command running stream via ffmpeg
libcamera-vid --framerate 24 --nopreview --inline -t 0 --width 1920 --height 1080 --listen -o - | ffmpeg -f lavfi -i anullsrc -i - -profile:v high -pix_fmt yuvj420p -level:v 4.1 -preset ultrafast -framerate 24 -g 48 -tune zerolatency -vcodec libx264 -r 10 -s 1920x1080 -b:v 2M -f flv rtmp://a.rtmp.youtube.com/live2/YOUR_KEY
And after some time - I'm having out of memory error
Error
The text was updated successfully, but these errors were encountered: