[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

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

Request: Use original Video Filename for saved Screenshots

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

Request: Use original Video Filename for saved Screenshots

Postby aziz » Tue May 27, 2014 4:39 am

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.
my sm player forum topics;- http://tinyurl.com/pc2mpnv
aziz
 
Posts: 70
Joined: Wed Jan 04, 2012 9:41 am

Re: Request: Use original Video Filename for saved Screensho

Postby rvm » Tue May 27, 2014 5:45 pm

It's not so easy to implement as it may seem.
rvm
Site Admin
 
Posts: 3787
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: Request: Use original Video Filename for saved Screensho

Postby aziz » Tue May 27, 2014 11:01 pm

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.
my sm player forum topics;- http://tinyurl.com/pc2mpnv
aziz
 
Posts: 70
Joined: Wed Jan 04, 2012 9:41 am

Re: Request: Use original Video Filename for saved Screensho

Postby rvm » Wed May 28, 2014 2:47 am

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.
rvm
Site Admin
 
Posts: 3787
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: Request: Use original Video Filename for saved Screensho

Postby aziz » Wed May 28, 2014 6:31 am

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}
my sm player forum topics;- http://tinyurl.com/pc2mpnv
aziz
 
Posts: 70
Joined: Wed Jan 04, 2012 9:41 am

Re: Request: Use original Video Filename for saved Screensho

Postby rvm » Thu May 29, 2014 3:05 am

rvm
Site Admin
 
Posts: 3787
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: Request: Use original Video Filename for saved Screensho

Postby TT1 » Thu May 29, 2014 3:15 pm

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.
TT1
 

Re: Request: Use original Video Filename for saved Screensho

Postby aziz » Sat May 31, 2014 3:11 am

Yes I agree too with the last comment, please also include video's file extension into the file-naming template of screenshots 8-)
my sm player forum topics;- http://tinyurl.com/pc2mpnv
aziz
 
Posts: 70
Joined: Wed Jan 04, 2012 9:41 am

Re: Request: Use original Video Filename for saved Screensho

Postby aWanderer » Sun Mar 08, 2015 9:48 pm

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?
aWanderer
 
Posts: 8
Joined: Fri Feb 13, 2015 10:21 am

Re: Request: Use original Video Filename for saved Screensho

Postby rvm » Sun Mar 08, 2015 11:08 pm



rvm
Site Admin
 
Posts: 3787
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Next

Return to General

Who is online

Users browsing this forum: No registered users and 52 guests