Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image/video preview via mpv #2256

Closed
BogdanLysenko opened this issue Feb 23, 2021 · 6 comments
Closed

Image/video preview via mpv #2256

BogdanLysenko opened this issue Feb 23, 2021 · 6 comments

Comments

@BogdanLysenko
Copy link

It seems like instructions about how to configure ranger to display image/video preview via mpv is out of date. For example, there is no ImageDisplayer() method anymore in fm.py, or it has another form now. So, I hope you add valid information about how to do it beacause now I think it is the only way to enable image/video preview in my alacritty terminal.

@toonn
Copy link
Member

toonn commented Feb 24, 2021

I think there's an open PR or issue with more up to date instructions in the comments. The ueberzug method should work with alacritty though, as long as you're on X.

@BogdanLysenko
Copy link
Author

@toonn
No, the whole point is I'm on pure Wayland under Sway, otherwise I'd prefer another preview method from guide.

@toonn
Copy link
Member

toonn commented Feb 26, 2021

Maybe switching to kitty temporarily is an option? Or you could try out the sixel PR if alacritty supports sixel.

@BogdanLysenko
Copy link
Author

BogdanLysenko commented Feb 26, 2021

@toonn, I did fix of mpv due to your recomendation in this issue #2065 (comment), so I can close my.
However, it looks poor and runs images in another window drugging me from my one.. So I had to disable it. Anyway, thank you.
Sixel support in alacritty is currently not implemented. But there already is a pull request for this. I'm leaving reference if anyone is interested maybe to test this or help to contribute:
alacritty/alacritty#4763

@toonn
Copy link
Member

toonn commented Feb 26, 2021

Maybe look into ueberzug again. Last I heard the author was working on Wayland support.

@ranger ranger deleted a comment from echozhangxiaomin Mar 20, 2022
@ranger ranger deleted a comment from echozhangxiaomin Mar 20, 2022
@toonn
Copy link
Member

toonn commented Mar 20, 2022

Deleted some comments written in hanzi or something and no members of the team are able to read those. So we can't verify whether they're spam/inappropriate. Please keep comments in english, if possible.

@BogdanLysenko, I recently saw an issue or PR mentioning mpv previews again but I can't find it right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants