Skip to content

Instantly share code, notes, and snippets.

@danilin-em
Created November 14, 2020 14:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danilin-em/2f3a2fb559dc2b9a0f54f33f87eafa20 to your computer and use it in GitHub Desktop.
Save danilin-em/2f3a2fb559dc2b9a0f54f33f87eafa20 to your computer and use it in GitHub Desktop.
KDE | Dolphin | Service menu | Convert WebM to MP4
# webm2mp4.desktop
# KDE | Dolphin | Service menu | Convert WebM to MP4
# --- INSTALL ---
# 1. Copy `webm2mp4.desktop` to `$HOME/.local/share/kservices5/ServiceMenus/`
# 2. Update entries `kbuildsycoca5`
[Desktop Entry]
Type=Service
Icon=video-webm
X-KDE-ServiceTypes=KonqPopupMenu/Plugin
MimeType=video/webm;
Actions=webm2mp4;
Encoding=UTF-8
[Desktop Action webm2mp4]
Name=Convert WebM to MP4
Icon=video-webm
Exec=ffmpeg -i "%f" $(echo "%f" | cut -d'.' -f1)".mp4"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment