mirror of
https://github.com/DeNNiiInc/Web-Page-Performance-Test.git
synced 2026-04-17 20:05:58 +00:00
Increase video bitrate to 75 Mbps (15x quality boost)
This commit is contained in:
2
main.js
2
main.js
@@ -663,7 +663,7 @@ async function downloadVideo() {
|
|||||||
const stream = canvas.captureStream(10); // 10 FPS
|
const stream = canvas.captureStream(10); // 10 FPS
|
||||||
const recorder = new MediaRecorder(stream, {
|
const recorder = new MediaRecorder(stream, {
|
||||||
mimeType: selectedMimeType,
|
mimeType: selectedMimeType,
|
||||||
videoBitsPerSecond: 5000000 // Increased bitrate for 1080p
|
videoBitsPerSecond: 75000000 // 75 Mbps for high quality 1080p
|
||||||
});
|
});
|
||||||
|
|
||||||
const chunks = [];
|
const chunks = [];
|
||||||
|
|||||||
Reference in New Issue
Block a user