Video sent with RTP only when closing a pipeline

Monyz Wacon monyz.ww at gmail.com
Wed Mar 2 21:29:05 UTC 2016


Hello,
today I built gstreamer + plugins from the source, version 1.7.90 and
everything started to work (the same pipeline, no changes).

Previously I installed gstreamer on Raspbian using apt-get and official
repositories, it seems that there is version 1.4.4-2 of gstreamer:

$ lsb_release -a
No LSB modules are available.
Distributor ID: Raspbian
Description:    Raspbian GNU/Linux 8.0 (jessie)
Release:        8.0
Codename:       jessie

$ sudo apt-get -s install "gstreamer1.0*"
[...]
Inst libgstreamer1.0-0 (1.4.4-2 Raspbian:stable [armhf])
[...]

Well, problem solved.

On Tue, Mar 1, 2016 at 7:23 AM, Sebastian Dröge <sebastian at centricular.com>
wrote:

> On Mo, 2016-02-29 at 21:37 +0000, Monyz Wacon wrote:
> > Hello,
> > I'm trying to send video data from Raspberry Pi 2 to PC.
> > [...]
> > Then I am trying to send video from the camera connected to RPi (this
> > should work, because it works with raspivid tool and I loaded the
> > module bcm2835-v4l2):
> >
> > gst-launch-1.0 -e -v v4l2src device=/dev/video0 ! 'video/x-
> > h264,width=320,height=200,framerate=30/1' ! h264parse ! rtph264pay !
> > udpsink host=192.168.0.5 port=7000
> >
> > The thing is that something seems to be stuck. I can see that the
> > camera turns on, this is printed on RPi's console:
> > [...]
> > But there is no video on the PC side, nothing seems to be received.
> > However when I close the pipeline by ctrl-c on RPi's side, then new
> > caps are negotiated, some data is sent to PC and a single image from
> > the camera is displayed.
> >
> > How to make the pipeline on RPi to stream video right after it is
> > created, not just send some data right before it is being closed?
>
> Can you file a bug about this at
>
>   https://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer
>
> and include a debug log with GST_DEBUG=6 from the sender there? This
> shouldn't happen and the pipeline itself looks correct.
>
> Does it work better if you don't specify a width/height/framerate in
> the caps?
>
> --
> Sebastian Dröge, Centricular Ltd · http://www.centricular.com
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160302/5332378a/attachment.html>


More information about the gstreamer-devel mailing list