media: Add automatic jpeg rotation

This commit is contained in:
Simon Bruder 2022-06-28 19:31:32 +02:00
parent 86daaf758c
commit 39d4cab99b
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

@ -41,6 +41,16 @@ Requires the metadata to fit in one ogg page (so no cover art :().
:::shell :::shell
mpv --stream-dump=1.mkv dvd://1 [--dvd-device path/to/dvd] 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 ## MKV
### Fix mimetype of font attachments ### Fix mimetype of font attachments