Go Back   IceInSpace > Equipment > Software and Computers
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread
  #21  
Old 16-06-2006, 11:20 AM
iceman's Avatar
iceman (Mike)
Sir Post a Lot!

iceman is offline
 
Join Date: Sep 2004
Location: Gosford, NSW, Australia
Posts: 36,799
Ok here is the application.

It's working well and is stable as far as I can tell. So I'll release it publicly here and Adam can fix any bugs you find.

Thanks to Adam for writing a great application to make it easier for command-line challenged folk to split their BMP's.
Attached Files
File Type: zip RGBSplit.zip (27.4 KB, 21 views)
Reply With Quote
  #22  
Old 16-06-2006, 11:44 AM
[1ponders]'s Avatar
[1ponders] (Paul)
Retired, damn no pension

[1ponders] is offline
 
Join Date: Nov 2004
Location: Obi Obi, Qld
Posts: 18,778
Why couldn't you release it 4 hours ago. I've just split 26 videos into seperate rgb vids, run each through vitual dub to create the bmps and now I'm part way through aligning them in ImagesPlus.

Thanks Adam for this. I'm so looking forward to not going though this again
Reply With Quote
  #23  
Old 16-06-2006, 12:10 PM
Hitchhiker's Avatar
Hitchhiker
knows where his towel is

Hitchhiker is offline
 
Join Date: Oct 2005
Location: Maitland, NSW
Posts: 371
Quote:
Why couldn't you release it 4 hours ago
Oops... sorry Paul!

I've been working on this a little more in the last couple of days - not allowing invalid default folder names, and generally trying to make it more robust as per Chris' suggestions.

Also have been working on the standalone ppmcentre front end which uses virtually the same interface, so any issues picked up here will benefit that as well.

Just as a tease... I've been using the ppmcentre front end to process some of my own runs - even though I don't mind command line stuff it saves a lot of time and fuss.
Reply With Quote
  #24  
Old 16-06-2006, 12:21 PM
[1ponders]'s Avatar
[1ponders] (Paul)
Retired, damn no pension

[1ponders] is offline
 
Join Date: Nov 2004
Location: Obi Obi, Qld
Posts: 18,778
np Adam, I'm certainly looking forward to giving it a go.
Reply With Quote
  #25  
Old 16-06-2006, 12:42 PM
iceman's Avatar
iceman (Mike)
Sir Post a Lot!

iceman is offline
 
Join Date: Sep 2004
Location: Gosford, NSW, Australia
Posts: 36,799
Me too.. i'm going to hold off writing part of my processing tutorial until these GUI's are ready. It'll make it much easier to explain to people than command line stuff and netpbm tools.

I'm sure it'll only be a week or so until we're up and running with a fairly stable version.
Reply With Quote
  #26  
Old 16-06-2006, 12:44 PM
iceman's Avatar
iceman (Mike)
Sir Post a Lot!

iceman is offline
 
Join Date: Sep 2004
Location: Gosford, NSW, Australia
Posts: 36,799
Hey here's a thought..

Adam, do you know how to create BMP's from an AVI?

If you could have a 1-stop shop that would take an AVI, save it as BMP's, run ppmcentre through them, and then split them into RGB channels, it would be awesome!

The virtualdub step is kinda annoying, but it's not too bad. It would be great if it could also be batched somehow. I mean, I know it can run batches but then it'd need to somehow kick off my ppm/rgb batch script afterwards.

At the moment I just run virtualdub on an avi as soon as i've captured it. It only takes 2 minutes and when it's finished i'm ready to capture the next avi.

It also means as soon as I walk inside with the laptop, I kick off the batch script that runs ppmcentre/rgb split. When I wake up in the morning, it's registax-ready!
Reply With Quote
  #27  
Old 16-06-2006, 01:13 PM
Hitchhiker's Avatar
Hitchhiker
knows where his towel is

Hitchhiker is offline
 
Join Date: Oct 2005
Location: Maitland, NSW
Posts: 371
Quote:
Adam, do you know how to create BMP's from an AVI
The short answer is no, but I didn't know how bitmaps were formatted a month ago,either... the Internet is a wonderful thing!

I have thought of this (in fact, I'm surprised it took you so long, Mike ), but my LPI saves files as individual bitmaps, not avis so, personally, I don't have any need of such a thing. Though there could be a ToUCam thingy in my future!

Once I've finished the the current projects (stable version of RGBSplit, stable standalone version of front end for ppmcentre, integrated RGBSplit and front end for ppmcentre) I will have a look at the structure of avis - if it is not too hard (ie compression, or something I haven't thought of, yet) I might have a look at doing something. No promises, though.
Reply With Quote
  #28  
Old 16-06-2006, 01:16 PM
[1ponders]'s Avatar
[1ponders] (Paul)
Retired, damn no pension

[1ponders] is offline
 
Join Date: Nov 2004
Location: Obi Obi, Qld
Posts: 18,778
Quote:
If you could have a 1-stop shop that would take an AVI, save it as BMP's, run ppmcentre through them, and then split them into RGB channels, it would be awesome!
Reply With Quote
  #29  
Old 16-06-2006, 01:18 PM
iceman's Avatar
iceman (Mike)
Sir Post a Lot!

iceman is offline
 
Join Date: Sep 2004
Location: Gosford, NSW, Australia
Posts: 36,799
Quote:
Originally Posted by Adam
I will have a look at the structure of avis - if it is not too hard (ie compression, or something I haven't thought of, yet) I might have a look at doing something
No worries Adam, like you said, maybe something for the future

I also imagine it might get tricky regarding compression, different codecs etc.
Reply With Quote
  #30  
Old 16-06-2006, 01:25 PM
33South's Avatar
33South (Chris)
Registered User

33South is offline
 
Join Date: Jul 2005
Location: Wentworth Falls NSW
Posts: 1,112
Adam I had a quick play and have pm'd you a few comments/suggestions.
Chris.
Reply With Quote
  #31  
Old 16-06-2006, 01:36 PM
Hitchhiker's Avatar
Hitchhiker
knows where his towel is

Hitchhiker is offline
 
Join Date: Oct 2005
Location: Maitland, NSW
Posts: 371
My (probably wrong) impression is that an avi consists of a header and a string of 'bitmaps' - if it's that simple it probably wouldn't be too hard. The unknown, for me, is compression. I know most webcams compress to send the image 'down the cable', not sure if the actual avi is compressed?
Reply With Quote
  #32  
Old 16-06-2006, 01:58 PM
davidpretorius's Avatar
davidpretorius
lots of eyes on you!

davidpretorius is offline
 
Join Date: Jun 2005
Location: Launceston Tasmania
Posts: 7,381
i have noticed bink and smacker has batch processing and the file binkconv. This should do the trick when integrated into this application
Attached Thumbnails
Click for full-size image (Untitled-1.jpg)
103.7 KB8 views
Click for full-size image (Untitled-2.jpg)
125.6 KB7 views
Reply With Quote
  #33  
Old 18-06-2006, 04:13 PM
Hitchhiker's Avatar
Hitchhiker
knows where his towel is

Hitchhiker is offline
 
Join Date: Oct 2005
Location: Maitland, NSW
Posts: 371
RGBSplit beta V2.0.1

Here is an updated version of the RGBSplit beta. This version has included a lot of the suggestions made by Chris (33South) and a couple of things I found.

Here is a rundown of the fixes:

First Chris's suggestions:

-Clicking Process with no folders gives an error - fixed, now if you click Process with no folders, a helpful message is displayed
-Ability to minimise to task bar while running - done
-The "save parameters" menu item should say "save options" or the tab label should say "parameters" - menu item changed to "Save Options".
-Should have shortcut letters on button and tab captions - done.
-After adding a folder it closes the add folder window - now the add folder window stays open and files can be added until the close button is pressed.
-You can add same folder twice. Fixed - whether you add a folder from the add folders dialog, or drag and drop, folder names are checked and the same folder cannot be added twice
-When restarting it would be nice if the previously selected windows were kept in the folder list view. I think I've fixed this (if I undestood the problem!)- the add folders window was supposed to remember the last added directory and go to that the next time it was run (unless the folder no longer exists where it will start in the Windows directory). I've changed the behaviour to go back to the last selected folder regardless of whether it was added or not.
-If you change a default folder name but don't save it you should get a warning to save it now or discard when changing tabs or exiting. Fixed - though had to ask the user when exiting rather than moving off the tab

Thanks for your input Chris - your suggestions have made this app much easier to use.

My fixes:

Stopped user from entering invalid characters in destination folder names (\ / : * ? " < > | )

Added "Processing..." to the main form caption when processing so user can see the status of the app even when minimised.

Selecting folders with no bitmap files gives an error. Fixed, a helpful message is displayed in this case.

One of Chris's that I couldn't do much with was the folder selection in the Add Folders window - the control I have used is a bit lame in that you have to double click on the folder you want to add. It's not very intuitive in that sometimes you can click add and find that the folder you thought you had selected is not selected at all. I will redesign this but that will take some time (also would like to be able to select multiple folders and drag and drop etc) Note that you can drag and drop from Windows Explorer and I find that very useful.


Attached Files
File Type: zip RGBSplit V2.0.1.zip (29.1 KB, 17 views)
Reply With Quote
  #34  
Old 19-06-2006, 03:43 AM
davidpretorius's Avatar
davidpretorius
lots of eyes on you!

davidpretorius is offline
 
Join Date: Jun 2005
Location: Launceston Tasmania
Posts: 7,381
i am missing the tab control link, ie tabctl32.ocx to run this??
Reply With Quote
  #35  
Old 19-06-2006, 06:32 AM
Robert_T's Avatar
Robert_T
aiming for 2nd Halley's

Robert_T is offline
 
Join Date: Oct 2005
Location: Australia
Posts: 2,959
Davo - I had the same problem (missing TABCTL32) and Adam sent it through. Works great now. Just passed you his e-mail by e-mail.
cheers,
Reply With Quote
  #36  
Old 19-06-2006, 06:39 AM
Hitchhiker's Avatar
Hitchhiker
knows where his towel is

Hitchhiker is offline
 
Join Date: Oct 2005
Location: Maitland, NSW
Posts: 371
DP, what version of windows are you running and what hardware?
Reply With Quote
  #37  
Old 19-06-2006, 08:19 AM
davidpretorius's Avatar
davidpretorius
lots of eyes on you!

davidpretorius is offline
 
Join Date: Jun 2005
Location: Launceston Tasmania
Posts: 7,381
thanks rob, file received and now working beautifully.

Adam, windows XP pro and dell latitude d610
Reply With Quote
  #38  
Old 19-06-2006, 12:05 PM
Hitchhiker's Avatar
Hitchhiker
knows where his towel is

Hitchhiker is offline
 
Join Date: Oct 2005
Location: Maitland, NSW
Posts: 371
Thanks DP. Windows versions from 2000 onwards must have the Visual Basic runtimes but not necessarily all the Active X controls. Looks like some PCs/Laptops will have the ocx, others won't.

I will have a look at packaging up the application with all the required files - this will be a lot bigger but saves people having to download extra files.
Reply With Quote
  #39  
Old 19-06-2006, 01:01 PM
iceman's Avatar
iceman (Mike)
Sir Post a Lot!

iceman is offline
 
Join Date: Sep 2004
Location: Gosford, NSW, Australia
Posts: 36,799
yeh good idea - this app will have widespread appeal so you should think about packaging it up with an install wizard for installing required runtime libraries and ocx files.
Reply With Quote
  #40  
Old 20-06-2006, 03:28 PM
Hitchhiker's Avatar
Hitchhiker
knows where his towel is

Hitchhiker is offline
 
Join Date: Oct 2005
Location: Maitland, NSW
Posts: 371
RGBSplit beta version 2.02

Some more fixes - thanks again Chris!

I've had a go at creating an installer - works fine but the whole download is now 2Mb! I have attached just the zipped .exe file here, as usual.


20/6/2006 From Chris (33South). If there is only 1 bmp in the folder you get a msg saying no bmp files in selected folder – Fixed.

20/6/2006 From Chris (33South). You can start the app up multiple times, not sure if there is any benefit running it twice at the same time – Fixed, multiple instances not allowed.

20/6/2006 With Chris’s help, now will prompt user to save changes to default folder names on moving off the tab rather than on exit.

20/6/2006 If a user entered an invalid character as a default folder name and the previous default name was restored, the ‘Save Options’ menu item was enabled. Fixed – now only enables ‘Save Options’ if a genuine change has been made to the default folder names.
Attached Files
File Type: zip RGBSplit V2.02.zip (29.6 KB, 6 views)
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +10. The time is now 12:51 AM.

Powered by vBulletin Version 3.8.7 | Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Advertisement
Bintel
Advertisement