summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaZderMind <github@mazdermind.de>2015-05-13 19:43:18 +0200
committerMaZderMind <github@mazdermind.de>2015-05-13 19:43:18 +0200
commit06fac2f7387b40b77a1d76335c0afe30d469e659 (patch)
treee2a3192f6e124fd044b43364c60149062aca3956
parent943ab31a0f32b7bb50fa1ff90c9ce8d72b232cfd (diff)
Nice Timeoverlay on record & source
-rwxr-xr-xvoctocore/scripts/av-record-cam1-mirror.sh3
-rwxr-xr-xvoctocore/scripts/av-source-eevblog.sh3
2 files changed, 4 insertions, 2 deletions
diff --git a/voctocore/scripts/av-record-cam1-mirror.sh b/voctocore/scripts/av-record-cam1-mirror.sh
index 2e7899d..d4e4515 100755
--- a/voctocore/scripts/av-record-cam1-mirror.sh
+++ b/voctocore/scripts/av-record-cam1-mirror.sh
@@ -5,7 +5,8 @@ gst-launch-1.0 \
\
demux. !\
queue !\
- timeoverlay !\
+ textoverlay halignment=left valignment=top ypad=250 text=Recording !\
+ timeoverlay halignment=left valignment=top ypad=250 xpad=400 !\
avenc_mpeg2video bitrate=5000000 max-key-interval=0 !\
queue !\
mux. \
diff --git a/voctocore/scripts/av-source-eevblog.sh b/voctocore/scripts/av-source-eevblog.sh
index f99e43f..373cb77 100755
--- a/voctocore/scripts/av-source-eevblog.sh
+++ b/voctocore/scripts/av-source-eevblog.sh
@@ -8,7 +8,8 @@ gst-launch-1.0 -vm \
videoconvert !\
videoscale !\
video/x-raw,format=I420,width=1280,height=720,framerate=25/1,pixel-aspect-ratio=1/1 ! \
- timeoverlay valignment=bottom ! \
+ textoverlay halignment=left valignment=top ypad=300 text=Playback !\
+ timeoverlay halignment=left valignment=top ypad=300 xpad=400 !\
mux. \
\
src. !\