Skip to content

Instantly share code, notes, and snippets.

View sphelan-extron's full-sized avatar

Shane sphelan-extron

View GitHub Profile
@sphelan-extron
sphelan-extron / gist:7993629
Last active December 31, 2015 13:29
Masstransit mono
namespace ConsumerConsole
{
class Program
{
static void Main(string[] args)
{
Console.Write("Enter the queue name:");
var queue = Console.ReadLine();
var bus = ServiceBusFactory.New(sbc =>
@sphelan-extron
sphelan-extron / gist:4694588
Created February 1, 2013 22:26
MH addTrack
POST /ingest/addTrack HTTP/1.1
Host: 10.8.23.122:8080
Content-Length: 581
Accept-Encoding: gzip, deflate, compress
Accept: */*
@sphelan-extron
sphelan-extron / gist:4674044
Created January 30, 2013 15:32
Matterhorn REST addTrack Ingest
POST /ingest/addTrack HTTP/1.1
Host: 10.8.23.122:8080
Connection: keep-alive
Content-Length: 684
Cache-Control: max-age=0
@sphelan-extron
sphelan-extron / vlcconf
Created March 29, 2012 19:24
vlc config
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by vlc configure 2.0.1, which was
generated by GNU Autoconf 2.67. Invocation command line was
$ ./configure --enable-debug --enable-live555 --with-contrib=contrib/i686-linux-gnu
## --------- ##
## Platform. ##
@sphelan-extron
sphelan-extron / vlc compile error
Created March 22, 2012 14:05
vlc compile error
/usr/include/libavcodec/avcodec.h:404:0: note: this is the location of the previous definition
CC libavcodec_plugin_la-audio.lo
audio.c:44:36: fatal error: libavutil/audioconvert.h: No such file or directory
compilation terminated.
make[6]: *** [libavcodec_plugin_la-audio.lo] Error 1
make[6]: Leaving directory `/home/shane/vlc_build/vlc2.0/vlc-2.0/modules/codec/avcodec'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/home/shane/vlc_build/vlc2.0/vlc-2.0/modules/codec/avcodec'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/shane/vlc_build/vlc2.0/vlc-2.0/modules/codec'
[Switching to Thread 0xb6957b70 (LWP 31329)]
0x02de9a89 in ?? () from /home/shane/vlc_build/vlc/modules/demux/.libs/liblive555_plugin.so
(gdb) bt
#0 0x02de9a89 in ?? () from /home/shane/vlc_build/vlc/modules/demux/.libs/liblive555_plugin.so
#1 0x02ddffd0 in SessionsSetup (p_demux=0x8558b20) at live555.cpp:1073
#2 0x02de29b3 in Open (p_this=0x8558b20) at live555.cpp:401
#3 0x001d92f0 in generic_start (func=0x2de21f0, ap=0xb6957038 "\030+\004") at modules/modules.c:413
#4 0x001d9a1d in vlc_module_load (p_this=0x8558b20, psz_capability=0x217aa3 "access_demux",
psz_name=<value optimized out>, b_strict=true, probe=0x1d92e0 <generic_start>)
at modules/modules.c:342
shane@vlc-1:~/vlc_build/vlc$ ldd /home/shane/vlc_build/vlc/modules/demux/.libs/liblive555_plugin.so
linux-gate.so.1 => (0x005fb000)
libvlccore.so.5 => /home/shane/vlc_build/vlc/src/.libs/libvlccore.so.5 (0x00110000)
libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0x00828000)
libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0x0089b000)
libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0x00359000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0x0037f000)
libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0x001f4000)
libdbus-1.so.3 => /lib/i386-linux-gnu/libdbus-1.so.3 (0x0051b000)
librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0x00210000)
shane@vlc-1:~/vlc_build/vlc$ ./vlc -vvv --extraintf=logger --logfile=vlc-log.txt
VLC media player 2.1.0-git Rincewind (revision 1.3.0-git-1807-ge0d44ca)
[0x82b0a58] main libvlc debug: VLC media player - 2.1.0-git Rincewind
[0x82b0a58] main libvlc debug: Copyright © 1996-2012 the VideoLAN team
[0x82b0a58] main libvlc debug: revision 1.3.0-git-1807-ge0d44ca
[0x82b0a58] main libvlc debug: configured with ./configure
[0x82b0a58] main libvlc debug: searching plug-in modules
[0x82b0a58] main libvlc debug: loading plugins cache file /home/shane/vlc_build/vlc/src/.libs/vlc/plugins/plugins.dat
[0x82b0a58] main libvlc warning: cannot read /home/shane/vlc_build/vlc/src/.libs/vlc/plugins/plugins.dat (No such file or directory)
[0x82b0a58] main libvlc debug: recursively browsing `/home/shane/vlc_build/vlc/src/.libs/vlc/plugins'
(gdb) frame 1
#1 0x02ddffd0 in SessionsSetup (p_demux=0x8558448) at live555.cpp:1073
1073 sub->rtcpInstance()->setByeHandler( StreamClose, tk );
(gdb) p tk
$4 = <value optimized out>
@sphelan-extron
sphelan-extron / testme
Created March 21, 2012 14:13
test test
test test test