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=sidebyside;hp=e5a87be86c4ddbdba8efe98a54e6bfe4d57dc459 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. \