Total Pageviews

Google Ads

Wednesday, August 28, 2013

increase volume (louder) with ffmpeg

The <audio_volume> is a number. 256 is normal. I think if you use 512 then it will double the volume. I got the information from here:-http://lists.mplayerhq.hu/pipermail/...ry/013869.html


ffmpeg -i <input_file> -vol <audio_volume> -acodec <audio_codec> <other_parameters> <output_file> 

MediaInfo in linux - The simple way to get detail media info instead of ffmpeg

Normally, it’s a pain finding stream, codec or bitrate information for media files.

Some information can be discovered using
1    file [some_file].avi
2    ffmpeg -i [some_file].avi

However, there is a better way of doing it using mediainfo[-gui] package available from this site.
01    mkdir -p ~/software/mediainfo
02    cd ~/software/mediainfo
03    echo "http://mediainfo.sourceforge.net/en/Download/Fedora#11.x86_64" > links.txt
04    wget http://downloads.sourceforge.net/mediainfo/mediainfo-gui-0.7.19-1.x86_64.Fedora_11.rpm
05    wget http://downloads.sourceforge.net/mediainfo/mediainfo-0.7.19-1.x86_64.Fedora_11.rpm
06    wget http://downloads.sourceforge.net/mediainfo/libmediainfo0-0.7.19-1.x86_64.Fedora_11.rpm
07    wget http://downloads.sourceforge.net/mediainfo/libmediainfo0-devel-0.7.19-1.x86_64.Fedora_11.rpm
08    wget http://downloads.sourceforge.net/zenlib/libzen0-0.4.3-1.x86_64.Fedora_11.rpm
09    wget http://downloads.sourceforge.net/zenlib/libzen0-devel-0.4.3-1.x86_64.Fedora_11.rpm
10    wget http://downloads.sourceforge.net/zenlib/libzen0-devel-0.4.3-1.x86_64.Fedora_11.rpm
11    wget http://downloads.sourceforge.net/zenlib/libzen0-devel-0.4.3-1.x86_64.Fedora_11.rpm
12    wget http://downloads.sourceforge.net/zenlib/libzen0-devel-0.4.3-1.x86_64.Fedora_11.rpm
13    sudo yum localinstall --nogpgcheck *.rpm

Now, you are able to see all information in the command line mode with:
1    mediainfo [some_file].avi

Or launching
1    mediainfo-gui

Tuesday, August 27, 2013

3 level caching

3 level loader benefit :
  • Faster respone ( vs Disk load)
  • Less RAM require (vs RAM cache
But the limited:
  • Code Complex
  • More CPU resource require.

3 level caching include:

VRAM (RAM of video card) <--> RAM <--> Disk

A file may be in VRAM, RAM or Disk and depend on size and frequency using.

The target. Less RAM require, Less Disk Work,  low latency.

bandwidth.
pattern

Size x Frequency = Bandwidth

100 MB x 10 = 1000 MB.
-----
RAM Cache - 100 MB
Disk work - 100 MB. (need more than 60 cycles to loading) - Low respone - More Ram Require

1MB x 100 = 1000 MB.
-------
RAM Cache - 1 MB
Disk work - 1MB (Need 1 cycles to loading). - low latency - but Less RAM Require.

Caching Rule depend on:
Base on the respone level (Priority): 5 - 4 -3 - 2 -1.
Base on RAM Size: memory of application.
Base on File size : --> RAM require - Disk Work
Base on frequency: --> RAM require - Disk work


 So in terrain case:
I remember about google map. They have something like Level of Detail :D (Web again).
- The high level mipmap (1 or 2 level) is high frequency, low latency and big size. --> VRAM cache.
- lower mipmap is current load (or prepair to load) low latency and small size --> RAM cache.
- The other lower level geomip map is less frequency, higher latency and small size --> Disk Load.


-----------------------------------------------------
The Art of dynamic loader.

 undone






Thursday, August 22, 2013

gtk-recordmydesktop - The record desktop tool for linux

For install this tool in CentOS or Fedora.
yum install gtk-recordmydesktop

If you any error. try to install epel.
:D

Wednesday, August 21, 2013

Install Skype in CentOS/Fedora

Install needed package:
yum install alsa-lib.i686 fontconfig.i686 freetype.i686 glib2.i686 libSM.i686 libXScrnSaver.i686 libXi.i686 libXrandr.i686 libXrender.i686 libXv.i686 libstdc++.i686 pulseaudio-libs.i686 qt.i686 qt-x11.i686 zlib.i686
 Install qtwebkit if you're in fedora

yum install qtwebkit.i686

Download Skype
cd /tmp

## Skype 4.2 Dynamic for Fedora ##
wget --trust-server-names http://www.skype.com/go/getskype-linux-dynamic

## Skype 4.0 Static for CentOS / Red Hat (RHEL) / Scientific Linux (SL) ##
wget http://download.skype.com/linux/skype_static-4.0.0.8.tar.bz2

extract Skype
mkdir /opt/skype

## Extract Skype 4.2 on Fedora ##
tar xvf skype-4.2* -C /opt/skype --strip-components=1

## Extract Skype 4.0 on CentOS / Red Hat (RHEL) / Scientific Linux (SL) ##
tar xvf skype_static* -C /opt/skype --strip-components=1

Create libtiff.so.4 link on CentOS

cd /usr/lib

ln -s libtiff.so.3 /usr/lib/libtiff.so.4

Create Launcher, Link icons
ln -s /opt/skype/skype.desktop /usr/share/applications/skype.desktop
ln -s /opt/skype/icons/SkypeBlue_48x48.png /usr/share/icons/skype.png
ln -s /opt/skype/icons/SkypeBlue_48x48.png /usr/share/pixmaps/skype.png

touch /usr/bin/skype
chmod 755 /usr/bin/skype

add Skype to /usr/bin. Run command

sudo gedit /usr/bin/skype
paste this code and save

#!/bin/sh
export SKYPE_HOME="/opt/skype"

$SKYPE_HOME/skype --resources=$SKYPE_HOME $*

run skype now with terminal (type "skype" and enter)





Install windows font for CentOS

Install Windows Font for CentOS

You need to download font package. In Terminal, type:

wget http://www.my-guides.net/en/images/stories/fedora12/msttcore-fonts-2.0-3.noarch.rpm
 Install that package with this command
sudo rpm -Uvh msttcore-fonts-2.0-3.noarch.rpm

shutter ... The Screen Capture in Ubuntu and CentOS

Shutter is a good screen capture. It's too convinent for take a shot, work well on small area or all screen and support for export image to local file system or 1 click upload to Image hosting provider.


Too easy to install shutter in ubuntu/xubuntu ... You just find it in ubuntu software center


But for CentOS/Fedora or other linux. You must do something more


First Stage, you need download rpm file. Use Terminal and type :
 $ wget http://li.nux.ro/download/nux/dextop/el6/x86_64/nux-dextop-release-0-1.el6.nux.noarch.rpm

After that, you need install it with this command
 $ wget http://li.nux.ro/download/nux/dextop/el6/x86_64/nux-dextop-release-0-1.el6.nux.noarch.rpm
Change "enable" value to '0' in nux-dextop.repo
$ sudo vi /etc/yum.repos.d/nux-dextop.repo
 And final stage is :
$ sudo vi /etc/yum.repos.d/nux-dextop.repo
To run it. Press Alt + F2 and type "Shutter"


Saturday, August 10, 2013

Free Site tracker and web spy online tool

Online Hack Tools for everyone

Old Feature: 
- Check Invisible - (Keep)
- Get Yahoo IP - (Keep)
- Multi victim - (Improve)
- Get Client Info (HTTP Header) - (Keep)
- Get Location - (Keep)
----------------------------
In this Update. i have improve some new feature:
- Site tracker: You can get how many people visit one topic / website or room chat, where they come from and many other information. Just post a link. (Note. For your private and database storage, the result will be reset every time you refresh or reload it).
- Custom image: You can custom any image you like, no matter how big it is, no limit any host, ...
- Mutli Victim Proview: Next upgrade for result viewer. It's only active when more than 2 victim load your image. With this new feature, you will find, sort, paging, ...
-----------------------------
Next update.
- The realtime site tracker with big data improvement. Just wait for that
-----------------------------
The video will be upload later :D
Have a good day and enjoy it :)

This feature will available as a beta version in : http://test.vngoogle.com
after 2 week. It will be available in : http://tools.vngoogle.com