2014-08-20 20:56:51 -04:00
<div class="container">
2014-08-20 21:02:01 -04:00
2014-08-20 20:56:51 -04:00
<div class="text-center">
<h1>➺ ffmproviser ❥</h1>
2014-09-04 11:49:46 -04:00
<br/>
2014-08-20 20:56:51 -04:00
</div>
2014-08-03 21:43:33 -04:00
<!-- form begins -->
2014-09-04 11:45:08 -04:00
<div class="row">
2014-08-03 21:43:33 -04:00
2014-09-04 11:45:08 -04:00
<div class="well col-md-4 col-md-offset-1">
2014-08-03 21:43:33 -04:00
<fieldset>
2014-08-09 16:12:50 -04:00
<legend>What do you want to do?</legend>
2014-08-12 21:21:24 -04:00
<h4>Select from the following.</h4>
<br />
2014-08-03 21:43:33 -04:00
<ul>
2014-08-04 14:26:05 -04:00
<li>
2014-08-17 17:15:18 -04:00
<div id="show_display_info"><button type="button" class="btn btn-default">Display Info</button></div><br/>
2014-08-04 14:26:05 -04:00
</li>
2014-08-10 13:21:58 -04:00
<li>
2014-08-17 17:15:18 -04:00
<div id="show_add_subtitles"><button type="button" class="btn btn-default">Add subtitles track</button></div><br/>
2014-08-10 13:21:58 -04:00
</li>
<li>
2014-08-17 17:15:18 -04:00
<div id="show_remove_audio_track"><button type="button" class="btn btn-default">Remove audio track</button></div><br/>
2014-08-12 21:21:24 -04:00
</li>
<li>
2014-08-17 17:15:18 -04:00
<div id="show_add_audio_track"><button type="button" class="btn btn-default">Add audio track (replace)</button></div><br/>
2014-08-12 21:21:24 -04:00
</li>
2014-08-20 20:56:51 -04:00
<li>
<div id="show_webm_for_web"><button type="button" class="btn btn-default">Export to webm for web</button></div><br/>
2014-08-10 13:21:58 -04:00
</li>
2014-08-21 10:46:09 -04:00
<li>
<div id="show_h264_for_web"><button type="button" class="btn btn-default">Export to h264 for web</button></div><br/>
</li>
2014-08-03 21:43:33 -04:00
</ul>
</fieldset>
</div>
2014-09-04 11:45:08 -04:00
<div class="well col-md-6 col-md-offset-1">
<h3>Making ffmpeg easier</h3>
<p>FFmpeg is a pretty powerful framework for audio-visual materials. Unfortunately, it also has a steep learning curve. This app helps users through the bash command generation process so that more people can reap the benefits of the ffmpeg library. </p>
<p>This project is very much a work in progress. Each button displays a form to help fulfill a popular user request. To use, click on the button and fill out the form. After clicking the Generate button, a command line will appear in the box below. That line can be copied and pasted into a Terminal, with the assumption that the video file is located in the same directory that the user currently is in.</p>
2014-09-04 16:10:48 -04:00
<p>For FFmpeg basics, check out their <a href="https://www.ffmpeg.org/">official website.</a></p>
<p>For bash and command line basics, try the <a href="http://cli.learncodethehardway.org/book/">Command Line Crash Course</a></p>
2014-09-04 11:45:08 -04:00
</div>
</div> <!-- row -->
2014-08-09 16:12:50 -04:00
<div id="formloader">
<div class="display_info" style="display:none;">
<%= render "display_info" %>
2014-08-10 13:21:58 -04:00
</div>
<div class="web" style="display:none;">
<%= render "web" %>
</div>
<div class="add_subtitles" style="display:none;">
<%= render "add_subtitles" %>
</div>
2014-08-12 21:21:24 -04:00
<div class="remove_audio_track" style="display:none;">
<%= render "remove_audio_track" %>
</div>
2014-08-20 20:56:51 -04:00
<div class="webm_for_web" style="display:none;">
<%= render "webm_for_web" %>
</div>
2014-08-21 10:46:09 -04:00
<div class="h264_for_web" style="display:none;">
<%= render "h264_for_web" %>
</div>
2014-08-21 08:51:22 -04:00
<div class="add_audio_track" style="display:none;">
<%= render "add_audio_track" %>
</div>
2014-08-09 16:12:50 -04:00
</div>
2014-08-17 15:31:03 -04:00
2014-08-17 17:15:18 -04:00
<div class="text-center">
<div class="reload">
<p><button type="button" class="btn btn-default">Start over!</button></p>
</div>
</div>
2014-08-17 15:31:03 -04:00
</div> <!-- container -->