Ffmpeg: Unterschied zwischen den Versionen
Keine Bearbeitungszusammenfassung |
|||
Zeile 10: | Zeile 10: | ||
== Optionen == | == Optionen == | ||
= Anwendungen = | = Anwendungen = | ||
== Audio == | |||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
! Quelle !! Ziel !! Befehl | |||
|- | |- | ||
| wav || mp3 || ffmpeg -i audio.wav -acodec libmp3lame audio.mp3 | |||
|- | |- | ||
| wav || ogg || ffmpeg -i audio.wav -acodec libvorbis audio.ogg | |||
|- | |- | ||
| wav || aac || ffmpeg -i audio.wav -acodec libfaac audio.aac | |||
|- | |- | ||
| wav || ac3 || ffmpeg -i audio.wav -acodec ac3 audio.mp3 | |||
|- | |- | ||
| OGG || mp3 || ffmpeg -i audio.ogg -acodec libmp3lame audio.mp3 | |||
|- | |- | ||
| OGG || wav ||ffmpeg -i audio.ogg audio.wav | |||
|- | |- | ||
| OGG || aac ||ffmpeg -i audio.ogg -acodec libfaac audio.aac | |||
|- | |- | ||
| OGG || ac3 ||ffmpeg -i audio.ogg -acodec ac3 audio.ac3 | |||
|- | |- | ||
| AC3 || mp3 ||ffmpeg -i audio.ac3 -acodec libmp3lame audio.mp3 | |||
|- | |- | ||
| AC3 || wav ||ffmpeg -i audio.ac3 audio.wav | |||
|- | |- | ||
| AC3 || aac ||ffmpeg -i audio.ac3 -acodec libfaac audio.aac | |||
|- | |- | ||
| AC3 || ogg ||ffmpeg -i audio.ac3 -acodec libvorbis audio.ogg | |||
|- | |- | ||
| AAC || mp3 ||ffmpeg -i audio.aac -acodec libmp3lame audio.mp3 | |||
|- | |- | ||
| AAC || wav ||ffmpeg -i audio.aac audio.wav | |||
|- | |- | ||
| AAC || ac3 ||ffmpeg -i audio.aac -acodec ac3 audio.ac3 | |||
|- | |- | ||
| AAC || ogg ||ffmpeg -i audio.aac -libvorbis audio.ogg | |||
|} | |||
=== Video === | |||
{| class="wikitable sortable" | |||
! Quelle !! Ziel !! Befehl | |||
|- | |- | ||
| mpeg || 90 Grad nach rechts || ffmpeg -i input.mpeg -vf "transpose=1" -qscale 0 output.mpeg | |||
|- | |- | ||
| mpeg || 90 Grad nach links || ffmpeg -i input.mpeg -vf "transpose=2" -qscale 0 output.mpeg | |||
|- | |- | ||
| mpeg || 180 Grad || ffmpeg -i input.mpeg -vf "hflip,vflip" -qscale 0 output.mpeg | |||
|} | |} | ||
Version vom 30. August 2022, 16:15 Uhr
ffmpeg bearbeitet und konvertiert Audio- und Videodateien
Beschreibung
Installation
# apt install ffmpeg
Syntax
Parameter
Optionen
Anwendungen
Audio
Quelle | Ziel | Befehl |
---|---|---|
wav | mp3 | ffmpeg -i audio.wav -acodec libmp3lame audio.mp3 |
wav | ogg | ffmpeg -i audio.wav -acodec libvorbis audio.ogg |
wav | aac | ffmpeg -i audio.wav -acodec libfaac audio.aac |
wav | ac3 | ffmpeg -i audio.wav -acodec ac3 audio.mp3 |
OGG | mp3 | ffmpeg -i audio.ogg -acodec libmp3lame audio.mp3 |
OGG | wav | ffmpeg -i audio.ogg audio.wav |
OGG | aac | ffmpeg -i audio.ogg -acodec libfaac audio.aac |
OGG | ac3 | ffmpeg -i audio.ogg -acodec ac3 audio.ac3 |
AC3 | mp3 | ffmpeg -i audio.ac3 -acodec libmp3lame audio.mp3 |
AC3 | wav | ffmpeg -i audio.ac3 audio.wav |
AC3 | aac | ffmpeg -i audio.ac3 -acodec libfaac audio.aac |
AC3 | ogg | ffmpeg -i audio.ac3 -acodec libvorbis audio.ogg |
AAC | mp3 | ffmpeg -i audio.aac -acodec libmp3lame audio.mp3 |
AAC | wav | ffmpeg -i audio.aac audio.wav |
AAC | ac3 | ffmpeg -i audio.aac -acodec ac3 audio.ac3 |
AAC | ogg | ffmpeg -i audio.aac -libvorbis audio.ogg |
Video
Quelle | Ziel | Befehl |
---|---|---|
mpeg | 90 Grad nach rechts | ffmpeg -i input.mpeg -vf "transpose=1" -qscale 0 output.mpeg |
mpeg | 90 Grad nach links | ffmpeg -i input.mpeg -vf "transpose=2" -qscale 0 output.mpeg |
mpeg | 180 Grad | ffmpeg -i input.mpeg -vf "hflip,vflip" -qscale 0 output.mpeg |
Dokumentation
Man-Pages
ffmpeg bietet viele zusätzliche Qualitätseinstellungen und andere Optionen an, die in der Manpage nachgeschlagen werden können.
Info-Pages
Links
Intern
Weblinks
Testfragen
Testfrage 1
Antwort1
Testfrage 2
Antwort2
Testfrage 3
Antwort3
Testfrage 4
Antwort4
Testfrage 5
Antwort5