media: Add automatic jpeg rotation

master
Simon Bruder 2022-06-28 19:31:32 +02:00
parent 86daaf758c
commit 39d4cab99b
Signed by: simon
GPG Key ID: 8D3C82F9F309F8EC
1 changed files with 10 additions and 0 deletions

View File

@ -41,6 +41,16 @@ Requires the metadata to fit in one ogg page (so no cover art :().
:::shell
mpv --stream-dump=1.mkv dvd://1 [--dvd-device path/to/dvd]
## Images
### Apply EXIF rotation to JPEG images
Requires `jhead` and `jpegtran`.
:::shell
nix shell nixpkgs#jhead nixpkgs#libjpeg.bin
jhead -ft -autorot *.JPG
## MKV
### Fix mimetype of font attachments