wiki:jazz/09-09-01
close Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": libsvn_repos-1.so.1: failed to map segment from shared object: Cannot allocate memory). Look in the Trac log for more information.

Version 4 (modified by jazz, 15 years ago) (diff)

--

2009-09-01

  • [備忘] hadoop.nchc.org.tw 因為有兩批不同等級的機器,因此有時候 Mapper 必須等比較慢的機器算完。此時,放大 mapred.task.timeout 的數值可以有助於 Job 穩定跑完。
  • [備忘] 用 ffmpeg 轉換 JPG 成 FLV
    • Converting stream of jpg files to FLV stream
    • FFmpeg FAQ 文件
      ffmpeg -f image2 -r 1 -i frame%04d.jpg  -s 320x240 -y -an -r 24 out.flv
      
      -f 來源目錄
      -r 1 來源檔案為 1 fps
      -i frame%4d.jpg 表示輸入檔格式為 frame0000.jpg frame0001.jpg frame0002.jpg 格式
      -s 320x240 
      -y 覆蓋存在的輸出檔案
      -an 不錄音(no audio)
      -r 24 輸出檔為 24 fps
      

Attachments (1)

Download all attachments as: .zip