Alex刺客

          Dancing fingers, damage world. -- 舞動手指,破壞世界.

            BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理 ::
            57 隨筆 :: 0 文章 :: 76 評論 :: 0 Trackbacks

          2010年6月21日 #

          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刺客 閱讀(7068) | 評論 (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刺客 閱讀(1746) | 評論 (0)編輯 收藏

               摘要: WebQQ 無法登錄 沒有登錄按鈕  閱讀全文
          posted @ 2010-10-17 22:23 Alex刺客 閱讀(1776) | 評論 (3)編輯 收藏

               摘要: Linux 下安裝 牛津高階英語詞典 第8版 英英 支持 英音 美音 真人發音  閱讀全文
          posted @ 2010-10-13 02:19 Alex刺客 閱讀(5991) | 評論 (3)編輯 收藏

               摘要:   閱讀全文
          posted @ 2010-10-13 01:53 Alex刺客 閱讀(3934) | 評論 (2)編輯 收藏

               摘要:   閱讀全文
          posted @ 2010-09-09 04:13 Alex刺客 閱讀(440) | 評論 (0)編輯 收藏

               摘要:   閱讀全文
          posted @ 2010-09-04 09:28 Alex刺客 閱讀(48218) | 評論 (6)編輯 收藏

               摘要:   閱讀全文
          posted @ 2010-08-29 23:17 Alex刺客 閱讀(2032) | 評論 (0)編輯 收藏

               摘要:   閱讀全文
          posted @ 2010-08-29 22:38 Alex刺客 閱讀(523) | 評論 (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刺客 閱讀(752) | 評論 (0)編輯 收藏

               摘要:   閱讀全文
          posted @ 2010-08-24 22:11 Alex刺客 閱讀(2829) | 評論 (1)編輯 收藏

               摘要:   閱讀全文
          posted @ 2010-08-23 04:53 Alex刺客 閱讀(304) | 評論 (0)編輯 收藏

               摘要:   閱讀全文
          posted @ 2010-08-14 04:21 Alex刺客 閱讀(3155) | 評論 (0)編輯 收藏

               摘要:   閱讀全文
          posted @ 2010-08-14 04:02 Alex刺客 閱讀(5572) | 評論 (0)編輯 收藏

               摘要:   閱讀全文
          posted @ 2010-08-10 08:04 Alex刺客 閱讀(321) | 評論 (0)編輯 收藏

               摘要:   閱讀全文
          posted @ 2010-08-10 07:55 Alex刺客 閱讀(327) | 評論 (0)編輯 收藏

               摘要: 看來ExtJS 3 border 布局 又增加了新的屬性
          collapseMode: 'mini',
          minSize: 80, //最小高/寬度
          maxSize: 400, //最大高/寬度
          看看這些屬性帶來了什么功能  閱讀全文
          posted @ 2010-08-03 09:08 Alex刺客 閱讀(1545) | 評論 (0)編輯 收藏

               摘要:   閱讀全文
          posted @ 2010-08-03 07:28 Alex刺客 閱讀(1005) | 評論 (1)編輯 收藏

               摘要:   閱讀全文
          posted @ 2010-08-03 06:40 Alex刺客 閱讀(412) | 評論 (0)編輯 收藏

               摘要:   閱讀全文
          posted @ 2010-07-30 09:07 Alex刺客 閱讀(325) | 評論 (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刺客 閱讀(310) | 評論 (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刺客 閱讀(5253) | 評論 (2)編輯 收藏

               摘要:   閱讀全文
          posted @ 2010-07-02 23:10 Alex刺客 閱讀(444) | 評論 (0)編輯 收藏

               摘要: 省市縣三級連動SQL語句  閱讀全文
          posted @ 2010-07-02 09:50 Alex刺客 閱讀(2013) | 評論 (0)編輯 收藏

               摘要: 前言:
          一.fedora 下載地址 跟 oracle database 11gr2
          二.查看自己機子的信息
          三.安裝oracle database11gr2依賴包
          四.配置系統文件
          五.安裝Oracle Database 11GR2
          六. 成功安裝完成后再接著配置。
          問題1 解決方案
          問題2 : 重啟系統后oracle服務不會自動啟動  閱讀全文
          posted @ 2010-06-22 22:29 Alex刺客 閱讀(7410) | 評論 (3)編輯 收藏

          1.首先找到my.cnf(MySQL配置文件)
               一般情況下在/etc/my.cnf 或者/etc/mysql/my.cnf 這個路徑.如果你都找不到請用 "find /etc -name my.cnf" 命令搜索.

          用vim打開 更改相應的屬性值

           1 [mysqld]
           2 
           3 # MySQL 字符集
           4 default-character-set=utf8
           5 
           6 # MySQL 連接字符集
           7 init_connect='SET NAMES utf8'
           8 
           9 # 默認使用innoDB引擎
          10 default-storage-engine=INNODB
          11 
          12 # 指定Mysql不區分大小寫表名
          13 lower_case_table_names=1
          14 
          15 [client]
          16 
          17 # 客戶端字符集
          18 default-character-set=utf8
          19 


          參考MySQL5.1官方中文手冊
          http://dev.mysql.com/doc/refman/5.1/zh/index.html

          posted @ 2010-06-21 23:54 Alex刺客 閱讀(490) | 評論 (0)編輯 收藏

               摘要: /**
          * Project Name : Oracle_Database_11g_Study_Notes
          * File Name : 2.User_Management.sql
          * Author : Alex刺客
          * Date : June 21,2010
          */  閱讀全文
          posted @ 2010-06-21 04:10 Alex刺客 閱讀(528) | 評論 (0)編輯 收藏

               摘要: /**
          * Project Name : Oracle_Database_11g_Study_Notes
          * File Name : 1.Start_Login.sql
          * Author : Alex刺客
          * Date : June 21,2010
          */  閱讀全文
          posted @ 2010-06-21 04:03 Alex刺客 閱讀(557) | 評論 (0)編輯 收藏

          主站蜘蛛池模板: 汕头市| 杨浦区| 大姚县| 申扎县| 青海省| 永修县| 麻城市| 连平县| 巴青县| 老河口市| 敦煌市| 会同县| 芜湖市| 斗六市| 佛冈县| 诸暨市| 拉孜县| 海安县| 临夏县| 江永县| 蓝田县| 前郭尔| 永州市| 靖远县| 焦作市| 昌宁县| 文山县| 库尔勒市| 南康市| 闵行区| 南京市| 任丘市| 奉贤区| 深州市| 渭南市| 灵川县| 江都市| 科技| 潼关县| 灌阳县| 高碑店市|