View Full Version: New unified code base, Linux and Windows, camcorders/cameras

camerahacks >>Applications >>New unified code base, Linux and Windows, camcorders/cameras


<< Prev | Next >>

anewguy- 11-07-2008
New unified code base, Linux and Windows, camcorders/cameras
Just so everyone is aware, I have the same base code for Linux and Windows working with the modified avidownload. This means the following: For Windows and Linux, there is a common code set. For Windows and Linux, there is a command line program to download movies from the camcorder and still pictures from the camera (a single united program). For Windows and Linux, there is a GTK GUI'd version to download movies from the camcorder and still pictures from the camera (a single united program). I have been working with SaturnNights, author of avidownload, on this. I just sent him the code and procedures I followed. He will be reviewing it as his time allows, and setting up the appropriate packages for installing it in Windows or Linux along with its' dependencies. He is very busy so this will take a while. Once he has done that, he plans to post it on sourceforge with the saturntools. Until such time, I can send the code and executables along with a crude readme detailing as best I could the dependencies, and you can try it if you want to. It won't be official though until SaturnNights has had time to do his stuff. Please be advised that at this time the program does not support all the functionality of ops or pv2-tool, but it does allow you to open/unlock the camcorder or camera, download the videos or still pictures, see the keys, and clear the videos or pictures off the device.

anewguy- 02-02-2009

I have an ISO image of an autostart CD that gives a menu to install everything for Windows. Need (1) volunteer(s) to try it and (2) some way to get a 21meg file to those who want to try it.

enigma-- 02-02-2009

I have an ISO image of an autostart CD that gives a menu to install everything for Windows. Need (1) volunteer(s) to try it and (2) some way to get a 21meg file to those who want to try it.I can host it on my googlepages for you if you want

massarosareloud- 02-02-2009

I will try out your program. And try posting it on Rapidshare.com

anewguy- 02-02-2009

I will try out your program. And try posting it on Rapidshare.com I did test and debug it now at home, but would like to get it to you. I went to rapidshare.com and to the "free" part, but it wants me to login, and the only account that I see I can create anywhere on the site is a premium account, which costs some money. I have no money - I need something completely free. I did find something else to try, but I have never used it before either. See if this link will get you the ISO image: http://www.4shared.com/file/84490085/5862e333/cvsinstall.html Dave :) EDIT: had to change link as somehow 4shared forgot my account and I needed to change the updated file name. This link should work.

enigma-- 02-02-2009

that 4shared link works well. i extracted it and got some files that i could read

anewguy- 02-02-2009

that 4shared link works well. i extracted it and got some files that i could read Were you able to run the ISO (using something like magicdisk or magiciso)? Were you able to run the executables (their in c:\cvs)? Were you able to build the executables? Thanks! dave :)

massarosareloud- 02-02-2009

I'm trying it right now. You must have done something wrong, I have a free account with rapidshare. Oh well. I'll get back to you after I try it.

massarosareloud- 02-02-2009

I can sum it up in one word: Confusion :?: :?: :!: :?: :!: :?: :!: :?: :!: :?: I did what you said. Installed this, pointed this to the installation directory. Then I finished it. Now what. So I went to the program files directory (c:/program files/cvs) I tried all three of the MS-DOS apps, two said missing libgoboject-2.0-0.dll One said Found 5 busses (Interesting, I only have 4 busses?????). So I went to start, nothing. Huh. What am I doing wrong. You really need to add a detailed readme, or self installer. I did however look through the directories. It looks like you put a lot of work into this. It looks awesome, I see all these files which I recognize from other assorted programs, compiled into ONE program. Nice!!! I would really like to try this out, any ideas what I'm doing wrong? ~~~~~~ I would like an compiled web page, like from FrontPage. You know, installer unzips everything. Internet page pops up and saysInstall This First. Here's How:........ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ I feel like I'm being a bit critical. Don't take it the wrong way. Things are kindof hard right now.

anewguy- 02-02-2009

Well, I already know your problem. There is something about it in the readme that it says to read first. The installer builder program I used (it was free) did not allow me to specify a default installation folder - it uses a default of c:/program files/cvs and c:/program files/gtk which is incorrect. As noted in the readme, the cvs installation needs to be to c:/cvs, and the gtk installation needs to be to c:/gtk. No harm. Just use Windows Explorer and delete the c:/program files/cvs folder and the c:/program files/gtk folder. Next run the installation again, this time only for cvs and for gtk. For each of these, when the installer asks for the installation folder DO NOT take the default - force cvs to c:/cvs and gtk to c:/gtk. After that the exe's, etc. should all be under c:/cvs. Cvscl.exe is the command line version (as far as number of busses - watch for any hubs or "hidden" busses such as one some printers, card readers, etc.). Cvsgtk.exe is the GUI'd version, but please follow the readme and run cvsgtk.bat, as an environment variable needs to be defined. After you've done all of that, post back with your results. I completed deleted c:/cvs, c:/gtk. c/mingw and c:/msys and used add/remove programs as well for mingw and libusb, so I had a "bare" system when I tested the ISO image - it worked for me. I also went back to bare and took the defaults - it resulted in the same error you had, so just follow what I said above to fix it. Things to remember: - read the readme first, the first entry on the menu - when installing cvsutil override the default installation folder and use c:/cvs - when installting gtk override the default installation folder and use c:/gtk - when executing the GUI version, cvsgtk.exe, run the cvsgtk.bat file to run it as it needs to set up an environment variable - if you run cvscl.exe with no camera plugged in, you will get an error message Hopefully this should solve things for you. I also appreciate all of the input, but keep in mind I wasn't even going to do this - I just did the code and SaturnNights was going to make the installer. I know he is BUSY, so I made this attempt myself. Also, I don't want to take too much time, as these cameras have been around a long time now and there aren't all that many people using them this way to begin with. Add to that the comments that have been made about Pure Digital possibly getting out of the one-time use cameras to focus more on the Flip, and you can see it's not worth a ton of effort. I know things aren't clean, and considering my background that is important to me, but not important enough in this very limited use product. Dave :) edit: Please bear with the lack of backslashes. I even tried double backslashes - what gives that they show in the preview but not in the final post? EDIT-EDIT: please let me know how that works out for you. I think the readme that is the 1st menu option in the installer should contain the basics of what you need. Please keep me posted! :)

anewguy- 02-02-2009

UPDATE: I found a shareware installer builder that allows me to specify the output folder, so now you can just take the defaults and everything is ok. I have tested this entire process on my PC with no problems. I even deleted the 2 executables (c:/cvs/cvscl.exe and c:/cvs/cvsgtk.exe) and using everything that was installed (including the batch files to compile them) I recompiled both versions and they work fine. So, ignore the previous post if you re-download the ISO. The readme has been changed accordingly - please still read it first, it's the first option on the installation menu. For completely new users: If you have never hooked up your CVS camcorder or CVS digital camera to Windows before, you will need the driver files. They are not included in this download but there are instructions on the web, plus I can email mine to you if you need them. Hope this helps! Dave :) btw - for those who may want to know: the main cvs utility, including it's source , compile batch files, executables (and the batch file for cvsgtk) are all in the following directory structure: c:/cvs => executables, .saturn key file, 2 image files used by the GTK version, the 2 folders for holding pictures and videos - pv2_pics and saturn_vids, the batch file used to execute the GTK version (cvsgtk.bat). c:/cvs/cl_only => those routines that have been modified for use in the command line version only, and the build batch files. c:/cvs/common => the code that is common between both the command line and the GTK versions c:/cvs/gtk_only => those routines that have been modified for use in the GTK version only, and the build batch files. c:/cvs/misc => completely outdated readme files. This folder needs to be reworked to include the authors, GPL licensing, etc., plus another readme for details on the project. Please note: the cvs folder is common to both Windows and Linux. For Linux, you must install the GTK development package and the libusb development package. The shell scripts for building the programs is in the corresponding type folder, just like the Windows ones. This code (the cvs structure) will run in Linux, but you also need to put the .saturnkeys file, the pv2_pics folder and the saturn_vids folder in your home folder. The environment variable CVSUTIL must be defined and pointing at the root cvs folder. This is all the best I can do for now. When I feel like allocating more time to it I will improve things. For now, the GUI version does not have all the functionality of ops or pv2fetch. As demand and time allows I will work with someone familiar with those portions of the original code to try to include it. There are "hooks" built in right now for expansion via the "extra funtions" menu that appears when the camera is found, opened and unlocked. Dave :) EDIT: Also, if someone know of a LEGITIMATE work from home opportunity in the U.S., please let me know. My ongoing problems with my voice cost me my temp IRS order entry clerk from home job, and I REALLY need a paycheck to suppliment my Social Security Disability! Thanks! EDIT: At some point in the future I do plan to change the coding so that for Linux the .saturnkeys, pc2_pics, saturn_vids, etc., are all in a folder of "cvs" in the user's home folder. That way everything will be the same in Windows and Linux, and I can eliminate the need for environment variable needed to run the gtk version correctly. hopefully I will find time for this change sometime in the next few days, then I will repost everything. Any SMALL changes needed can be alerted to me and I'll try to do them as well. Maybe I'll find time to do the documentation that needs to go in the /cvs/unified_cvs_code/misc folder also. :)

massarosareloud- 02-03-2009

Well my PC took a crap. I can't really try it out right now. I got a lot going on. Sorry Dave. Maybe I'll try it in a little bit.

anewguy- 02-03-2009

Well my PC took a crap. I can't really try it out right now. I got a lot going on. Sorry Dave. Maybe I'll try it in a little bit. Not a problem!! Appreciate someone other than me trying it! Dave :)

anewguy- 02-04-2009

Seems when I moved the update up it got the name confused, so until I figure out how to change it, here's a link that should work for now. Somehow 4shared forgot my account so I had to set up a new one to get this straightened out: http://www.4shared.com/dir/12449388/c1e1619/sharing.html Dave :)

anewguy- 03-07-2009

I have an updated version of all this with html "readme" for the install and it eliminates the "ghost" window in Windows. If anyone needs this app please pm me. Dave :)

Forumer™ is Voted #1 Free Forum Hosting provider
Build your own community today with the largest message board hosting company.