gst-raiplay-download.sh: do not set fragment-duration on mp4mux
authorAntonio Ospite <ao2@ao2.it>
Fri, 14 Dec 2018 12:45:08 +0000 (13:45 +0100)
committerAntonio Ospite <ao2@ao2.it>
Fri, 14 Dec 2018 12:45:08 +0000 (13:45 +0100)
When fragment-duration is set, and to such a small value, the resulting
file takes ages to load with ffplay and on the TV set.

Remove the property.

shell/gst-raiplay-download.sh

index a5ac690..51791c8 100755 (executable)
@@ -13,7 +13,7 @@ OUTPUT_FILE="$2"
 # use a high value for connection-speed to download the best quality video
 gst-launch-1.0 \
   \
-  mp4mux name=mux fragment-duration=10 ! \
+  mp4mux name=mux ! \
   filesink location="$OUTPUT_FILE" \
   \
   "$SOURCE_URL" ! \