gst-rtsp-server example problem

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

gst-rtsp-server example problem

ding huah cheng
Hi,
On the latest Ubuntu, I have GStreamer, base and good plugin loaded, gst-rtsp-server is compiled without problem.
At first, I use this command "gst-launch playbin uri="file://$PWD/test.mp4" to make sure GStreamer is functioning.
then I open 2 terminals:
terminal 1: ./test-mp4 test.mp4
terminal 2: gst-launch playbin uri="rtsp://127.0.0.1:8554/test"
This setup never work, terminal 1 always come back with lots error message:

------------------------------------------------------------------------
** Message: client 0x818aec0: received a request
** Message: found media 0x81d1940 for url abspath /test
** Message: enter mainloop
** Message: found stream 0 with payloader 0x8290008
** Message: found stream 1 with payloader 0x82940a0
** Message: constructed media 0x8299008 for url /test
** Message: preparing media 0x8299008

(lt-test-mp4:5764): GLib-GObject-CRITICAL **: g_object_set: assertion `G_IS_OBJECT (object)' failed
(lt-test-mp4:5764): GStreamer-CRITICAL **: gst_bin_add: assertion `GST_IS_ELEMENT (element)' failed
......
...
-------------------------------------------------------------------------

Am I missing something?
Thanks,
Reply | Threaded
Open this post in threaded view
|

Re: gst-rtsp-server example problem

ding huah cheng
Problem solved. my mp4 file format is wrong. Also, plugins bad and ugly are also needed.

--- On Mon, 12/6/10, ding huah cheng <[hidden email]> wrote:

From: ding huah cheng <[hidden email]>
Subject: [gst-devel] gst-rtsp-server example problem
To: [hidden email]
Date: Monday, December 6, 2010, 12:57 PM


Hi,
On the latest Ubuntu, I have GStreamer, base and good plugin loaded,
gst-rtsp-server is compiled without problem.
At first, I use this command "gst-launch playbin uri="file://$PWD/test.mp4"
to make sure GStreamer is functioning.
then I open 2 terminals:
terminal 1: ./test-mp4 test.mp4
terminal 2: gst-launch playbin uri="rtsp://127.0.0.1:8554/test"
This setup never work, terminal 1 always come back with lots error message:

------------------------------------------------------------------------
** Message: client 0x818aec0: received a request
** Message: found media 0x81d1940 for url abspath /test
** Message: enter mainloop
** Message: found stream 0 with payloader 0x8290008
** Message: found stream 1 with payloader 0x82940a0
** Message: constructed media 0x8299008 for url /test
** Message: preparing media 0x8299008

(lt-test-mp4:5764): GLib-GObject-CRITICAL **: g_object_set: assertion
`G_IS_OBJECT (object)' failed
(lt-test-mp4:5764): GStreamer-CRITICAL **: gst_bin_add: assertion
`GST_IS_ELEMENT (element)' failed
......
...
-------------------------------------------------------------------------

Am I missing something?
Thanks,

--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/gst-rtsp-server-example-problem-tp3075311p3075311.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.

------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel@...
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel