summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Garcia-Dominguez <antonio.garciadominguez@uca.es>2011-07-08 19:04:39 +0200
committerAntonio Garcia-Dominguez <antonio.garciadominguez@uca.es>2011-07-08 19:04:39 +0200
commit79e53cc322ec94d71c3c58e04ee48fa07573b35d (patch)
tree6dc3220b214fdd704dea426d68522b5496a9ed50
parentac215e17464b5341f3e162c9541a58eaf09a639c (diff)
Use timestamps and avoid choppy audio with sync=false
-rwxr-xr-xprepare-videochat.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/prepare-videochat.sh b/prepare-videochat.sh
index 699730c..96bfda2 100755
--- a/prepare-videochat.sh
+++ b/prepare-videochat.sh
@@ -51,8 +51,8 @@ if ! type gst-launch; then
sudo apt-get install gstreamer0.10-tools
fi
gst-launch -v \
- souphttpsrc location="http://$IP:$PORT/videofeed" is_live=true \
+ souphttpsrc location="http://$IP:$PORT/videofeed" do-timestamp=true is_live=true \
! jpegdec ! ffmpegcolorspace ! v4l2sink device=/dev/video0 \
- souphttpsrc location="http://$IP:$PORT/audio.wav" is_live=true \
- ! wavparse ! pulsesink device=null
+ souphttpsrc location="http://$IP:$PORT/audio.wav" do-timestamp=true is_live=true \
+ ! wavparse ! pulsesink device=null sync=false \
2>&1 | tee feed.log