This is a Yazi plugin for previewing media files. The preview shows thumbnail
using ffmpeg
if available and media metadata using mediainfo
.
Only for yazi >= 0.4
Install the plugin:
ya pack -a boydaihungst/mediainfo
Create ~/.config/yazi/yazi.toml
and add:
[plugin]
prepend_previewers = [
{ mime = "{image,audio,video}/*", run = "mediainfo"},
{ mime = "application/subrip", run = "mediainfo"},
]