Skip to content

Instantly share code, notes, and snippets.

$ sudo ldd java.jar
ldd: warning: you do not have execution permission for `./java.jar'
not a dynamic executable
$ gst-inspect ffdec_h264
Factory Details:
Long name: FFmpeg H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 decoder
Class: Codec/Decoder/Video
Description: FFmpeg h264 decoder
Author(s): Wim Taymans <[email protected]>, Ronald Bultje <[email protected]>, Edward Hervey <[email protected]>
Rank: primary (256)
Plugin Details:
Name: ffmpeg
General
=========
[sun@example gstreamer_ndk_bundle]$ ant
Buildfile: /home/sun/Downloads/gstreamer_ndk_bundle/build.xml
BUILD FAILED
/home/sun/Downloads/gstreamer_ndk_bundle/build.xml:83: Cannot find /var/tmp/android-sdk-linux/tools/ant/build.xml imported from /home/sun/Downloads/gstreamer_ndk_bundle/build.xml
Total time: 0 seconds
@shamun
shamun / exist
Created December 15, 2011 21:37
/ # cd /system/lib/
/system/lib # ls
bluez-plugin libnvddk_aes_user.so
drm libnvddk_audiofx.so
egl libnvddk_vmr.so
hw libnvdispatch_helper.so
libEGL.so libnvdispmgr_d.so
libETC1.so libnvec.so
libFFTEm.so libnvmm.so
libGLESv1_CM.so libnvmm_asfparser.so
0:00:50.297903125 9696 0x1040340 ERROR ffmpeg :0:: get_buffer() failed (-1 2147483647 0 (nil))
0:00:50.298467162 9696 0x1040340 ERROR ffmpeg :0:: decode_slice_header error
0:00:50.298584264 9696 0x1040340 ERROR ffmpeg :0:: get_buffer() failed (-1 2147483647 0 (nil))
0:00:50.298614028 9696 0x1040340 ERROR ffmpeg :0:: decode_slice_header error
0:00:50.298627776 9696 0x1040340 ERROR ffmpeg :0:: no frame!
0:00:50.311975647 9696 0x104cd80 ERROR ffmpeg :0:: get_buffer() failed (-1 2147483647 0 (nil))
0:00:50.312032166 9696 0x104cd80 ERROR ffmpeg :0:: decode_slice_header error
0:00:50.312068882 9696 0x104cd80 ERROR ffmpeg :0:: get_buffer() failed (-1 2147483647 0 (nil))
0:00:50.312087141 9696 0x104cd80 ERROR ffmpeg :0:: decode_slice_header error
0:00:50.312097441 9696 0x104cd80 ERROR ffmpeg :0:: no f
$ export DISPLAY=:0.0 && gst-launch -v souphttpsrc location=http://192.168.1.102:7007/video/filmfr2.avi ! queue ! decodebin2 ! xvimagesink sync=false
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
/GstPipeline:pipeline0/GstDecodeBin2:decodebin20/GstTypeFindElement:typefind.GstPad:src: caps = video/x-msvideo
/GstPipeline:pipeline0/GstDecodeBin2:decodebin20/GstAviDemux:avidemux0.GstPad:sink: caps = video/x-msvideo
/GstPipeline:pipeline0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0: max-size-buffers = 5
/GstPipeline:pipeline0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0: max-size-time = 0
/GstPipeline:pipeline0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0: max-size-bytes = 2097152
/GstPipeline:pipeline0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0.GstPad:sink0: caps = video/mpeg, mpegversion=(int)4, framerate=(fraction)50/1, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1
/GstPipeline:pipeline0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0.GstPad:s
@shamun
shamun / test
Created December 12, 2011 15:43
0:01:23.429905004 28208 0x7fe2d168a320 ERROR ffmpeg :0:: first_mb_in_slice overflow
0:01:23.429964604 28208 0x7fe2d168a320 ERROR ffmpeg :0:: decode_slice_header error
0:01:23.562718957 28208 0x28d72a0 ERROR ffmpeg :0:: first_mb_in_slice overflow
0:01:23.562765469 28208 0x28d72a0 ERROR ffmpeg :0:: decode_slice_header error
0:01:23.700459742 28208 0x2577140 ERROR ffmpeg :0:: first_mb_in_slice overflow
0:01:23.700504915 28208 0x2577140 ERROR ffmpeg :0:: decode_slice_header error
0:01:23.833312502 28208 0x28929d0 ERROR ffmpeg :0:: first_mb_in_slice overflow
0:01:23.833394203 28208 0x28929d0 ERROR ffmpeg :0:: decode_slice_header error
0:01:23.971627964 28208 0x28d94b0 ERROR ffmpeg :0:: first_mb_in_slice overflow
0:01:23.971690406 28208 0x28d94b0 ERROR ffmpeg :0:: decode_slice_header error
$ gst-inspect giosrc
Factory Details:
Long name: GIO source
Class: Source/File
Description: Read from any GIO-supported location
Author(s): René Stadler <[email protected]>, Sebastian Dröge <[email protected]>
Rank: secondary (128)
Plugin Details:
Name: gio
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
<script type="text/javascript" src="https://raw.github.com/betamax/getImageData/master/jquery.getimagedata.min.js"></script>
<script>
$(document).ready(function()
{
// var image = new Image();
// var ctx = $('#canvas')[0].getContext("2d");
// //image.src = "http://www.google.com/intl/en_com/images/srpr/logo3w.png";
// image.src = "/agents/google.png";
//
sun@sun:~$ uname -a
Linux sun 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:24 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
sun@sun:~$ lshw
WARNING: you should run this program as super-user.
sun
description: Computer
width: 64 bits
capabilities: vsyscall64 vsyscall32
*-core