diff options
Diffstat (limited to 'voctocore/scripts/videosrc1.sh')
-rwxr-xr-x | voctocore/scripts/videosrc1.sh | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/voctocore/scripts/videosrc1.sh b/voctocore/scripts/videosrc1.sh index 39e5212..fe34b16 100755 --- a/voctocore/scripts/videosrc1.sh +++ b/voctocore/scripts/videosrc1.sh @@ -1,8 +1,9 @@ #!/bin/sh +mkdir -p /tmp/voctomix-sockets/ rm -f /tmp/voctomix-sockets/v-cam1 /tmp/voctomix-sockets/a-cam1 gst-launch-1.0 -v \ uridecodebin \ - uri=file:///home/peter/ED_1280.avi \ + uri=file:///home/peter/avsync.mp4 \ name=src \ \ src. !\ @@ -12,20 +13,18 @@ gst-launch-1.0 -v \ videorate !\ videoscale !\ video/x-raw,format=RGBx,width=1280,height=720,framerate=25/1 !\ + gdppay !\ shmsink \ - sync=true \ socket-path=/tmp/voctomix-sockets/v-cam1 \ - wait-for-connection=false \ shm-size=100000000 \ \ src. !\ queue !\ + audioresample !\ audioconvert !\ - audiorate !\ - audio/x-raw,format=F32LE,layout=interleaved,channels=2,rate=48000 !\ + audio/x-raw,format=S16LE,layout=interleaved,rate=48000,channels=2 !\ + gdppay !\ shmsink \ - sync=true \ socket-path=/tmp/voctomix-sockets/a-cam1 \ - wait-for-connection=false \ shm-size=10000000 |