View Single Post
Old 10-22-2012, 09:17 AM   #157
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299993
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Another day, another try : \ Another fail : )

So I gave this a more concerted effort.

gst utterly and stubbornly refused to recognise anything in the plugins directory.

so I had a look around in /usr/lib and sure enough there is a folder called gst-plugins however it also is not serviced seemingly by default.

So... final solution - just dump it all the gst root dir and throw gst-inspect at it. with some debugging voodoo.

[root@kindle games]# strace -fF -o /mnt/us/gst-strace gst-inspect libgsteink.so --g
st-debug="*:7" 2> /mnt/us/gst-inspect-debug-eink2.txt


The output is eye-bending - this is a fixed-up slice

Code:
GST_REGISTRY gstregistry.c:1223:gst_registry_scan_path_level:<registry0>[00m file /usr/lib/gstreamer-0.10/libgsteink.so looks like a possible module
  GST_REGISTRY gstregistry.c:1284:gst_registry_scan_path_level:<registry0>[00m file /usr/lib/gstreamer-0.10/libgsteink.so not yet in registry
  GST_REGISTRY gstregistry.c:1089:gst_registry_scan_plugin_file:[00m Starting plugin scanner for file /usr/lib/gstreamer-0.10/libgsteink.so
GST_REFCOUNTING gstobject.c:311:gst_object_ref:<registry0>[00m 0x48c00 ref 1->2
      GST_POLL gstpoll.c:557:gst_poll_new:[00m controllable : 0
      GST_POLL gstpoll.c:736:gst_poll_add_fd_unlocked:[00m 0x6bc98: fd (fd:4, idx:0)
      GST_POLL gstpoll.c:909:gst_poll_fd_ctl_read_unlocked:[00m 0x6bc98: fd (fd:4, idx:0), active : 1
  GST_REGISTRY gstregistry.c:1100:gst_registry_scan_plugin_file:[00m Using scan-helper to load plugin /usr/lib/gstreamer-0.10/libgsteink.so
  GST_PLUGIN_LOADING gstpluginloader.c:470:gst_plugin_loader_spawn:[00m Trying installed plugin scanner
  GST_PLUGIN_LOADING gstpluginloader.c:423:gst_plugin_loader_try_helper:[00m Trying to spawn gst-plugin-scanner helper at /usr/libexec/gstreamer-0.10/gst-plugin-scanner
 GST_PLUGIN_LOADING gstpluginloader.c:476:gst_plugin_loader_spawn:[00m No gst-plugin-scanner available, or not working means that the plugin loader helper binary was not found or could not be run. 

 GST_PLUGIN_LOADING gstplugin.c:737:gst_plugin_load_file:[00m attempt to load plugin "/usr/lib/gstreamer-0.10/libgsteink.so"
     GST_REFCOUNTING gstobject.c:280:gst_object_init:<GstObject@0x64b80>[00m 0x64b80 new
  GST_PLUGIN_LOADING gstplugin.c:834:gst_plugin_load_file:[00m Plugin 0x64b80 for file "/usr/lib/gstreamer-0.10/libgsteink.so" prepared, calling entry function...
  GST_PLUGIN_LOADING gstplugin.c:841:gst_plugin_load_file:[00m Plugin 0x64b80 for file "/usr/lib/gstreamer-0.10/libgsteink.so" prepared, registering...
  GST_PLUGIN_LOADING gstplugin.c:535:gst_plugin_register_func:[00m plugin "/usr/lib/gstreamer-0.10/libgsteink.so" has invalid license "", not loading
  GST_PLUGIN_LOADING gstplugin.c:846:gst_plugin_load_file:[00m gst_plugin_register_func failed for plugin "/usr/lib/gstreamer-0.10/libgsteink.so"
   GST_REFCOUNTING gstobject.c:337:gst_object_unref:<plugin29>[00m 0x64b80 unref 1->0
   GST_REFCOUNTING gstobject.c:461:gst_object_dispose:<plugin29>[00m dispose
  GST_PLUGIN_LOADING gstplugin.c:129:gst_plugin_finalize:[00m finalizing plugin 0x64b80
   GST_REFCOUNTING gstobject.c:493:gst_object_finalize:<plugin29>[00m finalize
GST_REGISTRY gstregistry.c:1223:gst_registry_scan_path_level:<registry0>[00m file /usr/lib/gstreamer-0.10/libgstffmpeg.so looks like a possible module
  GST_REGISTRY gstregistry.c:1284:gst_registry_scan_path_level:<registry0>[00m file /usr/lib/gstreamer-0.10/libgstffmpeg.so not yet in registry
  GST_PLUGIN_LOADING gstplugin.c:737:gst_plugin_load_file:[00m attempt to load plugin "/usr/lib/gstreamer-0.10/libgstffmpeg.so"
   GST_REFCOUNTING gstobject.c:280:gst_object_init:<GstObject@0x64b80>[00m 0x64b80 new
  GST_PLUGIN_LOADING gstplugin.c:834:gst_plugin_load_file:[00m Plugin 0x64b80 for file "/usr/lib/gstreamer-0.10/libgstffmpeg.so" prepared, calling entry function...
  GST_PLUGIN_LOADING gstplugin.c:841:gst_plugin_load_file:[00m Plugin 0x64b80 for file "/usr/lib/gstreamer-0.10/libgstffmpeg.so" prepared, registering...
  GST_PLUGIN_LOADING gstplugin.c:540:gst_plugin_register_func:[00m plugin "/usr/lib/gstreamer-0.10/libgstffmpeg.so" looks good
   GST_DEBUG gstinfo.c:1302:gst_debug_reset_threshold:[00m category ffmpeg matches pattern 0x18098 - gets set to level 7


that's just from the /mnt/us/gst-inspect-debug-eink2.txt, I guess I should figure out how the "licensing" works then...

also there is no /usr/libexec/gstreamer-0.10/ folder on the device. so gst-plugin-scanner obviously can't live there...

I DO actually have a version of it though...

so I'll copy that across and see what happens...

[root@kindle libexec]# finder gst-plugin-scanner
(finder is just my "find" shell script)
/mnt/us/usr/libexec/gstreamer-0.10/gst-plugin-scanner

----------------------------------------------------------

Bit of an extra test:

Trying it the old fashioned way gives us:

[root@kindle games]# GST_PLUGIN_SYSTEM_PATH=/usr/lib/gstreamer-0.10 \
GST_PLUGINS_PATH=./plugins gst-launch filesrc location=pluto.avi \
! ffdemux_avi name=d ! queue ! ffdec_mpeg4 ! videorate \
! video/x-raw-yuv,framerate=5/1 ! videoflip method=3 \
! ffmpegcolorspace ! videoscale ! video/x-raw-gray, width=600, height=800 \
! eink ! fakesink d. ! queue ! ffdec_mp3 \
! volume volume=1 ! audioresample ! audio/x-raw-int, rate=44100, channels=2, \
endianness=1234, width=16, depth=16, signed=true ! alsasink device=plughw sync=false


Quote:
(gst-launch-0.10:22639): GStreamer-WARNING **: External plugin loader failed. This most likely means that the plugin loader helper binary was not found or could not be run.
WARNING: erroneous pipeline: no element "eink"
whereas

[root@kindle games]# gst-launch filesrc location=pluto.avi ! ffdemux_avi name=d \
! queue ! ffdec_mpeg4 ! videorate ! video/x-raw-yuv,framerate=5/1 \
! videoflip method=3 ! ffmpegcolorspace ! videoscale ! video/x-raw-gray, \
width=600, height=800 ! fakesink d. ! queue ! ffdec_mp3 ! volume volume=1 \
! audioresample ! audio/x-raw-int, rate=44100, channels=2, endianness=1234, \
width=16, depth=16, signed=true ! alsasink device=plughw sync=false


Quote:
(gst-launch-0.10:22672): GStreamer-WARNING **: External plugin loader failed. This most likely means that the plugin loader helper binary was not found or could not be run.
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstAudioSinkClock
^CCaught interrupt -- handling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 10544773629 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
Which plays the sound fine. but obviously the video component is missing

Sigh. ah well gave it a go : ) again

at least I managed to get the registry to accept and update the presence of the ffmpeg and video stuff.
Perhaps a solution will present itself with these new tools in the medium term for those of us who just can't get this to work : )
Attached Thumbnails
Click image for larger version

Name:	Selection_263.png
Views:	372
Size:	29.9 KB
ID:	94653  

Last edited by twobob; 10-22-2012 at 09:41 AM. Reason: .registry.arm.bin, [root@kindle libexec]# finder gst-plugin-scanner /mnt/us/usr/libexec/gstreamer-0.10/gst-plugin-scanner
twobob is offline   Reply With Quote