Hi all!
I have a BeagleboardXm RevC with dm3730 processor and I want to use Gstreamer for video stream. I've used the dvsdk4.01 and the beagleboard's script from this site: http://sourceforge.net/projects/dvsdkbbxm/files/DVSDK-4.01%20for%20BeagleBoard/DVSDK%20for%20BB%20xM-C/Source%20files/ and got a working image with TI gstreamer plugin. When trying to stream I use on the sending side: gst-launch -v videotestsrc ! TIVidenc1 codecName=mpeg4enc engineName=codecServer ! rtpmp4vpay ! udpsink host=10.0.0.2 port=5000 and on the receiving side: gst-launch -v udpsrc port=5000 caps="application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)MP4V-ES, profile-level-id=(string)5, config=(string)000001b005000001b509000001000000012000845d4c285020f0a31f, payload=(int)96, ssrc=(uint)1103107745, clock-base=(uint)1069212258, seqnum-base=(uint)34650" ! rtpmp4vdepay ! TIViddec2 codecName=mpeg2dec engineName=codecServer ! TIDmaiVideoSink videoOutput=LCD videoStd=VGA -v sync=false when I copy the caps from from the rtpmp4vpay0.GstPad:src: sending side. I get: on the sending side: Setting pipeline to PAUSED ... /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)UYVY, color-matrix=(string)sdtv, chroma-site=(string)mpeg2, width=(int)320, height=(int)240, framerate=(fraction)30/1 Pipeline is PREROLLING ... /GstPipeline:pipeline0/GstTIVidenc1:tividenc10.GstPad:sink: caps = video/x-raw-yuv, format=(fourcc)UYVY, color-matrix=(string)sdtv, chroma-site=(string)mpeg2, width=(int)320, height=(int)240, framerate=(fraction)30/1 /GstPipeline:pipeline0/GstTIVidenc1:tividenc10.GstPad:src: caps = video/mpeg, mpegversion=(int)4, framerate=(fraction)30/1, width=(int)320, height=(int)240 /GstPipeline:pipeline0/GstRtpMP4VPay:rtpmp4vpay0.GstPad:sink: caps = video/mpeg, mpegversion=(int)4, framerate=(fraction)30/1, width=(int)320, height=(int)240 /GstPipeline:pipeline0/GstRtpMP4VPay:rtpmp4vpay0.GstPad:src: caps = application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)MP4V-ES, profile-level-id=(string)5, config=(string)000001b005000001b509000001000000012000845d4c285020f0a31f, payload=(int)96, ssrc=(uint)1103107745, clock-base=(uint)1069212258, seqnum-base=(uint)34650 /GstPipeline:pipeline0/GstUDPSink:udpsink0.GstPad:sink: caps = application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)MP4V-ES, profile-level-id=(string)5, config=(string)000001b005000001b509000001000000012000845d4c285020f0a31f, payload=(int)96, ssrc=(uint)1103107745, clock-base=(uint)1069212258, seqnum-base=(uint)34650 Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock and on the receiving: Setting pipeline to PAUSED ... Pipeline is live and does not need PREROLL ... Setting pipeline to PLAYING ... New clock: GstSystemClock /GstPipeline:pipeline0/GstRtpMP4VDepay:rtpmp4vdepay0.GstPad:src: caps = video/mpeg, mpegversion=(int)4, systemstream=(boolean)false, codec_data=(buffer)000001b005000001b509000001000000012000845d4c285020f0a31f /GstPipeline:pipeline0/GstRtpMP4VDepay:rtpmp4vdepay0.GstPad:sink: caps = application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)MP4V-ES, profile-level-id=(string)5, config=(string)000001b005000001b5090000010 /GstPipeline:pipeline0/GstTIViddec2:tividdec20.GstPad:sink: caps = video/mpeg, mpegversion=(int)4, systemstream=(boolean)false, codec_data=(buffer)000001b005000001b509000001000000012000845d4c285020f0a31f /GstPipeline:pipeline0/GstTIViddec2:tividdec20.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)UYVY, framerate=(fraction)30000/1001, width=(int)1280, height=(int)720 but nothing on screen... When I try to loopback, just fro a check: gst-launch -v videotestsrc ! TIDmaiVideoSink videoOutput=LCD videoStd=VGA displayStd=fbdev displayDevice=/dev/fb0 -v sync=false I get: Setting pipeline to PAUSED ... /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)UYVY, color-matrix=(string)sdtv, chroma-site=(string)mpeg2, width=(int)320, height=(int)240, framerate=(fraction)30/1 Pipeline is PREROLLING ... Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock Got EOS from element "pipeline0". Execution ended after 1647949 ns. Setting pipeline to PAUSED ... Setting pipeline to READY ... /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0.GstPad:src: caps = NULL Setting pipeline to NULL ... Freeing pipeline . I use a web cam that gets recognized: usb 2-2.2: USB disconnect, address 4 usb 2-2.2: new high speed USB device using ehci-omap and address 6 usb 2-2.2: New USB device found, idVendor=058f, idProduct=3821 usb 2-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 usb 2-2.2: Product: 2M WebCam usb 2-2.2: Manufacturer: Alcor Micro, Corp. uvcvideo: Found UVC 1.00 device 2M WebCam (058f:3821) input: 2M WebCam as /devices/platform/ehci-omap.0/usb2/2-2/2-2.2/2-2.2:1.0/input/input4 Any ideas?? I saw a recommendation to use "tidisplaysink2" instead of "TIDmaiVideoSink" but I don't have this element... Thanks!! Aline. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
