AW: AW: Video streaming with one frame per 3 seconds
doon
don-prog at mail.ru
Tue Jul 28 10:37:49 PDT 2015
If I use these pipelines(without muxing):
*gst-launch-1.0 ksvideosrc ! videoconvert !
"video/x-raw,format=(string)I420,width=320,height=240,framerate=(fraction)25/1"
! queue max-size-buffers=70
! gdppay ! tcpclientsink port=7887
gst-launch-1.0 tcpserversrc port=7887 ! gdpdepay ! decodebin ! queue !
autovideosink*
then I get nice fps rate, so this works!
But I need video and audio muxing for my app, so how I can do this with nice
fps rate?
BGraaf wrote
> I'm not working with windows, so I never used this source element (someone
> else?). But in my understanding you need to tell the ksvideosrc the output
> format. Something like:
> gst-launch-1.0 ksvideosrc !
> "video/x-raw,format=(string)I420,width=320,height=240,framerate=(fraction)25
> /1" ! ..
>
> Do you have a running pipeline with ksvideosrc without any converting and
> muxing?
>
> Bernhard
>
> -----Ursprüngliche Nachricht-----
> Von: gstreamer-devel [mailto:
> gstreamer-devel-bounces at .freedesktop
> ]
> Im Auftrag von doon
> Gesendet: Dienstag, 28. Juli 2015 16:56
> An:
> gstreamer-devel at .freedesktop
> Betreff: Re: AW: Video streaming with one frame per 3 seconds
>
> Thanks!
> 1. Client and server on one computer.
> 2. Yes, if I use this pipeline:
> *gst-launch-1.0 ksvideosrc ! videoconvert !
> "video/x-raw,format=(string)I420,width=320,height=240,framerate=(fraction)25
> /1"
> ! mux. avimux name=mux ! decodebin ! autovideosink*
> then I get just one frame and then *Got EOS from element "pipeline0"*
> 3. Changing to tcpserversink / tcpclientsrc gives nothing.
>
> BGraaf wrote
>> Sorry, some more questions:
>> - Do you tried to use this pipeline without the tcp connection on one
>> system
>> - Do you tried to change to tcpserversink / tcpclientsrc?
>>
>> Bernhard
>>
>> -----Ursprüngliche Nachricht-----
>> Von: gstreamer-devel [mailto:
>
>> gstreamer-devel-bounces at .freedesktop
>
>> ] Im Auftrag von Bernhard Graaf
>> Gesendet: Dienstag, 28. Juli 2015 13:44
>> An: 'Discussion of the development of and with GStreamer'
>> Betreff: AW: Video streaming with one frame per 3 seconds
>>
>> Is Server and Client on the same system?
>>
>> -----Ursprüngliche Nachricht-----
>> Von: gstreamer-devel [mailto:
>
>> gstreamer-devel-bounces at .freedesktop
>
>> ] Im Auftrag von doon
>> Gesendet: Dienstag, 28. Juli 2015 04:52
>> An:
>
>> gstreamer-devel at .freedesktop
>
>> Betreff: Video streaming with one frame per 3 seconds
>>
>> I am trying to stream muxed video and audio via tcp. For the beginning I
>> want to stream only muxed video without audio, my pipelines:
>>
>> Server: *gst-launch-1.0 ksvideosrc ! videoconvert !
>> "video/x-raw,format=(string)I420,width=320,height=240,framerate
>> =(fraction)25/1" ! mux. avimux name=mux ! tcpclientsink port=7887*
>>
>> Client: *gst-launch-1.0 tcpserversrc port=7887 ! decodebin !
>> autovideosink*
>>
>> But I got issue, client plays only one frame per 3-4 seconds with these
>> warnings:
>>
>> *WARNING: from element
>> /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/Gst
>> D3DVideoSink:autovideosink0-actual-sink-d3dvideo:
>> A lot of buffers are being dropped.
>> Additional debug info:
>> gstbasesink.c(2793): gst_base_sink_is_too_late ():
>> /GstPipeline:pipeline0/GstAut
>>
> oVideoSink:autovideosink0/GstD3DVideoSink:autovideosink0-actual-sink-d3dvide
> o:
>> There may be a timestamping problem, or this computer is too slow.*
>>
>> How I can fix this?
>>
>>
>>
>> --
>> View this message in context:
>>
> http://gstreamer-devel.966125.n4.nabble.com/Video-streaming-with-one-frame-p
> er-3-seconds-tp4672876.html
>> Sent from the GStreamer-devel mailing list archive at Nabble.com.
>> _______________________________________________
>> gstreamer-devel mailing list
>
>> gstreamer-devel at .freedesktop
>
>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>
>> _______________________________________________
>> gstreamer-devel mailing list
>
>> gstreamer-devel at .freedesktop
>
>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>
>> _______________________________________________
>> gstreamer-devel mailing list
>
>> gstreamer-devel at .freedesktop
>
>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
>
>
>
> --
> View this message in context:
> http://gstreamer-devel.966125.n4.nabble.com/Video-streaming-with-one-frame-p
> er-3-seconds-tp4672876p4672891.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at .freedesktop
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at .freedesktop
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Video-streaming-with-one-frame-per-3-seconds-tp4672876p4672897.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list