Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
ffmpeg [2014/02/24 22:29] admin |
ffmpeg [2022/08/30 14:06] (aktuell) admin |
||
---|---|---|---|
Zeile 6: | Zeile 6: | ||
ffmpeg -i 00031.MTS -s 480x320 -b:v 4000k 00031.MP4 | ffmpeg -i 00031.MTS -s 480x320 -b:v 4000k 00031.MP4 | ||
+ | |||
+ | === Video in gif umwandeln === | ||
+ | |||
+ | mkdir frames | ||
+ | ffmpeg -i input.mp4 -vf scale=320:-1:flags=lanczos,fps=10 frames/ffout%03d.png | ||
+ | convert -loop 0 frames/ffout*.png output.gif | ||
=== Mit ffmpeg Videos erstellen === | === Mit ffmpeg Videos erstellen === | ||
Zeile 102: | Zeile 108: | ||
*trp file is a MPEG-TS file with H.264 video stream | *trp file is a MPEG-TS file with H.264 video stream | ||
- | ffmpeg -i aufnahme01.trp -y -s pal -r pal -ac 2 -ar 48000 aufnahme01.dv | + | avconv -i aufnahme01.trp -y -s pal -r pal -ac 2 -ar 48000 aufnahme01.dv |
- | ffmpeg -i input.trp -vcodec copy -acodec copy -f mp4 output.mp4 | + | avconv -i input.trp -vcodec copy -acodec copy -f mp4 output.mp4 |
=== Film drehen um 90° === | === Film drehen um 90° === | ||
Zeile 135: | Zeile 141: | ||
Capture bzw. p für Playback). | Capture bzw. p für Playback). | ||
</file> | </file> | ||
+ | |||
+ | === wmv -> mp4 === | ||
+ | |||
+ | ffmpeg -i input.wmv -c:v libx264 -crf 23 -c:a libfaac -q:a 100 output.mp4 | ||
+ | |||
+ | Mit VLC: Medien > Konvertieren/Speichern > Datei > Dateiauswahl > Hinzufügen > input.wmv > [x] Mehr Optionen aneigen > Konvertieren/Speichern > Konvertieren > Profil: Video -H.264 + MP3 (MP4) > Zieldatei > output.mp4 > Start | ||
+ | |||
+ | === wav -> mp3 === | ||
+ | |||
+ | ffmpeg -i audio.wav -acodec libmp3lame audio.mp3 | ||
+ | |||
+ |