---
title: "codec-video-prep 0.2.0 Breaking Changes on PyPI | Since.dev"
description: "What each codec-video-prep release removed, renamed or changed: 11 breaking changes in 1 version on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/codec-video-prep
last_updated: 2026-12-04
---

# codec-video-prep breaking changes

codec-video-prep 0.2.0 (May 21, 2026) is its newest release with breaking changes, 11 of them. The first: Signature changed codec_selector.BitcostReadinessConfig.\_\_init\_\_. Every breaking API change we have recorded in codec-video-prep on PyPI: 11 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.2.5`, released May 28, 2026. 

Packages on PyPI run on Python. [Python end of life dates](https://since.dev/calendar/python.md).

## codec-video-prep 0.2.0 breaking changes

codec-video-prep 0.2.0, released May 21, 2026: 11 breaking changes.

- **Signature changed** `codec_selector.BitcostReadinessConfig.__init__`  

Was def \_\_init\_\_(self, video: str, out_dir: str, frame_sampling_mode: str = 'fps', sample_fps: float = 4.0, num_sampled_frames: int = 0, pkt_peak_bin_sec: float = 0.5, pkt_peak_cap: int = 128, pkt_peak_per_sec: float = 1.0... [pypi.org](https://pypi.org/project/codec-video-prep/0.2.0/)
- **Signature changed** `codec_selector.codec_patch_gop.main.process_one_video`  

Was def process_one_video(video_path: str, key: str, out_root: str, seq_len: int, window_len_frames: int, num_candidates: int, top_k_windows: int, max_total_patches: int, patch: int, mv_unit_div: float, mv_pct: float, res_pct: float, w_mv... [pypi.org](https://pypi.org/project/codec-video-prep/0.2.0/)
- **Signature changed** `codec_selector.codec_patch_gop.video_processor.cv_reader_fetch_bitcost`  

Was def cv_reader_fetch_bitcost(video_path: str, frame_ids: list, bitcost_grid: str = 'all') -> list\[dict\]; now def cv_reader_fetch_bitcost(video_path: str, frame_ids: list, bitcost_grid: str = 'all', export_pixels: int = 0, out_w: int =... [pypi.org](https://pypi.org/project/codec-video-prep/0.2.0/)
- **Signature changed** `codec_selector.codec_patch_gop.video_processor.process_one_video`  

Was def process_one_video(video_path: str, key: str, out_root: str, seq_len: int, window_len_frames: int, num_candidates: int, top_k_windows: int, max_total_patches: int, patch: int, mv_unit_div: float, mv_pct: float, res_pct: float, w_mv... [pypi.org](https://pypi.org/project/codec-video-prep/0.2.0/)
- **Signature changed** `codec_selector.core.config.BitcostReadinessConfig.__init__`  

Was def \_\_init\_\_(self, video: str, out_dir: str, frame_sampling_mode: str = 'fps', sample_fps: float = 4.0, num_sampled_frames: int = 0, pkt_peak_bin_sec: float = 0.5, pkt_peak_cap: int = 128, pkt_peak_per_sec: float = 1.0... [pypi.org](https://pypi.org/project/codec-video-prep/0.2.0/)
- **Signature changed** `codec_selector.core.pipeline.cv_reader_fetch_bitcost`  

Was def cv_reader_fetch_bitcost(video_path: str, frame_ids: list, bitcost_grid: str = 'all') -> list\[dict\]; now def cv_reader_fetch_bitcost(video_path: str, frame_ids: list, bitcost_grid: str = 'all', export_pixels: int = 0, out_w: int =... [pypi.org](https://pypi.org/project/codec-video-prep/0.2.0/)
- **Signature changed** `codec_video_prep.api.run_preinfer`  

Was def run_preinfer(video: str, out_dir: str, num_sampled_frames: int = 1024, group_size: int = 32, images_per_group: int = 4, patch: int = 14, max_pixels: int = 153664, min_group_frames: int = 8, max_group_frames: int = 64, bitcost_grid... [pypi.org](https://pypi.org/project/codec-video-prep/0.2.0/)
- **Signature changed** `codec_video_prep.cli.run_preinfer`  

Was def run_preinfer(video: str, out_dir: str, num_sampled_frames: int = 1024, group_size: int = 32, images_per_group: int = 4, patch: int = 14, max_pixels: int = 153664, min_group_frames: int = 8, max_group_frames: int = 64, bitcost_grid... [pypi.org](https://pypi.org/project/codec-video-prep/0.2.0/)
- **Signature changed** `codec_video_prep.config.PreinferConfig.__init__`  

Was def \_\_init\_\_(self, video: str, out_dir: str, num_sampled_frames: int = 1024, group_size: int = 32, images_per_group: int = 4, patch: int = 14, max_pixels: int = 153664, min_group_frames: int = 8, max_group_frames: int = 64... [pypi.org](https://pypi.org/project/codec-video-prep/0.2.0/)
- **Signature changed** `codec_video_prep.integrations.llava_onevision.LlavaCodecPreprocessConfig.__init__`  

Was def \_\_init\_\_(self, cache_root: str, target_canvas: int = 0, group_size: int = 32, images_per_group: int = 4, patch: int = 14, max_pixels: int = 150000, min_group_frames: int = 8, max_group_frames: int = 64, bitcost_grid: str =... [pypi.org](https://pypi.org/project/codec-video-prep/0.2.0/)
- **Signature changed** `codec_video_prep.PreinferConfig.__init__`  

Was def \_\_init\_\_(self, video: str, out_dir: str, num_sampled_frames: int = 1024, group_size: int = 32, images_per_group: int = 4, patch: int = 14, max_pixels: int = 153664, min_group_frames: int = 8, max_group_frames: int = 64... [pypi.org](https://pypi.org/project/codec-video-prep/0.2.0/)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
