Editing movie

<%= render :partial => "form" %>

Make a preview

This will produce a MP4-version preview of the file. It will take usually 3-4 times the movie length. The program will run in the background and the preview file will automatically added to the movie.

<%= form_tag :action => "preview", :id => @movie.id do %>

Resolution: <%= text_field_tag "x", "800", :size => 2 %> x <%= text_field_tag "y", "600", :size => 2 %>

<%= submit_tag "Make a preview" %>

<% end %>

Take a snapshot

<%= form_tag :action => "snapshot", :id => @movie.id do %>

Secs: <%= text_field_tag "secs" %>

<%= submit_tag "Take snapshot" %>

<% end %>

Download (stream)

<%= form_tag :action => "download", :id => @movie.id do %>

This will start downloading the video from an IP and Port.

IP: <%= text_field_tag "ip", "", :size => 12 %> : <%= text_field_tag "port", "", :size => 3 %>

<%= submit_tag "Download" %>

<% end %>
<%= link_to 'Show', @movie %> | <%= link_to 'Back', movies_path %>