From: Antonio Ospite Date: Mon, 31 Jul 2017 10:54:36 +0000 (+0200) Subject: gst-screencast.sh: flush on EOS to make videos usable in video editors X-Git-Url: https://git.ao2.it/experiments/gstreamer.git/commitdiff_plain/1d15b020fc59912e53733be0c5cff1ef6ecbf6ef?ds=inline gst-screencast.sh: flush on EOS to make videos usable in video editors --- diff --git a/shell/gst-screencast.sh b/shell/gst-screencast.sh index e9c03d0..e601a62 100755 --- a/shell/gst-screencast.sh +++ b/shell/gst-screencast.sh @@ -116,7 +116,7 @@ else AUDIO_PIPELINE="pulsesrc ! audioconvert ! audio/x-raw,rate=44100,channels=2 ! queue ! mux." fi - gst-launch-1.0 -v \ + gst-launch-1.0 -v -e \ matroskamux name=mux ! filesink location="$FILENAME" \ ximagesrc use-damage=0 show-pointer=$SHOW_POINTER $XIMAGESRC_ARGS ! video/x-raw,framerate=25/1 ! \ videoconvert ! videorate ! $VIDEO_CODEC ! queue ! mux. \