alsasrc ...is busy

Carl Karsten carl at nextdayvideo.com
Wed Apr 10 05:54:56 UTC 2019


alsasrc device=hw:0,0 ... Device 'hw:0,0' is busy -
how do I un-busy it?

I'm sure that involves discovering what has it locked.

here is the pipeline:

      v4l2src device=/dev/hdmi2usb/by-num/all0/video name=videosrc !
                queue max-size-time=4000000000 !
        image/jpeg,width=1280,height=720 !
                jpegdec !

                videoconvert !
                videoscale !
                videorate !
            video/x-raw,format=I420,width=1280,height=720,framerate=30/1,pixel-aspect-ratio=1/1!
     mux.

                alsasrc device=hw:0,0 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!
     mux.
            matroskamux name=mux !
    tcpclientsink host=192.168.1.118 port=10001

obtained NetClientClock from host: 192.168.1.118:9998
waiting for NetClientClock to sync...
synced with NetClientClock.
starting pipeline...
playing...
Received Error-Signal
Error-Details: #4: gstalsasrc.c(743): gst_alsasrc_open ():
/GstPipeline:pipeline0/GstAlsaSrc:audiosrc:
Device 'hw:0,0' is busy

-- 
Carl K
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190410/9456a5b0/attachment.html>


More information about the gstreamer-devel mailing list