This forum is deprecated. Please visit https://github.com/smplayer-dev/smplayer/discussions

Pictures support?

Problems, bugs, suggestions... anything related to SMPlayer.

Pictures support?

Postby Xenos » Sun Aug 25, 2019 5:46 pm

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
Xenos
 
Posts: 39
Joined: Thu May 17, 2018 12:07 pm

Re: Pictures support?

Postby rvm » Sun Aug 25, 2019 7:24 pm

You can enable the repeat option for all pictures by adding "repeat true" in preferences -> advanced -> actions to run when a file is opened.
rvm
Site Admin
 
Posts: 3787
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: Pictures support?

Postby Xenos » Sun Aug 25, 2019 11:35 pm

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...
Xenos
 
Posts: 39
Joined: Thu May 17, 2018 12:07 pm

Re: Pictures support?

Postby rvm » Mon Aug 26, 2019 9:04 am

You can use the mpv's option --image-display-duration=inf
You can pass it in preferences -> advanced -> mplayer/mpv.
rvm
Site Admin
 
Posts: 3787
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: Pictures support?

Postby Xenos » Mon Aug 26, 2019 6:32 pm

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
Xenos
 
Posts: 39
Joined: Thu May 17, 2018 12:07 pm

Re: Pictures support?

Postby rvm » Mon Aug 26, 2019 7:45 pm

Strange, it works for me as expected.
Could you send the mpv log (menu View) after trying to play a picture?
rvm
Site Admin
 
Posts: 3787
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: Pictures support?

Postby Xenos » Mon Aug 26, 2019 11:48 pm

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.
Attachments
mpv_log-image_flash.log
(3.23 KiB) Downloaded 241 times
Xenos
 
Posts: 39
Joined: Thu May 17, 2018 12:07 pm

Re: Pictures support?

Postby rvm » Tue Aug 27, 2019 9:23 pm

Maybe it's caused by one of the filters. Try disabling them.
rvm
Site Admin
 
Posts: 3787
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: Pictures support?

Postby Xenos » Wed Aug 28, 2019 8:46 am

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
Xenos
 
Posts: 39
Joined: Thu May 17, 2018 12:07 pm


Return to General

Who is online

Users browsing this forum: No registered users and 8 guests