Original source
Weydub restored
The same selected 9-second source and Weydub output. Lower-center Chinese dialogue subtitles and edge overlays are removed in this example; quality varies with motion, background, masks, and removal mode.
Weydub technology explainer

How Weydub Removes Hardcoded Subtitles with OCR and Video Inpainting

Production cleanup must locate the intended text, protect what should stay, reconstruct the hidden background, and deliver a clean source for subtitle extraction, translation, AI dubbing, review, export, or API automation.

OCR-guided detection False-positive protection Temporal restoration Batch and API workflow
Why this is hard

Open-source models solve pieces. Production subtitle removal has to solve the whole chain.

There are good public building blocks: OCR systems can detect and recognize text, image inpainting models can fill masked areas, and video inpainting models can improve temporal consistency. But a production workflow is constrained by long videos, mixed languages, motion, faces, product labels, subtitles that change every few seconds, GPU cost, queue latency, and the need to hand clean assets into localization.

Weydub is not presented here as a wrapper around one open-source model. Public product and API documentation establishes OCR-guided workflows, region and time controls, removal modes, restoration options, async jobs, and downloadable outputs. Exact internal model orchestration is not disclosed on this page.

Visual transcript for the 9-second comparison

00:00-00:03 Original: lower-center Chinese dialogue subtitles and vertical edge text appear over a short-drama shot. Result: the selected overlays are absent in the paired output.

00:03-00:06 The shot and subjects continue moving. Review focuses on whether the restored lower frame remains visually stable rather than judging a single still image.

00:06-00:09 The paired clips remain synchronized through the end. This example supports only the visible result in this source clip; representative production media still requires review.

01 / COMPUTE

Frame-by-frame OCR repeats the same work

A 100-minute drama contains hundreds of thousands of frames. A production system can sample and group repeated candidates across time instead of treating every frame as an unrelated OCR job.

02 / PRECISION

Not every detected word should be erased

Signs, phone screens, chat bubbles, logos, packaging, and model numbers can all trigger OCR. Quality means removing the intended overlay while protecting scene and product truth.

03 / TIME

A clean still frame can still flicker in motion

Independent image inpainting can make texture shimmer and edges swim. Video cleanup needs temporal control so the reconstruction remains stable across neighboring frames.

Editorial illustration of a video localization editor reviewing consecutive cinematic frames in a professional post-production suite
Illustrative production context generated for this article. It is not a Weydub interface screenshot or evidence of a specific performance result.
5:56 video explainer

Why Production Subtitle Removal Is Harder Than Blurring Text

A separate real Weydub Smart Removal example connects selective text detection, protection rules, temporal restoration, documented removal modes, review, and delivery. Its temporal graph and pipeline are explanatory systems models; API and Batch are delivery boundaries, not extra quality tiers.

Published July 10, 2026 with English captions. The video uses a separate 6.78-second Weydub result to explain observable cleanup, technical trade-offs, and documented product boundaries; it does not disclose Weydub's exact internal algorithm.
Open-source reference map

Useful references, but not enough by themselves.

These public projects explain the broader technical landscape. They are research and engineering references, not a declaration that Weydub depends on, wraps, or exposes any one project internally.

Reference family What it proves Why it is not enough for Weydub's use case Production requirement
OCR PaddleOCR / EAST-style text detection Text can be detected and recognized in images or frames, including many scripts and challenging layouts. Naive OCR on every frame is costly; OCR also sees scene text that may need to stay. Detection alone does not define the removal policy. Group repeated candidates when useful, then apply region, time, remove, keep, and OCR-only controls before restoration.
Image restoration LaMa-style inpainting Large masks and missing regions can be filled with plausible background content. Great still-frame restoration can flicker in video. It also may hallucinate incorrectly around faces, hands, grids, subtitles over clothing, or product detail. Use an available restoration option, local context, mask refinement, frame consistency checks, and reviewable outputs.
Video restoration ProPainter-style video inpainting Temporal propagation and transformer-based completion can improve consistency across frames. Video inpainting is heavier, slower, and harder to scale for thousands of episodes or product videos. It cannot be used blindly for every job. Benchmark representative clips, select an enabled mode or restoration option, control cost, and review temporal consistency before production use.
Conceptual illustration of aligned video frames moving from noisy detection into a coherent restored frame
Conceptual illustration of temporal grouping and restoration. It explains the systems problem and is not a visualization of Weydub's exact internal algorithm.
Temporal OCR graph

Track the subtitle event, not only the frame.

Repeated detections can be grouped into time spans so a workflow reasons about one candidate event instead of many duplicate frame-level boxes. Position, time, confidence, language, motion, and shot boundaries are useful signals for that systems problem.

This explainer uses a temporal candidate graph to describe the system-level problem; it does not disclose Weydub's exact internal algorithm.

Subtitle candidate Scene text Product or UI text
Restoration across time

Image inpainting solves a frame. Video inpainting must solve continuity.

LaMa-style image restoration demonstrates how missing regions can be filled. ProPainter-style video restoration demonstrates why propagation and temporal context matter. In this article, production routing means selecting an enabled mode or restoration option according to region certainty, motion, complexity, quality needs, cost, and account entitlement. Public docs establish the choices, not whether every selection is fully automatic.

Weydub pipeline

From uploaded video to clean, localizable source.

This explainer maps the responsibilities of a production workflow. Weydub's public docs establish removal inputs, masks, modes, async status, and outputs; they do not disclose the exact model graph, classifier, or operator-versus-policy split used for every job.

Scenario engineering

Short drama and e-commerce have different failure modes.

Weydub applies media-localization experience to short drama and cross-border e-commerce, where a failed removal can hurt viewer immersion or damage product trust. The source, review standard, volume, and downstream localization path should shape the workflow.

Editorial illustration of adjacent short-drama and e-commerce production bays feeding a shared localization review workflow
Illustrative production context for short-drama and e-commerce localization. The image contains no product UI or claimed customer result.

Short drama: protect immersion at episode scale

  • Hard subtitles often sit over faces, costumes, dark scenes, gradients, and fast cuts.
  • Episodes must be processed in batches, then handed to translation, role labeling, dubbing, and synchronization.
  • Quality matters because a visible blur band can reduce premium perception and viewer retention.
  • Cost matters because one title can contain many episodes and multiple target-language versions.

E-commerce: remove market text without damaging the product

  • Product videos contain labels, packaging, UI, price callouts, feature tags, and brand names.
  • Some text should be removed and localized; some text must remain for trust and compliance.
  • Batch throughput matters for Amazon, TikTok Shop, ad creatives, and seasonal campaign refreshes.
  • Clean source video is the base for translated captions, localized voiceover, and resized social cuts.
Documented removal options

Choose a removal mode first, then an enabled restoration option.

Weydub documents three Basic modes and three Advanced options. Availability, parameters, cost, and entitlement differ. Test representative media before sending production traffic, because quality varies with source material and mask choice.

Basic full-screenFull-frame removal scope

Use when visible text positions are unknown, scattered, or broad and a full-frame removal scope is appropriate.

Basic regionUser-defined region scope

Use when subtitles, logos, lower thirds, plot hints, or registration numbers remain in a known region.

Basic moving textMoving-text removal scope

Use for scrolling captions or moving text when the mode is enabled for the account.

Advanced LiteAdvanced Lite removal mode

Use when Advanced Lite is enabled for the account, after validating its parameters, cost, and output on representative clips.

Advanced Pro bounding-boxBounding-box removal scope

Use an enabled Advanced Pro workflow when the affected area can be constrained to a known bounding box.

Advanced Pro full-screenFull-frame Pro removal scope

Use an enabled Advanced Pro workflow when the job requires full-frame rather than bounding-box processing.

Why Weydub matters in production

The product advantage is not one OCR model or one inpainting model. It is the connection between cleanup controls, review, output delivery, and the wider media-localization workflow.

Domain-specific decisions

Short drama and e-commerce create recurring subtitle bands, overlays, product labels, faces, fast cuts, and repeated campaign formats. The system is shaped around those cases.

Choices matched to the source

Production routing means selecting an enabled mode or restoration option by region certainty, motion, complexity, quality needs, cost, and entitlement. Public docs do not claim that every choice is fully automatic.

Cleanup connected to delivery

The clean video continues into subtitle extraction, translation, AI dubbing, synchronization, review, download, and API automation. That connection turns a remover into a Studio workflow.

Direct answers

What teams and AI search systems should understand.

These short definitions separate product controls, general computer-vision concepts, and the explanatory models used in this article.

What is hardcoded subtitle removal?

It removes text burned into video pixels rather than stored in a separate subtitle track. The workflow must locate intended text, constrain what may be erased, reconstruct hidden background, and return a clean video.

Why is OCR alone not enough?

OCR can locate and recognize visible text, but it does not decide what should disappear. Videos also contain signs, phone screens, product labels, logos, interface text, and model numbers that may need to stay.

What is a temporal candidate graph?

It is a useful systems model for grouping repeated detections across neighboring frames into one candidate event. This page uses it as an explainer, not as disclosure of Weydub's exact internal implementation.

How does Weydub reduce false-positive removal?

Public controls include full-frame, region, and moving-text modes plus remove, keep, remove_only_ocr, and optional start/end times. These controls reduce risk; they do not guarantee zero errors.

How do image and video inpainting differ?

Image inpainting fills a masked region in one frame. Video inpainting also uses neighboring frames, motion, or temporal context to improve continuity, because a plausible still can still flicker in motion.

When should I use full-frame, region, or moving-text removal?

Use full-frame when positions are unknown or scattered, region masks for predictable or time-bounded areas, and moving-text mode for scrolling or moving captions when enabled.

What does the Weydub API document?

The API documents Basic full-screen, Basic region, Basic moving text, Advanced Lite, Advanced Pro bounding-box, and Advanced Pro full-screen, with different parameters, costs, and entitlement requirements.

How do Studio, Works, and the API fit together?

Studio organizes repeatable projects and batches. Works tracks task status and delivers outputs. The API submits asynchronous jobs and supports callbacks or polling after teams validate representative media.

What quality checks are still required?

Review the first, middle, and last portions of representative outputs, especially faces, hands, product edges, logos, patterned backgrounds, fast cuts, and high-motion areas. No removal method should be presented as lossless for every source.