aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-01-29 16:54:03 +0100
committerChocobozzz <me@florianbigard.com>2020-01-29 16:54:52 +0100
commitc7f36e4f485d92191b9d04c6a880724b02fa220b (patch)
treeaccf79acae92c274d10c1e248ef1706e961979eb /shared
parent14aa85562cb83559d20105b4ddb4bf8b2340578a (diff)
downloadPeerTube-c7f36e4f485d92191b9d04c6a880724b02fa220b.tar.gz
PeerTube-c7f36e4f485d92191b9d04c6a880724b02fa220b.tar.zst
PeerTube-c7f36e4f485d92191b9d04c6a880724b02fa220b.zip
Fix transcoding
Diffstat (limited to 'shared')
-rw-r--r--shared/extra-utils/miscs/miscs.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/extra-utils/miscs/miscs.ts b/shared/extra-utils/miscs/miscs.ts
index c957a6abe..d04003988 100644
--- a/shared/extra-utils/miscs/miscs.ts
+++ b/shared/extra-utils/miscs/miscs.ts
@@ -113,7 +113,7 @@ async function generateVideoWithFramerate (fps = 60) {
113 if (!exists) { 113 if (!exists) {
114 return new Promise<string>(async (res, rej) => { 114 return new Promise<string>(async (res, rej) => {
115 ffmpeg() 115 ffmpeg()
116 .outputOptions([ '-f rawvideo', '-video_size 320x240', '-i /dev/urandom' ]) 116 .outputOptions([ '-f rawvideo', '-video_size 1280x720', '-i /dev/urandom' ])
117 .outputOptions([ '-ac 2', '-f s16le', '-i /dev/urandom', '-t 10' ]) 117 .outputOptions([ '-ac 2', '-f s16le', '-i /dev/urandom', '-t 10' ])
118 .outputOptions([ `-r ${fps}` ]) 118 .outputOptions([ `-r ${fps}` ])
119 .output(tempFixturePath) 119 .output(tempFixturePath)