Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

ffmpeg-deinterlacing-telecine

БесплатноБез исполняемых скриптовНе проверен

Complete FFmpeg deinterlacing, field processing, and telecine removal for broadcast and professional video. PROACTIVELY activate for: (1) Deinterlacing…

JosiahSiegelот JosiahSiegel★ 67 звёзд на GitHub

Об этом скилле

CRITICAL GUIDELINES

Windows File Path Requirements

MANDATORY: Always Use Backslashes on Windows for File Paths

When using Edit or Write tools on Windows, you MUST use backslashes (\) in file paths, NOT forward slashes (/).


Quick Reference

Task Filter Command Pattern
Basic deinterlace yadif -vf yadif
High quality deinterlace bwdif -vf bwdif
CUDA deinterlace yadif_cuda -vf yadif_cuda
Inverse telecine pullup -vf pullup
Field order fieldorder -vf fieldorder=tff
Detect interlace idet -vf idet

When to Use This Skill

Use for interlaced and telecined content:

  • Converting broadcast/TV content to progressive
  • DVD and Blu-ray processing
  • Legacy video digitization
  • Professional video production
  • Field order correction
  • Telecine removal (3:2 pulldown)

FFmpeg Deinterlacing & Telecine (2025)

Comprehensive guide to deinterlacing, field processing, and telecine removal.

Understanding Interlaced Video

What is Interlacing?

Interlaced video stores two half-resolution fields per frame:

  • Top Field (TFF): Odd lines (1, 3, 5, ...)
  • Bottom Field (BFF): Even lines (2, 4, 6, ...)

Common interlaced formats:

  • 1080i (1920x1080, 50i or 60i)
  • 576i (720x576, 50i - PAL)
  • 480i (720x480, 60i - NTSC)

Detecting Interlaced Content

# Use idet filter to detect interlacing
ffmpeg -i input.mp4 -vf "idet" -frames:v 500 -f null -

# Output shows field types:
# TFF = Top Field First
# BFF = Bottom Field First
# Progressive = Not interlaced
# Undetermined = Mixed or uncertain

Deinterlacing Filters

yadif - Yet Another DeInterlacing Filter

The most widely used deinterlacing filter. Good balance of speed and quality.

# Basic deinterlacing (output same frame rate)
ffmpeg -i interlaced.mp4 -vf "yadif" output.mp4

# Double frame rate (output both fields as frames)
ffmpeg -i interlaced.mp4 -vf "yadif=1" output.mp4

# Specify field parity (auto-detect by default)
ffmpeg -i interlaced.mp4 -vf "yadif=0:0:0" output.mp4  # TFF
ffmpeg -i interlaced.mp4 -vf "yadif=0:1:0" output.mp4  # BFF

# Only deinterlace if detected as interlaced
ffmpeg -i input.mp4 -vf "yadif=deint=interlaced" output.mp4

Parameters:

Parameter Description Values
mode Output mode 0=same fps, 1=double fps
parity Field parity -1=auto, 0=TFF, 1=BFF
deint Frames to deinterlace 0=all, 1=interlaced only

Mode options:

  • 0 / send_frame - Output one frame per input frame
  • 1 / send_field - Output one frame per field (double fps)
  • 2 / send_frame_nospatial - Like 0, without spatial interlacing check
  • 3 / send_field_nospatial - Like 1, without spatial interlacing check

bwdif - Bob Weaver Deinterlacing Filter

Higher quality than yadif, uses more frames for interpolation.

# Basic bwdif
ffmpeg -i interlaced.mp4 -vf "bwdif" output.mp4

# Double frame rate
ffmpeg -i interlaced.mp4 -vf "bwdif=1" output.mp4

# Specify parity
ffmpeg -i interlaced.mp4 -vf "bwdif=0:-1:1" output.mp4

Parameters: Same as yadif

w3fdif - Martin Weston 3-Field Deinterlacing

Uses three fields for even higher quality interpolation.

# Simple filter (faster)
ffmpeg -i interlaced.mp4 -vf "w3fdif=filter=simple" output.mp4

# Complex filter (better quality)
ffmpeg -i interlaced.mp4 -vf "w3fdif=filter=complex" output.mp4

Parameters:

Parameter Description Values
filter Filter coefficients simple, complex
deint Frames to deinterlace all, interlaced

kerndeint - Kernel Deinterlacing

Adaptive kernel-based deinterlacing.

# Basic kerndeint
ffmpeg -i interlaced.mp4 -vf "kerndeint" output.mp4

# With threshold adjustment
ffmpeg -i interlaced.mp4 -vf "kerndeint=thresh=10:map=0:order=0:sharp=0:twoway=0" output.mp4

Hardware-Accelerated Deinterlacing

yadif_cuda - NVIDIA CUDA

# Full GPU pipeline with CUDA deinterlacing
ffmpeg -hwaccel cuda -hwaccel_output_format cuda \
  -i interlaced.mp4 \
  -vf "yadif_cuda=0:-1:0" \
  -c:v h264_nvenc output.mp4

# Double framerate with CUDA
ffmpeg -hwaccel cuda -hwaccel_output_format cuda \
  -i interlaced.mp4 \
  -vf "yadif_cuda=1" \
  -c:v h264_nvenc output.mp4

bwdif_cuda - NVIDIA CUDA (FFmpeg 7.0+)

# Higher quality CUDA deinterlacing
ffmpeg -hwaccel cuda -hwaccel_output_format cuda \
  -i interlaced.mp4 \
  -vf "bwdif_cuda" \
  -c:v h264_nvenc output.mp4

bwdif_vulkan - Vulkan (FFmpeg 8.0+)

Cross-platform GPU deinterlacing.

# Vulkan deinterlacing (works on AMD, Intel, NVIDIA)
ffmpeg -init_hw_device vulkan \
  -hwaccel vulkan -hwaccel_output_format vulkan \
  -i interlaced.mp4 \
  -vf "bwdif_vulkan" \
  -c:v h264_vulkan output.mp4

deinterlace_vaapi - VAAPI (Linux)

# VAAPI deinterlacing
Полный SKILL.md на GitHub

Установить ffmpeg-deinterlacing-telecine в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл ffmpeg-deinterlacing-telecine?

Complete FFmpeg deinterlacing, field processing, and telecine removal for broadcast and professional video. PROACTIVELY activate for: (1) Deinterlacing interlaced video (yadif, bwdif, w3fdif), (2) Hardware-accelerated deinterlacing (yadif_cuda, bwdif_cuda, bwdif_vulkan), (3) Inverse telecine/pulldown removal (pullup, fieldmatch), (4) Field order correction (fieldorder), (5) Field separation/weaving (separatefields, weave, tinterlace), (6) Interlace detection (idet), (7) DVD/Blu-ray processing, (8) Broadcast content conversion. Provides: Deinterlacing filters, telecine removal, field processing, hardware acceleration options.

Как установить скилл ffmpeg-deinterlacing-telecine?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл ffmpeg-deinterlacing-telecine запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить ffmpeg-deinterlacing-telecine с