Note that the above adds "-movflags faststart" to the mp4 creation. This causes a second pass on the file (slow, sadly) that moves the metadata to the start of the file, making it faster for a web browser to seek into the middle of the file.  Instead of "-movflags faststart" you can use the tool qt-faststart.
 
+{section: Editing with ffmpeg}
+
+This is probably unnecessary if you have a full blown video editor, but occasionally quick command line tools are useful.
+
+{subsection: Lossless Trimming}
+
 You can use ffmpeg to do lossless trimming of files (say, to break a single video into multiple videos, or to trim off dead time).  {link: http://askubuntu.com/questions/35605/splitting-an-mp4-file source }
 
 {code}
@@ -34,6 +40,8 @@
 ffmpeg -acodec copy -vcodec copy -ss START -t LENGTH -i ORIGINALFILE.mp4 OUTFILE.mp4
 {endcode}
 
+{subsection: Cropping}
+
 You can also crop the video with ffmpeg, which may be useful if part of the video feel is always empty (say, the video is wide enough to handle a 16:9 slide, but only 4:3 slides are shown.  This is lossy, so you'll probably want to merge it into the conversion step. {link: https://video.stackexchange.com/questions/4563/how-can-i-crop-a-video-with-ffmpeg source}
 
 {code}