Ocenite etot tekst:




Bezogovorochno luchshij proigryvatel': Mplayer
 http://mplayerhq.hu/
 Ponimaet  _vse_  videoformaty,  sushchestvuyushchie v prirode, i samyj bystryj pri
etom. Igraet DVD, VideoCD, TV, quicktime, divx, avi i vse-vse-vse.
 Ponimaet subtitry, rusificirovan.
 Umeet konvertirovat' iz odnogo formata v drugoj, v t.ch. DVD v DivX

  Primery:

 Prosmotr fil'ma s russkimi subtitrami

 mplayer -font /usr/share/mplayer/koi8r/font.desc -sub holy.srt Holy_Grail.avi

 Perekodirovat' v divx za 3 prohoda (zvuk otdel'no)
 rm frameno.avi
 mencoder -dvd 2 -ovc frameno -o frameno.avi -oac mp3lame -lameopts vbr=3
 mencoder -dvd 2 -ovc lavc -lavcopts vcodec=mpeg4:vpass=1 -oac copy -o out.avi
 mencoder -dvd 2 -ovc lavc -lavcopts vcodec=mpeg4:vpass=2 -oac copy -o out.avi



e-donkey:
Dlya vindovs klient eMule
Dlya Linux klient mldonkey


zapuskaem otdel'no server
mldonkey


zatem konnektimsya k nemu telnet'om na 4000 port ili brouzerom na 4080 port

telnet localhost 4000

?          - help
s Matrix   - iskat' kino
vr         - posmotret', chto najdeno
d 1        - nachat' zakachku 1-go najdennogo fajla
vd         - posmotret', skol'ko uzhe skachalos'
dllink ed2klink - skachat' ed2klink
pause
resume all
vo         - raspechatat' opcii
set option_name option_value  - ustanovit' znachenie opcii
close_fds  - zakryt' vse otkrytye fajly (chtob podejstvoval remove)






    * Determine the key code

I executed xev command, pressed the keys one by one and noted the output of xev for each multimedia key.
$ xev

    * Save key codes

I created .Xmodmap file in my $HOME and saved the key codes.
$HOME/.Xmodmap
keycode 160=XF86AudioMute
keycode 162=XF86AudioPlay
keycode 176=XF86AudioRaiseVolume
keycode 174=XF86AudioLowerVolume
keycode 153=XF86AudioNext
keycode 144=XF86AudioPrev
keycode 164=XF86AudioStop

    * Call xmodmap in .xsession

$HOME/.xsession
xmodmap $HOME/.Xmodmap

    * Assign key to special function

I am using XFCE4 as my desktop environment. I did the following for assigning keys to special functions:

# Open the Setting Manager
# Click on window manager and select the "Keyboard" tab.
# Click "Add" to create a new theme.
# In the "Command Shortcuts" section doubleclick on an empty slot, enter the command for a key.

Here are the commands which I used for my multimedia keys:

# Mute: amixer -q set Master toggle
# VolumeRaise: amixer -q set PCM 2+ unmute
# VolumeLower: amixer -q set PCM 2- unmute
# Play/Pause: /usr/bin/xmms --play-pause
# Rewind: /usr/bin/xmms --rew
# Forward: /usr/bin/xmms --fwd
# Stop: /usr/bin/xmms --stop


http://www.stanford.edu/~rashmisu/linux.html#mmkeys


Last-modified: Thu, 14 Sep 2006 19:47:06 GMT
Ocenite etot tekst: