Rpi: v4l2src + omxh264enc + tcpserversink

Krutskikh Ivan stein.hak at gmail.com
Thu Jun 4 20:39:32 PDT 2015


I'm making a screencaster using epiphan dvi to usb and rpi. But I'll keep
that in mind, tnx.

2015-06-05 4:23 GMT+03:00 Jan Schmidt <thaytan at noraisin.net>:

> On 05/06/15 05:56, Krutskikh Ivan wrote:
>
>> Oh... I should really try that out. Thanks!
>>
>
> If you're using the RPi internal camera, you can also try my gst-rpicamsrc
> element, which uses the same method as raspivid to capture and output H.264
> directly, without going through gst-omx.
>
> https://github.com/thaytan/gst-rpicamsrc
>
> Cheers,
> Jan.
>
>
>> 2015-06-04 22:44 GMT+03:00 Tim Müller <tim at centricular.com
>> <mailto:tim at centricular.com>>:
>>
>>
>>     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
>>
>>     _______________________________________________
>>     gstreamer-devel mailing list
>>     gstreamer-devel at lists.freedesktop.org
>>     <mailto:gstreamer-devel at lists.freedesktop.org>
>>     http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>
>>
>>
>>
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>
>>  _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150605/64974b9f/attachment-0001.html>


More information about the gstreamer-devel mailing list