From 79e53cc322ec94d71c3c58e04ee48fa07573b35d Mon Sep 17 00:00:00 2001 From: Antonio Garcia-Dominguez Date: Fri, 8 Jul 2011 19:04:39 +0200 Subject: Use timestamps and avoid choppy audio with sync=false --- prepare-videochat.sh | 6 +++--- 1 file 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 -- cgit v1.2.3