GstNet.NetClientClock ... hangs something

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

GstNet.NetClientClock ... hangs something

Carl Karsten-2
high level goal: mux data from a usb sound device and videotestsrc send to voctomix using NetClientClock.

many video and audio sources work fine.  I have used v4l and alsa no problem.

Now it seems alsa and NetClientClock aren't working together.

To repo this, voctocore is needed:

Or maybe the test server that was made for testing this:

except the client isn't staying connected to that. If you can figure that out too, great.

So, with vocto running, this works fine:
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

or nicer format:
 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

or run the client:
~/voctomix-outcasts$ ./ingest.py --host gator --monitor --debug --audio-source alsa --audio-attribs "device=hw:1" --no-clock


remove the --no-clock option, and that's when it gets stuck.

Is this relevant? 
alsasrc device=hw:1 provide-clock=false slave-method=re-timestamp


--
Carl K

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel