Skip to content

Instantly share code, notes, and snippets.

View lwfitzgerald's full-sized avatar

Luke Fitzgerald lwfitzgerald

View GitHub Profile
@lwfitzgerald
lwfitzgerald / mencoder_hook.pl
Last active October 6, 2015 23:17
Updated mencoder hook for Subsonic
#!/usr/bin/perl
# mencoder_hook.pl
# Perl hook script for using mencoder to encode FLV with Subsonic
# Renders subtitles if they exist in the same dir and with the same name as
# the video and end in either .ass or .str
# Usage:
# Install mencoder (apt-get install mencoder)
# Paste this script into mencoder_hook.pl in /var/subsonic/transcode/
# Create a link to mencoder: ln -s /usr/bin/mencoder /var/subsonic/transcode/mencoder

Keybase proof

I hereby claim:

  • I am lwfitzgerald on github.
  • I am lwfitzgerald (https://keybase.io/lwfitzgerald) on keybase.
  • I have a public key ASBTpaB-Bv9NdHuCNZbsqPEEykVM-GoRSpZw_bASDR_pogo

To claim this, I am signing this object: