0
的我有containes 10個灰度圖像的未壓縮RGB AVI文件:https://drive.google.com/open?id=0B9wKP6yNcpyfY1JzdmJTcHhjTmM(10個圖像)提取圖像序列出RGB AVI電影的VirtualDub
隨着VirtualDub的我想提取圖像whicht應該只有1個頻道。我試過這些圖片的所有案例都有3個頻道。
如何做到這一點?
的我有containes 10個灰度圖像的未壓縮RGB AVI文件:https://drive.google.com/open?id=0B9wKP6yNcpyfY1JzdmJTcHhjTmM(10個圖像)提取圖像序列出RGB AVI電影的VirtualDub
隨着VirtualDub的我想提取圖像whicht應該只有1個頻道。我試過這些圖片的所有案例都有3個頻道。
如何做到這一點?
如果你需要經常這樣做你的選項是「通過外部編碼器輸出」與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 } } } }