How to avoid data loss through network using gstreamer library

Sérgio Agostinho sergio.r.agostinho at gmail.com
Fri Sep 25 15:14:34 PDT 2015


Hey, 

Assuming you’re asking for a lossless video codec, according to here https://en.wikipedia.org/wiki/List_of_codecs#Lossless_compression_2 <https://en.wikipedia.org/wiki/List_of_codecs#Lossless_compression_2> , x264enc supports lossless compression. This page https://trac.ffmpeg.org/wiki/Encode/H.264#LosslessH.264 <https://trac.ffmpeg.org/wiki/Encode/H.264#LosslessH.264> mentions how to configure this. I would try to set the properties qp-min and qp-max to 0, the speed-preset to ultrafast and remove all other options on the element.

Cheers


> On 25 Sep 2015, at 13:34, Kirubhakaran <kirupha_rk at ymail.com> wrote:
> 
> Hi,
> I am doing data streaming through gstreamer library.i am using udpsink for
> streaming data through network.Actually i am getting the data through
> network using kinect sensor ,but the color and depth data are not mapped
> correctly, i.e color data is slightly coming out of the depth data.This was
> my pipeline string for my server and client.
> 
> Server:
> rtpbin name=rtpbin_name appsrc name=appsrc_name is-live=true block=true
> stream-type=0 format=3 do-timestamp=true min-latency=0 ! video/x-raw,
> format=RGBA,
> width=1920, height=1080, framerate=30/1 ! videoconvert ! videoscale !
> video/x-raw, width=1280, height=720 ! queue ! x264enc tune=zerolatency
> speed-preset=ultrafast ! video/x-h264, profile=baseline ! rtph264pay !
> rtpbin_name.send_rtp_sink_0 rtpbin_name.send_rtp_src_0 ! udpsink port=61404
> host=127.0.0.1 auto-multicast=true
> 
> Client:
> rtpbin name=rtpbin_name latency=25 udpsrc port=61404 address=127.0.0.1
> auto-multicast=true multicast-iface=eth1 ! application/x-rtp,
> media=video,payload=96, clock-rate=90000, encoding-name=H264 !
> rtpbin_name.recv_rtp_sink_0 rtpbin_name. ! rtph264depay ! avdec_h264 !
> videoconvert ! video/x-raw,format=RGB, width=1920, height=1080 ! appsink
> qos=true name=appsink_name
> 
> when i am sending data through server it sends 8294400 bytes.But during
> conversion through the streamer the data loss upto 200000 bytes.How to avoid
> data loss through gstreamer and also please tell me which codec i have to
> use in order to get lossless streaming using gstreamer library.
> 
> Thanks
> kiruba
> 
> 
> 
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/How-to-avoid-data-loss-through-network-using-gstreamer-library-tp4673834.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150926/f222e146/attachment.html>


More information about the gstreamer-devel mailing list