Messages - Nod5 [ switch to compact view ]

Pages: prev1 ... 227 228 229 230 231 [232] 233 234 235next
1156
I currently use FastStone Screen Capture since it is simple and lightweigth and since I most often do not need the more advanced features that other screen capture programs offer.

But today I did need a feature that FastStone lacks. I needed to take a sequence of (partial area) screencaps and append/stitch them into one single image.

So I'm ideally looking for a tool that: makes a screen capture each time the user presses a hotkey/button and draws an area with the mouse (many tools do that already) AND automatically appends/stitches the capture to a single image (this is the critical feature I'm after). At the end of the sequence, the user presses another hotkey/button and the image is then saved somewhere.

A plus would be if parameters like maximum width/height and background color could be set in advance. So for example, after stitching two screencaptures together horizontally, if appending a third capture on the same "row" would exceed the set maximum width then the program "linebreaks" and continues appending at the start of the next "row". If both maximum width and height is reached the image is saved and a new appendable image is started.

Is there any screen capture tool that can do something like that? (Note that I want each capture to retain it's size, so a tool that makes thumbnail image sheets out of a set of images would not be a solution here)

I suppose this is a feature that only few have use for on a daily basis. But on occasions when it is needed it could be a real timesaver compared to manually saving single screencap images, opening them all in a editor, creating a large canvas and copying and pasting them together.

1157
Mini-Reviews by Members / Re: List of disc catalogers
« on: March 16, 2007, 05:50 AM »
Great list. One important feature for these tools is database import/export capabilities so any info on that would be appreciated.

Advanced Disk Catalog hasn't been updated since 2004. It has many good features but lack some basic ones. Like being able to copy the name of a file in the database. I have made a AutoHotKey script to get around that, so if someone else is using ADC and wants to copy filenames then check this out. It puts the name of the selected disc/folder/file in the clipboard when middle mouse button is clicked. The script exits automatically when Advanced Disk Catalog is closed.

SetTimer, ADC, 2000

ADC:
IfWinNotExist, ahk_class ADCCLASS_ELCOM
 exitapp
return

MButton::
IfWinActive, ahk_class ADCCLASS_ELCOM
goto copyselected
return

copyselected:
SendMessage, 0x111, 204, 0, , ahk_class ADCCLASS_ELCOM
winwait, ahk_class #32770
ControlGetText, x, Static4, ahk_class #32770
if x = Comment
ControlGetText, x, Static5, ahk_class #32770
if x = Last scan
ControlGetText, x, Edit1, ahk_class #32770
WinClose, ahk_class #32770, Comment
clipboard = %x%
return

1158
Nah, I don't have time to watch the videos. I'm busy archiving them properly  ;D
More seriously, I've used VLC for a long time and I think I'll stick to that. But Media Player Classic has many of the same qualities it seems (no fancy, bloated GUI, works with almost all files and so on). Thanks again for bringing it up. :Thmbsup:

1159
Nighted,
Thanks a lot! Media Player Classic suits my needs.

Media Player Classic
http://sourceforge.net/projects/guliverkli/
has the image grabbing features I requested (handles many video formats, interval screencaps of the sort "X number of frameshots", timestamps, specification of output file width) and it generates a contact sheet.

Its command line parameters doesn't include commmands for contact sheet creation. But I wrote an AutoHotkey script that allows batch usage.

edit: old code hidden
Spoiler
; AutoHotkey script to generate image contact sheets from a batch of video files


; --- INSTRUCTIONS ----
; 1. get Media Player Classic (MPC).
;    Load a video in MPC, then do File > Save Thumbnails...
;    Then set parameters in the save dialog (row/line, width, file format) and save the file.
;    The entered parameters now become default.
; 2. Put full paths to all target video files in flist.txt (one path on each line)
; 3. Set script parameters
; 4. Run script
;    note: don't use the computer for other purposes while running the script
;    since the script sends keyboard input to the active window



; --- SCRIPT PARAMETERS ----
xmpcpath =
xflistpath =
xoutputfolder =
xoutput_to_same_folder_as_source = 0
xsave_thumb_dialog_win_title =
xoutputfileprefix =
xoutputfilesuffix =

;examples:
; xmpcpath = C:\program\MPC\mplayerc.exe
;xflistpath = C:\some folder\flist.txt
;xoutputfolder = C:\some folder\
;xoutput_to_same_folder_as_source = 1   --> yes
;xoutput_to_same_folder_as_source = 0   --> no
; xsave_thumb_dialog_win_title = Spara som   
; needed since save thumbnail dialog window title varies with install language
;xoutputfileprefix = some_prefix_
;outputfilesuffix = some suffix
;----------------------------


; --- ACTUAL SCRIPT START ----
FileRead, xflist_contents, %xflistpath%

;--------------------------------------------
Loop, parse, xflist_contents,`n
{
If A_LoopField =
 continue   ;skip empty line at end

xfpath = %A_LoopField%
SplitPath, xfpath, xfname ,xffolder,,xfnameNoExt
run %xmpcpath% "%xfpath%"

WinWait,ahk_class MediaPlayerClassicW
Sleep, 1000
SendInput {Space}
SendInput !F
SendInput {Up 7}
SendInput {Enter}
WinWaitActive, %xsave_thumb_dialog_win_title%

If xoutput_to_same_folder_as_source = 1
 xoutputfolder = %xffolder%

SendInput %xoutputfolder%\%xoutputfileprefix%%xfnameNoExt%%xoutputfilesuffix%
SendInput {Enter}

Loop
{
IfExist, %xoutputfolder%\%xoutputfileprefix%%xfnameNoExt%%xoutputfilesuffix%.jpg
break
IfExist, %xoutputfolder%\%xoutputfileprefix%%xfnameNoExt%%xoutputfilesuffix%.bmp
break
sleep 1000
}
WinClose, ahk_class MediaPlayerClassicW
WinWaitClose, ahk_class MediaPlayerClassicW
}
;--------------------------------------------

I did a testrun on a couple of video files without problems. Will try to run it on all my videos later tonight.

edit:
I just ran the script on 30+ video files and all seems to work fine. I also updated the script a bit. I edited this post so that the old script is hidden (above). Here's the new script:

; AutoHotkey script to generate image contact sheets from a batch of video files in Media Player Classic

xinstructions =
(
--- INSTRUCTIONS ----
1. Get Media Player Classic, http://sourceforge.net/projects/guliverkli/
   mpplayerc.exe path: C:\program\MPC (or) Scriptfolder (or) specify in script parameters
2. Make flist.txt with list of video file paths (one path per line)
   flist.txt path: Scriptfolder (or) specify in script parameters
3. Set other script parameters (or use defaults)
4. Run script
)

; --- SCRIPT PARAMETERS --------------------------------
IfExist, C:\program\MPC\mplayerc.exe
 xmpcpath = C:\program\MPC\mplayerc.exe
IfExist, %A_ScriptDir%\mplayerc.exe
 xmpcpath = %A_ScriptDir%\mplayerc.exe

; ------------------------ path to media player classic
; xmpcpath =
; ------------------------

If xmpcpath =
{
msgbox, error: mpplayerc.exe not found.
exitapp
}
IfExist, %A_ScriptDir%\flist.txt
 xflistpath = %A_ScriptDir%\flist.txt

; ------------------------ path to flist.txt
; xflistpath =
; ------------------------

If xflistpath =
{
FileSelectFile, xflistpath,3,,Select textfile that contains list of video file paths
if xflistpath =
exitapp
}
; ------------------------ other script parameters
xoutputfolder = %A_Desktop%
xoutput_to_same_folder_as_source = 1
xcreate_even_if_contactsheet_exists = 0
xoutputfileprefix =
xoutputfilesuffix =_cs
xrows = 7
xcols = 3
xwidth = 1000
; ------------------------
;examples:
;xoutputfolder = C:\some folder\
;xoutput_to_same_folder_as_source = 1   --> yes --> no need to set xoutputfolder
;xoutput_to_same_folder_as_source = 0   --> no
;xcreate_even_if_contactsheet_exists = 0 --> don't create if already exists (= file with matching file name exists)
;xcreate_even_if_contactsheet_exists = 1 --> create new (overwrites outputfolder)
;xoutputfileprefix = some_prefix_
;outputfilesuffix = some suffix
;xrows = 7
;xcols = 3
;xwidth = 1000
;----------------------------


; --- ACTUAL SCRIPT START ----
msgbox, 1,,
(
%xinstructions%

current parameters:
xmpcpath = %xmpcpath%
xflistpath = %xflistpath%
xoutputfolder = %xoutputfolder%
xoutput_to_same_folder_as_source = %xoutput_to_same_folder_as_source%
xcreate_even_if_contactsheet_exists = %xcreate_even_if_contactsheet_exists%
xoutputfileprefix = %xoutputfileprefix%
xoutputfilesuffix = %xoutputfilesuffix%

Click OK to run script
)
IfMsgBox, Cancel
exitapp

FileRead, xflist_contents, %xflistpath%

;--------------------------------------------
Loop, parse, xflist_contents,`n
{
If A_LoopField =
 continue   ;skip empty line at end

xfpath = %A_LoopField%
SplitPath, xfpath, xfname ,xffolder,,xfnameNoExt

If xoutput_to_same_folder_as_source = 1
 xoutputfolder = %xffolder%

If xcreate_even_if_contactsheet_exists = 0
{
IfExist, %xoutputfolder%\%xoutputfileprefix%%xfnameNoExt%%xoutputfilesuffix%.jpg
continue
IfExist, %xoutputfolder%\%xoutputfileprefix%%xfnameNoExt%%xoutputfilesuffix%.bmp
continue
}

run %xmpcpath% /open "%xfpath%"
WinWait,ahk_class MediaPlayerClassicW
#WinActivateForce
WinActivate, ahk_class MediaPlayerClassicW
WinWaitActive, ahk_class MediaPlayerClassicW
Sleep, 1000

;0x111=command   wparam 888 lparam 0 = open save thumbs...
SendMessage, 0x111, 808, 0, , ahk_class MediaPlayerClassicW

WinWait, ahk_class #32770,Image width:,4
IfWinNotExist, ahk_class #32770,Image width:
{
SendMessage, 0x111, 808, 0, , ahk_class MediaPlayerClassicW   ;2nd try
WinWait, ahk_class #32770,Image width:
}

ControlSetText, Edit1,%xoutputfolder%\%xoutputfileprefix%%xfnameNoExt%%xoutputfilesuffix%, ahk_class #32770,Image width:
ControlSetText, Edit2, %xrows%, ahk_class #32770,Image width:
ControlSetText, Edit3, %xcols%, ahk_class #32770,Image width:
ControlSetText, Edit4, %xwidth%, ahk_class #32770,Image width:
ControlClick, Button2, ahk_class #32770,Image width:

Loop
{
IfExist, %xoutputfolder%\%xoutputfileprefix%%xfnameNoExt%%xoutputfilesuffix%.jpg
break
IfExist, %xoutputfolder%\%xoutputfileprefix%%xfnameNoExt%%xoutputfilesuffix%.bmp
break
sleep 1000
}

WinClose, ahk_class MediaPlayerClassicW
WinWaitClose, ahk_class MediaPlayerClassicW
}
;--------------------------------------------

1160
mrvampi,
thanks a lot! Image Grabber II.NET seem to have many (most) of the features I was looking for. I'll try it out. Also, since I now have a name of one application in the "genre" I'll do some more searches and see if any similar applications turn up. Will report back here if I do.

apparently there's three programs (or three versions of one program?) by the same author: Image Grabber I, II and II.NET. The first two can still be downloaded through archive.org, http://web.archive.org/web/20060527192354/www45.brinkster.com/antworkz/ .

edit:
I still haven't had time to actually test ImageGrab II.NET yet but here's a follow up anyway...

First, I think I initially had trouble finding what I was looking for because I actually want two distinct things:
1. an image grabber (a.k.a. frameshot/screenshot maker) to output individual frameshot images from a video file
2. a contact sheet creator that operates on the previously generated frameshots

ImageGrab II.NET seems to do both which it great. But as mrvampi mentioned it doesn't seem to handle batch mode.

With the help of some better search phrases I found some alternatives that I'll also try.

IMAGE GRABBERS:
------------------
FrameShots (30$, free trial)
http://www.frame-shots.com/download.htm

Has command-line support so batch execution is possible. Options include: interval (both "frameshot every N seconds" and "X number of frameshots" are possible), timestamps, customizable filenaming, output file size and so on. In short, all image grabbing features I wanted. However, it does not seem to create a "contact sheet". It just creates multiple individual frame shot images. Contact sheet making isn't on the "future features" list either, http://www.frame-shots.com/future.htm

CONTACT SHEET CREATORS:
----------------------
this thread in alt.comp.freeware
http://groups.google.se/group/alt.comp.freeware/browse_thread/thread/294c532e13371c97/769b541bb47e593b?lnk=st&q=frameshots&rnum=14#769b541bb47e593b
included a link to a standalone .exe application that generates contact sheets, Image Joiner
http://www.puretna.com/imagejoiner.php (warning: the application page is hosted by an adult video file sharing site of some sort. I haven't tried it yet and so have no idea if it's malware-free)
It seems to have various useful settings but no command line support or batch mode.

the free image editor GIMP
http://gimp.org/downloads/
Accepts command line usage so batch execution is possible. And there's a contact sheet plugin available, http://registry.gimp.org/plugin?id=7544 .

the free image processing tool GraphicsMagick
http://www.graphicsmagick.org/
Accepts command line usage so batch execution is possible. And can "Create a montage of image thumbnails", http://www.graphicsmagick.org/www/montage.html

At first glance, GraphicsMagick seems most promising for easy automation.

So after trying ImageGrab II.NET I'll check if the combo FrameShots/GraphicsMagick can give an automated workflow.

Pages: prev1 ... 227 228 229 230 231 [232] 233 234 235next
Go to full version