Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit f7a11497d06fc16ed46d146ddd8ef38f84ad3d57 1 parent 08c601b
Nathan Rajlich authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 convertAndSegment.sh
4 convertAndSegment.sh
View
@@ -1,5 +1,7 @@
#!/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 \
@@ -7,4 +9,4 @@ ffmpeg \
-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
Please sign in to comment.
Something went wrong with that request. Please try again.