OIRNOIR / WackyWebM

This is a simple tool to allow you to create WebM files with changing aspect ratios.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Long video + Audio mode causes maxBuffer length error

artifishvr opened this issue · comments

commented

Video used: https://cdn.discordapp.com/attachments/849750633967910942/952769780849471528/Enemy.mp4
Modes used: Audio-Bounce, Audio-Shutter.
This does not seem to affect other modes, just the two audio reactive ones.

Splitting file into frames...
node:internal/errors:464
    ErrorCaptureStackTrace(err);
    ^
 
RangeError [ERR_CHILD_PROCESS_STDIO_MAXBUFFER]: stdout maxBuffer length exceeded
    at new NodeError (node:internal/errors:371:5)
    at Socket.onChildStdout (node:child_process:459:14)
    at Socket.emit (node:events:390:28)
    at addChunk (node:internal/streams/readable:315:12)
    at readableAddChunk (node:internal/streams/readable:285:11)
    at Socket.Readable.push (node:internal/streams/readable:228:10)
    at Pipe.onStreamRead (node:internal/stream_base_commons:199:23) {
  code: 'ERR_CHILD_PROCESS_STDIO_MAXBUFFER',
  cmd: `ffprobe -f lavfi -i "amovie='Enemy.mp4',astats=metadata=1:reset=1" -show_entries "frame=pkt_pts_time:frame_tags=lavfi.astats.Overall.RMS_level" -of json`,
  stdout: '{\r\n' +
    '    "frames": [\r\n' +
    '        {\r\n' +
    '            "pkt_pts_time": "0.000000",\r\n' +
    '            "tags": {\r\n' +
    '                "lavfi.astats.Overall.RMS_level": "-inf"\r\n' +
    '            }\r\n' +

Full Error: https://pastebin.com/tuMn0Jrt

This issue should be fixed with the merging of #30.