I have a form that takes video file as an input. It looks like this.
<?php $form = ActiveForm::begin(['options'=>['enctype'=>'multipart/form-data']]); ?>
<?= $form->field($model, 'file')->fileInput(['maxlength' => true]) ?>
I want to get the duration, dimensions and size of the video. There is no mention about video parsing in the yiiframework documents. Is there a way to do this?
Edit : As suggested there is getID3() for native php to work with. Is there a way to do it in Yii2 without third party libraries? If not, how do I integrate getID3() into Yii2?