Rpi: v4l2src + omxh264enc + tcpserversink
Tim Müller
tim at centricular.com
Thu Jun 4 12:44:05 PDT 2015
On Thu, 2015-06-04 at 22:16 +0300, Krutskikh Ivan wrote:
Hi,
> Ok, after a lot of googling I've seemed to find out the very viable
> explanation on what is happening:
>
> "Short answer why your pipeline don't work now.
> omxh264enc (h264 encoder) generate something call SPS NAL.
> This SPS NAL contain basic information as width,
> height ,................ all basic information that you neeed before
> you start decoding something.
> And this buffer is generated only ONCE at start.
> And tcpserver dump this sps as you connect to server after some time."
>
>
> The source is
> https://www.raspberrypi.org/forums/viewtopic.php?f=38&t=6852&start=225
>
>
> The are also some pathes to gst-omx attached. I would try those after
> weekend. I remember now that the same issue stoped me from streaming
> h264 from local files on the server...
It sounds like you're running into
https://bugzilla.gnome.org/show_bug.cgi?id=706872
which might only be fixed in git.
You should also be able to use the h264parse element to insert SPS/PPS
regularly by setting config-interval=1 .
Cheers
-Tim
--
Tim Müller, Centricular Ltd - http://www.centricular.com
More information about the gstreamer-devel
mailing list