14e MP4 Cpmpressor (Powershell mit GUI)

14e MP4 Compressor – GUI‑Tool für ffmpeg (v6)

Dieses PowerShell‑basierte Tool bietet eine einfache grafische Oberfläche zur Kompression von MP4‑Videos.
Es unterstützt CPU‑Encoding sowie Hardware‑Encoder (NVENC, Intel QSV, AMD AMF) und stellt praxisorientierte Presets bereit.

Funktionen

  • Einfache GUI für MP4‑Kompression 
  • Drag & Drop Unterstützung 
  • Automatische Erkennung von ffmpeg.exe 
  • Automatische GPU‑Erkennung (NVENC, QSV, AMF) 
  • Dark‑Mode‑Unterstützung (Windows) 
  • Benutzerdefinierte Einstellungen (Custom) werden gespeichert 
  • Presets für typische Anwendungsfälle 
  • Kein Upscaling – Videos werden nur verkleinert, nie vergrössert

Voraussetzungen

  • Windows mit PowerShell 
  • ffmpeg.exe verfügbar (lokal, im PATH oder C:\temp\ffmpeg.exe) 
  • Optional: NVIDIA‑, Intel‑ oder AMD‑GPU für Hardware‑Encoding

Bedienung

  • Mode wählen – cpu – nvenc (falls unterstützt) – qsv (falls unterstützt) – amf (falls unterstützt)

  • Preset wählen – YouTube – WhatsApp – Archivierung – Custom Die wichtigsten Parameter werden im Feld „Preset‑Details“ angezeigt.

  • Custom‑Einstellungen (nur bei Preset = Custom) – Auflösung (Breite × Höhe) – FPS‑Limit Die Werte definieren die maximal erlaubte Zielgrösse. Kleinere Videos werden nicht vergrössert.

  • ffmpeg.exe – Wird automatisch erkannt – Kann manuell gesetzt werden – Version wird im Fenstertitel angezeigt

  1. MP4‑Datei auswählen – per Drag & Drop – oder über den „…“-Button Nach Auswahl startet die Kompression automatisch.

  2. Ergebnis – Datei wird als <Name>compr<Preset>.mp4 gespeichert – Explorer öffnet sich mit markierter Datei – GUI schliesst sich automatisch

Presets im Detail

YouTube

  • Codec: H.264 
  • Qualität: CRF 22 
  • Pixelformat: yuv420p 
  • Keine automatische Skalierung

WhatsApp

  • Max. Breite: 720 px 
  • Codec: H.264 
  • Qualität: CRF 26 
  • Pixelformat: yuv420p

Archivierung

  • Codec: H.265 / HEVC (10‑bit) 
  • Qualität: CRF 20 
  • Maximale Auflösung: 1600 × 1200 
  • Kein Upscaling 
  • Seitenverhältnis bleibt erhalten 
  • Sehr gute Qualität bei moderater Dateigrösse

Custom

  • Benutzerdefinierte maximale Breite und Höhe 
  • Kein Upscaling (Quelle kleiner → bleibt klein) 
  • FPS‑Limit 
  • Codec abhängig vom gewählten Mode (H.264)

Technische Details

Skalierung (kein Upscaling)

Für Archivierung und Custom wird folgende Logik verwendet:

  • scale='min(Zielbreite,iw)':'min(Zielhöhe,ih)':force_original_aspect_ratio=decrease
  • iw/ih = Originalbreite/-höhe 
  • Nur Verkleinerung, niemals Vergrösserung 
  • Seitenverhältnis bleibt korrekt

GPU‑Erkennung

Das Tool prüft:

  • ffmpeg‑Encoderliste 
  • vorhandene GPU‑Treiber 
  • Windows‑Hardwareinformationen

Speicherung

  • Custom‑Einstellungen: %APPDATA%\Mp4Compressor\<ScriptName>.json 
  • ffmpeg‑Pfad: %APPDATA%\Mp4Compressor\ffmpeg_path.txt

Bekannte Einschränkungen

  • Unterstützt ausschliesslich MP4‑Dateien 
  • Audio wird immer in AAC 128 kbit/s transkodiert 
  • Kompression startet automatisch nach Dateiauswahl 
  • Kein Batch‑Modus (eine Datei pro Durchlauf)

English Version – 14e MP4 Compressor (Internal Tool)

Overview

This PowerShell-based tool provides a simple graphical interface for compressing MP4 videos using ffmpeg. It supports CPU encoding as well as hardware encoders (NVENC, Intel QSV, AMD AMF) and offers practical presets for common use cases.

Features

• Simple GUI for MP4 compression • Drag & Drop support • Automatic detection of ffmpeg.exe • Automatic GPU detection (NVENC, QSV, AMF) • Windows Dark Mode support • Custom settings are saved per user • No upscaling – videos are only downscaled, never enlarged

Requirements

• Windows with PowerShell • ffmpeg.exe available (local, PATH, or C:\temp\ffmpeg.exe) • Optional: NVIDIA, Intel, or AMD GPU for hardware encoding

Usage

  1. Select an MP4 file – via Drag & Drop – or using the “…” button Compression starts automatically after selection.

  2. Select Mode – cpu – nvenc (if supported) – qsv (if supported) – amf (if supported)

  3. Select Preset – YouTube – WhatsApp – Archive – Custom Preset details are shown in the “Preset Details” field.

  4. Custom Settings (only for Preset = Custom) – Resolution (Width × Height) – FPS limit Values define the maximum allowed output size. Smaller videos are not enlarged.

  5. ffmpeg.exe – Automatically detected – Can be set manually – Version is shown in the window title

  6. Result – Output file: <Name>compr<Preset>.mp4 – Explorer opens with the file selected – GUI closes automatically

Presets

YouTube

• Codec: H.264 • Quality: CRF 22 • Pixelformat: yuv420p • No automatic scaling

WhatsApp

• Max width: 720 px • Codec: H.264 • Quality: CRF 26 • Pixelformat: yuv420p

Archive

• Codec: H.265 / HEVC (10‑bit) • Quality: CRF 20 • Max resolution: 1600 × 1200 • No upscaling • Aspect ratio preserved

Custom

• User-defined maximum width and height • No upscaling • FPS limit • Codec depends on selected mode (H.264)

Technical Notes

Scaling (no upscaling)

scale='min(targetWidth,iw)':'min(targetHeight,ih)':force_original_aspect_ratio=decrease

GPU detection

Checks ffmpeg encoder list and Windows hardware information.

Configuration

• Custom settings: %APPDATA%\Mp4Compressor\<ScriptName>.json • ffmpeg path: %APPDATA%\Mp4Compressor\ffmpeg_path.txt

Limitations

• Only MP4 files supported • Audio always encoded as AAC 128 kbit/s • Compression starts automatically • No batch mode


Version Française – MP4 Compressor (Outil interne)

Aperçu

Cet outil basé sur PowerShell fournit une interface graphique simple pour compresser des vidéos MP4 avec ffmpeg. Il prend en charge l’encodage CPU ainsi que les encodeurs matériels (NVENC, Intel QSV, AMD AMF) et propose des préréglages adaptés aux besoins courants.

Fonctionnalités

• Interface simple pour la compression MP4 • Support du glisser‑déposer • Détection automatique de ffmpeg.exe • Détection automatique du GPU (NVENC, QSV, AMF) • Support du mode sombre Windows • Paramètres personnalisés enregistrés par utilisateur • Aucun agrandissement – uniquement réduction de résolution

Prérequis

• Windows avec PowerShell • ffmpeg.exe disponible (local, PATH ou C:\temp\ffmpeg.exe) • Optionnel : GPU NVIDIA, Intel ou AMD

Utilisation

  1. Sélectionner un fichier MP4 – par glisser‑déposer – ou via le bouton « … » La compression démarre automatiquement.

  2. Mode – cpu – nvenc (si disponible) – qsv (si disponible) – amf (si disponible)

  3. Préréglage – YouTube – WhatsApp – Archivage – Custom Les détails du préréglage s’affichent automatiquement.

  4. Paramètres Custom – Résolution (largeur × hauteur) – Limite FPS Les valeurs définissent la taille maximale. Les vidéos plus petites ne sont pas agrandies.

  5. ffmpeg.exe – Détection automatique – Peut être défini manuellement – Version affichée dans le titre

  6. Résultat – Fichier généré : <Nom>compr<Preset>.mp4 – Ouverture de l’Explorateur avec le fichier sélectionné – Fermeture automatique de l’interface

Préréglages

YouTube

• Codec : H.264 • Qualité : CRF 22 • Pixelformat : yuv420p

WhatsApp

• Largeur max : 720 px • Codec : H.264 • Qualité : CRF 26

Archivage

• Codec : H.265 / HEVC (10‑bit) • Qualité : CRF 20 • Résolution max : 1600 × 1200 • Aucun agrandissement • Ratio préservé

Custom

• Largeur et hauteur maximales définies par l’utilisateur • Aucun agrandissement • Limite FPS • Codec selon le mode choisi

Notes techniques

Redimensionnement

scale='min(largeur,iw)':'min(hauteur,ih)':force_original_aspect_ratio=decrease

Détection GPU

Analyse des encodeurs ffmpeg et du matériel Windows.

Configuration

• Paramètres Custom : %APPDATA%\Mp4Compressor\<ScriptName>.json • Chemin ffmpeg : %APPDATA%\Mp4Compressor\ffmpeg_path.txt

Limitations

• Uniquement MP4 • Audio en AAC 128 kbit/s • Démarrage automatique • Pas de mode batch


Versione Italiana – 14e MP4 Compressor (Strumento interno)

Panoramica

Questo strumento basato su PowerShell offre un’interfaccia grafica semplice per comprimere video MP4 tramite ffmpeg. Supporta l’encoding CPU e gli encoder hardware (NVENC, Intel QSV, AMD AMF) e include preset utili per scenari comuni.

Funzionalità

• Interfaccia semplice per la compressione MP4 • Supporto Drag & Drop • Rilevamento automatico di ffmpeg.exe • Rilevamento automatico GPU (NVENC, QSV, AMF) • Supporto modalità scura Windows • Impostazioni personalizzate salvate per utente • Nessun upscaling – solo riduzione

Requisiti

• Windows con PowerShell • ffmpeg.exe disponibile (locale, PATH o C:\temp\ffmpeg.exe) • Opzionale: GPU NVIDIA, Intel o AMD

Utilizzo

  1. Seleziona un file MP4 – tramite Drag & Drop – oppure con il pulsante « … » La compressione parte automaticamente.

  2. Modalità – cpu – nvenc (se disponibile) – qsv (se disponibile) – amf (se disponibile)

  3. Preset – YouTube – WhatsApp – Archivio – Custom I dettagli vengono mostrati automaticamente.

  4. Impostazioni Custom – Risoluzione (larghezza × altezza) – Limite FPS Le dimensioni sono massime, non vengono mai ingrandite.

  5. ffmpeg.exe – Rilevato automaticamente – Impostabile manualmente – Versione mostrata nel titolo

  6. Risultato – File generato: <Nome>compr<Preset>.mp4 – Apertura Esplora File con il file selezionato – Chiusura automatica dell’interfaccia

Preset

YouTube

• Codec: H.264 • Qualità: CRF 22

WhatsApp

• Larghezza max: 720 px • Codec: H.264 • Qualità: CRF 26

Archivio

• Codec: H.265 / HEVC (10‑bit) • Qualità: CRF 20 • Risoluzione max: 1600 × 1200 • Nessun upscaling • Rapporto d’aspetto preservato

Custom

• Larghezza e altezza massime definite dall’utente • Nessun upscaling • Limite FPS • Codec in base alla modalità scelta

Note tecniche

Ridimensionamento

scale='min(larghezza,iw)':'min(altezza,ih)':force_original_aspect_ratio=decrease

Rilevamento GPU

Controllo degli encoder ffmpeg e dell’hardware Windows.

Configurazione

• Impostazioni Custom: %APPDATA%\Mp4Compressor\<ScriptName>.json • Percorso ffmpeg: %APPDATA%\Mp4Compressor\ffmpeg_path.txt

Limitazioni

• Supporto solo MP4 • Audio sempre AAC 128 kbit/s • Avvio automatico • Nessuna modalità batch


Ist eine Frage aufgetaucht? Dann erstellen Sie bitte direkt hier ein Ticket – wir kümmern uns darum!
Je genauer Sie Ihr Anliegen beschreiben, desto schneller können wir Ihnen weiterhelfen.

anhängende Datei(en)
14e mp4 compressor ReadMe.md
6.87 KB
14e mp4 compressor v1.ps1
6.14 KB
14e mp4 compressor v2.ps1
7.92 KB
14e mp4 compressor v3.ps1
8.72 KB
14e mp4 compressor v4.ps1
9.17 KB
14e mp4 compressor v5.ps1
10.9 KB
14e mp4 compressor v6.ps1
16.8 KB
Tags