Skip to content
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

Cant run multiple editly render at once on linux: Caught error Error: write EPIPE #247

Open
matukaking opened this issue Apr 17, 2023 · 2 comments

Comments

@matukaking
Copy link

editly 0.14.2
ubuntu 22.10x64
python 3.10.7
node 16.13.2

i have installed every dependencies and the single video rendering works just fine, but when im try to render multiple video at the same time i get this error after the second video.

xvfb-run: error: Xvfb failed to start

on my local pc (win 11) multiple video rendering works fine.

do you guys know what could be the problem?

@matukaking
Copy link
Author

matukaking commented Apr 17, 2023

UPDATE>
Im using this command to start the process:
xvfb-run --auto-servernum --server-num=1 editly --json ./datajson/${albumid}.json

i get this error:

info: Apr-17-2023 15:32:27: stdout: Caught error Error: write EPIPE
at afterWriteDispatched (node:internal/stream_base_commons:164:15)
at writeGeneric (node:internal/stream_base_commons:155:3)
at Socket._writeGeneric (node:net:795:11)
at Socket._write (node:net:807:8)
at writeOrBuffer (node:internal/streams/writable:389:12)
at _write (node:internal/streams/writable:330:10)
at Socket.Writable.write (node:internal/streams/writable:334:10)
at file:///root/.nvm/versions/node/v16.13.2/lib/node_modules/editly/index.js:367:68
at new Promise ()
at Editly (file:///root/.nvm/versions/node/v16.13.2/lib/node_modules/editly/index.js:367:32) {
errno: -32,
code: 'EPIPE',
syscall: 'write',
originalMessage: 'write EPIPE',
shortMessage: 'Command failed with EPIPE: ffmpeg -hide_banner -loglevel error -f rawvideo -vcodec rawvideo -pix_fmt rgba -s 1920x1080 -r 25 -i - -i videos/editly-tmp-uiq26rck7QO_oItdtsYZR/>
'write EPIPE',
command: 'ffmpeg -hide_banner -loglevel error -f rawvideo -vcodec rawvideo -pix_fmt rgba -s 1920x1080 -r 25 -i - -i videos/editly-tmp-uiq26rck7QO_oItdtsYZR/audio-mixed.flac -map 0:v:0 -map>
escapedCommand: 'ffmpeg -hide_banner -loglevel error -f rawvideo -vcodec rawvideo -pix_fmt rgba -s 1920x1080 -r 25 -i - -i "videos/editly-tmp-uiq26rck7QO_oItdtsYZR/audio-mixed.flac" -map ">
exitCode: undefined,
signal: undefined,
signalDescription: undefined,
stdout: undefined,
stderr: undefined,
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}

@matukaking matukaking changed the title Cant run multiple editly render at once on linux: xvfb-run: error: Xvfb failed to start Cant run multiple editly render at once on linux: Caught error Error: write EPIPE Apr 17, 2023
@matukaking
Copy link
Author

@mifi

do you have any idea how can i run multiple rendering at the same time without getting EPIPE error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant