Video sent with RTP only when closing a pipeline
Sebastian Dröge
sebastian at centricular.com
Tue Mar 1 07:23:22 UTC 2016
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160301/5c203f34/attachment.sig>
More information about the gstreamer-devel
mailing list