Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 8 lines (6 sloc) 0.521 kb
#!/bin/sh
echo "Conversion of $1 started"
segmenter=$(dirname $0)/segmenter
#settings='-vf scale=480:-10,harddup -oac faac -faacopts mpeg=4:object=2:raw:br=128 -of lavf -lavfopts format=mp4 -ovc x264 -x264encopts nocabac:level_idc=30:bframes=0'
mkdir -p "$1.stream"
mencoder $1 -o - -really-quiet -vf scale=480:-10,harddup -oac faac -faacopts mpeg=4:object=2:raw:br=128 -ovc x264 -x264encopts nocabac:level_idc=30:bframes=0 -of lavf -lavfopts format=mpegts | $segmenter - 10 "$1.stream/stream" "$1.stream/stream.m3u8" /
Jump to Line
Something went wrong with that request. Please try again.