projects
/
experiments
/
gstreamer.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
python: update python examples to modern python, Gst, and Glib versions
[experiments/gstreamer.git]
/
shell
/
gst-raiplay-download.sh
diff --git
a/shell/gst-raiplay-download.sh
b/shell/gst-raiplay-download.sh
index
51af243
..
51791c8
100755
(executable)
--- a/
shell/gst-raiplay-download.sh
+++ b/
shell/gst-raiplay-download.sh
@@
-9,21
+9,22
@@
set -e
SOURCE_URL="$1"
OUTPUT_FILE="$2"
SOURCE_URL="$1"
OUTPUT_FILE="$2"
+# use the avimux element because my TV set does not like the output of mp4mux
# use a high value for connection-speed to download the best quality video
gst-launch-1.0 \
\
# use a high value for connection-speed to download the best quality video
gst-launch-1.0 \
\
- mp4mux name=m
p4 fragment-duration=10
! \
+ mp4mux name=m
ux
! \
filesink location="$OUTPUT_FILE" \
\
"$SOURCE_URL" ! \
hlsdemux connection-speed=4294967 ! \
filesink location="$OUTPUT_FILE" \
\
"$SOURCE_URL" ! \
hlsdemux connection-speed=4294967 ! \
- tsdemux name=
ts
\
+ tsdemux name=
demux
\
\
\
-
ts.video_0_0100
! h264parse ! queue ! \
- m
p4
.video_00 \
+
demux.video_0_0100 ! queue
! h264parse ! queue ! \
+ m
ux
.video_00 \
\
\
-
ts.audio_0_0101
! decodebin ! audioconvert ! lamemp3enc ! queue ! \
- m
p4
.audio_00
+
demux.audio_0_0101 ! queue
! decodebin ! audioconvert ! lamemp3enc ! queue ! \
+ m
ux
.audio_00
# NOTE: the audio re-encoding is necessary because aacparse lacks some
# functionality, see:
# NOTE: the audio re-encoding is necessary because aacparse lacks some
# functionality, see: