顯示具有 ubuntu 標籤的文章。 顯示所有文章
顯示具有 ubuntu 標籤的文章。 顯示所有文章

2012年7月23日 星期一

Ubntu 12.04 grub設定開機順序

  •   先編輯:/etc/default/grup
    使用root或者sudo去編輯~~
  • 執行 update-grub
    使用root或者sudo去執行~~
  • 重新開機即可~~

2012年7月18日 星期三

Install KDE on Ubuntu 12.04 LTS


Install KDE on Ubuntu 12.04 LTS
If you want to install KDE with standard set of applications then execute -

sudo apt-get install kde-standard
On the other hand for full set of package/applications – (it may take a lot of time – if you’ve slow Internet connection then better try above one)

sudo apt-get install kde-full
That’s All, Now you can logout from the current session and select KDE on the Login Prompt to start enjoying the Kool Desktop Environment (KDE).

資料來源:http://blog.sudobits.com/2012/04/14/how-to-install-kde-desktop-on-ubuntu-12-04/

Installing Gnome 3 on Ubuntu 12.04

sudo add-apt-repository ppa:gnome3-team/gnome3
sudo apt-get update
sudo apt-get install gnome-shell

重新開機選gnome即可~

2010年7月10日 星期六

用ffmpeg把mpg轉flv的方式

我的指令

  • ffmpeg -i M2U00473.MPG -s 720x480 -vcodec flv -aspect 4:3 -b 300kb -g 160 -cmp dct  -subcmp dct  -mbd 2 -flags +aic+cbp+mv0+mv4 -trellis 1 -ac 1 -ar 22050 -f flv M2U00473.flv
  • 就是把M2U00473.MPG轉成 M2U00473.flv

  • ffmpeg參數如下:
                    -i : 指輸入的檔案名稱,只要系統中有相對應的codec,就能使用多種格式。
                         -b bitrate' Set the video bitrate in bit/s (default = 200 kb/s).
                           -g gop_size' Set the group of pictures size.
                            -s :解析度如320x240或800X600等。
                               -aspect :Set aspect ratio (4:3, 16:9 or 1.3333, 1.7777).
                                      -target 檔案格式如 ("vcd", "svcd", "dvd", "dv", "dv50","pal-vcd", "ntsc-svcd", ... )
                                                 如:ffmpeg -i myfile.avi -target vcd -bf 2 /tmp/vcd.mpg
                                         -f : 輸出的檔案格式。
                                           -vcodec : 指定影像的編碼格式,這裡的libxvid指的是一般所說的xvid。
                                             -ac : channels'  Set the number of audio channels (default = 1).
                                                -ar : freq'Set the audio sampling frequency (default = 44100 Hz).
                                              `-r fps'

                                                  Set frame rate (Hz value, fraction or abbreviation), (default = 25).


                      ffmpeg常用轉檔參數 @ 麥克星球 Linux Fedora 心得筆記 :: Xuite日誌

                      ffmpeg常用轉檔參數 @ 麥克星球 Linux Fedora 心得筆記 :: Xuite日誌

                      Ubuntu10.04內Winff的中文化 - Ubuntu

                      Ubuntu10.04內Winff的中文化 - Ubuntu - 彰化縣自由軟體工作日誌

                      仲佑的網誌 � Blog Archive � 善用批次與組合的力量-大批影音檔案的轉檔處理

                      仲佑的網誌 � Blog Archive � 善用批次與組合的力量-大批影音檔案的轉檔處理: "ffmpeg2theora"