Alex刺客

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

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

          2010年7月15日 #

          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)編輯 收藏

          主站蜘蛛池模板: 武川县| 芮城县| 微博| 阜新市| 乐亭县| 边坝县| 黑龙江省| 噶尔县| 清涧县| 吴忠市| 南靖县| 双流县| 象州县| 格尔木市| 耿马| 华亭县| 秀山| 宾阳县| 汉源县| 方城县| 沅江市| 江都市| 章丘市| 杭锦后旗| 出国| 绥宁县| 高淳县| 石河子市| 永新县| 龙胜| 富裕县| 象州县| 西吉县| 仪征市| 天峨县| 潼南县| 永宁县| 西宁市| 白沙| 丰原市| 汾西县|