moviemasher / moviemasher.js

JavaScript library for realtime, browser-based video and audio editing
Mozilla Public License 2.0
305 stars 62 forks source link

webm and ogg export #14

Closed think-01 closed 6 years ago

think-01 commented 7 years ago

is there a way to produce webm and ogg files from a mash with masher transcoder? will it work if I send webm/ogg in output object 'extension' field or should I use some specific video codec or something? Thanks!

syntropo commented 7 years ago

I'm not sure offhand what file extension you'd use - whatever would normally be passed to FFmpeg. You'd change the export_extension option in moviemasher.ini and likely also adjust export_video_codec to remove mp4 specific settings and add any required by your chosen video encoder. To select ogg for audio encoding within videos change export_audio_codec (export_audio_codec_audio is for audio in audio only files).