muaz-khan / RecordRTC

RecordRTC is WebRTC JavaScript library for audio/video as well as screen activity recording. It supports Chrome, Firefox, Opera, Android, and Microsoft Edge. Platforms: Linux, Mac and Windows.

Home Page:https://www.webrtc-experiment.com/RecordRTC/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to make recorded videos smaller while retaining clarity

hktalent opened this issue · comments

commented

How to make recorded videos smaller while retaining clarity

I tested on Safari and found that after adjusting the parameters several times, I still get files with a size of>70M per minute. Can you help me see where the problem is?

var recorder = RecordRTC(local_media, {
		'type': 'video'
		, 'mimeType': 'video/webm;codecs=h264'
		,disableLogs: true
		,audioBitsPerSecond:100
		,videoBitsPerSecond: 5000
		,canvas: {
			width: n002,
			height: n003
		}				
		
	});

How to solve these issue? Please explain your solution.
I have the same issue.