deblock ¶
deblock_qed ¶
deblock_qed(
clip: VideoNode,
quant_edge: int = 24,
quant_inner: int = 26,
alpha_edge: int = 1,
beta_edge: int = 2,
alpha_inner: int = 1,
beta_inner: int = 2,
chroma_mode: int = 0,
align: Align = TOP_LEFT,
planes: PlanesT = None,
) -> VideoNode
A postprocessed Deblock: Uses full frequencies of Deblock's changes on block borders, but DCT-lowpassed changes on block interiours.
Parameters:
-
clip
¶VideoNode
) –Clip to process.
-
quant_edge
¶int
, default:24
) –Strength of block edge deblocking.
-
quant_inner
¶int
, default:26
) –Strength of block internal deblocking.
-
alpha_edge
¶int
, default:1
) –Halfway "sensitivity" and halfway a strength modifier for borders.
-
beta_edge
¶int
, default:2
) –"Sensitivity to detect blocking" for borders.
-
alpha_inner
¶int
, default:1
) –Halfway "sensitivity" and halfway a strength modifier for block interiors.
-
beta_inner
¶int
, default:2
) –"Sensitivity to detect blocking" for block interiors.
-
chroma_mode
¶int
, default:0
) –Chroma deblocking behaviour. - 0 = use proposed method for chroma deblocking - 1 = directly use chroma deblock from the normal Deblock - 2 = directly use chroma deblock from the strong Deblock
-
align
¶Align
, default:TOP_LEFT
) –Where to align the blocks for eventual padding.
-
planes
¶PlanesT
, default:None
) –What planes to process.
Returns:
-
VideoNode
–Deblocked clip
Source code
330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 |
|
dpir_mask ¶
dpir_mask(
clip: VideoNode,
low: float = 5,
high: float = 10,
lines: float | None = None,
luma_scaling: float = 12,
linemask: GenericMaskT | bool = True,
relative: bool = False,
) -> VideoNode
Source code
303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 |
|
mpeg2stinx ¶
mpeg2stinx(
clip: VideoNode,
bobber: VSFunction | None = None,
radius: int | tuple[int, int] = 2,
limit: float | None = 1.0,
) -> VideoNode
This filter is designed to eliminate certain combing-like compression artifacts that show up all too often in hard-telecined MPEG-2 encodes, and works to a smaller extent on bitrate-starved hard-telecined AVC as well. General artifact removal is better accomplished with actual denoisers.
Parameters:
-
clip
¶VideoNode
) –Clip to process
-
bobber
¶VSFunction | None
, default:None
) –Callable to use in place of the internal deinterlacing filter.
-
radius
¶int | tuple[int, int]
, default:2
) –x, y radius of min-max clipping (i.e. repair) to remove artifacts.
-
limit
¶float | None
, default:1.0
) –If specified, temporal limiting is used, where the changes by crossfieldrepair are limited to this times the difference between the current frame and its neighbours.
Returns:
-
VideoNode
–Clip with cross-field noise reduced.
Source code
409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 |
|