mirror of
https://github.com/amiaopensource/ffmprovisr.git
synced 2025-10-23 14:19:11 +02:00
h264 for web command added
This commit is contained in:
@@ -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())
|
||||
});
|
||||
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user