Manage OnePiece transcoding pipeline - GPU local transcoding, remux Japanese audio, upload to Dropbox for web streaming app.
Manages OnePiece transcoding pipeline - GPU local transcoding, remux Japanese audio, upload to Dropbox for web streaming app.
/plugin marketplace add theflysurfer/claude-skills-marketplace/plugin install theflysurfer-claude-skills-marketplace@theflysurfer/claude-skills-marketplaceThis skill inherits all available tools. When active, it can use any tool Claude has access to.
Use when user mentions: "onepiece", "one piece", "japonais", "transcoding", "streaming"
Read E:/OnePiece/CLAUDE.md for project documentation.
E:\OnePiece\
├── [Anime Time]*/ # Sources MKV (1-1071)
├── Output_iPad/ # MP4 transcodés
├── Output_iPad_Japanese/ # MP4 avec audio JP
├── onepiece-streaming/ # Web app Flask
├── archive/ # Scripts archivés
├── logs/ # Fichiers log
└── *.json # Fichiers d'état
cd E:/OnePiece
# 1. GPU Transcode status
cat transcode_gpu_state.json | python -c "import sys,json; d=json.load(sys.stdin); print(f'Done: {len(d[\"completed\"])}, Failed: {len(d[\"failed\"])}')"
# 2. Remux japonais
cat remux_state.json | python -c "import sys,json; d=json.load(sys.stdin); print(f'Done: {len(d[\"completed\"])}, Failed: {len(d[\"failed\"])}')"
# 3. Upload japonais Dropbox
cat upload_japanese_state.json | python -c "import sys,json; d=json.load(sys.stdin); print(f'Uploaded: {len(d[\"uploaded\"])}, Failed: {len(d[\"failed\"])}')"
# 4. Count actual files
ls Output_iPad/*.mp4 2>/dev/null | wc -l # iPad MP4
ls Output_iPad_Japanese/*.mp4 2>/dev/null | wc -l # Japanese
# 5. Dropbox
rclone ls dropbox:OnePiece | wc -l
| Action | Commande | Met à jour |
|---|---|---|
| GPU Transcode | python transcode_gpu_local.py 366 1071 | transcode_gpu_state.json |
| Remux audio JP | python remux_japanese_audio.py 366 1071 | remux_state.json |
| Upload Dropbox | python upload_japanese_to_dropbox.py | upload_japanese_state.json |
{
"completed": [1, 2, 3, ...], // Episodes transcodés en iPad MP4
"failed": [],
"last_update": "ISO timestamp"
}
{
"completed": [1, 2, 3, ...], // Episodes remuxés en JP
"failed": [],
"missing_ipad_source": [], // Pas de source iPad
"missing_jp_output": [], // Source existe, JP manquant
"last_update": "ISO timestamp"
}
{
"uploaded": [1, 2, 3, ...], // Episodes JP sur Dropbox
"failed": [],
"not_uploaded": [], // JP locaux pas encore uploadés
"last_update": "ISO timestamp"
}
# 1. Transcoder MKV → iPad MP4 (GPU local NVENC, ~2min/ep)
python transcode_gpu_local.py 366 1071
# 2. Remuxer iPad MP4 + MKV audio JP → Japanese MP4 (~30s/ep)
python remux_japanese_audio.py 366 1071
# 3. Upload Japanese → Dropbox
python upload_japanese_to_dropbox.py
onepiece-streaming/server.pyonepiece-streaming/assets/images/episodes/dropbox:OnePiece/| Problem | Solution |
|---|---|
| MP4 corrompu | rm Output_iPad/file.mp4 && python transcode_gpu_local.py N N |
| rclone error | rclone listremotes && rclone about dropbox: |
| GPU not used | nvidia-smi pour vérifier CUDA |
| Upload échoue | Vérifier réseau: ping api.dropboxapi.com |
This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.
This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.