grimoire

personal wiki
git clone git://git.pyratebeard.net/grimoire.git
Log | Files | Refs

commit fe2dcd497baab49ad6039b7f3d1777bbf33ad59a
parent 85481826cea6bbf798cb9ddb0a6c78ce7f1ea814
Author: pyratebeard <root@pyratebeard.net>
Date:   Tue,  6 Jun 2023 22:10:46 +0100

updates

Diffstat:
Mlinux/ffmpeg.md | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/linux/ffmpeg.md b/linux/ffmpeg.md @@ -42,6 +42,13 @@ ffmpeg -i input.mp3 -vn -codec:a copy -map_metadata -1 output.mp3 ffmpeg -i input.mp4 -ss 00:00:10 -to 01:23:14 -async 1 -c copy output.mp4 ``` +### rotate video +* 90° clockwise - increase transpose number for greater rotation +``` +ffmpeg -i input.mp3 -vf "transpose=1" output.mp4 +``` + + ## firefox corrupt file firefox complains about videos recorded with `ffmpeg`, saying they are corrupt. apparently using the following options fixes this (mentioned by seninha in #nixers irc) ```