2017-03-10 34 views

回答

1

如果你需要經常這樣做你的選項是「通過外部編碼器輸出」與VirtualDub的FilterMod https://sourceforge.net/projects/vdfiltermod (RGB出口是不可能與官方的VirtualDub)

低於預設將使用的ffmpeg保存灰色TIFF序列(下載ffmpeg.exe並替換它的路徑)

 

{ 
    "description": "VirtualDub external encoder profile collection", 
    "externalEncoders": { 
     "sets": { 
      "tiff_gray": { 
       "videoEncoder": "tiff_gray", 
       "audioEncoder": "", 
       "multiplexer": "", 
       "description": "", 
       "extension": "", 
       "processPartial": false, 
       "useOutputAsTemp": true 
      } 
     }, 
     "profiles": { 
      "tiff_gray": { 
       "name": "tiff_gray", 
       "program": "E:\\download\\vd\\ffmpeg\\ffmpeg.exe", 
       "commandArguments": "-f rawvideo -pix_fmt %(pix_fmt) -s %(width)x%(height) -r %(fpsnum)/%(fpsden) -i - -pix_fmt gray8 %(tempvideofile)_%%04d.tif", 
       "outputFilename": "", 
       "type": 0, 
       "pixelFormat": "bgra", 
       "inputFormat": 0, 
       "checkReturnCode": true, 
       "logStdout": true, 
       "logStderr": true, 
       "bypassCompression": false, 
       "predeleteOutputFile": true 
      } 
     } 
    } 
}