gst-ffmpeg plugin error

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

gst-ffmpeg plugin error

Sachin Pandhare
Hi,
I always keep getting following error for any gstreamer related operation:
------------------------------------------------------------------------------------------------------------
[root@trng4 gst-ffmpeg-0.10.4]# gst-inspect | grep mpeg
0:00:00.043393511 25925  0x96f2050 WARN    GST_PLUGIN_LOADING gstplugin.c:492:gst_plugin_load_file: module_open failed: /usr/lib/gstreamer-0.10/libgstpostproc.so: cannot restore segment prot after reloc: Permission denied

(gst-inspect-0.10:25925): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstpostproc.so': /usr/lib/gstreamer-0.10/libgstpostproc.so: cannot restore segment prot after reloc: Permission denied
0:00:00.059717888 25925  0x96f2050 WARN    GST_PLUGIN_LOADING gstplugin.c:492:gst_plugin_load_file: module_open failed: /usr/lib/gstreamer-0.10/libgstffmpeg.so: cannot restore segment prot after reloc: Permission denied

(gst-inspect-0.10:25925): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstffmpeg.so': /usr/lib/gstreamer-0.10/libgstffmpeg.so: cannot restore segment prot after reloc: Permission denied
------------------------------------------------------------------------------------------------------------

how can i resolve this error?

My setup:
gstreamer-0.10.20
gst-plugins-base-0.10.20
gst-plugins-good-0.10.9
gst-plugins-bad-0.10.8
gst-plugins-ugly-0.10.8
gst-ffmpeg-0.10.4
liboil-0.3.15

Fedora 8

thanks,
Sachin

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gst-ffmpeg plugin error

Sameer Naik
i think this is because of seLinux policy settings.
if you can add the policies then do so, or you could also disable selinux entirely

Regards
Sameer


On Wed, Aug 27, 2008 at 6:01 PM, Sachin Pandhare <[hidden email]> wrote:
Hi,
I always keep getting following error for any gstreamer related operation:
------------------------------------------------------------------------------------------------------------
[root@trng4 gst-ffmpeg-0.10.4]# gst-inspect | grep mpeg
0:00:00.043393511 25925  0x96f2050 WARN    GST_PLUGIN_LOADING gstplugin.c:492:gst_plugin_load_file: module_open failed: /usr/lib/gstreamer-0.10/libgstpostproc.so: cannot restore segment prot after reloc: Permission denied

(gst-inspect-0.10:25925): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstpostproc.so': /usr/lib/gstreamer-0.10/libgstpostproc.so: cannot restore segment prot after reloc: Permission denied
0:00:00.059717888 25925  0x96f2050 WARN    GST_PLUGIN_LOADING gstplugin.c:492:gst_plugin_load_file: module_open failed: /usr/lib/gstreamer-0.10/libgstffmpeg.so: cannot restore segment prot after reloc: Permission denied

(gst-inspect-0.10:25925): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstffmpeg.so': /usr/lib/gstreamer-0.10/libgstffmpeg.so: cannot restore segment prot after reloc: Permission denied
------------------------------------------------------------------------------------------------------------

how can i resolve this error?

My setup:
gstreamer-0.10.20
gst-plugins-base-0.10.20
gst-plugins-good-0.10.9
gst-plugins-bad-0.10.8
gst-plugins-ugly-0.10.8
gst-ffmpeg-0.10.4
liboil-0.3.15

Fedora 8

thanks,
Sachin

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gst-ffmpeg plugin error

Sachin Pandhare
Hi,
Yes, it is a SELinux issue. we have resolved this problem.
 
Ref: http://opensource-archive.org/showthread.php?t=155

I have executed "chcon -t texrel_shlib_t /usr/lib/gstreamer-0.10/*.so" and now i am able to see all the ffmpeg plugins in my system.

Thanks,
Sachin

On Wed, Aug 27, 2008 at 7:37 PM, Sameer Naik <[hidden email]> wrote:
i think this is because of seLinux policy settings.
if you can add the policies then do so, or you could also disable selinux entirely

Regards
Sameer


On Wed, Aug 27, 2008 at 6:01 PM, Sachin Pandhare <[hidden email]> wrote:
Hi,
I always keep getting following error for any gstreamer related operation:
------------------------------------------------------------------------------------------------------------
[root@trng4 gst-ffmpeg-0.10.4]# gst-inspect | grep mpeg
0:00:00.043393511 25925  0x96f2050 WARN    GST_PLUGIN_LOADING gstplugin.c:492:gst_plugin_load_file: module_open failed: /usr/lib/gstreamer-0.10/libgstpostproc.so: cannot restore segment prot after reloc: Permission denied

(gst-inspect-0.10:25925): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstpostproc.so': /usr/lib/gstreamer-0.10/libgstpostproc.so: cannot restore segment prot after reloc: Permission denied
0:00:00.059717888 25925  0x96f2050 WARN    GST_PLUGIN_LOADING gstplugin.c:492:gst_plugin_load_file: module_open failed: /usr/lib/gstreamer-0.10/libgstffmpeg.so: cannot restore segment prot after reloc: Permission denied

(gst-inspect-0.10:25925): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstffmpeg.so': /usr/lib/gstreamer-0.10/libgstffmpeg.so: cannot restore segment prot after reloc: Permission denied
------------------------------------------------------------------------------------------------------------

how can i resolve this error?

My setup:
gstreamer-0.10.20
gst-plugins-base-0.10.20
gst-plugins-good-0.10.9
gst-plugins-bad-0.10.8
gst-plugins-ugly-0.10.8
gst-ffmpeg-0.10.4
liboil-0.3.15

Fedora 8

thanks,
Sachin

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel