AW: AW: AW: Video streaming with one frame per 3 seconds

Bernhard Graaf bernhard.graaf at gmx.de
Tue Jul 28 09:00:42 PDT 2015


You should mux the audio also. In your pipeline you have only the videopart.

As I told you, I don't know anything about ksvideosrc and it sounds like
only video source.
Muxing of audio and video is something like:

gst-launch-1.0 videosrc ! videoconvert ! tsmux name=mux ! sinkelement
audiosrc ! audioconvert ! .mux

I don't see any audiosource in your pipeline. If ksvideosrc has also
audio-pads, it could be something like:

gst-launch-1.0 ksvideosrc name=src ! videoconvert ! tsmux name=mux !
tcpclientsink .src ! audioconvert ! .mux

-----Ursprüngliche Nachricht-----
Von: gstreamer-devel [mailto:gstreamer-devel-bounces at lists.freedesktop.org]
Im Auftrag von doon
Gesendet: Dienstag, 28. Juli 2015 19:38
An: gstreamer-devel at lists.freedesktop.org
Betreff: Re: AW: AW: Video streaming with one frame per 3 seconds

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-p
er-3-seconds-tp4672876p4672897.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



More information about the gstreamer-devel mailing list