Page 1 of 1

Pictures support?

PostPosted: Sun Aug 25, 2019 5:46 pm
by Xenos
Hello,

Would it be possible to add pictures playback support, if not for most types, at least for jpg files?
I found out the trick with setting A-B section to Repeate (otherwise the jpg is only being displayed for a fraction of a second), but this has to be done for every single picture, so it's not an actual solution.
It would be extremely helpful if you could add an extra option so that the user could set the desirable duration for the picture to be displayed, or at least choose among a few preset values (like 5 sec, 10 sec, Infinite).

I really like the feature of "Send video to screen", with which I can keep the control window on one monitor and play in fullscreen on the second monitor. It is exactly what I need for classes and seminars, but besides videos I also need to be able to show pictures too.

I'd really appreciate it if you could have a look at this.

Thanks in advance,
Xenos

Re: Pictures support?

PostPosted: Sun Aug 25, 2019 7:24 pm
by rvm
You can enable the repeat option for all pictures by adding "repeat true" in preferences -> advanced -> actions to run when a file is opened.

Re: Pictures support?

PostPosted: Sun Aug 25, 2019 11:35 pm
by Xenos
Thank you for your quick response.
However, when I add this action it's being set for all files, not just pictures. So when I have a number of videos and pictures mixed in the playlist, instead of advancing from one video to the next until it comes to a picture and "stay" on it (for as long as I want, until I hit "next" to continue), it just plays the first video repeatedly.
So this doesn't solve the problem...

Re: Pictures support?

PostPosted: Mon Aug 26, 2019 9:04 am
by rvm
You can use the mpv's option --image-display-duration=inf
You can pass it in preferences -> advanced -> mplayer/mpv.

Re: Pictures support?

PostPosted: Mon Aug 26, 2019 6:32 pm
by Xenos
Hello again,

I copied --image-display-duration=inf to Options --> Preferences --> Advanced --> Mplayer/mpv --> Options,
but now the images just flash and move to the next, they don't stay on screen.
Am I doing something wrong?

Thanks,
Xenos

Re: Pictures support?

PostPosted: Mon Aug 26, 2019 7:45 pm
by rvm
Strange, it works for me as expected.
Could you send the mpv log (menu View) after trying to play a picture?

Re: Pictures support?

PostPosted: Mon Aug 26, 2019 11:48 pm
by Xenos
Hi,

this is the mpv log file you requested.
I even performed a clean installation in case something has gotten corrupted, but I still get flashing images.
However, with the portable version and the exact same settings, "--image-display-duration=inf" seems to work fine.

I'm really confused, thanks in advance for any help.

Re: Pictures support?

PostPosted: Tue Aug 27, 2019 9:23 pm
by rvm
Maybe it's caused by one of the filters. Try disabling them.

Re: Pictures support?

PostPosted: Wed Aug 28, 2019 8:46 am
by Xenos
Hi,
Finally, I found out what was causing the problem. It was the damned deinterlacing filter.
For some strange reason it was set to "Yadif (Double framerate)". I changed it to "Yadif (normal)", and now the images stay on screen as they should.

Thanks,
Xenos