[gst-devel] Problem streaming MPEG-4 video using GStreamer over UDP

bhat bhavana natya_mayuri at yahoo.com
Thu Oct 19 17:21:31 CEST 2006


Hi

I'm trying to stream a .mp4 file using the following
Gstreamer command
and a helix server.

gst-launch-0.10 rtspsrc location=<rtsp .mp4> !
rtpmp4vdepay !
ffdec_mpeg4 ! xvimagesink

It does not seem to be working. Gives the following
error:
Setting pipeline to PAUSED ...
/pipeline0/rtspsrc0/udpsrc0: port = 32792
/pipeline0/rtspsrc0/udpsrc1: port = 32793
/pipeline0/rtspsrc0/udpsrc0.src: caps =
application/x-rtp,
media=(string)video, payload=(int)96,
clock-rate=(int)15,
encoding-name=(string)MP4V-ES,
profile-level-id=(string)1,
config=(string)000001b001000001b508000001000000012001c88d88007d04040c14103f
/pipeline0/rtspsrc0/udpsrc0: caps = application/x-rtp,
media=(string)video, payload=(int)96,
clock-rate=(int)15,
encoding-name=(string)MP4V-ES,
profile-level-id=(string)1,
config=(string)000001b001000001b508000001000000012001c88d88007d04040c14103f

(gst-launch-0.10:16493): GStreamer-CRITICAL **:
gst_element_set_state:
assertion `GST_IS_ELEMENT (element)' failed
ERROR: Pipeline doesn't want to pause.
Got Message from element "xvimagesink0"
(state-changed):
GstMessageState, old-state=(GstState)GST_STATE_NULL,
new-state=(GstState)GST_STATE_READY,
pending-state=(GstState)GST_STATE_VOID_PENDING
Got Message from element "ffdec_mpeg40"
(state-changed):
GstMessageState, old-state=(GstState)GST_STATE_NULL,
new-state=(GstState)GST_STATE_READY,
pending-state=(GstState)GST_STATE_VOID_PENDING
Got Message from element "rtpmp4vdepay0"
(state-changed):
GstMessageState, old-state=(GstState)GST_STATE_NULL,
new-state=(GstState)GST_STATE_READY,
pending-state=(GstState)GST_STATE_VOID_PENDING
Got Message from element "rtspsrc0" (state-changed):
GstMessageState,
old-state=(GstState)GST_STATE_NULL,
new-state=(GstState)GST_STATE_READY,
pending-state=(GstState)GST_STATE_VOID_PENDING
Got Message from element "pipeline0" (state-changed):
GstMessageState,
old-state=(GstState)GST_STATE_NULL,
new-state=(GstState)GST_STATE_READY,
pending-state=(GstState)GST_STATE_PAUSED
Got Message from element "ffdec_mpeg40"
(state-changed):
GstMessageState, old-state=(GstState)GST_STATE_READY,
new-state=(GstState)GST_STATE_PAUSED,
pending-state=(GstState)GST_STATE_VOID_PENDING
Got Message from element "rtpmp4vdepay0"
(state-changed):
GstMessageState, old-state=(GstState)GST_STATE_READY,
new-state=(GstState)GST_STATE_PAUSED,
pending-state=(GstState)GST_STATE_VOID_PENDING
Setting pipeline to NULL ...

(gst-launch-0.10:16493): GStreamer-CRITICAL **:
gst_element_set_state:
assertion `GST_IS_ELEMENT (element)' failed
FREEING pipeline ...
(gst-launch-0.10:16493): GStreamer-CRITICAL **:
Trying to dispose element rtspsrc0, but it is not in
the NULL state.
You need to explicitly set elements to the NULL state
before
dropping the final reference, to allow them to clean
up.


(gst-launch-0.10:16493): GStreamer-CRITICAL **:
Trying to dispose element pipeline0, but it is not in
the NULL state.
You need to explicitly set elements to the NULL state
before
dropping the final reference, to allow them to clean
up.



Initial RTSP
message exchange seems to be successful. Even SDP file
is
retrieved[test.pcap]. Further RTP doesnt seem to get
triggered.

The same file seems to be playing with real player.

Can someone let me know what is the problem here?

I want to get a streamer server-client set-up quickly.
Is there any way where I can get a complete setup with
both server and client?

Thanks
Bhavana


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.pcap
Type: application/octet-stream
Size: 27962 bytes
Desc: 2639957495-test.pcap
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20061019/607c51b7/attachment.obj>


More information about the gstreamer-devel mailing list