h264 for web command added

This commit is contained in:
ablwr
2014-08-21 10:46:09 -04:00
parent 9c10a0bb52
commit 6d34f65061
3 changed files with 46 additions and 0 deletions

View File

@@ -29,6 +29,10 @@ $(document).ready(function() {
$( ".webm_for_web" ).toggle();
});
$( "#show_h264_for_web" ).click(function() {
$( ".h264_for_web" ).toggle();
});
$('#generate').click(function(){
$('#command_line').val("ffmpeg" +
@@ -68,6 +72,14 @@ $(document).ready(function() {
$('#webm_output_name').val())
});
$('#h264_for_web_generate').click(function(){
$('#h264_for_web_command_line').val("ffmpeg" +
" -i " + $('#h264_input_name').val() +
" -codec:v libx264 -profile:v high -preset slow -b:v 500k -maxrate 500k -bufsize 1000k -vf scale=-1:480 -threads 0 -codec:a libfdk_aac -b:a 128k " +
$('#h264_output_name').val())
});
});