Friday, December 9, 2011

Wireshark - no capture interfaces as normal user

In Ubuntu 10.04, Wireshark shows no capture interfaces unless run as root. Found a couple options listed here:

http://steve.kargs.net/bacnet/wireshark-on-ubuntu-not-as-root/

Option 1
sudo apt-get install libcap2-bin wireshark
sudo chgrp admin /usr/bin/dumpcap
sudo chmod 750 /usr/bin/dumpcap
sudo setcap cap_net_raw,cap_net_admin+eip /usr/bin/dumpcap

Option 2, I used this one
sudo dpkg-reconfigure wireshark-common
sudo adduser skarg wireshark

Thursday, December 8, 2011

glc - ALSA and OpenGL video capture tool

Helpful link:
http://www.dedoimedo.com/computers/glc.html

Capture:
glc-capture executable
Use Shift+F8 to start/stop recording.

Play:
glc-play recorded_file.glc
Encode?
glc-play filename.glc -y 1 -o - | mencoder-demuxer y4m - -ovc lavc -lavcopts vcodec-mpeg4:vbitrate=3000 -o output.avi