← 返回命令列表

Linux command

pammixinterlace 命令

文本

涉及管道、覆盖或删除,执行前请先确认路径和参数。

常用示例

Blend interlaced video fields using default FIR filter

pammixinterlace [input.pam] > [output.pam]

Use linear blend filter

pammixinterlace -filter=linear [input.pam] > [output.pam]

Use adaptive filtering to modify only comb-pattern pixels

pammixinterlace -adaptive [input.pam] > [output.pam]

Combine adaptive mode with a specific filter

pammixinterlace -adaptive -filter=ffmpeg [input.pam] > [output.pam]

说明

pammixinterlace makes each row of the output a mixture of the corresponding row of the input and its two neighbors, using half of the main row and a quarter each of the two neighbor rows. This blending reduces interlacing artifacts (combing) in video frames captured from interlaced sources. The tool is useful for deinterlacing video captures for still image use. Part of the Netpbm toolkit.

参数

-filter={linear|fir|ffmpeg}
Choose the filtering mechanism. linear uses a linear-blend formula. fir uses a size-5 FIR low-pass filter. ffmpeg uses a formula from the ffmpeg documentation. Default is fir.
-adaptive
Enable adaptive filtering mode. Only modifies pixels that are obviously part of a "comb" pattern, leaving other pixels unchanged.

FAQ

What is the pammixinterlace command used for?

pammixinterlace makes each row of the output a mixture of the corresponding row of the input and its two neighbors, using half of the main row and a quarter each of the two neighbor rows. This blending reduces interlacing artifacts (combing) in video frames captured from interlaced sources. The tool is useful for deinterlacing video captures for still image use. Part of the Netpbm toolkit.

How do I run a basic pammixinterlace example?

Run `pammixinterlace [input.pam] > [output.pam]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -filter={linear|fir|ffmpeg} do in pammixinterlace?

Choose the filtering mechanism. linear uses a linear-blend formula. fir uses a size-5 FIR low-pass filter. ffmpeg uses a formula from the ffmpeg documentation. Default is fir.