Ffmpeg: Unterschied zwischen den Versionen

Aus Foxwiki
KKeine Bearbeitungszusammenfassung
Zeile 11: Zeile 11:


= Anwendungen =
= Anwendungen =
== Audio ==
{|
=== WAV ===
| Audio || wav || mp3 || $ ffmpeg -i audio.wav -acodec libmp3lame audio.mp3
''' wav zu mp3  '''
|-
  $ ffmpeg -i audio.wav -acodec libmp3lame audio.mp3
| Audio || ogg || $ ffmpeg -i audio.wav -acodec libvorbis audio.ogg
|-
| Audio || aac || $ ffmpeg -i audio.wav -acodec libfaac audio.aac
|-
| Audio || ac3 || $ ffmpeg -i audio.wav -acodec ac3 audio.mp3
|-
| Audio || OGG || mp3 || $ ffmpeg -i audio.ogg -acodec libmp3lame audio.mp3
|-
| Audio || OGG || wav ||  ffmpeg -i audio.ogg audio.wav
|-
| Audio || OGG || aac || ffmpeg -i audio.ogg -acodec libfaac audio.aac
|-
| Audio || OGG || ac3 ||  ffmpeg -i audio.ogg -acodec ac3 audio.ac3
|-
| Audio || AC3 || mp3 ||  ffmpeg -i audio.ac3 -acodec libmp3lame audio.mp3
|-
| Audio || AC3 || wav || ffmpeg -i audio.ac3 audio.wav
|-
| Audio || AC3 || aac ||  ffmpeg -i audio.ac3 -acodec libfaac audio.aac
|-
| Audio || AC3 || ogg ||  ffmpeg -i audio.ac3 -acodec libvorbis audio.ogg
|-
| Audio || AAC || mp3 ||  ffmpeg -i audio.aac -acodec libmp3lame audio.mp3
|-
| Audio || AAC || wav ||  ffmpeg -i audio.aac audio.wav
|-
| Audio || AAC || ac3 ||  ffmpeg -i audio.aac -acodec ac3 audio.ac3
|-
| Audio || AAC || ogg ||||  ffmpeg -i audio.aac -libvorbis audio.ogg
|-
| Video || 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
|-
| Video || mpeg || 180 Grad || ffmpeg -i input.mpeg -vf "hflip,vflip" -qscale 0 output.mpeg
|}


''' wav zu ogg  '''
$ ffmpeg -i audio.wav -acodec libvorbis audio.ogg
''' wav zu aac  '''
$ ffmpeg -i audio.wav -acodec libfaac audio.aac
''' wav zu ac3  '''
$ ffmpeg -i audio.wav -acodec ac3 audio.mp3
=== OGG ===
''' ogg zu mp3  '''
$ ffmpeg -i audio.ogg -acodec libmp3lame audio.mp3
''' ogg zu wav  '''
$ ffmpeg -i audio.ogg audio.wav
''' ogg zu aac  '''
$ ffmpeg -i audio.ogg -acodec libfaac audio.aac
''' ogg zu ac3  '''
$ ffmpeg -i audio.ogg -acodec ac3 audio.ac3
=== AC3 ===
''' ac3 zu mp3  '''
$ ffmpeg -i audio.ac3 -acodec libmp3lame audio.mp3
''' ac3 zu wav  '''
$ ffmpeg -i audio.ac3 audio.wav
''' ac3 zu aac  '''
$ ffmpeg -i audio.ac3 -acodec libfaac audio.aac
''' ac3 zu ogg  '''
$ ffmpeg -i audio.ac3 -acodec libvorbis audio.ogg
=== AAC ===
''' aac zu mp3  '''
$ ffmpeg -i audio.aac -acodec libmp3lame audio.mp3
''' aac zu wav  '''
$ ffmpeg -i audio.aac audio.wav
''' aac zu ac3  '''
$ ffmpeg -i audio.aac -acodec ac3 audio.ac3
''' aac zu ogg  '''
$ ffmpeg -i audio.aac -libvorbis audio.ogg
== Video ==
=== Video rotieren ===
''' 90 Grad nach rechts '''
ffmpeg -i input.mpeg -vf "transpose=1" -qscale 0 output.mpeg
''' 90 Grad nach links '''
ffmpeg -i input.mpeg -vf "transpose=2" -qscale 0 output.mpeg
''' 180 Grad '''
ffmpeg -i input.mpeg -vf "hflip,vflip" -qscale 0 output.mpeg
= Dokumentation =
= Dokumentation =
== Man-Pages ==
== Man-Pages ==

Version vom 23. März 2022, 13:13 Uhr

ffmpeg bearbeitet und knovertiert Audio- und Videomedien

Beschreibung

Installation

# apt install ffmpeg

Syntax

Parameter

Optionen

Konfiguration

Dateien

Anwendungen

Audio wav mp3 $ ffmpeg -i audio.wav -acodec libmp3lame audio.mp3
Audio ogg $ ffmpeg -i audio.wav -acodec libvorbis audio.ogg
Audio aac $ ffmpeg -i audio.wav -acodec libfaac audio.aac
Audio ac3 $ ffmpeg -i audio.wav -acodec ac3 audio.mp3
Audio OGG mp3 $ ffmpeg -i audio.ogg -acodec libmp3lame audio.mp3
Audio OGG wav ffmpeg -i audio.ogg audio.wav
Audio OGG aac ffmpeg -i audio.ogg -acodec libfaac audio.aac
Audio OGG ac3 ffmpeg -i audio.ogg -acodec ac3 audio.ac3
Audio AC3 mp3 ffmpeg -i audio.ac3 -acodec libmp3lame audio.mp3
Audio AC3 wav ffmpeg -i audio.ac3 audio.wav
Audio AC3 aac ffmpeg -i audio.ac3 -acodec libfaac audio.aac
Audio AC3 ogg ffmpeg -i audio.ac3 -acodec libvorbis audio.ogg
Audio AAC mp3 ffmpeg -i audio.aac -acodec libmp3lame audio.mp3
Audio AAC wav ffmpeg -i audio.aac audio.wav
Audio AAC ac3 ffmpeg -i audio.aac -acodec ac3 audio.ac3
Audio AAC ogg ffmpeg -i audio.aac -libvorbis audio.ogg
Video 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
Video 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