derf / feh

a fast and light image viewer
https://feh.finalrewind.org
Other
1.54k stars 159 forks source link

videos option for feh #502

Closed warhansen closed 4 years ago

warhansen commented 4 years ago

Firstly, I love feh. I use it at home to randomly display the 26 000 odd photos I have taken over the years and I have remembered some real good times.

I would like to know if there is any future plans to include videos. It can be very basic, maybe even with no resizing etc.

Any chance?

Thanks guys for the awesome work so far!

Ferada commented 4 years ago

There's already excellent options like mplayer / mpv, vlc (and probably a bunch more), all of which have a variety of options, great support for about any format and can be scripted / remote-controlled. It might just be easier to defer to those. What's your use case anyway, generally browsing your library? Would you already be happy with previews and the ability to run a video player on command?

warhansen commented 4 years ago

I want to play photos and when they are next in que then videos, all from the same program.

I don't want to just play videos or just photos. So if randomly a video comes up I want it to be played and if a photo comes up next it must be displayed.

I cannot find any other player thst can rondomly play photos which is why I love feh!

Thanks.

On Tue, 21 Jan 2020, 16:42 Olof-Joachim Frahm (欧雅福), < notifications@github.com> wrote:

Why'd you need video support in the first place? There's already excellent options like mplayer / mpv, vlc (and probably a bunch more), all of which have a variety of options, great support for about any format and can be scripted / remote-controlled.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/derf/feh/issues/502?email_source=notifications&email_token=AG3MZ2QHQ2FGB7ESPSANLPTQ64CVFA5CNFSM4KJSBKOKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJP65XA#issuecomment-576712412, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG3MZ2VEUUJRIUDQZTCGQXLQ64CVFANCNFSM4KJSBKOA .

cantandwont commented 4 years ago

@warhansen mpv works for this. Although how it opens files from a file-manager is different to feh (there's no "--start-at" option).

When I want to do something like you're describing I just select relevant files/folders, open an mpv window, then drag & drop (with Shift key pressed to append to the playlist).

However to automate this (like feh's "--start-at"), there's an lua script to add other files in the same directory to the "playlist" automagically: https://github.com/mpv-player/mpv/blob/master/TOOLS/lua/autoload.lua

In conjuction with the option --loop-playlist, this should make using mpv a bit more like feh.

derf commented 4 years ago

Hi!

As pointed out by @cantandwont, mpv seems like the better solution for this use case. It should also be possible to write a wrapper script which uses feh for static and mpv for animated slideshow elements.

Regarding your question: There are no plans for video support. feh will continue to be limited to (static) images.