AW: [gst-devel] simple raw video RTP -- still no joy

Wim Taymans wim.taymans at gmail.com
Mon May 2 09:00:19 PDT 2011


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<wim.taymans at gmail.com>
>    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=vrmagic.com at lists.freedesktop.org
>> [mailto:gstreamer-devel-
>> bounces+ruebel=vrmagic.com at lists.freedesktop.org] Im Auftrag von Wim
>> Taymans
>> Gesendet: Montag, 2. Mai 2011 17:16
>> An: gstreamer-devel at lists.freedesktop.org
>> 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
>>> gstreamer-devel at lists.freedesktop.org
>>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list