webcam+rtp

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

webcam+rtp

vaisakhn7
Hi all
I was trying  to send the webcam captured video via RTP
for that i  ran pipeline in receiver side like this

RECEIVER
./gst-launch-0.10 udpsrc port=5000 ! rtpmp4vdepay ! ffdec_mpeg4 !
ffmpegcolorspace ! xvimagesink

SENDER
./gst-launch -v v4lsrc ! ffenc_mpeg4 ! rtpmp4vpay ! udpsink  port=5000

( on same pc  )
/******************************/

But In the RECEIVER side an error comes  like this
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
ERROR: from element /GstPipeline:pipeline0/ffdec_mpeg4:ffdec_mpeg40:
Internal GStreamer error: negotiation problem.  Please file a bug at
http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer.
Additional debug info:
gstffmpegdec.c(1981): gst_ffmpegdec_chain ():
/GstPipeline:pipeline0/ffdec_mpeg4:ffdec_mpeg40:
ffdec_mpeg4: input format was not set before data start
Execution ended after 30203619000 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
FREEING pipeline ...
/****************/


is there any thing   wrong with  my pipeline?
help me please
Thanks in advance
***** Confidentiality Statement/Disclaimer *****

This message and any attachments is intended for the sole use of the intended recipient. It may contain confidential information. Any unauthorized use, dissemination or modification is strictly prohibited. If you are not the intended recipient, please notify the sender immediately then delete it from all your systems, and do not copy, use or print. Internet communications are not secure and it is the responsibility of the recipient to make sure that it is virus/malicious code exempt.
The company/sender cannot be responsible for any unauthorized alterations or modifications made to the contents. If you require any form of confirmation of the contents, please contact the company/sender. The company/sender is not liable for any errors or omissions in the content of this message.
***** Confidentiality Statement/Disclaimer *****  

This message and any attachments is intended for the sole use of the intended recipient. It may contain confidential information. Any unauthorized use, dissemination or modification is strictly prohibited. If you are not the intended recipient, please notify the sender immediately then delete it from all your systems, and do not copy, use or print. Internet communications are not secure and it is the responsibility of the recipient to make sure that it is virus/malicious code exempt.

The company/sender cannot be responsible for any unauthorized alterations or modifications made to the contents. If you require any form of confirmation of the contents, please contact the company/sender. The company/sender is not liable for any errors or omissions in the content of this message.


------------------------------------------------------------------------------
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: webcam+rtp

roope.jarvinen

Hi,

You need to set caps to the udpsrc element. As you are using rtpmp4vdepay, you also have to include config line in caps. Read this document and pay attention starting from line 262:

http://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/gst/rtp/README




 

>-----Original Message-----
>From: ext vaisakh.n [mailto:[hidden email]]
>Sent: 26 March, 2009 09:04
>To: Discussion of the development of GStreamer
>Subject: [gst-devel] webcam+rtp
>
>Hi all
>I was trying  to send the webcam captured video via RTP for
>that i  ran pipeline in receiver side like this
>
>RECEIVER
>./gst-launch-0.10 udpsrc port=5000 ! rtpmp4vdepay ! ffdec_mpeg4 !
>ffmpegcolorspace ! xvimagesink
>
>SENDER
>./gst-launch -v v4lsrc ! ffenc_mpeg4 ! rtpmp4vpay ! udpsink  port=5000
>
>( on same pc  )
>/******************************/
>
>But In the RECEIVER side an error comes  like this Setting
>pipeline to PAUSED ...
>Pipeline is live and does not need PREROLL ...
>Setting pipeline to PLAYING ...
>New clock: GstSystemClock
>ERROR: from element /GstPipeline:pipeline0/ffdec_mpeg4:ffdec_mpeg40:
>Internal GStreamer error: negotiation problem.  Please file a
>bug at http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer.
>Additional debug info:
>gstffmpegdec.c(1981): gst_ffmpegdec_chain ():
>/GstPipeline:pipeline0/ffdec_mpeg4:ffdec_mpeg40:
>ffdec_mpeg4: input format was not set before data start
>Execution ended after 30203619000 ns.
>Setting pipeline to PAUSED ...
>Setting pipeline to READY ...
>Setting pipeline to NULL ...
>FREEING pipeline ...
>/****************/
>
>
>is there any thing   wrong with  my pipeline?
>help me please
>Thanks in advance
>***** Confidentiality Statement/Disclaimer *****
>
>This message and any attachments is intended for the sole use
>of the intended recipient. It may contain confidential
>information. Any unauthorized use, dissemination or
>modification is strictly prohibited. If you are not the
>intended recipient, please notify the sender immediately then
>delete it from all your systems, and do not copy, use or
>print. Internet communications are not secure and it is the
>responsibility of the recipient to make sure that it is
>virus/malicious code exempt.
>The company/sender cannot be responsible for any unauthorized
>alterations or modifications made to the contents. If you
>require any form of confirmation of the contents, please
>contact the company/sender. The company/sender is not liable
>for any errors or omissions in the content of this message.
>***** Confidentiality Statement/Disclaimer *****  
>
>This message and any attachments is intended for the sole use
>of the intended recipient. It may contain confidential
>information. Any unauthorized use, dissemination or
>modification is strictly prohibited. If you are not the
>intended recipient, please notify the sender immediately then
>delete it from all your systems, and do not copy, use or
>print. Internet communications are not secure and it is the
>responsibility of the recipient to make sure that it is
>virus/malicious code exempt.
>
>The company/sender cannot be responsible for any unauthorized
>alterations or modifications made to the contents. If you
>require any form of confirmation of the contents, please
>contact the company/sender. The company/sender is not liable
>for any errors or omissions in the content of this message.
>
>
>---------------------------------------------------------------
>---------------
>_______________________________________________
>gstreamer-devel mailing list
>[hidden email]
>https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
------------------------------------------------------------------------------
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel