Reqested for Gstreamer 1080p and 720p gstreamer simultaneously

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Hi,

I need to encode & stream multiple videos simultanesously using different ip address. Both encoding & streaming become success for single video. the command which was used for achieving the task as follows:

SENDER :
-----------------

IP=192.168.2.136
VIDEO_SRC="mfw_v4lsrc capture-mode=5"
VIDEO_ENC="vpuenc codec=h263 ! rtph263ppay "
STREAM_VIDEO="$VIDEO_SRC ! $VIDEO_ENC ! rtpbin.send_rtp_sink_0 rtpbin.send_rtp_src_0 ! queue ! udpsink host=$IP port=5000 rtpbin.send_rtcp_src_0 ! udpsink host=$IP port=5001 sync=false async=false udpsrc port=5005 ! rtpbin.recv_rtcp_sink_0"
STREAM_AV="$STREAM_VIDEO"
gst-launch -v gstrtpbin name=rtpbin $STREAM_AV


RECEIVER :
-------------------

VIDEO_CAPS="\"application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)H263-1998\""
VIDEO_DEC_SINK="rtph263pdepay ! ffdec_h263 ! autovideosink"
PLAYBACK_VIDEO="udpsrc caps=$VIDEO_CAPS port=5000 ! rtpbin.recv_rtp_sink_0 rtpbin. ! $VIDEO_DEC_SINK udpsrc port=5001 ! rtpbin.recv_rtcp_sink_0 rtpbin.send_rtcp_src_0 ! udpsink port=5005 sync=false async=false"
PLAYBACK_AV="$PLAYBACK_VIDEO"
gst-launch -v gstrtpbin name=rtpbin $PLAYBACK_AV



Encl : log of Multi-streaming



Regards,
Haji
root@imx6qsabresd:~# gst-launch -v gstrtpbin name=rtpbin $STREAM_AV &
[1] 1938
root@imx6qsabresd:~# MFW_GST_V4LSRC_PLUGIN 3.0.9 build on Sep 27 2014 05:03:56.
Setting pipeline to PAUSED ...
[INFO]  Product Info: i.MX6Q/D/S
vpuenc versions :)
        plugin: 3.0.9
        wrapper: 1.0.40(VPUWRAPPER_ARM_LINUX Build on Sep 27 2014 00:41:10)
        vpulib: 5.4.18
        firmware: 2.3.10.40778
/GstPipeline:pipeline0/MFWGstV4LSrc:mfwgstv4lsrc0.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)I420, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, pi1
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
/GstPipeline:pipeline0/GstRtpBin:rtpbin.GstGhostPad:send_rtcp_src_0: caps = application/x-rtcp
/GstPipeline:pipeline0/GstRtpBin:rtpbin/GstRtpSession:rtpsession0.GstPad:send_rtcp_src: caps = application/x-rtcp
/GstPipeline:pipeline0/GstUDPSink:udpsink1.GstPad:sink: caps = application/x-rtcp
/GstPipeline:pipeline0/GstRtpBin:rtpbin.GstGhostPad:send_rtcp_src_0.GstProxyPad:proxypad3: caps = application/x-rtcp
/GstPipeline:pipeline0/GstVpuEnc:vpuenc0.GstPad:sink: caps = video/x-raw-yuv, format=(fourcc)I420, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, pixel-aspe1
[INFO]  chromaInterleave 0, mapType 0, linear2TiledEnable 0
/GstPipeline:pipeline0/GstVpuEnc:vpuenc0.GstPad:src: caps = video/x-h263, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, framed=(boolean)true
/GstPipeline:pipeline0/GstRtpH263PPay:rtph263ppay0.GstPad:src: caps = application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H263-1998, ssrc5
/GstPipeline:pipeline0/GstRtpH263PPay:rtph263ppay0.GstPad:sink: caps = video/x-h263, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, framed=(boolean)true
/GstPipeline:pipeline0/GstRtpH263PPay:rtph263ppay0: timestamp = 1806595431
/GstPipeline:pipeline0/GstRtpH263PPay:rtph263ppay0: seqnum = 40665
/GstPipeline:pipeline0/GstRtpBin:rtpbin/GstRtpSession:rtpsession0.GstPad:send_rtp_sink: caps = application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-nam5
/GstPipeline:pipeline0/GstRtpBin:rtpbin.GstGhostPad:send_rtp_sink_0: caps = application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H263-19985
/GstPipeline:pipeline0/GstRtpBin:rtpbin.GstGhostPad:send_rtp_sink_0.GstProxyPad:proxypad1: caps = application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-5
/GstPipeline:pipeline0/GstRtpBin:rtpbin.GstGhostPad:send_rtp_src_0: caps = application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H263-1998,5
/GstPipeline:pipeline0/GstRtpBin:rtpbin/GstRtpSession:rtpsession0.GstPad:send_rtp_src: caps = application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name5
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H263-1998, ssrc=(uint)29175
/GstPipeline:pipeline0/GstRtpBin:rtpbin.GstGhostPad:send_rtp_src_0.GstProxyPad:proxypad2: caps = application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-n5
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:src: caps = application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H263-1998, ssrc=(uint)291775
/GstPipeline:pipeline0/GstUDPSink:udpsink0.GstPad:sink: caps = application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H263-1998, ssrc=(uint)5
WARNING: from element /GstPipeline:pipeline0/GstUDPSink:udpsink0: Internal data flow problem.
Additional debug info:
/home/benuvelj/BRAND_IMAGING/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/gstreamer/0.10.36-r2/gstreamer-0.10.36/libs/gst/base/gstbasesink.c(36:
Received buffer without a new-segment. Assuming timestamps start from 0.


									Multi-IP
								       -----------




root@imx6qsabresd:~# gst-launch -v gstrtpbin name=rtpbin $STREAM_AV 
[2] 1949
root@imx6qsabresd:~# MFW_GST_V4LSRC_PLUGIN 3.0.9 build on Sep 27 2014 05:03:56.
Setting pipeline to PAUSED ...
[INFO]  Product Info: i.MX6Q/D/S
vpuenc versions :)
        plugin: 3.0.9
        wrapper: 1.0.40(VPUWRAPPER_ARM_LINUX Build on Sep 27 2014 00:41:10)
        vpulib: 5.4.18
        firmware: 2.3.10.40778
imx-ipuv3 imx-ipuv3.0: IPU Warning - IPU_INT_STAT_5 = 0x00000001
ERROR: v4l2 capture: VIDIOC_QBUF: buffer already queued
ERROR: Pipeline doesn't want to pause.
Setting pipeline to NULL ...
Freeing pipeline ...
ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0
ERROR: from element /GstPipeline:pipeline0/MFWGstV4LSrc:mfwgstv4lsrc0: Internal data flow error.
Additional debug info:
/home/benuvelj/BRAND_IMAGING/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/gstreamer/0.10.36-r2/gstreamer-0.10.36/libs/gst/base/gstbasesrc.c(262:
streaming task paused, reason error (-5)
Execution ended after 88045984009 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
/GstPipeline:pipeline0/GstUDPSink:udpsink1.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstUDPSink:udpsink0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstRtpBin:rtpbin.GstGhostPad:send_rtcp_src_0: caps = NULL
/GstPipeline:pipeline0/GstRtpBin:rtpbin.GstGhostPad:send_rtp_src_0: caps = NULL
/GstPipeline:pipeline0/GstRtpBin:rtpbin/GstRtpSession:rtpsession0.GstPad:send_rtcp_src: caps = NULL
/GstPipeline:pipeline0/GstRtpBin:rtpbin/GstRtpSession:rtpsession0.GstPad:send_rtp_src: caps = NULL
/GstPipeline:pipeline0/GstRtpBin:rtpbin/GstRtpSession:rtpsession0.GstPad:send_rtp_sink: caps = NULL
/GstPipeline:pipeline0/GstRtpBin:rtpbin.GstGhostPad:send_rtp_sink_0: caps = NULL
/GstPipeline:pipeline0/GstRtpH263PPay:rtph263ppay0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstRtpH263PPay:rtph263ppay0.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstVpuEnc:vpuenc0.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstVpuEnc:vpuenc0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/MFWGstV4LSrc:mfwgstv4lsrc0.GstPad:src: caps = NULL
Setting pipeline to NULL ...
Freeing pipeline ...












_______________________________________________
gstreamer-embedded mailing list
gstreamer-embedded@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/gstreamer-embedded

[Index of Archives]     [Linux Embedded]     [Linux ARM Kernel]     [Linux for ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux Media]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux