Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 14 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# REDAXO-AddOn: FFmpeg Video Tools v3.0
# REDAXO-AddOn: FFmpeg Video Tools v4.0

Vollständige Video-Management-Lösung für REDAXO CMS – Konvertierung, Trimming und detaillierte Video-Analyse, alles in einem Addon!

Expand All @@ -18,6 +18,9 @@ Vollständige Video-Management-Lösung für REDAXO CMS – Konvertierung, Trimmi
- **Metadaten-Erhaltung** (Titel, Beschreibung, Copyright)
- **Kompressionsanzeige** zeigt eingesparten Speicherplatz
- **Auto-Cleanup** für Originaldateien nach erfolgreicher Konvertierung
- **🆕 Vorgefertigte Presets** für Web, Mobile, Archive und Standard-Konvertierungen
- **🆕 Command-Vorschau** zeigt das generierte FFmpeg-Kommando in Echtzeit
- **🆕 Direkte Command-Eingabe** ohne separate Textarea

### 🆕 Video-Trimmer
- **Präzises Schneiden** direkt im Browser
Expand Down Expand Up @@ -310,27 +313,20 @@ ffmpeg -y -i INPUT -vcodec h264 OUTPUT.mp4
- MIME-Types in der Datenbank prüfen
- Browser-Unterstützung für Video-Format

## 📝 Changelog v3.0
## 📝 Changelog v4.0

### Neue Features
- ✅ Video-Trimmer mit Browser-Integration
- ✅ Video-Informationen mit detaillierter Analyse
- ✅ Video-Thumbnails über Media Manager (VideoPreview-Integration)
- ✅ PHP-API für Module und Templates
- ✅ Responsive Design für alle Seiten
- ✅ Keyboard-Shortcuts für besseren Workflow
- ✅ Web-Optimierung-Scanner mit Score-System
- ✅ Mobile-Optimierung-Checker
- ✅ Hilfe-Seite mit kompletter Dokumentation
- ✅ Video-Galerie-Template mit Thumbnail-Support
- ⚠️ Conflict-Regel: VideoPreview-Addon nicht mehr kompatibel (Funktionalität integriert)
- ✅ **Video-Konverter Presets** – Vorgefertigte Konvertierungsvorlagen (Web, Mobile, Archive, Standard)
- ✅ **Command-Vorschau** – Echtzeit-Anzeige des generierten FFmpeg-Kommandos
- ✅ **Verbesserte UI** – Direkte Command-Eingabe ohne separate Textarea
- ✅ **Type Hints & Statische Analyse** – Vollständige PHPStan/PSalm-Kompatibilität
- ✅ **Bugfixes** – Preset-Override, Video-Mapping, Transparenzen behoben

### Verbesserungen
- ✅ Alle Video-Typen im Trimmer unterstützt
- ✅ Intelligente Dateinamen-Generierung
- ✅ Layout-Fixes für lange Dateinamen
- ✅ Erweiterte MIME-Type-Unterstützung
- ✅ Bessere Fehlerbehandlung
- ✅ Code-Qualität mit REDAXO Core Methods (`rex_file`, `rex_media_service`, `rex_logger`)
- ✅ Performance-Optimierungen in VideoInfo-Klasse
- ✅ Erweiterte Fehlerbehandlung und Logging
- ✅ Debug-Endpunkt für Konvertierungsprozesse

## 📄 Lizenz

Expand Down
5 changes: 3 additions & 2 deletions assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@
}

.already-converted {
opacity: 0.7;
background-color: rgba(var(--rex-color-success-rgb, 92, 184, 92), .1);
/* Previously used opacity to indicate converted items — this reduced text contrast.
Use a subtle background color instead for clarity and accessibility. */
background-color: rgba(var(--rex-color-success-rgb, 92, 184, 92), .08);
border-radius: 5px;
}

Expand Down
17 changes: 17 additions & 0 deletions lang/de_de.lang
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,23 @@ ffmpeg_already_converted = Bereits konvertiert

ffmpeg_config_save = Einstellungen speichern
ffmpeg_config_saved = Einstellungen wurden gespeichert!
config_preset = Preset
config_preset_none = Keine
config_preset_web = Web (ausgewogen)
config_preset_mobile = Mobile (kleiner, geringere Qualität)
config_preset_archive = Archiv (hohe Qualität)
config_preset_custom = Benutzerdefiniert
config_preset_custom_command = Benutzerdefinierter Befehl
config_preset_help = Preset wählt einen vordefinierten FFmpeg-Befehl. Das Kommandofeld wird entsprechend vorbefüllt. Bei Auswahl von 'Benutzerdefiniert' bearbeite das Kommandofeld oben manuell. Du kannst das Kommando jederzeit direkt ändern.
config_preset_web_desc = Beispiel: ffmpeg -y -i INPUT -c:v libx264 -preset slow -crf 28 -c:a aac -b:a 128k OUTPUT.mp4 (ausgewogen)
config_preset_mobile_desc = Beispiel: ffmpeg -y -i INPUT -c:v libx264 -preset veryfast -crf 30 -c:a aac -b:a 96k -vf scale=-2:720 OUTPUT.mp4 (mobil)
config_preset_archive_desc = Beispiel: ffmpeg -y -i INPUT -c:v libx264 -preset veryslow -crf 22 -c:a copy OUTPUT.mp4 (archiv)
config_preset_custom_desc = Eigener FFmpeg-Befehl; Verwende Platzhalter INPUT und OUTPUT.
config_preset_standard = Standard (Legacy)
config_preset_standard_desc = Beispiel: ffmpeg -y -i INPUT -vcodec h264 OUTPUT.mp4 (Standard/Legacy)
config_command_help = Das auszuführende FFmpeg-Kommando. Platzhalter: INPUT, OUTPUT
config_preview_label = Vorschau des effektiven FFmpeg-Kommandos
config_preset_priority = Priorität: Preset (außer preset=custom) > Kommando-Feld
ffmpeg_execute = Video konvertieren

# Video-Trimmer
Expand Down
18 changes: 18 additions & 0 deletions lang/en_gb.lang
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,24 @@ ffmpeg_already_converted = Already converted

ffmpeg_config_save = Save settings
ffmpeg_config_saved = Settings have been saved!
ffmpeg_config_preset = Preset
config_preset = Preset
config_preset_none = None
config_preset_web = Web (balanced)
config_preset_mobile = Mobile (lower quality, smaller)
config_preset_archive = Archive (high quality, larger)
config_preset_custom = Custom
config_preset_custom_command = Custom command
config_preset_help = Preset selects a predefined FFmpeg command. The command field is prefilled accordingly. If you select 'custom', edit the command manually in the field above. You can always edit the command directly.
config_preset_web_desc = Example: ffmpeg -y -i INPUT -c:v libx264 -preset slow -crf 28 -c:a aac -b:a 128k OUTPUT.mp4 (balanced web)
config_preset_mobile_desc = Example: ffmpeg -y -i INPUT -c:v libx264 -preset veryfast -crf 30 -c:a aac -b:a 96k -vf scale=-2:720 OUTPUT.mp4 (mobile)
config_preset_archive_desc = Example: ffmpeg -y -i INPUT -c:v libx264 -preset veryslow -crf 22 -c:a copy OUTPUT.mp4 (archive)
config_preset_custom_desc = Your own custom ffmpeg command; use placeholders INPUT and OUTPUT.
config_preset_standard = Default (legacy)
config_preset_standard_desc = Example: ffmpeg -y -i INPUT -vcodec h264 OUTPUT.mp4 (standard/default)
config_command_help = The actual FFmpeg command executed. Placeholders: INPUT, OUTPUT
config_preview_label = Effective FFmpeg command preview
config_preset_priority = Priority: preset (unless preset=custom) > command field
ffmpeg_execute = Convert video

# Video Trimmer
Expand Down
Loading