RTSP source pipeline not working in static mode

Marcin Woźniak marcin.wozniak at intermania.pl
Mon Jun 27 07:47:47 UTC 2016


Hello,
Yes, that's true. Gstreamer didnt show in error log that needs 
additional plugins. Addig udp and rtpmanager works.
Problem is a very low performance on ARM board.
Marcin

W dniu 27.06.2016 o 09:34, Sebastian Dröge pisze:
> On Fr, 2016-06-24 at 17:32 +0200, Marcin Woźniak wrote:
>> Hello and hi to all,
>> I am fighting with latest 1.8 gstreamer tree to have a pipe to get
>> RTSP
>> H264 stream and put it into a filesink.
>> All works well when i compile 1.8 branch using dynamic linking (.so
>> modules). But as i need to move it further and crosscompile it to
>> ARM
>> board - i need it to compile as a static executable.
>> I studied this group, compiled gstreamer with --enable-static and
>> ---disable-registry and plugins trees with --enable-static-plugins.
>> Then i created a small piece of code to test with:
>> pipeline = gst_parse_launch ("rtspsrc location=rtsp://XXXXX/
>> protocols=GST_RTSP_LOWER_TRANS_TCP ! rtph264depay ! fakesink", NULL);
>> and ran it.
>> And voila - it works well when all is compiled as dynamic modules.
>> In static mode i added:
>>
>> GST_PLUGIN_STATIC_DECLARE(rtsp);
>> GST_PLUGIN_STATIC_DECLARE(rtp);
>> GST_PLUGIN_STATIC_DECLARE(coreelements);
>> GST_PLUGIN_STATIC_DECLARE(videoparsersbad);
>>
>> static void
>> registerGstStaticPlugins()
>> {
>>        GST_PLUGIN_STATIC_REGISTER(rtsp);
>>        GST_PLUGIN_STATIC_REGISTER(rtp);
>>       GST_PLUGIN_STATIC_REGISTER(coreelements);
>>       GST_PLUGIN_STATIC_REGISTER(videoparsersbad);
>> }
> You need a lot of other plugins for this to work. At least rtpmanager,
> udp and app are missing here, probably more, depending on how your
> real, non-testing pipeline looks like.
>
>
>
> _______________________________________________
> 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/20160627/76a209ae/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: marcin_wozniak.vcf
Type: text/x-vcard
Size: 291 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160627/76a209ae/attachment.vcf>


More information about the gstreamer-devel mailing list