Skip to content

Instantly share code, notes, and snippets.

View hdon's full-sized avatar

Donny Viszneki hdon

View GitHub Profile
mtllib square-experiment.mtl
o Plane_Plane
v 1.807039 -4.131397 2.265251
v 1.807040 -1.403850 2.265251
v 4.534586 -1.403851 2.265251
v 4.534585 -4.131397 2.265251
vt 0.000000 1.000000 0.0
vt 0.000000 0.000000 0.0
vt 1.000000 0.000000 0.0
vt 1.000000 1.000000 0.0
donny@teamspace:~/gst-plugins-good-0.10.13$ gst-launch file:///home/donny/supertuxkart/data/tracks/sandtrack/desert_dunes.ogg ! oggdemux ! vorbisdec ! audioconvert ! capsfilter caps=audio/x-raw-int,channels=1,rate=44100 ! autoaudiosink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstAudioSinkClock
Caught interrupt -- handling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 1407439311 ns.
Setting pipeline to PAUSED ...
donny@teamspace:~/SDL$ gst-launch v4lsrc ! fakesink
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstV4lSrc:v4lsrc0: Could not read from resource.
Additional debug info:
v4lsrc_calls.c(183): gst_v4lsrc_capture_init (): /GstPipeline:pipeline0/GstV4lSrc:v4lsrc0:
Not enough buffers. We got 1, we want at least 2
Setting pipeline to NULL ...
FREEING pipeline ...
execve("/usr/local/bin/gst-launch", ["gst-launch", "v4lsrc", "!", "fakesink", "2"], [/* 33 vars */]) = 0
uname({sys="Linux", node="teamspace", ...}) = 0
brk(0) = 0x804b000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f0b000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f0a000
open("/usr/lib/tls/i686/cmov/libglib-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/i686/cmov", 0xbfa66a38) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/i686/libglib-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
donny@teamspace:~$ gst-launch v4lsrc ! ffmpegcolorspace ! dicetv ! xvimagesink
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstV4lSrc:v4lsrc0: Could not negotiate format
Additional debug info:
gstbasesrc.c(2522): gst_base_src_start (): /GstPipeline:pipeline0/GstV4lSrc:v4lsrc0:
Check your filtered caps, if any
Setting pipeline to NULL ...
FREEING pipeline ...
donny@teamspace:~/litterbochs$ python udp-send.py host=localhost port=1234
Traceback (most recent call last):
File "udp-send.py", line 64, in ?
tx, rx, e = main()
File "udp-send.py", line 60, in main
return packets_tx, packets_rx, traceback.format_tb(e)
File "/usr/lib/python2.4/traceback.py", line 76, in format_tb
return format_list(extract_tb(tb, limit))
File "/usr/lib/python2.4/traceback.py", line 95, in extract_tb
f = tb.tb_frame
In [6]: try: raise Exception('docuhe')
...: except Exception:
...: print sys.exc_info()
...:
(<class exceptions.Exception at 0xb7d4629c>, <exceptions.Exception instance at 0xb79a1aac>, <traceback object at 0xb77acbe4>)
In [8]: try: raise Exception('docuhe')
...: except Exception:
...: print sys.exc_info()[2].tb_frame
...:
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <sys/mman.h>
void test() {
puts("Yoyoyo, Iambatman!\n");
puts("Yoyoyo, Iambatman!\n");
puts("Yoyoyo, Iambatman!\n");
}
(gdb) next
41 if (smode) {
(gdb) print c
$24 = 34 '"'
(gdb) print stack
$25 = (unsigned char *) 0x804b1b8 " Hello WorldA\016\002"
(gdb) print smode
$26 = 1 '\001'
(gdb) next
42 if (c == '"') smode = 0;
bind b "ut_radio 5 2" // enemy heard
bind h "ut_radio 5 1" // enemy spotted
bind i "ut_radio 2 8" // flank'em
bind j "ut_radio 2 6" // requesting backup
bind UPARROW "ut_radio 6 1" // north
bind DOWNARROW "ut_radio 6 2" // south
bind LEFTARROW "ut_radio 6 4" // west
bind RIGHTARROW "ut_radio 6 3" // east
bind PGDN "ut_radio 6 7" // high
bind PGUP "ut_radio 6 6" // low