blog.Ring.idv.tw

影音轉檔工具-MEncoder

影音轉檔工具-MEncoder

想要將影音檔轉為Flash Video(flv)嗎?試試它吧~

MEncoder - Wikipedia:

MEncoder is a free command line video decoding, encoding and filtering tool released under the GNU General Public License.
It is a close sibling to MPlayer and can convert all the formats that
MPlayer understands into a variety of compressed and uncompressed formats using different codecs.

安裝說明

Step 1:下載Mplayer

Step 2:下載Codecs

Step 3:將Codecs全部的檔案搬移至Mplayer目錄底下的「codecs」子目錄。

3gp轉flv

指令:

C:\mplayer>mencoder -vf scale=320:240 -ffourcc FLV1 -of lavf -lavfopts i_certify_that_my_video_stream_does_not_use_b_frames -ovc lavc -lavcopts vcodec=flv:vbitrate=200 -srate 22050 -oac lavc -lavcopts acodec=mp3:abitrate=56 test.3gp -o test.flv

其它格式像是「wmv」、「mov」及「avi」也都可以成功轉碼~

參考資料:

MP4 encoder

Mp4 encoder for psp

在线转FLV

用Mencoder进行任意视频格式转换成flv

FFmpeg MEncoder FLV 3GP FlvMdi Avisynth 加水印参数

線上轉FLV

2007-06-08 12:30:59

4 comments on "影音轉檔工具-MEncoder"

  1. 1. 游宗諺學弟 說:

    指令是要下在哪邊 網頁裡面嘛?

    2007-06-26 23:09:36

  2. 2. Shen 說:

    開啟「附屬應用程式」裡面的「命令提示字元」,並將路徑切換至你的「mplayer」目錄下,再輸入上述指令即可。

    2007-06-27 00:18:34

  3. 3. 宗諺學弟 說:

    問題一 怎麼去讓這些步驟自動執行

    問題二 網頁要怎麼去呼叫執行檔或者該怎麼讓網頁去跑上敘的動作

    那可以指定存的檔名嘛?

    我們現在需要的方式可能是上傳之後會用FLASH的組件去讀取FLV 所以需要確認檔名 然後
    會再傳回一個網址



    2007-06-27 21:09:32

  4. 4. Shen 說:

    關於這兩個問題... 我想你必須去看你使用的是那一種後端的程式語言,以Java來說的話~可以使用java.lang.Runtime去處理~若是php的話可以呼叫exec或system這些function等等…

    若是要另存轉檔後的名稱~ 你可以用「-o」參數來指定~如上述3gp轉flv的範例!

    good luck!

    2007-06-27 21:51:47

Leave a Comment

Copyright (C) Ching-Shen Chen. All rights reserved.

::: 搜尋 :::

::: 分類 :::

::: 最新文章 :::

::: 最新回應 :::

::: 訂閱 :::

Atom feed
Atom Comment