Skip to content

Instantly share code, notes, and snippets.

# mencoder -oac copy -ovc copy rtsp://dmzosx001.dpa.act.gov.au/medium -oflavf -o /tmp/out.mkv -mc 0
MEncoder SVN-r33251-4.6.0 (C) 2000-2011 MPlayer Team
-oflavf is not an MEncoder option
Exiting... (error parsing command line)
You have mail in /var/spool/mail/root
[root@example ~]#
# ffmpeg -i rtsp://dmzosx001.dpa.act.gov.au/medium -acodec copy -vcodec copy /tmp/out.mkv
FFmpeg version 0.6.90-rc0, Copyright (c) 2000-2011 the FFmpeg developers
built on Apr 11 2011 20:48:31 with gcc 4.6.0 20110331 (Red Hat 4.6.0-2)
configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib --mandir=/usr/share/man --arch=i686 --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables' --enable-bzlib --enable-libdc1394 --enable-libdirac --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-x11grab --enable-avfilter --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib --cpu=i686 --enable-ru
$ mplayer -v rtsp://94.224.197.82:5544/media.amp
MPlayer SVN-r33251-4.6.0 (C) 2000-2011 MPlayer Team
CPU vendor name: GenuineIntel max cpuid level: 10
CPU: Genuine Intel(R) CPU T2080 @ 1.73GHz (Family: 6, Model: 14, Stepping: 12)
extended cpuid-level: 8
extended cache-info: 67125312
Detected cache-line size is 64 bytes
Testing OS support for SSE... yes.
Tests of OS support for SSE passed.
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSSE3: 0
$ ffmpeg -i rtsp://94.224.197.82:5544/media.amp -acodec copy -vcodec copy /tmp/out.mkv
FFmpeg version 0.6.90-rc0, Copyright (c) 2000-2011 the FFmpeg developers
built on Apr 11 2011 20:48:31 with gcc 4.6.0 20110331 (Red Hat 4.6.0-2)
configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib --mandir=/usr/share/man --arch=i686 --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables' --enable-bzlib --enable-libdc1394 --enable-libdirac --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-x11grab --enable-avfilter --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib --cpu=i686 --enable-runti
# cat /boot/grub/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/mapper/vg_example-lv_root
# initrd /initrd-[generic-]version.img
#boot=/dev/sda
787000
object(stdClass)#150 (5) {
["kind"] => string(19) "customsearch#search"
["url"] => object(stdClass)#151 (2) {
["type"] => string(16) "application/json"
["template"] => string(163) "https://www.googleapis.com/customsearch/v1?q={searchTerms}&num={count?}&start={startIndex?}&hr={language?}&safe={safe?}&cx={cx?}&cref={cref?}&sort={sort?}&alt=json"
}
["queries"] => object(stdClass)#152 (2) {
["nextPage"] => array(1) {
[0] => object(stdClass)#164 (9) {
# yum -y install ntop
Loaded plugins: auto-update-debuginfo, langpacks, presto, refresh-packagekit
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package ntop.i686 0:3.4-0.5.pre3.fc15 will be installed
--> Processing Dependency: librrd_th.so.4 for package: ntop-3.4-0.5.pre3.fc15.i686
--> Processing Dependency: graphviz for package: ntop-3.4-0.5.pre3.fc15.i686
--> Processing Dependency: 453b804e83a8a45a07a3a4b2b7e3d453ce9a70.debug for package: ntop-3.4-0.5.pre3.fc15.i686
--> Processing Dependency: 26f28e7a5d17bf3e13397105d19786767ef3b2.debug for package: ntop-3.4-0.5.pre3.fc15.i686
[sun@example ~]$ cvt 4096 2160
# 4096x2160 59.98 Hz (CVT) hsync: 134.18 kHz; pclk: 760.00 MHz
Modeline "4096x2160_60.00" 760.00 4096 4432 4880 5664 2160 2163 2173 2237 -hsync +vsync
[sun@example ~]$ xrandr --newmode name2 760.00 4096 4432 4880 5664 2160 2163 2173 2237
[sun@example ~]$ xrandr --addmode VGA1 name2
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 149 (RANDR)
Minor opcode of failed request: 18 (RRAddOutputMode)
Serial number of failed request: 29
Current serial number in output stream: 30
# yum list installed php*
Loaded plugins: auto-update-debuginfo, langpacks, presto, refresh-packagekit
Installed Packages
php.i686 5.3.6-2.fc15 @fedora
php-ZendFramework.noarch 1.11.7-1.fc15 @updates
php-ZendFramework-Cache-Backend-Apc.noarch 1.11.7-1.fc15 @updates
php-ZendFramework-Cache-Backend-Memcached.noarch 1.11.7-1.fc15 @updates
php-ZendFramework-Services.noarch 1.11.7-1.fc15 @updates
php-ZendFramework-demos.noarch 1.11.7-1.fc15 @updates
php-ZendFramework-extras.noarch 1.11.7-1.fc15 @updates
#include <gtk/gtk.h>
#include <webkit/webkit.h>
static gint window_count = 0;
static GtkWidget* create_window (WebKitWebView** out_web_view);
static void
activate_uri_entry_cb (GtkWidget* entry, gpointer data)
{