projects
/
experiments
/
gstreamer.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gst-raiplay-download.sh: make a comment shorter
[experiments/gstreamer.git]
/
shell
/
gst-raiplay-download.sh
diff --git
a/shell/gst-raiplay-download.sh
b/shell/gst-raiplay-download.sh
index
4fc86d8
..
51af243
100755
(executable)
--- a/
shell/gst-raiplay-download.sh
+++ b/
shell/gst-raiplay-download.sh
@@
-4,12
+4,12
@@
set -e
set -e
-
[ "x$1" = "x" -o "x$2" = x ] && { echo "usage: $(basename $0
) <source_m3u8_url> <output_file>" 1>&2; exit 1; }
+
{ [ "x$1" = "x" ] || [ "x$2" = x ]; } && { echo "usage: $(basename "$0"
) <source_m3u8_url> <output_file>" 1>&2; exit 1; }
SOURCE_URL="$1"
OUTPUT_FILE="$2"
SOURCE_URL="$1"
OUTPUT_FILE="$2"
-# use a
fixed and
high value for connection-speed to download the best quality video
+# use a high value for connection-speed to download the best quality video
gst-launch-1.0 \
\
mp4mux name=mp4 fragment-duration=10 ! \
gst-launch-1.0 \
\
mp4mux name=mp4 fragment-duration=10 ! \
@@
-26,4
+26,5
@@
gst-launch-1.0 \
mp4.audio_00
# NOTE: the audio re-encoding is necessary because aacparse lacks some
mp4.audio_00
# NOTE: the audio re-encoding is necessary because aacparse lacks some
-# functionality, see: https://bugzilla.gnome.org/show_bug.cgi?id=723551
+# functionality, see:
+# https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/issues/106