It is currently Sat Jul 20, 2019 7:33 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 65 posts ]  Go to page 1, 2, 3, 4, 5  Next
Author Message
 Post subject: Video Snipping Tool
PostPosted: Sun Dec 16, 2018 7:56 pm 
Offline
Addict
Addict
User avatar

Joined: Sat Oct 09, 2010 3:47 am
Posts: 1572
-----------------------------------------------------------------------------------

Download Video Snipping Tool from My PureBasic Stuff

-----------------------------------------------------------------------------------

A standalone OpenCV application (PureBasic Interface to OpenCV not required).
- record a users window actions, encoded to an AVI video file
- can be configured as a PureBasic Tool

-----------------------------------------------------------------------------------

Tricks 'n' Tips
PureBasic Interface to OpenCV
PureBasic Interface to WinDivert
PureBasic Interface to WinRAR
PureBasic Interface to 7-Zip
PureBasic Interface to ImDisk
Windows Services & Other Stuff
Invading Space Aliens
Death Star vs Asteroids
GIF Toolkit
LSB File Embedding
Spider Web Drawing
Deform Image: MLS
Video Snipping Tool
Image Waves: LUT
HTML5 YouTube Player
HTML5 MP4 Player
Barcode Generator
Embed JS into PureBasic
Geolocation: Google Maps
Book & Viewer & Magnify
Video for Windows: VfW
Alternate Console
Network Share Management

-----------------------------------------------------------------------------------

TESTED:
- Windows 10, PureBasic 5.62 - 5.70 LTS

SNIPPING MODES:
- Bullseye Snipping
- Rectangular Snipping
- Desktop Mode
- Program Mode

Download the following XVID codec for fast encoding and small video sizes; works in both PureBasic x86/x64 (single install).
- only the DIVX option is required
- START > XVID > Encoder Config > Other Options... > Display encoding status (remove checkbox)

PureBasic Tool Settings
1. IDE Menu: Tools > Configure Tools...
2. Click [ New ] button
- x86 Settings
-- Commandline: [ Root Folder... ]\Video_Snipping_Tool_WIN_SRC_BIN\binaries\x86\Video Snipping.exe
-- Arguments: "%PATH" "%HOME"
-- Working Directory: [ Root Folder... ]\Video_Snipping_Tool_WIN_SRC_BIN\binaries\x86\
-- Name: Video Snipping (x86)
- x64 Settings
-- Commandline: [ Root Folder... ]\Video_Snipping_Tool_WIN_SRC_BIN\binaries\x64\Video Snipping.exe
-- Arguments: "%PATH" "%HOME"
-- Working Directory: [ Root Folder... ]\Video_Snipping_Tool_WIN_SRC_BIN\binaries\x64\
-- Name: Video Snipping (x64)

_________________

I will be unreachable from the forum for an indefinite period; downloads moved to My PureBasic Stuff.
_________________


Last edited by JHPJHP on Thu Jun 06, 2019 7:03 am, edited 96 times in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: Record Window
PostPosted: Sun Dec 16, 2018 7:57 pm 
Offline
Addict
Addict
User avatar

Joined: Sat Oct 09, 2010 3:47 am
Posts: 1572
This program allows users to record demonstration videos directly from the PureBasic IDE; it can also be used as a standalone window recorder.

_________________

I will be unreachable from the forum for an indefinite period; downloads moved to My PureBasic Stuff.
_________________


Last edited by JHPJHP on Thu Jan 24, 2019 4:39 pm, edited 36 times in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: Record Window
PostPosted: Sun Dec 16, 2018 10:14 pm 
Offline
Addict
Addict

Joined: Mon Feb 16, 2015 2:49 pm
Posts: 1893
Thanks, will have to play with this later. :)


Top
 Profile  
Reply with quote  
 Post subject: Re: Record Window
PostPosted: Mon Dec 17, 2018 10:14 pm 
Offline
Addict
Addict
User avatar

Joined: Sat Oct 09, 2010 3:47 am
Posts: 1572
Hi Dude,

Let me know if you find any problems.

------------------------------------------------

Updated:
- added a 64 bit version
- added a couple enhancements
- can be configured as a PureBasic Tool

PureBasic Tool Settings
1. IDE Menu: Tools > Configure Tools...
2. Click [ New ] button
- x86 Settings
-- Commandline: [ Root Folder... ]\Video_Snipping_Tool_WIN_SRC_BIN\binaries\x86\Video Snipping.exe
-- Arguments: "%PATH" "%HOME"
-- Working Directory: [ Root Folder... ]\Video_Snipping_Tool_WIN_SRC_BIN\binaries\x86\
-- Name: Video Snipping (x86)
- x64 Settings
-- Commandline: [ Root Folder... ]\Video_Snipping_Tool_WIN_SRC_BIN\binaries\x64\Video Snipping.exe
-- Arguments: "%PATH" "%HOME"
-- Working Directory: [ Root Folder... ]\Video_Snipping_Tool_WIN_SRC_BIN\binaries\x64\
-- Name: Video Snipping (x64)

_________________

I will be unreachable from the forum for an indefinite period; downloads moved to My PureBasic Stuff.
_________________


Last edited by JHPJHP on Sun Jan 06, 2019 10:49 pm, edited 5 times in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: Record Window
PostPosted: Tue Dec 18, 2018 8:47 pm 
Offline
Addict
Addict
User avatar

Joined: Sat Oct 09, 2010 3:47 am
Posts: 1572
Updated:
- added some minor error checking
- added some small improvements

Download the following XVID codec for fast encoding and small video sizes; works in both PureBasic x86/x64 (single install).
- only the DIVX option is required
- START > XVID > Encoder Config > Other Options... > Display encoding status (remove checkbox)

NB*: See the first post for instructions and the second post for additional information.

_________________

I will be unreachable from the forum for an indefinite period; downloads moved to My PureBasic Stuff.
_________________


Last edited by JHPJHP on Fri Jan 25, 2019 11:01 pm, edited 9 times in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: Record Window
PostPosted: Wed Dec 19, 2018 6:18 pm 
Offline
Addict
Addict
User avatar

Joined: Sat Oct 09, 2010 3:47 am
Posts: 1572
Updated:
- added XML Builder (source code included)

When using the program as a standalone application or from the IDE and the required XML files are missing, XML Builder will auto-open to assist you in creating them.

NB*: See the previous post for required Tool Settings changes; first post updated.

-------------------------------------------------------

Updated:
- fixed a bug that would stop the encoding process
- added Record Window enhancements
- added XML Builder enhancements
- added additional error checking

_________________

I will be unreachable from the forum for an indefinite period; downloads moved to My PureBasic Stuff.
_________________


Top
 Profile  
Reply with quote  
 Post subject: Re: Record Window
PostPosted: Thu Dec 20, 2018 6:38 am 
Offline
Addict
Addict
User avatar

Joined: Mon Oct 26, 2015 2:55 am
Posts: 908
Location: UA
Description looks promising. I don't like most of existing soft in this category, will try your stuff next time.

_________________
Dreamness

Like a copyleft notify: all the source code created by me and posted on Purebasic official forums is free to use and modification in all possible (and several impossible) ways for anyone, without asking my permission


Top
 Profile  
Reply with quote  
 Post subject: Re: Record Window
PostPosted: Thu Dec 20, 2018 7:08 am 
Offline
Addict
Addict
User avatar

Joined: Sat Oct 09, 2010 3:47 am
Posts: 1572
Hi Lunasole,

Let me know if you find any problems.

------------------------------------------------

Updated:
- added manual mode
- squashed a small bug

Manual Mode: Either as a standalone application or a PureBasic IDE tool, the recording process can now be started manually.
- see the first post for instructions

NB*: I noticed that some windows (command console) were not triggering the Windows Hook, so I added manual mode.

_________________

I will be unreachable from the forum for an indefinite period; downloads moved to My PureBasic Stuff.
_________________


Last edited by JHPJHP on Fri Dec 21, 2018 3:21 am, edited 2 times in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: Record Window
PostPosted: Thu Dec 20, 2018 10:52 am 
Offline
Addict
Addict
User avatar

Joined: Sun Nov 05, 2006 11:42 pm
Posts: 4465
Location: Lyon - France
Hello JHPJHP :D

Thanks a lot for your another great job 8)

I have download the last version, and run it in W7 X86 / v5.62 x86 and i have an error at the compilation
I don't understand anything, and be sad to can't help you anymore, because this time no line red, just MsgBox :oops:

_________________
ImageThe happiness is a road...
Not a destination


Top
 Profile  
Reply with quote  
 Post subject: Re: Record Window
PostPosted: Thu Dec 20, 2018 4:26 pm 
Offline
Addict
Addict
User avatar

Joined: Sat Oct 09, 2010 3:47 am
Posts: 1572
Hi Kwai chang caine,

Thank you for trying the application and reporting your findings.

What was the error you received from the MsgBox?

You should not have to compile the source code... will it execute directly from the IDE?.. have you tried executing the prebuilt binaries from /binaries/x86/?

NB*: Awhile back I removed all the Microsoft Visual C++ Runtime Libraries from my OpenCV downloads; should already be included in the latest Windows OS.

_________________

I will be unreachable from the forum for an indefinite period; downloads moved to My PureBasic Stuff.
_________________


Top
 Profile  
Reply with quote  
 Post subject: Re: Record Window
PostPosted: Thu Dec 20, 2018 6:21 pm 
Offline
Addict
Addict
User avatar

Joined: Sun Nov 05, 2006 11:42 pm
Posts: 4465
Location: Lyon - France
Hello JHPJHP
JhpJhp wrote:
You should not have to compile the source code
Ahhh !!! excuse me i don't know i don't try to run the source code :oops:

So i have running directly the EXE in "Record_Window_WIN_SRC_BIN\binaries\x86\Record Window.exe" and i have exactely the same MsgBox :|

Image

Surely KCC, like usually, not have what is needed in his bad PC :oops:

Image

_________________
ImageThe happiness is a road...
Not a destination


Top
 Profile  
Reply with quote  
 Post subject: Re: Record Window
PostPosted: Fri Dec 21, 2018 1:00 am 
Offline
Addict
Addict
User avatar

Joined: Sat Oct 09, 2010 3:47 am
Posts: 1572
Hi Kwai chang caine,

Please try adding the following Microsoft Visual C++ Runtime Libraries to the matching binaries subfolder.
- execute Record Window.exe from the binaries folder or run the example RecordWindow_x86.pb from the IDE to see if the problem has been resolved

----------------------------------------------------------

Updated:
- added a Hide Window button
-- Waiting: the button can be toggled and will hide the window when capturing starts (defaulted in Desktop mode)
-- Capturing: the button can be clicked to hide the window immediately
- press the End key to stop capturing, unhide the window, and begin encoding images

Manual-mode: double clicking the window will begin the capture process, alternately pressing the Home key will also work.
Auto-mode: closing your program window will end capturing and begin encoding, alternately the End Key will also work.

The XML Builder and default settings have been updated to reflect the high performance provided by the XVID encoder.

NB*: The first two posts have been updated to reflect the current changes.

_________________

I will be unreachable from the forum for an indefinite period; downloads moved to My PureBasic Stuff.
_________________


Last edited by JHPJHP on Tue Dec 25, 2018 4:31 am, edited 1 time in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: Record Window
PostPosted: Fri Dec 21, 2018 12:01 pm 
Offline
Addict
Addict
User avatar

Joined: Sun Nov 05, 2006 11:42 pm
Posts: 4465
Location: Lyon - France
I'm not with the same machine than yesterday, now i'm with W10 X64 / v5.62 x86
And the two EXE works, X64 and X86
Furthermore i can compile without problem in X86 :wink:
Thanks again for your help, now i can test your nice program 8)

_________________
ImageThe happiness is a road...
Not a destination


Top
 Profile  
Reply with quote  
 Post subject: Re: Record Window
PostPosted: Fri Dec 21, 2018 12:35 pm 
Offline
Addict
Addict
User avatar

Joined: Sun Nov 05, 2006 11:42 pm
Posts: 4465
Location: Lyon - France
Like promises, i have tested your tools :wink:

W10 x86 version
First i have activing the desktop capture, and that works
The definition is less than the original, but it's surely normal
After, i have disable the desktop capture, and here the red circle move really quickly, that appear not normal :shock:
And the video cannot be readed :|

W10 x64 version
With this version, my windows are not detected, with or not desktop capture actived :|

_________________
ImageThe happiness is a road...
Not a destination


Top
 Profile  
Reply with quote  
 Post subject: Re: Record Window
PostPosted: Fri Dec 21, 2018 3:21 pm 
Offline
Addict
Addict
User avatar

Joined: Sat Oct 09, 2010 3:47 am
Posts: 1572
Hi Kwai chang caine,

Thank you again for your time testing the application.

I think you might be using an old version of the program, can you download the latest release to see if it makes a difference.
- for this test the XML files do not need to be modified, and should already be located in the root folder of the download

Have you downloaded and installed the XVID codec; this is a necessary step for high quality videos.
- only the DIVX option is required
- START > XVID > Encoder Config > Other Options... > Display encoding status (remove checkbox)

INSTRUCTIONS:
1. Open RecordWindow_x86.pb from the PureBasic (x86) IDE.
2. Execute the program directly from the IDE.
3. A small window should open with a blue dot.
4. Press the Home key to begin capturing snapshots.
5. The window should hide itself (flashing SysTrayIcon).
6. Wait no longer then 20 seconds, moving your mouse pointer around the screen.
7. Press the End key to stop capturing.
8. The small window should return with a green cycling circle (removed SysTrayIcon).
9. The small window will close when encoding is complete.

The video Desktop Manual Mode.avi should be located at the root of the download folder.

Please let me know the quality and size of the video, and the approx. time it took to create it.

_________________

I will be unreachable from the forum for an indefinite period; downloads moved to My PureBasic Stuff.
_________________


Last edited by JHPJHP on Fri Jan 25, 2019 11:01 pm, edited 2 times in total.

Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 65 posts ]  Go to page 1, 2, 3, 4, 5  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye