Ffmpeg: Unterschied zwischen den Versionen

Aus Foxwiki
Keine Bearbeitungszusammenfassung
Zeile 10: Zeile 10:
== Optionen ==
== Optionen ==
= Anwendungen =
= Anwendungen =
== Audio ==
{| class="wikitable sortable"
{| class="wikitable sortable"
! Gruppe !! Quelle !! Ziel !! Befehl
! Quelle !! Ziel !! Befehl
|-
|-
| Audio || wav || mp3 || ffmpeg -i audio.wav -acodec libmp3lame audio.mp3
| wav || mp3 || ffmpeg -i audio.wav -acodec libmp3lame audio.mp3
|-
|-
| Audio || wav || ogg || ffmpeg -i audio.wav -acodec libvorbis audio.ogg
| wav || ogg || ffmpeg -i audio.wav -acodec libvorbis audio.ogg
|-
|-
| Audio || wav || aac || ffmpeg -i audio.wav -acodec libfaac audio.aac
| wav || aac || ffmpeg -i audio.wav -acodec libfaac audio.aac
|-
|-
| Audio || wav || ac3 || ffmpeg -i audio.wav -acodec ac3 audio.mp3
| wav || ac3 || ffmpeg -i audio.wav -acodec ac3 audio.mp3
|-
|-
| Audio || OGG || mp3 || ffmpeg -i audio.ogg -acodec libmp3lame audio.mp3
| OGG || mp3 || ffmpeg -i audio.ogg -acodec libmp3lame audio.mp3
|-
|-
| Audio || OGG || wav ||ffmpeg -i audio.ogg audio.wav
| OGG || wav ||ffmpeg -i audio.ogg audio.wav
|-
|-
| Audio || OGG || aac ||ffmpeg -i audio.ogg -acodec libfaac audio.aac
| OGG || aac ||ffmpeg -i audio.ogg -acodec libfaac audio.aac
|-
|-
| Audio || OGG || ac3 ||ffmpeg -i audio.ogg -acodec ac3 audio.ac3
| OGG || ac3 ||ffmpeg -i audio.ogg -acodec ac3 audio.ac3
|-
|-
| Audio || AC3 || mp3 ||ffmpeg -i audio.ac3 -acodec libmp3lame audio.mp3
| AC3 || mp3 ||ffmpeg -i audio.ac3 -acodec libmp3lame audio.mp3
|-
|-
| Audio || AC3 || wav ||ffmpeg -i audio.ac3 audio.wav
| AC3 || wav ||ffmpeg -i audio.ac3 audio.wav
|-
|-
| Audio || AC3 || aac ||ffmpeg -i audio.ac3 -acodec libfaac audio.aac
| AC3 || aac ||ffmpeg -i audio.ac3 -acodec libfaac audio.aac
|-
|-
| Audio || AC3 || ogg ||ffmpeg -i audio.ac3 -acodec libvorbis audio.ogg
| AC3 || ogg ||ffmpeg -i audio.ac3 -acodec libvorbis audio.ogg
|-
|-
| Audio || AAC || mp3 ||ffmpeg -i audio.aac -acodec libmp3lame audio.mp3
| AAC || mp3 ||ffmpeg -i audio.aac -acodec libmp3lame audio.mp3
|-
|-
| Audio || AAC || wav ||ffmpeg -i audio.aac audio.wav
| AAC || wav ||ffmpeg -i audio.aac audio.wav
|-
|-
| Audio || AAC || ac3 ||ffmpeg -i audio.aac -acodec ac3 audio.ac3
| AAC || ac3 ||ffmpeg -i audio.aac -acodec ac3 audio.ac3
|-
|-
| Audio || AAC || ogg ||ffmpeg -i audio.aac -libvorbis audio.ogg
| AAC || ogg ||ffmpeg -i audio.aac -libvorbis audio.ogg
|}
 
=== Video ===
{| class="wikitable sortable"
! Quelle !! Ziel !! Befehl
|-
|-
| Video || mpeg || 90 Grad nach rechts || ffmpeg -i input.mpeg -vf "transpose=1" -qscale 0 output.mpeg
| mpeg || 90 Grad nach rechts || ffmpeg -i input.mpeg -vf "transpose=1" -qscale 0 output.mpeg
|-
|-
| Video || mpeg || 90 Grad nach links || ffmpeg -i input.mpeg -vf "transpose=2" -qscale 0 output.mpeg
| mpeg || 90 Grad nach links || ffmpeg -i input.mpeg -vf "transpose=2" -qscale 0 output.mpeg
|-
|-
| Video || mpeg || 180 Grad || ffmpeg -i input.mpeg -vf "hflip,vflip" -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