diff --git a/index.html b/index.html
index ea75b5a..f0ab646 100644
--- a/index.html
+++ b/index.html
@@ -50,6 +50,10 @@
+
+
+
+
@@ -244,6 +248,8 @@
+
+
diff --git a/js/forms.js b/js/forms.js
index 12b7828..fc53b15 100644
--- a/js/forms.js
+++ b/js/forms.js
@@ -53,6 +53,16 @@ $(document).ready(function() {
$( ".h264_for_web" ).show();
});
+ $( "#show_img_to_vid" ).click(function() {
+ chillScroll();
+ $( ".img_to_vid" ).show();
+ });
+
+ $( "#show_vid_to_img" ).click(function() {
+ chillScroll();
+ $( ".vid_to_img" ).show();
+ });
+
$('#generate').click(function(){
$('#command_line').val("ffmpeg" +
@@ -99,4 +109,16 @@ $(document).ready(function() {
$('#h264_output_name').val())
});
+ $('#img_to_vid_generate').click(function(){
+ // ffmpeg -f image2 -i image%d.jpg video.mpg
+ $('#img_to_vid_command_line').val("ffmpeg" +
+ " -f image2 -i image%d.jpg " + $('#img_output_name').val())
+ });
+
+ $('#vid_to_img_generate').click(function(){
+ // ffmpeg -i video.mpg image%d.jpg
+ $('#vid_to_img_command_line').val("ffmpeg" +
+ " -i " + $('#vid_output_name').val() +
+ " image%d.jpg")
+ });
});
\ No newline at end of file
diff --git a/todo.md b/todo.md
index 1be25b8..300985d 100644
--- a/todo.md
+++ b/todo.md
@@ -4,8 +4,6 @@ ffmpeg questions and answers:
Examples via http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs
-Getting infos from a video file
-ffmpeg -i video.avi
Turn X images to a video sequence
ffmpeg -f image2 -i image%d.jpg video.mpg
This command will transform all the images from the current directory (named image1.jpg, image2.jpg, etc…) to a video file named video.mpg.