This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This is **not** a script, only a bunch of commands collected here for convenience | |
Start icecast on the director's PC for the incoming webcam streams | |
/etc/init.d/icecast start | |
Start the feed-streams on the PCs/laptops where the webcams are: | |
- This is for V4L2 (USB webcams). We might need dvgrab or ffmpeg's iec61883-input for firewire-based cams | |
- This does NOT transmit audio. For V4L2 we need to find the correct ALSA-device and use that | |
gst-launch-0.10 v4l2src device=/dev/video0 ! ffmpegcolorspace ! video/x-raw-yuv,width=640,height=480 ! theoraenc quality=63 ! oggmux ! shout2send ip=regie port=12000 password=password mount=/cam1000.ogg | |
gst-launch-0.10 v4l2src device=/dev/video1 ! ffmpegcolorspace ! video/x-raw-yuv,width=640,height=480 ! theoraenc quality=63 ! oggmux ! shout2send ip=regie port=12000 password=password mount=/cam6000.ogg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# the next line restarts using tclsh \ | |
exec tclsh "$0" "$@" | |
source kr_client.tcl | |
set icecast_host 127.0.0.1 | |
set icecast_port 12000 | |
set icecast_pass "password" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## krad radio tcl client function library (or s.th. like that) | |
set sleeptime 200 | |
proc kr {args} { | |
global station sleeptime | |
puts "kr_client: running krad_radio $station $args" | |
exec krad_radio $station {*}$args | |
after $sleeptime | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kripton@miramis ~/jukuz/krad_radio $ krad_radio camera launch | |
kripton@miramis ~/jukuz/krad_radio $ krad_radio camera setdir ~/testlogs/ | |
kripton@miramis ~/jukuz/krad_radio $ krad_radio camera res 640 360 | |
kripton@miramis ~/jukuz/krad_radio $ krad_radio camera setres 640 360 | |
kripton@miramis ~/jukuz/krad_radio $ krad_radio camera capture v4l2 /dev/video0 640 360 30 1 video "" h264pass | |
kripton@miramis ~/jukuz/krad_radio $ krad_radio camera ls | |
Links: | |
Id: 0 capture video only from V4L2 with device at 0x0 0/0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
All functionlities of krad are enabled by default | |
Some of them (GUI (station manager), xmms2, jack, wayland, x11, some codecs) can be disabled during | |
configuration | |
To disable, we use either "--without-FUNCTION" or "--disable-FUNCTION" (I don't care which :) | |
The build system will fail if a function has not been disabled but the dependency is missing | |
(just like today). There shall be no automagic like "If dependency is found on the system, | |
feature "xyz" will be silently enabled, otherwise it will be silently disabled" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kripton@miramis ~ $ krad_radio camera launch | |
kripton@miramis ~ $ krad_radio camera setdir ~/testlogs/ | |
kripton@miramis ~ $ krad_radio camera res 1920 1080 | |
kripton@miramis ~ $ krad_radio gitver | |
Version_13-28-gb36c5ee | |
kripton@miramis ~ $ krad_radio camera res 1920 1080^C | |
kripton@miramis ~ $ krad_radio camera capture v4l2 /dev/video0 1920 1080 30 1 video "" h264pass | |
kripton@miramis ~ $ krad_radio camera record video /home/kripton/cam.mkv h264pass | |
kripton@miramis ~ $ time krad_radio camera ls |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kripton@miramis ~/testlogs $ krad_radio ls | |
Running Stations: | |
kripton@miramis ~/testlogs $ krad_radio test launch | |
kripton@miramis ~/testlogs $ krad_radio test res 640 360 | |
kripton@miramis ~/testlogs $ krad_radio test setdir ~/testlogs/ | |
kripton@miramis ~/testlogs $ krad_radio test capture test | |
kripton@miramis ~/testlogs $ krad_radio test ls |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
odroid ~ # x264 -o soccer_4cif.h264 --threads 4 soccer_4cif.y4m | |
y4m [info]: 704x576p 128:117 @ 60/1 fps (cfr) | |
x264 [info]: using SAR=128/117 | |
x264 [info]: using cpu capabilities: ARMv6 NEON | |
x264 [info]: profile High, level 3.1 | |
x264 [info]: frame I:3 Avg QP:26.75 size: 33190 | |
x264 [info]: frame P:297 Avg QP:28.64 size: 7844 | |
x264 [info]: frame B:300 Avg QP:32.26 size: 1972 | |
x264 [info]: consecutive B-frames: 0.7% 97.3% 2.0% 0.0% | |
x264 [info]: mb I I16..4: 4.3% 72.7% 23.0% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
copter ~ # emerge --info | |
Portage 2.2.8 (default/linux/arm/13.0/armv6j, gcc-4.8.2, glibc-2.17, 3.11.10+ armv6l) | |
================================================================= | |
System uname: Linux-3.11.10+-armv6l-with-gentoo-2.2 | |
KiB Mem: 187796 total, 25012 free | |
KiB Swap: 499996 total, 494816 free | |
Timestamp of tree: Tue, 21 Jan 2014 06:00:01 +0000 | |
ld GNU ld (GNU Binutils) 2.24 | |
app-shells/bash: 4.2_p45-r1 | |
dev-lang/python: 2.7.6, 3.2.5-r3, 3.3.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kripton@miramis ~/.local/share/Steam $ ls -lha ubuntu12_* | |
ubuntu12_32: | |
insgesamt 311M | |
drwx------ 8 kripton kripton 4,0K 1. Nov 16:33 . | |
drwx------ 32 kripton kripton 4,0K 1. Nov 16:34 .. | |
drwxr-xr-x 2 kripton kripton 4,0K 15. Dez 2015 WINDOWSTEMPDIR_FONTCONFIG_CACHE | |
-rwxr-xr-x 1 kripton kripton 1,4M 31. Okt 21:04 chromehtml.so | |
drwxr-xr-x 2 kripton kripton 4,0K 21. Nov 2014 config | |
-rwxr-xr-x 1 kripton kripton 254K 31. Okt 21:04 crashhandler.so | |
-rw-r--r-- 1 kripton kripton 189K 1. Nov 10:45 debug.log |
OlderNewer