moviemasher / moviemasher.js

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

how to keep original video quality / dimensions? #10

Closed think-01 closed 6 years ago

think-01 commented 8 years ago

I wish my output video to have the same dimensions as original. How can I do that? If I ommit 'dimensions' setting for output in export job transcoder resizes everything to some default size, if I set it it obviously resizes everything to the size I've set but how to make it remain unchanged?

Is there any way to get source video dimensions in import callback for example?

syntropo commented 8 years ago

Sorry for the delay getting back to you! Within the import complete callback, you should be able to reference {job.inputs.0.dimensions} to get the dimensions of visual media.