dsh-media-converter: A DSH plugin for In-Place Media Work in DeepSeek Harness
a1121611810/dsh-media-converter
A local media toolbox DSH plugin for DeepSeek Harness: convert, trim, extract audio and subtitles, compress images, rewrite metadata and handle Base64 with your own ffmpeg, all on-device.
dsh-media-converter is a media action panel built for DeepSeek Harness that gathers format conversion, trimming, audio and video track extraction, subtitle export, image compression, metadata rewriting and Base64 encoding in one place. It saves you from switching to a terminal just to convert a format or cut a clip, since everything runs through local ffmpeg and files never leave the machine. The same engine is registered as an agent tool so the assistant can work on media by local absolute path, and large uploads and previews keep the interface responsive.
How to Install
dsh plugin --profile <your-profile> add dsh-media-converterReplace --profile with the profile name you actually run (see ls ~/.dsh/profiles/): usually web in the browser UI, desktop or desktop-NNN in the desktop app.
- Category
- Tools & Capabilities
- Platform
- DSH Plugin
- Author
- a1121611810
- Distribution
- Plugin
dsh-media-converter Key Features
dsh-media-converter Repo Summary
What Does It Do?
It is a DSH plugin for DeepSeek Harness that packs media conversion, trimming, audio and video track extraction, subtitle export, image compression, metadata editing and Base64 encoding into a single action panel. It removes the need to leave the editor and open a terminal just to convert a format or cut a clip: every operation runs locally through ffmpeg, so files never leave the machine. The same engine is also registered as an agent tool, letting the assistant work on media files by local absolute path.
Core Features
- Format conversion: 12 video targets, 8 audio targets and 7 image targets, applied by picking a file and an action.
- Trim and extract: set start and end from the player or type a minute:second range, with trimming and conversion done in one pass; audio and video tracks are copied without re-encoding.
- Subtitles and metadata: export embedded subtitle tracks to .srt files named with the language code, inspect container, chapters, per-track parameters and all tags, and rewrite title, artist, album and similar fields into a new file.
- Image compression and Base64: re-encode JPG or WEBP with a quality slider and compare side by side or with a slider; turn the current file into a data: URL or paste Base64 back into a file.
- Agent tool media_toolbox: exposes probe, convert, extract-audio, extract-video, subtitle and rewrite-tags actions that take local absolute paths, write results to the output directory and return the new file path.
- Large-file handling: uploads stream to disk, previews use HTTP Range, tasks can be cancelled with partial output cleaned up, and temporary copies are removed after two hours.
How to Use This Plugin?
After enabling it in DSH, a media toolbox entry appears in the left sidebar. The interface is an action panel: choose a file, search or click an action, fill in parameters in place, and read the result in place, with ⌘K to focus search, Enter to run the first action and Esc to collapse. A button in the composer toolbar inserts a sample instruction that you edit with your own file and range before sending, so the assistant can call the tool for you. ffmpeg is located through the configured path, an environment variable, PATH and common install directories in that order, and the page shows a hint when it cannot be found; output directory, ffmpeg path and upload limit are editable in the media toolbox settings page and apply immediately.
How to Troubleshoot This Plugin?
When the page shows a hint that ffmpeg cannot be found, the automatic lookup failed, so specify the ffmpeg path manually in settings; on Windows the .exe suffix is optional. A task showing a cancelling state is expected, because ffmpeg only exits on the next frame and the state changes to cancelled afterwards. If the interface still shows old content after a package name change, restart the application, since the running host caches client entries under the old name.
This page is an independent rewrite of the plugin's official README — for authoritative documentation and the latest changes, refer to the source: a1121611810/dsh-media-converter. The plugin is third-party code that runs on your machine once installed; inclusion does not imply endorsement — please review the source before installing.
DSH Plugin FAQ
