Alex刺客

Dancing fingers, damage world. -- 舞动手指,破坏世界.

  BlogJava :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理 ::
  57 随笔 :: 0 文章 :: 76 评论 :: 0 Trackbacks

2010年6月23日 #

Linux下的播放器.

还记得N年前,本本装个Linux能发出声都是万幸的事.现在 Linux 平台越来越强大.驱动也更完善 . 像咱们这些喜欢音乐的 fans 也开始追逐 Linux 上的音质表现.
大多数Linux发行版本默认都不带音/视频解码器.只要你配置了第3方yum 比如(http://rpmfusion.org/). 然后打开系统自带的 totem 播放器随意打开个视频就会自动下载相关的解码器(建议尝试播放你机子上所有不同的视/音频格式.这种你就获得了最全面的解码器).
目前常见的格式 flac ape wav ogg mp3 aac m4a wma 只要你的系统安装了对应解码器都可获得支持.至少在我过的播放器中没碰见那种格式不能解释的.(前提你系统安装了解码器)
音乐播放器.
    1.Rhythmbox gnome 默认带的大多数格式都支持(前提你系统安装了解码器). 音质还算一般. 样子有点像 iTunes.均衡要装插件,调节后会有一点点的改善.但不突出.

    2.Audacious (有自己的解码器) 跟win 下的千千静听差不多.个人不太喜欢它的均衡没法调.
         安装方法: # yum install audacious audacious-plugins*

    3.Exaile 比较小 Python 语言写的. tags编辑功能是一大亮点,分类是我最喜欢的方式.均衡相对来说比以上两个要好一些.是我比较喜欢的一个player.
         安装方法: # yum install exaile

    4.Mplayer + smplayer 虽说是Linux下最牛的视频播放(全视频格式都支持,我机子上740p, 1080p都能跑就是CPU高了点.),用来播放音乐不合适.但是Linux下的音乐播放器(只说音质的话)我认为没一个音乐播放器的音质比mplyer强.不信你自己用无损的音乐仔细试听一下.总感觉有层次感一些.(调一点点均衡"V型"更容易突出这种效果.)
         安装方法: # yum install smplayer

刚捉的图欣赏一下. 每个播放器都带均衡调节喔.我的均衡方案说不定不适合你喔(理论上来说增强了低音跟高音,降低了中音频)合适听R&B,Hip-Hop,Rap,Rock.风格.
图: http://www.flickr.com/photos/56749281@N05/

Tips:
 推荐一个桌面歌词 Osd-lyrics 感觉还不错
os: feodra 14
Downlaod: http://code.google.com/p/osd-lyrics/

posted @ 2010-12-06 23:49 Alex刺客 阅读(6954) | 评论 (0)编辑 收藏

     摘要: linux 安装 Tomcat6
linux 安装 apache-tomcat-6.0.29
Tomcat 配置成 Linux 服务
Linux install Tomcat
Configured Linux installation services tomcat6  阅读全文
posted @ 2010-10-27 19:08 Alex刺客 阅读(1715) | 评论 (0)编辑 收藏

     摘要: WebQQ 无法登录 没有登录按钮  阅读全文
posted @ 2010-10-17 22:23 Alex刺客 阅读(1742) | 评论 (3)编辑 收藏

     摘要: Linux 下安装 牛津高阶英语词典 第8版 英英 支持 英音 美音 真人发音  阅读全文
posted @ 2010-10-13 02:19 Alex刺客 阅读(5943) | 评论 (3)编辑 收藏

     摘要:   阅读全文
posted @ 2010-10-13 01:53 Alex刺客 阅读(3895) | 评论 (2)编辑 收藏

     摘要:   阅读全文
posted @ 2010-09-09 04:13 Alex刺客 阅读(415) | 评论 (0)编辑 收藏

     摘要:   阅读全文
posted @ 2010-09-04 09:28 Alex刺客 阅读(48169) | 评论 (6)编辑 收藏

     摘要:   阅读全文
posted @ 2010-08-29 23:17 Alex刺客 阅读(1912) | 评论 (0)编辑 收藏

     摘要:   阅读全文
posted @ 2010-08-29 22:38 Alex刺客 阅读(494) | 评论 (0)编辑 收藏


 1     <!-- Proxool 连接池配置 -->
 2     <bean id="datasource" class="org.logicalcobwebs.proxool.ProxoolDataSource">
 3         <property name="alias" value="pfms-proxool" />
 4         <property name="driverUrl" value="jdbc:mysql:///pfmsdb" />
 5         <property name="driver" value="com.mysql.jdbc.Driver" />
 6         <property name="user" value="root" />
 7         <property name="password" value="123456" />
 8         <property name="maximumConnectionCount" value="10" />
 9         <property name="houseKeepingTestSql" value="select CURRENT_DATE" />
10     </bean>

posted @ 2010-08-24 22:15 Alex刺客 阅读(720) | 评论 (0)编辑 收藏

     摘要:   阅读全文
posted @ 2010-08-24 22:11 Alex刺客 阅读(2787) | 评论 (1)编辑 收藏

     摘要:   阅读全文
posted @ 2010-08-23 04:53 Alex刺客 阅读(285) | 评论 (0)编辑 收藏

     摘要:   阅读全文
posted @ 2010-08-14 04:21 Alex刺客 阅读(3131) | 评论 (0)编辑 收藏

     摘要:   阅读全文
posted @ 2010-08-14 04:02 Alex刺客 阅读(5531) | 评论 (0)编辑 收藏

     摘要:   阅读全文
posted @ 2010-08-10 08:04 Alex刺客 阅读(307) | 评论 (0)编辑 收藏

     摘要:   阅读全文
posted @ 2010-08-10 07:55 Alex刺客 阅读(300) | 评论 (0)编辑 收藏

     摘要: 看来ExtJS 3 border 布局 又增加了新的属性
collapseMode: 'mini',
minSize: 80, //最小高/宽度
maxSize: 400, //最大高/宽度
看看这些属性带来了什么功能  阅读全文
posted @ 2010-08-03 09:08 Alex刺客 阅读(1521) | 评论 (0)编辑 收藏

     摘要:   阅读全文
posted @ 2010-08-03 07:28 Alex刺客 阅读(984) | 评论 (1)编辑 收藏

     摘要:   阅读全文
posted @ 2010-08-03 06:40 Alex刺客 阅读(384) | 评论 (0)编辑 收藏

     摘要:   阅读全文
posted @ 2010-07-30 09:07 Alex刺客 阅读(307) | 评论 (0)编辑 收藏

Tomcat服务器.在使用 Ajax get方法的时候中文参数提交到了服务器变成了乱码.
这是因为 Tomcat 默认的 URL 编码为 ISO-8859-1 导致的.以下有两种解决方案.

1.java转换编码方式
 1     /**
 2      * 转换字符串编码
 3      * @param str 要进行转换的字符串
 4      * @param oldCode 指定str的编码
 5      * @param newCode 目标字符串编码
 6      * @return 目标字符串
 7      * @throws UnsupportedEncodingException
 8      */
 9     public static String transcoding(String str,String oldCode, String newCode) throws UnsupportedEncodingException{
10         byte[] bytes = str.getBytes(oldCode);
11         String newStr = new String(bytes, newCode);
12         return newStr;
13     }

1 String name = request.getParameter("name");
2 String resultStr = transcoding(name, "ISO-8859-1""UTF-8");
3 System.out.println(resultStr);

2.指定Tomcat URL编码
1 <Connector port="80" protocol="HTTP/1.1" 
2                connectionTimeout="20000" 
3                redirectPort="8444"
4                URIEncoding="UTF-8"/>
在配置http端口的地址添上URIEncoding="UTF-8".

这样就可这直接获取 URL 的属性
1 String name = request.getParameter("name");
2System.out.println(name);

posted @ 2010-07-14 23:33 Alex刺客 阅读(290) | 评论 (0)编辑 收藏

     摘要: 刚刚看了一下struts2/docs/json-plugin.html文档,正好前几天研究一下jQuery的API今天就试着练练jQuery做个 Study_Notes.IDE: eclipse-jee-galileo-SR2-linux-gtk例子完整的源代码,日志最下面有下载.1.注解方式Code highlighting produced by Actipro CodeHighlighter...  阅读全文
posted @ 2010-07-13 10:32 Alex刺客 阅读(5224) | 评论 (2)编辑 收藏

     摘要:   阅读全文
posted @ 2010-07-02 23:10 Alex刺客 阅读(420) | 评论 (0)编辑 收藏

     摘要: 省市县三级连动SQL语句  阅读全文
posted @ 2010-07-02 09:50 Alex刺客 阅读(1990) | 评论 (0)编辑 收藏

     摘要: 前言:
一.fedora 下载地址 跟 oracle database 11gr2
二.查看自己机子的信息
三.安装oracle database11gr2依赖包
四.配置系统文件
五.安装Oracle Database 11GR2
六. 成功安装完成后再接着配置。
问题1 解决方案
问题2 : 重启系统后oracle服务不会自动启动  阅读全文
posted @ 2010-06-22 22:29 Alex刺客 阅读(7364) | 评论 (3)编辑 收藏