med-mastodon.com is one of the many independent Mastodon servers you can use to participate in the fediverse.
Medical community on Mastodon

Administered by:

Server stats:

364
active users

#mpv

0 posts0 participants0 posts today
Replied in thread

@gzt
Thanks again! I adapted (with some help of ChatGPT 🙃) your script for my use-case: showing a slideshow with the help of #mpv. I like the idea of pulling up some random photos, that are usually "rotting" on the disk.

In case somebody is interested:

find path/to/photos/ -type f \( -iname "*.jpg" -o -iname "*.png" -o -iname "*.jpeg" \) -print0 \
| sort -zR \
| head -n 50 -z \
| xargs -0 mpv --image-display-duration=90 --loop-file=no --fs --autofit-larger=1920x1080

TIL: #mpv has a --profile option, allowing you to define "profiles" which set a combination of certain options.

Not only that, but you can also define conditions for these profiles, so that they're being auto-applied depending on file type, resolution, playback state … anything really!

Here's me instructing mpv to set the volume to 80 % when playing @somafm.

codeberg.org/scy/dotfiles/comm

codeberg.orgMaking sure you're not a bot!

$ mpv Break-the-Game.mp4 --sub
Display all 134 possibilities? (y or n)

Bullshit there are 134 possibilities ---

--sub= --sub-ass-use-video-data= --sub-delay= --sub-filter-jsre-append= --sub-font= --sub-past-video-end=
--sub-align-x= --sub-ass-video-aspect-override= --sub-demuxer= --sub-filter-jsre-clr= --sub-font-provider= --sub-pos=
--sub-align-y= --sub-ass-vsfilter-color-compat= --sub-file= --sub-filter-jsre-del= --sub-fonts-dir= --sub-scale=
--sub-ass= --sub-auto= --sub-file-paths= --sub-filter-jsre-pre= --sub-font-size= --sub-scale-by-window=
--sub-ass-force-margins= --sub-auto-exts= --sub-file-paths-add= --sub-filter-jsre-remove= --sub-forced-events-only= --sub-scale-signs=
--sub-ass-force-style= --sub-auto-exts-add= --sub-file-paths-append= --sub-filter-jsre-set= --sub-fps= --sub-scale-with-window=
--sub-ass-hinting= --sub-auto-exts-append= --sub-file-paths-clr= --sub-filter-jsre-toggle= --sub-gauss= --subs-fallback=
--sub-ass-justify= --sub-auto-exts-clr= --sub-file-paths-del= --sub-filter-regex= --sub-gray= --subs-fallback-forced=
--sub-ass-line-spacing= --sub-auto-exts-del= --sub-file-paths-pre= --sub-filter-regex-add= --sub-hinting= --sub-shadow-color=
--sub-ass-override= --sub-auto-exts-pre= --sub-file-paths-remove= --sub-filter-regex-append= --sub-italic= --sub-shadow-offset=
--sub-ass-prune-delay= --sub-auto-exts-remove= --sub-file-paths-set= --sub-filter-regex-clr= --sub-justify= --sub-shaper=
--sub-ass-scale-with-window= --sub-auto-exts-set= --sub-file-paths-toggle= --sub-filter-regex-del= --sub-lavc-o= --subs-match-os-language=
--sub-ass-shaper= --sub-auto-exts-toggle= --sub-files= --sub-filter-regex-enable= --sub-lavc-o-add= --sub-spacing=
--sub-ass-style-overrides= --sub-back-color= --sub-files-add= --sub-filter-regex-plain= --sub-lavc-o-append= --sub-speed=
--sub-ass-style-overrides-add= --sub-blur= --sub-files-append= --sub-filter-regex-pre= --sub-lavc-o-clr= --sub-stretch-durations=
--sub-ass-style-overrides-append= --sub-bold= --sub-files-clr= --sub-filter-regex-remove= --sub-lavc-o-del= --subs-with-matching-audio=
--sub-ass-style-overrides-clr= --sub-border-color= --sub-files-del= --sub-filter-regex-set= --sub-lavc-o-remove= --sub-use-margins=
--sub-ass-style-overrides-del= --sub-border-size= --sub-files-pre= --sub-filter-regex-toggle= --sub-lavc-o-set= --sub-visibility=
--sub-ass-style-overrides-pre= --sub-border-style= --sub-files-remove= --sub-filter-regex-warn= --sub-line-spacing= --sub-vsfilter-bidi-compat=
--sub-ass-style-overrides-remove= --sub-clear-on-seek= --sub-files-set= --sub-filter-sdh= --sub-margin-x=
--sub-ass-style-overrides-set= --sub-codepage= --sub-files-toggle= --sub-filter-sdh-enclosures= --sub-margin-y=
--sub-ass-style-overrides-toggle= --sub-color= --sub-filter-jsre= --sub-filter-sdh-harder= --sub-outline-color=
--sub-ass-styles= --sub-create-cc-track= --sub-filter-jsre-add= --sub-fix-timing= --sub-outline-size=

Well damn. I guess there are.

#mpv#subtitles#srt

Wenn mir #mpv eine "Colormatrix: dolbyvision" anzeigt, bei nem Video, das keinen TrueHD- oder EAC3-Track hat, sondern FLAC, was bedeutet das dann? Hat das Video #DolbyVision-Informationen eingebettet oder nicht? Vielleicht nur einen Teil davon? Wie geht das überhaupt, ich dachte, diese Metainformationen wären immer im proprietären Dolby-Track?

Unter "Format" steht "p010" was Dolby Vision Profile 8.4 entspricht, einem irgendwie zu HLG kompatiblem Encoding, hä? Aber wo wird das nun hinterlegt?