Permalink
Browse files

Use the correct 'segmenter'. i.e. the submodule one

  • Loading branch information...
1 parent 08c601b commit f7a11497d06fc16ed46d146ddd8ef38f84ad3d57 @TooTallNate committed Jan 26, 2011
Showing with 3 additions and 1 deletion.
  1. +3 −1 convertAndSegment.sh
View
@@ -1,10 +1,12 @@
#!/usr/bin/env sh
+LOC=$(dirname $0);
+
ffmpeg \
-f s16le -acodec pcm_s16le -ac 2 -ar 44100 -i - \
-f mpegts -acodec libmp3lame -ab "$1k" -ar 32000 -flags +loop+mv4 -cmp 256 \
-partitions +parti4x4+partp8x8+partb8x8 -subq 7 -trellis 1 -refs 5 -coder 0 \
-me_range 16 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -bt "$1k" \
-maxrate "$1k" -bufsize "$1k" -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 \
-level 30 -g 45 -async 2 - 2>/dev/null | \
-~/segmenter/segmenter - 10 "$1k" "$1k.m3u8" "" 5
+"$LOC/segmenter/segmenter" - 10 "$1k" "$1k.m3u8" "" 5

0 comments on commit f7a1149

Please sign in to comment.