media-import
media-import faithfully converts audio, video, documents, images, local folders,
and direct HTTP(S) media URLs into an Obsidian-compatible Markdown corpus.
Docling is the sole media conversion engine. pro-ledin-ocr recognizes visual
text in sampled video frames and image-based documents when needed.
Install
Install the published package and verify the CLI:
python -m pip install pro-ledin-media-import
media-import --help
On macOS, install the system video dependencies separately:
brew install ffmpeg
ffmpeg -version
ffprobe -version
Install for development
uv sync --extra dev
uv run media-import --help
The published docling package supplies standard document support, while
docling-slim[format-video] supplies the current video/ASR dependencies.
Docling media conversion also requires ffmpeg and ffprobe. Model downloads
are never started by inspect or --dry-run.
Workflow
uv run media-import inspect ./recordings --vault-root ~/vault --output-dir sources/demo
uv run media-import import ./recordings --vault-root ~/vault --output-dir sources/demo --dry-run
uv run media-import import ./recordings --vault-root ~/vault --output-dir sources/demo --confirmed
uv run media-import validate --output-dir ~/vault/sources/demo --source ./recordings
uv run media-import status --output-dir ~/vault/sources/demo
The first real import requires the exact dry-run plan to have been confirmed by
the caller with --confirmed. An OpenCode agent should show the dry-run to the
user before adding this flag.
Configuration
CLI arguments override environment variables, which override config.json.
See config.example.json and references/routing.md.
The canonical environment prefix is MEDIA_IMPORT_. Credentials are never
written to the manifest or included in cache-profile hashes.
Metadata
Release files for pro-ledin-media-import 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pro_ledin_media_import-0.1.2.tar.gz | 328.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pro_ledin_media_import-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 361.7 kB
Release files / pro_ledin_media_import-0.1.2.tar.gz
| Download URL | pro_ledin_media_import-0.1.2.tar.gz |
|---|---|
| Size | 328.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8dd538a79bba1d03b628444ee4c97d9f607a4525a492833d4d3dcd561a4c6e97
|
|
BLAKE2b-256 checksum How to use checksums |
383476dd89571ed7baca6433df14fefddd36a53276651f1f78d4159055585e51
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 21, 2026.
Transparency logRelease files / pro_ledin_media_import-0.1.2-py3-none-any.whl
| Download URL | pro_ledin_media_import-0.1.2-py3-none-any.whl |
|---|---|
| Size | 32.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
72cd44dbf8bfead1dc4635c9c56bfc4acf7767d21f250279e561d112ddb4d1d6
|
|
BLAKE2b-256 checksum How to use checksums |
f5eddc3f893f81a80a99be3947d8f0244b4a684ba12abb9209b38ccaaa39413a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 21, 2026.
Transparency log