slidev icon indicating copy to clipboard operation
slidev copied to clipboard

Add mp4 or mov exports to the recording

Open kissu opened this issue 2 years ago • 2 comments

When recording and sending the .webm to a conference after a record, they usually me for a .mp4 or a .mov because it's probably a more common extension for video montage softwares.

Having the possibility to choose an extension before the recording would be perfect!

I could transcode it to another format but it will probably bring some quality loss during the conversion. It's still the only available solution right now, but the quality suffers out of this.

kissu avatar Feb 08 '22 14:02 kissu

AFAIK, most browsers only support recording to webm format, and I don't know how to convert them efficiently with JS

antfu avatar Feb 08 '22 14:02 antfu

RecordRTC support sevaral Codecs and can be configured by mimeType. So we can pass in a custome config into packages\client\logic\recording.ts

I'm not sure how to design this feature. Maybe adding a selection list in RecordingDialog?

MarvinXu avatar Mar 19 '22 16:03 MarvinXu