Tristan tried to help me. I tried setting caps as recommended. Still not working.
Thanks for looking. # rtp-server gst-launch \ videotestsrc pattern=red \ ! video/x-raw-rgb, format=\(fourcc\)RGB, width=4, height=4, frame-rate=1/1 \ ! rtpvrawpay \ ! udpsink host=127.0.0.1 port=51234 # rtp-client CAPS="application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)RAW," CAPS=$CAPS"sampling=(string)RGB,depth=(int)8,width=(int)4,height=(int)4" gst-launch \ udpsrc uri=udp://127.0.0.1:51234 caps=$CAPS \ ! rtpvrawdepay \ ! video/x-raw-rgb, format=\(fourcc\)RGB, width=4, height=4, frame-rate=1/1 \ ! ffmpegcolorspace \ ! ximagesink Setting pipeline to PAUSED ... Pipeline is live and does not need PREROLL ... Setting pipeline to PLAYING ... New clock: GstSystemClock 0:00:00.056868267 14918 0x1188c90 ERROR rtpvrawdepay gstrtpvrawdepay.c:240:gst_rtp_vraw_depay_setcaps:<rtpvrawdepay0> no width specified ERROR: from element /GstPipeline:pipeline0/GstUDPSrc:udpsrc0: Internal data flow error. Additional debug info: gstbasesrc.c(2562): gst_base_src_loop (): /GstPipeline:pipeline0/GstUDPSrc:udpsrc0: streaming task paused, reason not-negotiated (-4) Execution ended after 18091128 ns. Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... Freeing pipeline ... ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
On Thu, 2010-09-02 at 23:54 -0500, Bert Douglas wrote:
> Tristan tried to help me. I tried setting caps as recommended. Still > not working. You're doing it wrong. read the instructions in this document carefully: http://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/gst/rtp/README#n251 Wim > Thanks for looking. > > # rtp-server > gst-launch \ > videotestsrc pattern=red \ > ! video/x-raw-rgb, format=\(fourcc\)RGB, width=4, height=4, > frame-rate=1/1 \ > ! rtpvrawpay \ > ! udpsink host=127.0.0.1 port=51234 > > # rtp-client > CAPS="application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)RAW," > CAPS= > $CAPS"sampling=(string)RGB,depth=(int)8,width=(int)4,height=(int)4" > gst-launch \ > udpsrc uri=udp://127.0.0.1:51234 caps=$CAPS \ > ! rtpvrawdepay \ > ! video/x-raw-rgb, format=\(fourcc\)RGB, width=4, height=4, > frame-rate=1/1 \ > ! ffmpegcolorspace \ > ! ximagesink > > Setting pipeline to PAUSED ... > Pipeline is live and does not need PREROLL ... > Setting pipeline to PLAYING ... > New clock: GstSystemClock > 0:00:00.056868267 14918 0x1188c90 ERROR rtpvrawdepay > gstrtpvrawdepay.c:240:gst_rtp_vraw_depay_setcaps:<rtpvrawdepay0> no > width specified > ERROR: from element /GstPipeline:pipeline0/GstUDPSrc:udpsrc0: Internal > data flow error. > Additional debug info: > gstbasesrc.c(2562): gst_base_src_loop > (): /GstPipeline:pipeline0/GstUDPSrc:udpsrc0: > streaming task paused, reason not-negotiated (-4) > Execution ended after 18091128 ns. > Setting pipeline to PAUSED ... > Setting pipeline to READY ... > Setting pipeline to NULL ... > Freeing pipeline ... > > > > ------------------------------------------------------------------------------ > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Thanks much to Wim for the excellent pointer.
--Bert On Fri, Sep 3, 2010 at 3:10 AM, Wim Taymans <[hidden email]> wrote:
------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
I followed Wim's very helpful advice. It goes a bit further than before.
Sadly, then there is a segment fault. # rtp-server gst-launch -v \ videotestsrc pattern=red \ ! video/x-raw-rgb, width=400, height=300, framerate=\(fraction\)10/1 \ ! rtpvrawpay ssrc=1 timestamp-offset=0 seqnum-offset=0 \ ! udpsink host=127.0.0.1 port=51234 # rtp-client caps="application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)RAW,sampling=(string)RGBA,depth=(string)8,width=(string)4,height=(string)4,colorimetry=(string)SMPTE240M,payload=(int)96,ssrc=(uint)1,clock-base=(uint)0,seqnum-base=(uint)0,framerate=(fraction)10/1" gst-launch -v \ udpsrc uri=udp://127.0.0.1:51234 caps=$caps \ ! rtpvrawdepay \ ! video/x-raw-rgb,format=\(fourcc\)RGBA,framerate=\(fraction\)10/1 \ ! ffmpegcolorspace \ ! ximagesink $ . rtp-client.sh Setting pipeline to PAUSED ... Pipeline is live and does not need PREROLL ... Setting pipeline to PLAYING ... New clock: GstSystemClock /GstPipeline:pipeline0/GstRtpVRawDepay:rtpvrawdepay0.GstPad:src: caps = video/x-raw-rgb, width=(int)4, height=(int)4, format=(fourcc)0x00000000, framerate=(fraction)0/1 /GstPipeline:pipeline0/GstRtpVRawDepay:rtpvrawdepay0.GstPad:sink: caps = application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)RAW, sampling=(string)RGBA, depth=(string)8, width=(string)4, height=(string)4, colorimetry=(string)SMPTE240M, payload=(int)96, ssrc=(uint)1, clock-base=(uint)0, seqnum-base=(uint)0, framerate=(fraction)10/1 Segmentation fault On Fri, Sep 3, 2010 at 10:07 AM, Bert Douglas <[hidden email]> wrote: Thanks much to Wim for the excellent pointer. ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
On Fri, 2010-09-03 at 11:35 -0500, Bert Douglas wrote:
> I followed Wim's very helpful advice. It goes a bit further than > before. > Sadly, then there is a segment fault. You didn't copy the caps correctly, the width and height are not right in the receiver. The crash is because of a bug in the depayloader (fixing now). Wim > > # rtp-server > gst-launch -v \ > videotestsrc pattern=red \ > ! video/x-raw-rgb, width=400, height=300, framerate=\(fraction > \)10/1 \ > ! rtpvrawpay ssrc=1 timestamp-offset=0 seqnum-offset=0 \ > ! udpsink host=127.0.0.1 port=51234 > > # rtp-client > caps="application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)RAW,sampling=(string)RGBA,depth=(string)8,width=(string)4,height=(string)4,colorimetry=(string)SMPTE240M,payload=(int)96,ssrc=(uint)1,clock-base=(uint)0,seqnum-base=(uint)0,framerate=(fraction)10/1" > gst-launch -v \ > udpsrc uri=udp://127.0.0.1:51234 caps=$caps \ > ! rtpvrawdepay \ > ! video/x-raw-rgb,format=\(fourcc\)RGBA,framerate=\(fraction\)10/1 > \ > ! ffmpegcolorspace \ > ! ximagesink > > > $ . rtp-client.sh > Setting pipeline to PAUSED ... > Pipeline is live and does not need PREROLL ... > Setting pipeline to PLAYING ... > New clock: GstSystemClock > /GstPipeline:pipeline0/GstRtpVRawDepay:rtpvrawdepay0.GstPad:src: caps > = video/x-raw-rgb, width=(int)4, height=(int)4, > format=(fourcc)0x00000000, framerate=(fraction)0/1 > /GstPipeline:pipeline0/GstRtpVRawDepay:rtpvrawdepay0.GstPad:sink: caps > = application/x-rtp, media=(string)video, clock-rate=(int)90000, > encoding-name=(string)RAW, sampling=(string)RGBA, depth=(string)8, > width=(string)4, height=(string)4, colorimetry=(string)SMPTE240M, > payload=(int)96, ssrc=(uint)1, clock-base=(uint)0, > seqnum-base=(uint)0, framerate=(fraction)10/1 > Segmentation fault > > > On Fri, Sep 3, 2010 at 10:07 AM, Bert Douglas <[hidden email]> > wrote: > Thanks much to Wim for the excellent pointer. > > --Bert > > > > On Fri, Sep 3, 2010 at 3:10 AM, Wim Taymans > <[hidden email]> wrote: > On Thu, 2010-09-02 at 23:54 -0500, Bert Douglas wrote: > > Tristan tried to help me. I tried setting caps as > recommended. Still > > not working. > > > You're doing it wrong. read the instructions in this > document carefully: > > http://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/gst/rtp/README#n251 > > Wim > > > > > Thanks for looking. > > > > # rtp-server > > gst-launch \ > > videotestsrc pattern=red \ > > ! video/x-raw-rgb, format=\(fourcc\)RGB, > width=4, height=4, > > frame-rate=1/1 \ > > ! rtpvrawpay \ > > ! udpsink host=127.0.0.1 port=51234 > > > > # rtp-client > > > CAPS="application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)RAW," > > CAPS= > > > $CAPS"sampling=(string)RGB,depth=(int)8,width=(int)4,height=(int)4" > > gst-launch \ > > udpsrc uri=udp://127.0.0.1:51234 caps=$CAPS \ > > ! rtpvrawdepay \ > > ! video/x-raw-rgb, format=\(fourcc\)RGB, > width=4, height=4, > > frame-rate=1/1 \ > > ! ffmpegcolorspace \ > > ! ximagesink > > > > Setting pipeline to PAUSED ... > > Pipeline is live and does not need PREROLL ... > > Setting pipeline to PLAYING ... > > New clock: GstSystemClock > > 0:00:00.056868267 14918 0x1188c90 ERROR > rtpvrawdepay > > > gstrtpvrawdepay.c:240:gst_rtp_vraw_depay_setcaps:<rtpvrawdepay0> no > > width specified > > ERROR: from > element /GstPipeline:pipeline0/GstUDPSrc:udpsrc0: > Internal > > data flow error. > > Additional debug info: > > gstbasesrc.c(2562): gst_base_src_loop > > (): /GstPipeline:pipeline0/GstUDPSrc:udpsrc0: > > streaming task paused, reason not-negotiated (-4) > > Execution ended after 18091128 ns. > > Setting pipeline to PAUSED ... > > Setting pipeline to READY ... > > Setting pipeline to NULL ... > > Freeing pipeline ... > > > > > > > > > > ------------------------------------------------------------------------------ > > This SF.net Dev2Dev email is sponsored by: > > > > Show off your parallel programming skills. > > Enter the Intel(R) Threading Challenge 2010. > > http://p.sf.net/sfu/intel-thread-sfd > > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel > > > > ------------------------------------------------------------------------------ > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel > > > > ------------------------------------------------------------------------------ > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Hi Wim,
Thanks for the quick reply. I fixed the width and height to be the same. Now it just sits there after going to playing state. Cpu utilization is about 10 percent. I expected it to open a window for ximagesink, but it does not. I see some strange caps: /GstPipeline:pipeline0/GstRtpVRawDepay:rtpvrawdepay0.GstPad:src: caps = video/x-raw-rgb, width=(int)400, height=(int)300, format=(fourcc)0x00000000, framerate=(fraction)0/1 The framerate is 0, despite the fact that I set it to 10. Thanks again, Bert Douglas On Fri, Sep 3, 2010 at 11:47 AM, Wim Taymans <[hidden email]> wrote:
------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
In reply to this post by Bert Douglas
Hi!
I'm having the same problem as Bert when using rtpvrawdepay. When I try to stream raw rgb video data, the pipeline runs, but does not display anything. >From the debug information it seems that the srcpad of the depayloader cannot link to the sinkpad of ffmpegcolorspace. If I use video/x-raw-yuv there is no such problem. Below are the two actual pipelines I use. However, the problem also occurs when I start something like this: gst-launch --verbose videotestsrc ! video/x-raw-rgb ! rtpvrawpay ! rtpvrawdepay ! ffmpegcolorspace ! dshowvideosink Again, if I replace "rgb" by "yuv" the pipeline works fine. Sender pipeline: gst-launch --verbose gstrtpbin name=r videotestsrc ! video/x-raw-rgb, width=320, height=120, bpp=32, depth=32, framerate=1/1 ! rtpvrawpay ! r.send_rtp_sink_0 r.send_rtp_src_0 ! udpsink host=... port=5000 r.send_rtcp_src_0 ! udpsink port=5001 sync=false async=false udpsrc port=5002 ! r.recv_rtcp_sink_0 Receiver pipeline: gst-launch gstrtpbin name=rtpbin udpsrc caps="application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)RAW, sampling=(string)RGBA, depth=(string)8, width=(string)320, height=(string)120, colorimetry=(string)SMPTE240M" port=5000 ! rtpbin.recv_rtp_sink_0 rtpbin. ! rtpvrawdepay ! video/x-raw-rgb,width=320,height=120,bpp=32,depth=32,framerate=1/1, red_mask=0xff000000,green_mask=0x00ff0000,blue_mask=0x0000ff00,alpha_mask=0x000000ff ! ffmpegcolorspace ! dshowvideosink udpsrc port=5001 ! rtpbin.recv_rtcp_sink_0 rtpbin.send_rtcp_src_0 ! udpsink port=5002 sync=false async=false I am currently using the latest OSSBuild (0.10.7 beta4) but I have also tried (0.10.6). Best regards Jan _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
On 05/02/2011 05:08 PM, Jan Rübel wrote:
> Hi! > > I'm having the same problem as Bert when using rtpvrawdepay. When I try to stream raw rgb video data, the pipeline runs, but does not display anything. > > From the debug information it seems that the srcpad of the depayloader > cannot link to the sinkpad of ffmpegcolorspace. If I use video/x-raw-yuv there is no such problem. RGB is not implemented in the depayloader yet. Please file a bug or help add this feature. Wim > Below are the two actual pipelines I use. However, the problem also occurs when I start something like this: > gst-launch --verbose videotestsrc ! video/x-raw-rgb ! rtpvrawpay ! > rtpvrawdepay ! ffmpegcolorspace ! dshowvideosink Again, if I replace "rgb" by "yuv" the pipeline works fine. > > Sender pipeline: > gst-launch --verbose gstrtpbin name=r videotestsrc ! video/x-raw-rgb, width=320, height=120, bpp=32, depth=32, framerate=1/1 ! rtpvrawpay ! > r.send_rtp_sink_0 r.send_rtp_src_0 ! udpsink host=... port=5000 > r.send_rtcp_src_0 ! udpsink port=5001 sync=false async=false udpsrc > port=5002 ! r.recv_rtcp_sink_0 > > > Receiver pipeline: > gst-launch gstrtpbin name=rtpbin udpsrc caps="application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)RAW, sampling=(string)RGBA, depth=(string)8, width=(string)320, height=(string)120, colorimetry=(string)SMPTE240M" port=5000 ! > rtpbin.recv_rtp_sink_0 rtpbin. ! rtpvrawdepay ! > video/x-raw-rgb,width=320,height=120,bpp=32,depth=32,framerate=1/1, > red_mask=0xff000000,green_mask=0x00ff0000,blue_mask=0x0000ff00,alpha_mask=0x000000ff > ! ffmpegcolorspace ! dshowvideosink udpsrc port=5001 ! > rtpbin.recv_rtcp_sink_0 rtpbin.send_rtcp_src_0 ! udpsink port=5002 > sync=false async=false > > I am currently using the latest OSSBuild (0.10.7 beta4) but I have also tried (0.10.6). > > Best regards > Jan > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Dear Wim,
Thanks for the quick reply. What I do not understand: why does it say video/x-raw-rgb in the caps (see result of gst-inspect below)? Does the code in gstrtpvrawdepay.c referring to "video/x-raw-rgb" or "RGBA" have no effect? Best regards, Jan >gst-inspect rtpvrawdepay Factory Details: Long name: RTP Raw Video depayloader Class: Codec/Depayloader/Network Description: Extracts raw video from RTP packets (RFC 4175) Author(s): Wim Taymans <[hidden email]> Rank: marginal (64) Plugin Details: Name: rtp Description: Real-time protocol plugins Filename: D:\lib\OSSBuild\GStreamer\v0.10.7\lib\gstreamer-0.10\libgstrtp.dll Version: 0.10.26 License: LGPL Source module: gst-plugins-good Source release date: 2010-12-01 Binary package: GStreamer Good Plug-ins source release Origin URL: http://code.google.com/p/ossbuild/ GObject +----GstObject +----GstElement +----GstBaseRTPDepayload +----GstRtpVRawDepay Pad Templates: SINK template: 'sink' Availability: Always Capabilities: application/x-rtp media: video payload: [ 96, 127 ] clock-rate: 90000 encoding-name: RAW SRC template: 'src' Availability: Always Capabilities: video/x-raw-rgb video/x-raw-yuv > -----Ursprüngliche Nachricht----- > Von: gstreamer-devel-bounces+ruebel=[hidden email] > [mailto:gstreamer-devel- > bounces+ruebel=[hidden email]] Im Auftrag von Wim > Taymans > Gesendet: Montag, 2. Mai 2011 17:16 > An: [hidden email] > Betreff: Re: [gst-devel] simple raw video RTP -- still no joy > > On 05/02/2011 05:08 PM, Jan Rübel wrote: > > Hi! > > > > I'm having the same problem as Bert when using rtpvrawdepay. When I try > to stream raw rgb video data, the pipeline runs, but does not display > anything. > > > From the debug information it seems that the srcpad of the > > > depayloader > > cannot link to the sinkpad of ffmpegcolorspace. If I use video/x-raw-yuv > there is no such problem. > RGB is not implemented in the depayloader yet. Please file a bug or help add > this feature. > > Wim > > > Below are the two actual pipelines I use. However, the problem also occurs > when I start something like this: > > gst-launch --verbose videotestsrc ! video/x-raw-rgb ! rtpvrawpay ! > > rtpvrawdepay ! ffmpegcolorspace ! dshowvideosink Again, if I replace "rgb" > by "yuv" the pipeline works fine. > > > > Sender pipeline: > > gst-launch --verbose gstrtpbin name=r videotestsrc ! video/x-raw-rgb, > width=320, height=120, bpp=32, depth=32, framerate=1/1 ! rtpvrawpay ! > > r.send_rtp_sink_0 r.send_rtp_src_0 ! udpsink host=... port=5000 > > r.send_rtcp_src_0 ! udpsink port=5001 sync=false async=false udpsrc > > port=5002 ! r.recv_rtcp_sink_0 > > > > > > Receiver pipeline: > > gst-launch gstrtpbin name=rtpbin udpsrc caps="application/x-rtp, > media=(string)video, clock-rate=(int)90000, encoding-name=(string)RAW, > sampling=(string)RGBA, depth=(string)8, width=(string)320, > height=(string)120, colorimetry=(string)SMPTE240M" port=5000 ! > > rtpbin.recv_rtp_sink_0 rtpbin. ! rtpvrawdepay ! > > video/x-raw-rgb,width=320,height=120,bpp=32,depth=32,framerate=1/1, > > > red_mask=0xff000000,green_mask=0x00ff0000,blue_mask=0x0000ff00,alph > a_m > > ask=0x000000ff ! ffmpegcolorspace ! dshowvideosink udpsrc port=5001 ! > > rtpbin.recv_rtcp_sink_0 rtpbin.send_rtcp_src_0 ! udpsink port=5002 > > sync=false async=false > > > > I am currently using the latest OSSBuild (0.10.7 beta4) but I have also tried > (0.10.6). > > > > Best regards > > Jan > > _______________________________________________ > > gstreamer-devel mailing list > > [hidden email] > > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel > > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
On 05/02/2011 05:37 PM, Jan Rübel wrote:
> Dear Wim, > > Thanks for the quick reply. > > What I do not understand: why does it say video/x-raw-rgb in the caps (see result of gst-inspect below)? > Does the code in gstrtpvrawdepay.c referring to "video/x-raw-rgb" or "RGBA" have no effect? It sets the wrong caps on the output buffers. wim > Best regards, > Jan > > >> gst-inspect rtpvrawdepay > Factory Details: > Long name: RTP Raw Video depayloader > Class: Codec/Depayloader/Network > Description: Extracts raw video from RTP packets (RFC 4175) > Author(s): Wim Taymans<[hidden email]> > Rank: marginal (64) > > Plugin Details: > Name: rtp > Description: Real-time protocol plugins > Filename: D:\lib\OSSBuild\GStreamer\v0.10.7\lib\gstreamer-0.10\libgstrtp.dll > Version: 0.10.26 > License: LGPL > Source module: gst-plugins-good > Source release date: 2010-12-01 > Binary package: GStreamer Good Plug-ins source release > Origin URL: http://code.google.com/p/ossbuild/ > > GObject > +----GstObject > +----GstElement > +----GstBaseRTPDepayload > +----GstRtpVRawDepay > > Pad Templates: > SINK template: 'sink' > Availability: Always > Capabilities: > application/x-rtp > media: video > payload: [ 96, 127 ] > clock-rate: 90000 > encoding-name: RAW > > SRC template: 'src' > Availability: Always > Capabilities: > video/x-raw-rgb > video/x-raw-yuv > > >> -----Ursprüngliche Nachricht----- >> Von: gstreamer-devel-bounces+ruebel=[hidden email] >> [mailto:gstreamer-devel- >> bounces+ruebel=[hidden email]] Im Auftrag von Wim >> Taymans >> Gesendet: Montag, 2. Mai 2011 17:16 >> An: [hidden email] >> Betreff: Re: [gst-devel] simple raw video RTP -- still no joy >> >> On 05/02/2011 05:08 PM, Jan Rübel wrote: >>> Hi! >>> >>> I'm having the same problem as Bert when using rtpvrawdepay. When I try >> to stream raw rgb video data, the pipeline runs, but does not display >> anything. >>>> From the debug information it seems that the srcpad of the >>>> depayloader >>> cannot link to the sinkpad of ffmpegcolorspace. If I use video/x-raw-yuv >> there is no such problem. >> RGB is not implemented in the depayloader yet. Please file a bug or help add >> this feature. >> >> Wim >> >>> Below are the two actual pipelines I use. However, the problem also occurs >> when I start something like this: >>> gst-launch --verbose videotestsrc ! video/x-raw-rgb ! rtpvrawpay ! >>> rtpvrawdepay ! ffmpegcolorspace ! dshowvideosink Again, if I replace "rgb" >> by "yuv" the pipeline works fine. >>> Sender pipeline: >>> gst-launch --verbose gstrtpbin name=r videotestsrc ! video/x-raw-rgb, >> width=320, height=120, bpp=32, depth=32, framerate=1/1 ! rtpvrawpay ! >>> r.send_rtp_sink_0 r.send_rtp_src_0 ! udpsink host=... port=5000 >>> r.send_rtcp_src_0 ! udpsink port=5001 sync=false async=false udpsrc >>> port=5002 ! r.recv_rtcp_sink_0 >>> >>> >>> Receiver pipeline: >>> gst-launch gstrtpbin name=rtpbin udpsrc caps="application/x-rtp, >> media=(string)video, clock-rate=(int)90000, encoding-name=(string)RAW, >> sampling=(string)RGBA, depth=(string)8, width=(string)320, >> height=(string)120, colorimetry=(string)SMPTE240M" port=5000 ! >>> rtpbin.recv_rtp_sink_0 rtpbin. ! rtpvrawdepay ! >>> video/x-raw-rgb,width=320,height=120,bpp=32,depth=32,framerate=1/1, >>> >> red_mask=0xff000000,green_mask=0x00ff0000,blue_mask=0x0000ff00,alph >> a_m >>> ask=0x000000ff ! ffmpegcolorspace ! dshowvideosink udpsrc port=5001 ! >>> rtpbin.recv_rtcp_sink_0 rtpbin.send_rtcp_src_0 ! udpsink port=5002 >>> sync=false async=false >>> >>> I am currently using the latest OSSBuild (0.10.7 beta4) but I have also tried >> (0.10.6). >>> Best regards >>> Jan >>> _______________________________________________ >>> gstreamer-devel mailing list >>> [hidden email] >>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel >> _______________________________________________ >> gstreamer-devel mailing list >> [hidden email] >> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
<quote author="Wim Taymans">
On 05/02/2011 05:37 PM, Jan Rübel wrote: > Dear Wim, > > Thanks for the quick reply. > > What I do not understand: why does it say video/x-raw-rgb in the caps (see result of gst-inspect below)? > Does the code in gstrtpvrawdepay.c referring to "video/x-raw-rgb" or "RGBA" have no effect? It sets the wrong caps on the output buffers. wim > Best regards, > Jan Has anyone had success getting rtpvrawdepay to handle RGB? I've tried modifying the caps on the output buffer to get 8-bit greyscale working, but with no success for RGB. What is the exact problem with the caps for RGB? Thanks, Paul. |
Free forum by Nabble | Edit this page |