2010年10月30日 星期六

Virtualdub 影音加減速 使用心得

影音轉檔的目標總算達成了,紀錄一下免得忘記。


目標: youtube large! 640x480
來源: 320x200 zmbv

virtualdub 1.9.10

轉檔:video/full processing mode
filter: resize new 640x480 , Lanczos3
(bilinear 壓小;bicubic 壓大)
http://www.pcdvd.com.tw/printthread.php?t=397572

frame rate: convert to 29.97/30
Compression: Mpeg4E H.264/MPEG-4 AVC
(MPEG4E 解碼器要裝 @@", 結果是從 free video converter 裝的... )
profile:default ; bitrate: 640~768~1200 @@"
Color Depth: auto ; the same as decomp

*20101210 更新:
用 Xvid 就可以得到 MPEG4 了,才不會被 youtube 轉檔搓掉。
Single pass 1200k

audio 選 MPEG-Layer-3 56k 22050Hz


Audio: Interleaving (default)
direct stream copy
(應該可以改 full process 選個 compress codec 再壓更小 @@)

處理期間:瀏覽網頁: thread lower ; bbs,normal ; 丟著不管,higher

分割:(不需重壓)
video & audio: 改 direct stream copy
home/end 看好要切割的影像位置後,再來
 「一定」! 要以附近的 key frame 為準! 按底下 move to key frame 按鈕
(不然會有銜接處重複的現象)

影音加減速:(要重壓)
讀取分割好的區塊 avi , compress codec/filter 同 avi
video: 改 fast recompress
frame rate: 比如說來源 avi fps 是  30
加速x2 ! frame rate: source change to 60 , convert to 30
減速x2 ! frame rate: source change to 15 , convert to 30

audio: 改 full process
★use advanced filtering / filters: add input -> stretch -> output
stretch : 加速x2 ! ratio 1 -> "0.5"
          減速x2 ! ratio 1 -> "2"
compress codec: 好像不用選 @@ ; 跟來源 avi 一樣就是.

http://forum.digital-digest.com/showthread.php?t=92806

合併:(不需重壓)
open file / append avi segment... ; direct stream copy
以上, video/audio 同 codec , 需同 framerate , 分割在 keyframe 上
配合之前 virtualdub 小技巧所提到的 #153MX4zb
例如 1.avi append 2.avi 就會連 3,4,5... 都一起加進來.
(故 save segmented avi 會在前端給予編號)

以上, 就可以完成轉檔, 超過 15min 就分割
分割的部份予以壓縮, 再合併(故可能需準備影音檔 2~3 倍的空間 @@)

只是步驟太多了... @@" 還得一次決定哪些區段要分割
覺得應該可以先設定好再批次完成才是...

windows movie maker 與 free videoConverter 都轉超慢,核心部份處理好像有問題
故 virtualdub 用起來才覺得算是正常運作的. 設定都調好,用起來就很棒

沒有留言: