diff options
author | Antonio Garcia-Dominguez <antonio.garciadominguez@uca.es> | 2011-07-08 19:04:39 +0200 |
---|---|---|
committer | Antonio Garcia-Dominguez <antonio.garciadominguez@uca.es> | 2011-07-08 19:04:39 +0200 |
commit | 79e53cc322ec94d71c3c58e04ee48fa07573b35d (patch) | |
tree | 6dc3220b214fdd704dea426d68522b5496a9ed50 /prepare-videochat.sh | |
parent | ac215e17464b5341f3e162c9541a58eaf09a639c (diff) |
Use timestamps and avoid choppy audio with sync=false
Diffstat (limited to 'prepare-videochat.sh')
-rwxr-xr-x | prepare-videochat.sh | 6 |
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 |