[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
SMPlayer Support Forum • View topic - Request: Use original Video Filename for saved Screenshots
Page 1 of 2

Request: Use original Video Filename for saved Screenshots

PostPosted: Tue May 27, 2014 4:39 am
by aziz
Hello,

I would very much like a tickbox option that would allow the filename of saved screenshots to use the filename of the original video file with a sequential number suffix at the end. All in Lowercase letters would be the best :)

For example, if a video file is named: " Superman.Man of steel DVD "

Same example, so screenshots saved from the example video would then be named:
superman man of steel dvd__01.png
superman man of steel dvd__02.png
superman man of steel dvd__03.png
superman man of steel dvd__04.png


All in Lowercase letters would be the best :)
A simple tickbox option for this would suitable go next to the 'enable screenshot' option under Preferences>General>[ Screen shots ]

PS. I used to use an option like this on KM Player and I believe VLC player has this same option too.

Re: Request: Use original Video Filename for saved Screensho

PostPosted: Tue May 27, 2014 5:45 pm
by rvm
It's not so easy to implement as it may seem.

Re: Request: Use original Video Filename for saved Screensho

PostPosted: Tue May 27, 2014 11:01 pm
by aziz
Well I wonder how other video players are doing it if it's not so easy?

I hope this is still in your wishlist of active requests to work on when you can.

Re: Request: Use original Video Filename for saved Screensho

PostPosted: Wed May 28, 2014 2:47 am
by rvm
The screenshots are done by mplayer and the output filenames are shotNNNN.png. So in order to have the movie's name, smplayer should rename the screenshots afterwards. It's doable, but I'd prefer that mplayer had an option to change its output template.

EDIT: I've just read the mplayer manpage from svn and it seems they already added the possibility to change the output name and directory of the screenshots. That's very good.

Re: Request: Use original Video Filename for saved Screensho

PostPosted: Wed May 28, 2014 6:31 am
by aziz
RVM, thanks for letting me and the forum know about this 8-)

Ok, since latest mplayer backend now allows this, could you implement the option in the next SM Player beta? What svn?

Also, do you think it would be better to allow users to custom use their own filename templates or do you prefer a pre-assigned template like my template I created above?
{filename in lowercase}__{sequential number}

Re: Request: Use original Video Filename for saved Screensho

PostPosted: Thu May 29, 2014 3:05 am
by rvm

Re: Request: Use original Video Filename for saved Screensho

PostPosted: Thu May 29, 2014 3:15 pm
by TT1
Please include the video filename extension, as well, such as: VideoFilename.wmv_001.jpg , VideoFilename.wmv_002.jpg , ...

Oftentimes there are clips with the same name but different extension, so it's useful to include it.

I would personally wish for keeping the same caps/case as the video. It's a cinch to do a one-button rename to convert everything to lower case, but there's no easy way to revert to what the original filename case might be, short of manually doing it. Just a preference... ;-)

Also, is there a way the screenshots could be created in the video folder? If not, if SMPlayer would accept environment variables, then shots could be directed to %temp% or %userprofile%\desktop - which would then work when used with a different computer where those folders would be in different locations. But using the video folder would be really nice. If it was a 'locked' folder, such as a DVD, then the shots could be routed to the user-specified folder.

Re: Request: Use original Video Filename for saved Screensho

PostPosted: Sat May 31, 2014 3:11 am
by aziz
Yes I agree too with the last comment, please also include video's file extension into the file-naming template of screenshots 8-)

Re: Request: Use original Video Filename for saved Screensho

PostPosted: Sun Mar 08, 2015 9:48 pm
by aWanderer
I was advised on this forum that using the 'mpv' executable instead of the 'mplayer' one will give me access to this feature. Unfortunately I wasn't able to get mpv to work. Has this feature been implemented for mplayer? If not are there any tips for how I can get it to work for mpv?

Re: Request: Use original Video Filename for saved Screensho

PostPosted: Sun Mar 08, 2015 11:08 pm
by rvm