[gst-devel] Gst : MPEG-4 streaming not working

Bhavana Bhat bhavana.bhat at gmail.com
Fri Oct 20 07:08:17 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. The following is the error message thrown:
==========================================================
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 attached]. 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 in Gstreamer?

Thanks
Bhavana
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.pcap
Type: application/octet-stream
Size: 27962 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20061020/ec2d4af5/attachment.obj>


More information about the gstreamer-devel mailing list