Personal View site logo
Control your GH3 from a Web Browser - Now with video !
  • 156 Replies sorted by
  • I hope sometime to be able to set focus points in camera, like those some wireless ff keep in memory, and the camera to focus without gaps through wifi (for shooting video). Probably this would be a hack in firmware of the camera in combination with the wifi remote control. I don't know :(

  • Hi,

    After I saw the great efforts from lenuisible, I remembered my old VB6 program from 2001 (13 years ago!) to control my beloved Casio QV3000.. I thought "why don't I adapt the program for Lumix cameras?".. Then I went into the code and changed the software..

    I have a Lumix FZ1000 but it should work with variety of lumix cameras with wifi capabilities. I don't know how zoom or focus work with interchangeable lens cameras, if you try, then let me know..

    It is a quick and dirty version, for now:
    no live view, 
    no picture preview or download, 
    you have to enter your camera's IP address manually
    You can only change focus, zoom, aperture, iso, shutter speed and exposure compensation
    you can shoot video and take pictures.
    error checks are not complete, so sometimes (but not frequently) it hangs.
    

    ...But my software was for a different purpose.

    You can record commands (like recording macro in Excel), then play them back as many times as you want. For example, you can record the following actions: 1. change focus a little bit 2. take a picture.

    then you can repeat this sequence 10 times .. and you got a bunch of pictures ready to blend for focus stacking..

    You can also use the program for video to adjust the focus at specific times. Just rehearse the scene and record the focusing actions, then repeat the sequence for the real video..

    You can download the program from http://www.dijitalakademi.com/lumixcontrol.zip

    You can save the sequences, and you can merge saved files, or repeat those files one after another. For example if you make a timelapse, you can change the camera settings after 7:00 pm to adjust the low light..

    The image below is a small help for the program.

    And you can watch a short video from here: http://www.dijitalakademi.com/P1640788.MP4 which is shot by the program after I recorded the actions. You can fine tune the action timings after you record them.. It generates this file (if you save the sequence)

    length of action (ms) | delay between two actions (ms) | action
     234 | 2730 | Record Start
     1400 | 3401 | Focus Tele Fast
     3400 | 3400 | Focus Tele Slow
     3588 | 3121 | Focus Wide Slow
     1731 | 3167 | Focus Wide Fast
     62 | 0 | Record Stop
    

    you can tweak every number after you record it, so you can precisely fine tune the focus, timings etc.. If you lower the values above the focus buttons, you get smoother focus transitions.. but lower than 50 might cause the program to hang. If it happens, simply kill the process and relaunch it. Remember, the distance between camera and computer (if you use direct connection) or router (if you use your network) greatly affects the performance of the program.

    Enjoy...

    Regards,

    Melih

    lumixControl.jpg
    1034 x 873 - 513K
  • Case pips are focus stacking, an easy way to blend the images in PS CS4 and up =)

  • @Paroma: Actually my script trig a slow focus move and a picture every 250ms. But that was set arbitrary as it way fast enough for my use. As the camera can do 12fps, it guess it could go as fast as 90-150ms per focus+capture but I don't think it is necessary as with the actual speed, lets suppose you want 20 pictures for a stack which is huge, it would take only 5sec to proceed.

    The only drawback I found to this approach is that focussing range give a lower depth of field then moving the camera (As it is limited to the focus range, rather than the tripod range.) However the result is awesome as the camera is absolutely steady.

    You can open my web page, without connecting it to the camera first. You will see how it works. It run in a batch also. So in the web page you set the interval between two focus stacked picture. This is handy for video or for panoramas...

  • @maxbogue: this sounds very interesting! How fast can the FZ1000 shoot with your script? I mean how much time does it take i.e. to take 10 shots at different predefined focus settings? I do panoramic Gigapixel photos, sometimes with focus stacking. speed would be important in that case.

  • With my G6 I've had the same problem. Maybe I've to "ping" the camera during the live view?

  • Does it work well with a G6 ?

  • Yes, it works with the GH4. I'm currently add new features to my pure JAVA app (see code here -> https://code.google.com/p/iunxtio/ ) but running still in the timeout issue. After some seconds I got Socket Timeout exceptions:

    25.08.2014 18:20:31 de.olumix.iunxtio.gui.LiveViewPanel startLiveView INFO: java.net.SocketTimeoutException: Receive timed out

    Maybe somebody has an idea how to fix it - I would rather concentrate on new feature :-)

  • Probably yes

  • is this working with the GH4?

  • This thread is very interesting! I was hopping to use the remote focus command to perform focus stacking on my new FZ1000. However the network doesn't seems to be working as the GH3, it seems that I absolutely need to do a direct link with a smartphone. Anyone knows if it is possible to remote control the fz1000 with this method?

    -Update: After playing a little bit more with the thing, I figured out that just needed to use a wireless laptop and do a direct connect rather than using my home network. The IP address of the FZ1000 is 192.168.54.1, I don't know if it is the case for all FZ1000... Most commands from the GH3 works, except that I will have to update some list with the actual FZ1000 possible values. (Ex ISO 125). Thanks a lot for sharing, very good stuff!

    -Update: I have very few knowledge in javascript. I think I managed to do something interesting so I tough it would be a good idea to share. Feel free to improve my solution for focus stacking. So here how it works:

    1-First start the Controls.html, then focus_stack.html. (Or you can add it as another Frame.) 2-Adjust your focus manually. (Not too far to start because the script goes in that direction.) 3-Adjust the number of shots per images. This is the number of shot to stack to make a picture. Note that at this time, the focus range is either normal or fast, so if you need the whole focusing range, you will need to increase this value. If you want less shots per pictures, edit the file focus_stack.html to set the speed to _fast instead of _normal. 4-Adjust the interval per image. This is the time between multiple picture. Example if you want to make a movie out of it. If you just want one picture, set this number very high, ex: 999999. 5-Click Start Focus Stacking. 6-Click again to stop when enough sample are capture.

    Don't forget if your address is different then 192.168.54.1 to edit the address in focus_stack.html. I made a global variable to have to change it to only one place...

    Enjoy!

    -Update: I forgot to mention, make sure to use electronic shutter when using my script as it can produce a large amount of pictures!

    focus_stack.zip
    2K
  • @yasdfgr you can look at the 3rd post on 1st page, the "Network Capture" part. A rooted android device seems the simplest way.

  • I tried it with the Panasonic HC-V727 and it works!! I also added some missing commands, like record stop. But LiveView ist not working. Maybe it streams another video format. What can i do to determine what format is used?

  • @maxr Got it!!! Thanks! Stupid thing is I've connected to this camera via wifi a million times but I never new where to look. :-)

  • @andrevanberlo Do you mean the GH3's IP?
    System Preferences - Network - here it will show below the status when connected to camera's wifi.
    Also if you click in the Advanced buton and then go to TCP/IP tab =)

  • @lenuisible Looks like a great app! I'm interested in trying this but I can't find my gh3's ip address. I've used ip scanner and network utility but no luck.

    Does anyone know how to find this ip on a mac?

  • @Zaphod no, you have to download "testLumixLinkv04.zip", unzip it, etc... You can also look at @Lufthummel code at https://code.google.com/p/iunxtio/

  • Would very much like to download this, but having an epic fail. I appreciate that the code is in the LumixLink_stillCapture.jpg which needs to be renamed to .zip but not getting anything that can be unzipped. Any chance you could upload the code to a project on bitbucket or github?

  • Hellouuuu! I got my new GM1 and tested your nice LiveView. But LiveView will stop after some seconds. I must click "Connect"-Button again to reactivate LiveView. BUT "shutter release" button works always! hope this helps.

  • Some updates here on the protocol changes:

    Setting of the focus has changed: instead of the value 1024 for near and 0 for infinity focus it now seems that the range is 65535/0.

    The GET-Requests for focus are not working: http://ip/cam.cgi?mode=camctrl&type=focus&value=wide-fast ist not working and you are not getting any results until you press the shutter button on the camera. Response is : err_reject,5693464,5693444

    Same for wide-normal, tele-normal, tele-fast. But sometimes these commands seem to work . Live View is extremely slow, a lot of timeouts occur (both direct connection as well as if the G6 is part of my network).

    Other GET commands seem to work but sometimes I've strange reactions on the camera.

    Really interesting is the ping: <10ms on Windows or Android phone, >1800ms on OSX Maverick...

  • Warning to all G6 users - do not install the latest firmware update 1.2! WiFi connection is even worse than ever. I'm not able to get a stable connection which lasts more than a few seconds!

    And they changed (!!!) the protocol so ImageApp, Lumix Link and my own App are not working correctly in the moment.

    Be aware of that!!

  • Currently I'm just re-implementing what you have already coded in your HTML page. I think this covers already most of the functionality which can be controlled remotely. I have also installed Wireshark which was helpful to get an idea about the UPnP traffic - but the CLING workbench is much better for it (http://4thline.org/projects/cling/). Next after coding basic functionality I try to understand what the UPnP services can really do.

    But thanks for your offer and I'll come back to you for sure :-)

  • @valdi99 Thanks for testing and confirming that it works the same with the G6

    @Brian_Siano & @Psyco what you’d like to achieve is doable but the challenge will be to have smooth rack focusing because there is only 2 speeds available, and obviously those 2 speeds depend on the lens used. The slow one can be really slow, and you will be limited by the number of commands you can send to the camera with it staying up to speed.

    You could also use the "touch to focus" to memorize the different focus point you’re interested in, but I didn’t clearly understand what the value sent means when you touch the screen somewhere, it needs more work.

    @Lufthummel Thanks for working on this, it’s great to see someone looking into it. Do you have a way to capture the traffic between the camera and the app, or are you only using what’s provided in the html code ? Don’t hesitate to ask me if you need something, It may take some time as I may have to get my access point and switch out of the closet, but it’s doable during the week-end. Rgds

  • I can confirm aperture working, live view working and shutter release working, OS mavericks here.
    Thanks @Lufthummel, @lenuisible and all of you guys for the hard work =)

  • Here is my first (pre-) Alpha Version of my application available: https://code.google.com/p/iunxtio/

    The source is under the Apache License. In the moment the application is very chatty, and the structure not yet finalized. But I'll do my best to add all basic features in the next weeks. Any help is very appreciated!

    You will find a super JAR on the Wiki Tab (Downloads). To build from source best way is to use Maven, a Pom is part of the source. To start the program just type in: java -jar "name of jar file" on the command line. Start your Lumix and connect to your network. In the menu of the application just select "Connect". In the moment only LiveView, Shutter and Aperture are working. Please click on "Get Lens Info" to get the allowed aperture values.

    And keep in mind - this is currently just the prototype.

    You should also notice a lot of information in your terminal during the run of the application. This will be removed in later versions.

    enjoy!

    @lenuisible: thanks for your excellent effort, and I take some of your code as base for my program. If you dislike post me a note and I'll remove your code.