Quantcast
Viewing all articles
Browse latest Browse all 8068

Recording Video In 16x9 aspect ratio

Hi All

Is it possible for titanium video recorder to record in 16x9 aspect ratio?

I currently have this which records but letter box when i share it and use it in another video player.

Titanium.Media.showCamera({
 
        success : function(event) {
            Ti.API.debug("video was taken");
        },
        cancel : function() {
        },
        error : function(error) {
            var a = Titanium.UI.createAlertDialog({
                title : 'Camera'
            });
            if (error.code == Titanium.Media.NO_CAMERA) {
                a.setMessage('Please run this test on device');
            } else {
                a.setMessage('Unexpected error: ' + error.code);
            }
            a.show();
        },
        mediaTypes : Ti.Media.MEDIA_TYPE_VIDEO,
        videoMaximumDuration : 600000,
        videoQuality : Ti.Media.QUALITY_MEDIUM,
        //videoQuality : Ti.Media.QUALITY_640x480,
    });
Thanks

Viewing all articles
Browse latest Browse all 8068

Trending Articles