Hi all. Well, I have a few problems with gstreamer. I have successfully compiled TI gstreamer for DM365 DVR. But when I try to start an example piplines a have a lot of problems. For example:
1) gst-launch -v v4l2src always-copy=FALSE input-src=composite ! TIDmaiVideoSink videoStd=D1_NTSC videoOutput=composite contiguousInputFrame=TRUE sync=false (gst-launch-0.10:963): GStreamer-WARNING **: Failed to load plugin '/opt/gstreamer/lib/gstreamer-0.10/libgstalsa.so': libasound.so.2: cannot open shared object file: No such file or directory (gst-launch-0.10:963): GStreamer-WARNING **: Failed to load plugin '/opt/gstreamer/lib/gstreamer-0.10/libgstmad.so': /opt/gstreamer/lib/libid3tag.so.0: undefined symbol: id3_frametype_obsolete Setting pipeline to PAUSED ... ERROR: Pipeline doesn't want to pause. ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Could not open device '/dev/video0' for reading and writing. Additional debug info: v4l2_calls.c(498): gst_v4l2_open (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: system error: Invalid argument Setting pipeline to NULL ... Freeing pipeline ...
2) gst-launch -v filesrc location=/dvr/data/sdda/slava/CH00_0000_352x288.264 ! TIViddec2 codecName=h264dec engineName=decode numOutputBufs=18 ! TIDmaiVideoSink videoStd=D1_NTSC videoOutput=composite sync=false (gst-launch-0.10:1190): GStreamer-WARNING **: Failed to load plugin '/opt/gstreamer/lib/gstreamer-0.10/libgstalsa.so': libasound.so.2: cannot open shared object file: No such file or directory (gst-launch-0.10:1190): GStreamer-WARNING **: Failed to load plugin '/opt/gstreamer/lib/gstreamer-0.10/libgstmad.so': /opt/gstreamer/lib/libid3tag.so.0: undefined symbol: id3_frametype_obsolete Setting pipeline to PAUSED ... Pipeline is PREROLLING ... /GstPipeline:pipeline0/GstTIViddec2:tividdec20.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)NV12, framerate=(fraction)30000/1001, width=(int)352, height=(int)288 /GstPipeline:pipeline0/GstTIDmaiVideoSink:tidmaivideosink0.GstPad:sink: caps = video/x-raw-yuv, format=(fourcc)NV12, framerate=(fraction)30000/1001, width=(int)352, height=(int)288 Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock
3) gst-launch -v videotestsrc ! TIVidenc1 codecName=mpeg4enc engineName=encode contiguousInputFrame=TRUE ! rtpmp4vpay pt=96 ! udpsink host=127.0.0.1 port=5000
(gst-launch-0.10:1096): GStreamer-WARNING **: Failed to load plugin '/opt/gstreamer/lib/gstreamer-0.10/libgstalsa.so': libasound.so.2: cannot open shared object file: No such file or directory (gst-launch-0.10:1096): GStreamer-WARNING **: Failed to load plugin '/opt/gstreamer/lib/gstreamer-0.10/libgstmad.so': /opt/gstreamer/lib/libid3tag.so.0: undefined symbol: id3_frametype_obsolete Setting pipeline to PAUSED ... /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)UYVY, 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, 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)1, config=(string)000001010000012000845d4c285020f0a21f, payload=(int)96, ssrc=(guint)2508755463, clock-base=(guint)713889073, seqnum-base=(guint)40336 /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)1, config=(string)000001010000012000845d4c285020f0a21f, payload=(int)96, ssrc=(guint)2508755463, clock-base=(guint)713889073, seqnum-base=(guint)40336 Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock
4) gst-launch -v videotestsrc ! TIDmaiVideoSink videoStd=D1_NTSC videoOutput=composite accelFrameCopy=FALSE sync=false
(gst-launch-0.10:1170): GStreamer-WARNING **: Failed to load plugin '/opt/gstreamer/lib/gstreamer-0.10/libgstalsa.so': libasound.so.2: cannot open shared object file: No such file or directory (gst-launch-0.10:1170): GStreamer-WARNING **: Failed to load plugin '/opt/gstreamer/lib/gstreamer-0.10/libgstmad.so': /opt/gstreamer/lib/libid3tag.so.0: undefined symbol: id3_frametype_obsolete Setting pipeline to PAUSED ... /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)UYVY, width=(int)320, height=(int)240, framerate=(fraction)30/1 Pipeline is PREROLLING ... /GstPipeline:pipeline0/GstTIDmaiVideoSink:tidmaivideosink0.GstPad:sink: caps = video/x-raw-yuv, format=(fourcc)UYVY, width=(int)320, height=(int)240, framerate=(fraction)30/1 Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock
And I have a questions. This dm365 dvr support TI gstreamer? if support, how i can solve this problems?
I know about MCVIP and a want to know, are there any gstreamer pipelines to use this interface? This board support v4l ?
My main aim is stream video by gstreamer via rtsp. Input would be udp socket(if v4l,mcvip not support).
It's a real on this board?
Thanks