60 lines
3.1 KiB
HTML
60 lines
3.1 KiB
HTML
<div>
|
|
<h5>FFMPEG Settings
|
|
|
|
<button class="pull-right btn btn-sm btn-success" style="margin-left: 5px;" ng-click="updateSettings(settings)">
|
|
Update
|
|
</button>
|
|
<button class="pull-right btn btn-sm btn-info" ng-click="resetSettings(settings)">
|
|
Reset Options
|
|
</button>
|
|
</h5>
|
|
<h6>FFMPEG Executable Path (eg: C:\ffmpeg\bin\ffmpeg.exe || /usr/bin/ffmpeg)</h6>
|
|
<input type="text" class="form-control form-control-sm" ng-model="settings.ffmpegPath"/>
|
|
<hr/>
|
|
<h6>Miscellaneous Options</h6>
|
|
<div class="row">
|
|
<div class="col-sm-4">
|
|
<label>Threads</label>
|
|
<input type="number" class="form-control form-control-sm" ng-model="settings.threads" ng-change="createArgString()"/>
|
|
</div>
|
|
<div class="col-sm-4">
|
|
<label>Buffer Size (k)</label>
|
|
<input type="number" class="form-control form-control-sm" ng-model="settings.bufSize" ng-change="createArgString()"/>
|
|
</div>
|
|
<div class="col-sm-4">
|
|
<label>Log FFMPEG</label><br/>
|
|
<input id="logFfmpeg" type="checkbox" ng-model="settings.logFfmpeg"/> <label for="logFfmpeg">Log FFMPEG to console</label>
|
|
</div>
|
|
</div>
|
|
<hr/>
|
|
<div class="row">
|
|
<div class="col-sm-6">
|
|
<h6>Video Options</h6>
|
|
<label>Video Encoder</label>
|
|
<input type="text" class="form-control form-control-sm" ng-model="settings.videoEncoder" ng-change="createArgString()"/>
|
|
<label>Video Bitrate (k)</label>
|
|
<input type="number" class="form-control form-control-sm" ng-model="settings.videoBitrate" ng-change="createArgString()"/>
|
|
<label>Video Resolution</label>
|
|
<input type="text" class="form-control form-control-sm" ng-model="settings.videoResolution" ng-change="createArgString()"/>
|
|
<label>Video Framerate</label>
|
|
<input type="text" class="form-control form-control-sm" ng-model="settings.videoFrameRate" ng-change="createArgString()"/>
|
|
</div>
|
|
<div class="col-sm-6">
|
|
<h6>Audio Options</h6>
|
|
<label>Audio Encoder</label>
|
|
<input type="text" class="form-control form-control-sm" ng-model="settings.audioEncoder" ng-change="createArgString()"/>
|
|
<label>Audio Channels</label>
|
|
<input type="text" class="form-control form-control-sm" ng-model="settings.audioChannels" ng-change="createArgString()"/>
|
|
<label>Audio Bitrate (k)</label>
|
|
<input type="number" class="form-control form-control-sm" ng-model="settings.audioBitrate" ng-change="createArgString()"/>
|
|
<label>Audio Rate</label>
|
|
<input type="text" class="form-control form-control-sm" ng-model="settings.audioRate" ng-change="createArgString()"/>
|
|
</div>
|
|
</div>
|
|
<hr/>
|
|
<div class="row">
|
|
<h6>Raw FFMPEG Arguments <small>Modifying options above will reset the raw arguments. Therefore edit these last...</small></h6>
|
|
<textarea class="form-control" style="height: 350px" ng-model="settings.args"></textarea>
|
|
</div>
|
|
<hr/>
|
|
</div> |