HOW TO DISPLAY VEDIO FILE WHILE TRANSMITTING VEDIO USING RTP PALYLOAD

Anjo John anjo.john at vvdntech.in
Thu Oct 26 12:33:42 UTC 2017


You need to add the sprop-parameter set in the udpsrc caps
caps = application/x-rtp, media=video, clock-rate=90000,
encoding-name=H264, packetization-mode=1, profile-level-id=64001f,
sprop-parameter-sets="Z2QAH6zZQFAFuwEQAAADABdzWUAA8YMZYA\=\=\,aOvssiw\=",
payload=96, ssrc=3709228027, timestamp-offset=3227530616,
seqnum-offset=29121, a-framerate=25

On Thu, Oct 26, 2017 at 5:38 PM, Amit Kumar <amitsit2k11 at gmail.com> wrote:

> I am trying to stream vedio through this pipeline but it doesnot showing
> anything on launch screen
>
>
>  gst-launch-1.0 -v filesrc location = 1.mp4 ! decodebin ! x264enc !
> rtph264pay ! udpsink host=192.168.0.1 port=5000
>
>
> after executing this this ,i am getting... like this...,
>
>
> Setting pipeline to PAUSED ...
> Pipeline is PREROLLING ...
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/
> GstTypeFindElement:typefind.GstPad:src: caps = video/quicktime,
> variant=(string)iso
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/
> GstTypeFindElement:typefind.GstPad:src: caps = NULL
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0.GstPad:src_0:
> caps = video/mpeg, mpegversion=(int)4, systemstream=(boolean)false,
> profile=(string)simple, level=(string)3, codec_data=(buffer)
> 000001b003000001b509000001000000012000bc0406c400670ca01168518f000001b25876694430303634,
> width=(int)1280, height=(int)720, framerate=(fraction)25/1,
> pixel-aspect-ratio=(fraction)1/1
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/
> GstMpeg4VParse:mpeg4vparse0.GstPad:sink: caps = video/mpeg,
> mpegversion=(int)4, systemstream=(boolean)false, profile=(string)simple,
> level=(string)3, codec_data=(buffer)000001b003000001b5090000010000
> 00012000bc0406c400670ca01168518f000001b25876694430303634,
> width=(int)1280, height=(int)720, framerate=(fraction)25/1,
> pixel-aspect-ratio=(fraction)1/1
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0.GstPad:src_1:
> caps = audio/mpeg, mpegversion=(int)4, framed=(boolean)true,
> stream-format=(string)raw, level=(string)2, base-profile=(string)lc,
> profile=(string)lc, codec_data=(buffer)1210, rate=(int)44100,
> channels=(int)2
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstFaad:faad0.GstPad:sink:
> caps = audio/mpeg, mpegversion=(int)4, framed=(boolean)true,
> stream-format=(string)raw, level=(string)2, base-profile=(string)lc,
> profile=(string)lc, codec_data=(buffer)1210, rate=(int)44100,
> channels=(int)2
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/
> GstAacParse:aacparse0.GstPad:src: caps = audio/mpeg, mpegversion=(int)4,
> framed=(boolean)true, stream-format=(string)raw, level=(string)2,
> base-profile=(string)lc, profile=(string)lc, codec_data=(buffer)1210,
> rate=(int)44100, channels=(int)2
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/
> GstAacParse:aacparse0.GstPad:sink: caps = audio/mpeg, mpegversion=(int)4,
> framed=(boolean)true, stream-format=(string)raw, level=(string)2,
> base-profile=(string)lc, profile=(string)lc, codec_data=(buffer)1210,
> rate=(int)44100, channels=(int)2
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0:
> max-size-buffers = 5
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0:
> max-size-time = 0
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0:
> max-size-bytes = 2097152
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0.GstMultiQueuePad:sink_0:
> caps = video/mpeg, mpegversion=(int)4, systemstream=(boolean)false,
> profile=(string)simple, level=(string)3, codec_data=(buffer)
> 000001b003000001b509000001000000012000bc0406c400670ca01168518f000001b25876694430303634,
> width=(int)1280, height=(int)720, framerate=(fraction)25/1,
> pixel-aspect-ratio=(fraction)1/1
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0.GstMultiQueuePad:sink_1:
> caps = audio/mpeg, mpegversion=(int)4, framed=(boolean)true,
> stream-format=(string)raw, level=(string)2, base-profile=(string)lc,
> profile=(string)lc, codec_data=(buffer)1210, rate=(int)44100,
> channels=(int)2
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0.GstMultiQueuePad:sink_1:
> caps = audio/mpeg, mpegversion=(int)4, framed=(boolean)true,
> stream-format=(string)raw, level=(string)2, base-profile=(string)lc,
> profile=(string)lc, codec_data=(buffer)1210, rate=(int)44100,
> channels=(int)2
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstFaad:faad0.GstPad:src:
> caps = audio/x-raw, format=(string)S16LE, layout=(string)interleaved,
> rate=(int)44100, channels=(int)2, channel-mask=(bitmask)0x0000000000000003
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0:
> max-size-buffers = 5
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0:
> max-size-time = 0
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0:
> max-size-bytes = 2097152
> libva info: VA-API version 0.34.0
> libva info: va_getDriverName() returns 0
> libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
> libva info: va_openDriver() returns -1
> libva info: VA-API version 0.34.0
> libva info: va_getDriverName() returns 0
> libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
> libva info: va_openDriver() returns -1
> libva info: VA-API version 0.34.0
> libva info: va_getDriverName() returns 1
> libva error: va_getDriverName() failed with operation
> failed,driver_name=i965
> libva info: VA-API version 0.34.0
> libva info: va_getDriverName() returns 1
> libva error: va_getDriverName() failed with operation
> failed,driver_name=i965
> Redistribute latency...
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/avdec_
> mpeg4:avdec_mpeg4-0.GstPad:sink: caps = video/mpeg, mpegversion=(int)4,
> systemstream=(boolean)false, profile=(string)simple, level=(string)3,
> codec_data=(buffer)000001b003000001b5090000010000
> 00012000bc0406c400670ca01168518f000001b25876694430303634,
> width=(int)1280, height=(int)720, framerate=(fraction)25/1,
> pixel-aspect-ratio=(fraction)1/1, parsed=(boolean)true
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/
> GstMpeg4VParse:mpeg4vparse0.GstPad:src: caps = video/mpeg,
> mpegversion=(int)4, systemstream=(boolean)false, profile=(string)simple,
> level=(string)3, codec_data=(buffer)000001b003000001b5090000010000
> 00012000bc0406c400670ca01168518f000001b25876694430303634,
> width=(int)1280, height=(int)720, framerate=(fraction)25/1,
> pixel-aspect-ratio=(fraction)1/1, parsed=(boolean)true
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/avdec_
> mpeg4:avdec_mpeg4-0.GstPad:src: caps = video/x-raw, format=(string)I420,
> width=(int)1280, height=(int)720, interlace-mode=(string)progressive,
> pixel-aspect-ratio=(fraction)1/1, chroma-site=(string)mpeg2,
> colorimetry=(string)bt709, framerate=(fraction)25/1
> Redistribute latency...
> /GstPipeline:pipeline0/GstX264Enc:x264enc0.GstPad:sink: caps =
> video/x-raw, format=(string)I420, width=(int)1280, height=(int)720,
> interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1,
> chroma-site=(string)mpeg2, colorimetry=(string)bt709,
> framerate=(fraction)25/1
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0.GstDecodePad:src_0.GstProxyPad:proxypad2:
> caps = video/x-raw, format=(string)I420, width=(int)1280, height=(int)720,
> interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1,
> chroma-site=(string)mpeg2, colorimetry=(string)bt709,
> framerate=(fraction)25/1
> /GstPipeline:pipeline0/GstX264Enc:x264enc0.GstPad:src: caps =
> video/x-h264, codec_data=(buffer)0164001fffe100196764001facd940
> 5005bb0110000003001773594000f183196001000568ebecb22c,
> stream-format=(string)avc, alignment=(string)au, level=(string)3.1,
> profile=(string)high, width=(int)1280, height=(int)720,
> pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)25/1
> /GstPipeline:pipeline0/GstRtpH264Pay:rtph264pay0.GstPad:src: caps =
> application/x-rtp, media=(string)video, clock-rate=(int)90000,
> encoding-name=(string)H264, packetization-mode=(string)1,
> profile-level-id=(string)64001f, sprop-parameter-sets=(string)"
> Z2QAH6zZQFAFuwEQAAADABdzWUAA8YMZYA\=\=\,aOvssiw\=", payload=(int)96,
> ssrc=(uint)3709228027, timestamp-offset=(uint)3227530616,
> seqnum-offset=(uint)29121, a-framerate=(string)25
> /GstPipeline:pipeline0/GstUDPSink:udpsink0.GstPad:sink: caps =
> application/x-rtp, media=(string)video, clock-rate=(int)90000,
> encoding-name=(string)H264, packetization-mode=(string)1,
> profile-level-id=(string)64001f, sprop-parameter-sets=(string)"
> Z2QAH6zZQFAFuwEQAAADABdzWUAA8YMZYA\=\=\,aOvssiw\=", payload=(int)96,
> ssrc=(uint)3709228027, timestamp-offset=(uint)3227530616,
> seqnum-offset=(uint)29121, a-framerate=(string)25
> /GstPipeline:pipeline0/GstRtpH264Pay:rtph264pay0.GstPad:sink: caps =
> video/x-h264, codec_data=(buffer)0164001fffe100196764001facd940
> 5005bb0110000003001773594000f183196001000568ebecb22c,
> stream-format=(string)avc, alignment=(string)au, level=(string)3.1,
> profile=(string)high, width=(int)1280, height=(int)720,
> pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)25/1
> /GstPipeline:pipeline0/GstRtpH264Pay:rtph264pay0: timestamp = 3227530616
> /GstPipeline:pipeline0/GstRtpH264Pay:rtph264pay0: seqnum = 29121
> Pipeline is PREROLLED ...
> Setting pipeline to PLAYING ...
> New clock: GstSystemClock
>
> ,and my client side pipeline is ...
>
> gst-launch-1.0 -v udpsrc port=5000 caps="application/x-rtp, media=video,
> clock-rate=90000, encoding-name=H264, payload=96, ssrc=3394826012,
> timestamp-offset=2215812541, seqnum-offset=46353" ! rtph264depay !
> decodebin ! videoconvert ! autovideosink sync=false,
>
> but i am not getting any launch screen ..
>
>
>
> WHAT I am doing error ....???
> i want to display vedio file on both side (transmitter and reciever )
> want to connecting to pipeline ???
> what methode i can use???
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>


-- 

*With Best Regards*


*Anjo John*

VVDN Technologies Pvt Ltd

*Cell : *+91 9539931442 | Skype :anjojohn051
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20171026/d40d0073/attachment-0001.html>


More information about the gstreamer-devel mailing list