Ffmpeg: Unterschied zwischen den Versionen
KKeine Bearbeitungszusammenfassung |
|||
Zeile 5: | Zeile 5: | ||
= Anwendungen = | = Anwendungen = | ||
== WAV == | == WAV == |
Version vom 23. März 2022, 12:54 Uhr
ffmpeg bearbeitet und knovertiert Audio- und Videomedien
Installation
$ sudo apt install ffmpeg
Anwendungen
WAV
wav zu mp3
$ ffmpeg -i audio.wav -acodec libmp3lame audio.mp3
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 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