transmit video stream- example doesn't work

d dudi017 at gmail.com
Sat Jan 25 03:14:18 PST 2014


Hi,

Im trying to send video+audio stream via rtp. and open it with another pc
via VLC.
I have tried to play two examples: test-launch.c, test-mp4.c.

1) when I try to launch test-launch.c with:  *./test-launch.c movie.MP4*

   on the *server* i get this error: 
          ** (vaexe:24556): CRITICAL **: could not parse launch syntax
(movie.MP4): Unrecoverable syntax error while  parsing     pipeline
movie.MP4
          ** (vaexe:24556): CRITICAL **: could not create element

  on the *VLC client* i get this error: 
       your input can't be opened:
       Following address was not opened by VLC
'rtsp://192.168.1.22:8554/name' please refer to the log for details


2) when I try to launch  test-mp4.c with: * ./test-mp4.c movie.MP4,*

   on the *server *i get this error: 
(test-mp4exe:24739): GLib-GObject-CRITICAL **: g_object_ref: assertion
`G_IS_OBJECT (object)' failed
** (testmp4exe:24739): CRITICAL **: gst_rtsp_media_factory_get_auth:
assertion `GST_IS_RTSP_MEDIA_FACTORY (factory)' failed

   on the *VLC client* i get this error: 
your input can't be opened:
Following address was not opened by VLC 'rtsp://192.168.1.22:8554/name'
please refer to the log for details

I didn't change anything in the code, except the line:
/* attach the test factory to the /test url */
  gst_rtsp_media_mapping_add_factory (mapping, "/name", factory);  (instead
of "/test")


if someone know what am I doing wrong it will be great!

thanks.








--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/transmit-video-stream-example-doesn-t-work-tp4664868.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list