transfer of video via udp/rtp/rtsp

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On Wed, 2009-06-03 at 15:15 +0530, Mehta, Neel wrote:
> Hi
> 
>  
> 
> I want to transfer a mpeg4 video from my TI?s dm355 evm (ARM) to my pc
> (see on vlc). I have tried:
> 
>  
> 
> 1. UDP: gst-launch-0.10 -v videotestsrc ! TIVidenc1 codecName=mpeg4enc
> engineName=encode contiguousInputFrame=FALSE ! rtpmp4vpay ! udpsink
> port=1234
> 
>  
> 
> The pipeline works perfectly, but I am unable to see any video via
> vlc.
> 
>  
> 
> 2. RTSP: ./test-launch --gst-debug-no-color --gst-debug=0 "( filesrc
> location=foreman_422_vga._swap.yuv ! TIVidenc1 codecName=mpeg4enc
> engineName=encode contiguousInputFrame=FALSE iColorSpace=UYVY
> resolution=640x480 ! rtpmp4vpay pt=96 name=pay0 )"
> 

It seems like rtpmp4vpay could not set caps on the output pad. This is
likely because the encoder did not set proper caps on the output
buffers.

Check this:

gst-launch-0.10 -v filesrc location=foreman_422_vga._swap.yuv !
TIVidenc1 codecName=mpeg4enc engineName=encode
contiguousInputFrame=FALSE iColorSpace=UYVY resolution=640x480 !
rtpmp4vpay ! udpsink

And see what caps (if any) are set on udpsink.

also, I solved the warnings in the rtsp server by ignoring streams that
don't have a correct type.

Wim

>  
> 
> It gives me the following error:
> 
> ** Message: client 0x16cf0: received a request
> 
> ** Message: found media 0x52dc0 for url abspath /test
> 
>  
> 
> ** Message: constructed media 0x58c20 for url /test
> 
> ** Message: preparing media 0x58c20
> 
>  
> 
> ** Message: enter mainloop
> 
>  
> 
>  (lt-test-launch:1615): GStreamer-CRITICAL **: gst_debug_log_valist:
> assertion `category != NULL' failed
> 
>  
> 
> (lt-test-launch:1615): GStreamer-CRITICAL **: gst_debug_log_valist:
> assertion `category != NULL' failed
> 
> ** Message: 0x58c20: got message type async-done
> 
> ** Message: position query failed
> 
> ** Message: duration query failed
> 
> ** Message: stats: position 0:00:00.000000000, duration
> 99:99:99.999999999
> 
> ** Message: object 0x58c20 is prerolled
> 
>  
> 
> (lt-test-launch:1615): GStreamer-CRITICAL **: gst_caps_get_structure:
> assertion `GST_IS_CAPS (caps)' failed
> 
>  
> 
> (lt-test-launch:1615): GStreamer-CRITICAL **:
> gst_structure_get_string: assertion `structure != NULL' failed
> 
>  
> 
> (lt-test-launch:1615): GStreamer-CRITICAL **: gst_structure_get_int:
> assertion `structure != NULL' failed
> 
>  
> 
> (lt-test-launch:1615): GStreamer-CRITICAL **: gst_structure_get_int:
> assertion `structure != NULL' failed
> 
>  
> 
> (lt-test-launch:1615): GStreamer-CRITICAL **:
> gst_structure_get_string: assertion `structure != NULL' failed
> 
>  
> 
> (lt-test-launch:1615): GStreamer-CRITICAL **:
> gst_structure_get_string: assertion `structure != NULL' failed
> Segmentation fault
> 
>  
> 
> Can anyone help me in debugging? Or suggest some other way to
> implement the video transfer. My ultimate aim is to transfer the video
> and see on vlc, irrespective of the protocols used.
> 
>  
> 
> Thanks in advance.
> 
>  
> 
> Regards,
> 
> Neel.
> 
>  
> 
>  
> 
> 
> ------------------------------------------------------------------------------
> OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
> looking to deploy the next generation of Solaris that includes the latest 
> innovations from Sun and the OpenSource community. Download a copy and 
> enjoy capabilities such as Networking, Storage and Virtualization. 
> Go to: http://p.sf.net/sfu/opensolaris-get
> _______________________________________________ Gstreamer-embedded mailing list Gstreamer-embedded at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gstreamer-embedded





[Index of Archives]     [Linux Embedded]     [Linux ARM Kernel]     [Linux for ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux Media]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux