Skip to content

Instantly share code, notes, and snippets.

@dantuck
dantuck / encode.sh
Created March 13, 2017 00:03 — forked from lisamelton/encode.sh
This is the shell script I use to drive HandBrakeCLI to re-encode video files in a format suitable for playback on Apple TV, Roku 3, iOS, OS X, etc.
#!/bin/bash
# encode.sh
#
# Copyright (c) 2013 Don Melton
#
# This version published on June 7, 2013.
#
# Re-encode video files in a format suitable for playback on Apple TV, Roku 3,
# iOS, OS X, etc.
<!-- Content -->
<div class="row">
<!-- Sidebar -->
<div class="four columns push-eight">
<div class="panel radius" style="box-shadow: 10px 10px 10px 0px #4A4A4A; text-align: center;">
<dl class="tabs vertical">
<dd class="active"><a href="#[[*alias]]">[[*pagetitle]]</a></dd>
[[!getResources? &tpl=`tabTpl` &parents=`[[*id]]` &limit=`0` &includeContent=`1` &showHidden=`1` &includeTVs=`1` &processTVs=`1` &sortby=`FIELD(modResource.id, 69,14,49,15,13 )` &sortdir=`ASC`]]
</dl>