Timestamp in filename of autom. caps

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
Barbara
Blank Cone
Blank Cone
Posts: 19
Joined: 20 Aug 2006 18:15
VLC version: 1.2.0 git

Timestamp in filename of autom. caps

Postby Barbara » 13 Mar 2011 00:48

I'm using vlc to automatically take screencaps every x frames. This is the basic code but I want to change the filename so that it has a timestamp. i.e. IMG-hour.minute.second.png
I read about format strings so I tried:

Code: Select all

vlc --video-filter="scene" --scene-prefix="IMG-$T" -V dummy
but it doesn't work. Can anyone help?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Timestamp in filename of autom. caps

Postby Jean-Baptiste Kempf » 13 Mar 2011 17:33

use -vvv to have more info
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Barbara
Blank Cone
Blank Cone
Posts: 19
Joined: 20 Aug 2006 18:15
VLC version: 1.2.0 git

Re: Timestamp in filename of autom. caps

Postby Barbara » 13 Mar 2011 20:07

Like this?

Code: Select all

vlc --video-filter="scene" --scene-prefix="IMG-$T" -vvv dummy
It gives me this error. :(

Image

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Timestamp in filename of autom. caps

Postby Jean-Baptiste Kempf » 14 Mar 2011 07:17

-vvv -V dummy
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Barbara
Blank Cone
Blank Cone
Posts: 19
Joined: 20 Aug 2006 18:15
VLC version: 1.2.0 git

Re: Timestamp in filename of autom. caps

Postby Barbara » 14 Mar 2011 11:30

Thanks! Uhm ok, it's basically the same name as before. And I'm beginning to suspect it's not the right command because the files names are scene$T00001.png, scene$T00013.png, etc instead of IMG-xxxxxx.png
This is what I have for the scene filter. It's as if the two commands get mixed up, the 'scene' part of the filename comes from the GUI while the '$T' part is from the command line.

Image

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Timestamp in filename of autom. caps

Postby Jean-Baptiste Kempf » 14 Mar 2011 12:36

Maybe it is just a bug in the scene filter. File a report on trac.videolan.org
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

neot
New Cone
New Cone
Posts: 3
Joined: 17 Mar 2011 01:05

Re: Timestamp in filename of autom. caps

Postby neot » 17 Mar 2011 01:11

I need to do the same thing so could you give me a link to the bug report. I am going to write an LUA extension so that VLC can convert Video to CDG format.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Timestamp in filename of autom. caps

Postby Jean-Baptiste Kempf » 17 Mar 2011 09:13

I need to do the same thing so could you give me a link to the bug report. I am going to write an LUA extension so that VLC can convert Video to CDG format.
This is a totally different topic.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 45 guests