<div dir="ltr"><div>high level goal: mux data from a usb sound device and videotestsrc send to voctomix using NetClientClock.</div><div><br></div><div>many video and audio sources work fine.  I have used v4l and alsa no problem.</div><div><br></div><div>Now it seems alsa and NetClientClock aren't working together.</div><div><br></div><div>To repo this, voctocore is needed:</div><div><a href="https://github.com/CarlFK/voctomix-outcasts#getting-started--demo">https://github.com/CarlFK/voctomix-outcasts#getting-started--demo</a></div><div><br></div><div>Or maybe the test server that was made for testing this:<br></div><div><a href="https://github.com/CarlFK/voctomix-outcasts/blob/master/tests/dummy-server.py#L59">https://github.com/CarlFK/voctomix-outcasts/blob/master/tests/dummy-server.py#L59</a></div><div><br></div><div>except the client isn't staying connected to that. If you can figure that out too, great.</div><div><br></div><div>So, with vocto running, this works fine:</div><div>gst-launch-1.0 videotestsrc name=videosrc \! clockoverlay text="Source: pdp11 Caps: video/x-raw,format=I420,width=1280,height=720,framerate=30/1,pixel-aspect-ratio=1/1 Attribs: " halignment=left line-alignment=left \! tee name=t \! queue \! videoconvert \! fpsdisplaysink sync=false t. \! queue \! videoconvert \! videorate \! videoscale \! video/x-raw,format=I420,width=1280,height=720,framerate=30/1,pixel-aspect-ratio=1/1 \! mux. alsasrc device=hw:1 provide-clock=false slave-method=re-timestamp name=audiosrc \! queue max-size-time=4000000000 \! audiorate \! audio/x-raw,format=S16LE,channels=2,layout=interleaved,rate=48000 \! tee name=audio_tee audio_tee. \! queue \! mux. matroskamux name=mux \! tcpclientsink host=192.168.1.118 port=10000</div><div><br></div><div>or nicer format:</div><div> videotestsrc name=videosrc  !<br>    clockoverlay<br>        text="Source: pdp11<br>Caps: video/x-raw,format=I420,width=1280,height=720,framerate=30/1,pixel-aspect-ratio=1/1<br>Attribs: "<br>        halignment=left line-alignment=left !<br>                        tee name=t ! queue !<br>                    videoconvert ! fpsdisplaysink sync=false<br>                    t. ! queue !<br>            videoconvert ! videorate ! videoscale !<br>video/x-raw,format=I420,width=1280,height=720,framerate=30/1,pixel-aspect-ratio=1/1 !<br>             mux.<br>           alsasrc device=hw:1 provide-clock=false slave-method=re-timestamp name=audiosrc !<br>                queue max-size-time=4000000000 ! audiorate !  <br>       audio/x-raw,format=S16LE,channels=2,layout=interleaved,rate=48000 !<br>    tee name=audio_tee<br>      audio_tee. ! queue !<br>             mux.<br>            matroskamux name=mux !<br>    tcpclientsink host=192.168.1.118 port=10000<br></div><div><br></div><div>or run the client:</div><div>~/voctomix-outcasts$ ./ingest.py --host gator --monitor --debug --audio-source alsa --audio-attribs "device=hw:1" --no-clock</div><div><br></div><div><a href="https://github.com/CarlFK/voctomix-outcasts/blob/master/ingest.py">https://github.com/CarlFK/voctomix-outcasts/blob/master/ingest.py</a></div><div><br></div><div>remove the --no-clock option, and that's when it gets stuck.<br></div><div><br></div><div>     <span class="gmail-pl-s"><span class="gmail-pl-pds">Is this relevant?  <br></span></span></div><div>alsasrc device=hw:1 provide-clock=false slave-method=re-timestamp</div><div><br></div><div><br>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><span>Carl K<br></span></div></div></div></div>