]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commit - server/helpers/ffmpeg-utils.ts
Fix transcoding errors in readonly docker containers
authorGirish Ramakrishnan <girish@cloudron.io>
Fri, 16 Oct 2020 00:30:19 +0000 (17:30 -0700)
committerChocobozzz <chocobozzz@cpy.re>
Fri, 23 Oct 2020 12:51:44 +0000 (14:51 +0200)
commit313921b50fda6bfd2942e45e3c9a0547ff01880b
tree6bea5d919245474b485a8d15df9212895782b42a
parente0f31bc9ce4b45fd4ee1d541a2e573497ca3253d
Fix transcoding errors in readonly docker containers

ffmpeg seems to create some temporary files in the cwd. When PeerTube
is run in a read-only docker container, this causes all transcoding
to fail. As a workaround, we set the cwd to the configured tmp dir.
package.json
server/helpers/ffmpeg-utils.ts
yarn.lock