CHDKPTP: ptpCamGUI 2.0 versus Canon's RemoteCapture DC - page 2 - RAW Shooting and Processing - CHDK Forum

CHDKPTP: ptpCamGUI 2.0 versus Canon's RemoteCapture DC

  • 68 Replies
  • 13054 Views
*

Offline SticK

  • *****
  • 779
Re: CHDKPTP: ptpCamGUI 2.0 versus Canon's RemoteCapture DC
« Reply #10 on: 20 / August / 2012, 08:57:42 »
Advertisements
Thank you for the detailed explanation & link.  From the bird's eye view, I see that you are providing extra viewfinder transfer features that RemoteCapture does not, such as the ability to view play mode and overlay the UI, and from a user's perspective, and those modes may be "interfering" with each other, for now.

A quick comment while I set up to get the data you request.

Let us begin with RemoteCapture.  RemoteCapture viewfinder is the "standard" 320x240, ie 4/3. I've used this for many years and with the S50 (and I think also with the SX110) it gives the same aspect ratio as a high-resolution shot photo.

I agree thus the live image in CHDKPTP has to be scaled. 

Please refer to my attachment again.  I wrote "240" on the left because I eyeballed and did not measure.  RemoteCapture *is indeed* 240, but CHDKPTP here is 244 (close but not exact).  So neither X nor Y are correct.

Notice in my attachment I had [Scale for A/R] checked.  If I uncheck it, the entire viewport shrinks which results in a live image height of 216 (worse instead of better), ie 360x216. 

With respect to "tearing" I showed you, I beg to disagree.  The scene was completely still when I took the screen shot.  I think the "tearing" in this case occurs due to incorrect A/R.  Please comment.

Yes, I am willing to test, for the benefit of both of CHDKPTP and my project.  I think for that the forum may not be needed, and it might be more expeditious to handle this over email.  If you agree reyalp, how can we exchange addresses?

*

Offline SticK

  • *****
  • 779
Re: CHDKPTP: ptpCamGUI 2.0 versus Canon's RemoteCapture DC
« Reply #11 on: 20 / August / 2012, 09:53:36 »
Additional info to my previous message.

For the SX110, the viewport is 360x270, the correct A/R of 4:3.  Here's what happens ... In record mode the live image is 360x244.  When I take a shot, the saved image in the transient play mode shows up for a second as a "correct" 360x270, ie 4:3.  But as soon as the camera goes back to record, the live image is again 360x244, but now with the bottom artifact changed to what you see in this new attachment.

Hope this helps.

*

Offline reyalp

  • ******
  • 12370
Re: CHDKPTP: ptpCamGUI 2.0 versus Canon's RemoteCapture DC
« Reply #12 on: 20 / August / 2012, 12:42:17 »
Let us begin with RemoteCapture.  RemoteCapture viewfinder is the "standard" 320x240, ie 4/3. I've used this for many years and with the S50 (and I think also with the SX110) it gives the same aspect ratio as a high-resolution shot photo.
Right, this means that RemoteCapture either uses a different buffer, or scales as part of the process.
Quote
With respect to "tearing" I showed you, I beg to disagree.  The scene was completely still when I took the screen shot.  I think the "tearing" in this case occurs due to incorrect A/R.  Please comment.
Sorry if I wasn't clear. I wasn't saying that what showed on your screen was tearing, I was just pointing out another artifact you are likely to see.
Quote
For the SX110, the viewport is 360x270, the correct A/R of 4:3.  Here's what happens ... In record mode the live image is 360x244.  When I take a shot, the saved image in the transient play mode shows up for a second as a "correct" 360x270, ie 4:3.  But as soon as the camera goes back to record, the live image is again 360x244, but now with the bottom artifact changed to what you see in this new attachment.
It sounds like sx110 is one of the cameras that has a different height in record mode. There are a few other cameras where playback is 240 but record is 230. Can you do one of the following so I can get the exact dimensions:
1) get a live view dump using the "quick dump" button (on the debug tab next to statistics) and upload the file somewhere.
2) Take a screenshot with 'Scale for A/R' unchecked.
The first is preferred.

Another question is whether the height depends on some other settings, like the shooting mode.

Another unrelated note: chdkptp might behave badly if the "target FPS" is higher than the actual FPS your system can achieve. This is *not* related to the viewport issues you are seeing, it's more likely that the UI will become unresponsive. This seems to be more of an issue on linux than windows.
Don't forget what the H stands for.

*

Offline SticK

  • *****
  • 779
Re: CHDKPTP: ptpCamGUI 2.0 versus Canon's RemoteCapture DC
« Reply #13 on: 20 / August / 2012, 13:17:09 »
Here you go attached ... as I mentioned earlier, perhaps it fell through the cracks, that when I uncheck A/R the entire veiwport shrinks and the result is a 216 px high in the active area.   So it corrects in the wrong direction. 

If you want to keep width to 360, then height should go from 244 (checked) to 270.

Please have a look at this // in the meantime I will get the file you want.  Can we do this over email?


*

Offline SticK

  • *****
  • 779
Re: CHDKPTP: ptpCamGUI 2.0 versus Canon's RemoteCapture DC
« Reply #14 on: 20 / August / 2012, 13:33:44 »
This is the dump with AR unchecked.  360x216.

http://www.sendspace.com/file/ap3vmv

*

Offline reyalp

  • ******
  • 12370
Re: CHDKPTP: ptpCamGUI 2.0 versus Canon's RemoteCapture DC
« Reply #15 on: 20 / August / 2012, 16:41:58 »
Here you go attached ... as I mentioned earlier, perhaps it fell through the cracks, that when I uncheck A/R the entire veiwport shrinks and the result is a 216 px high in the active area.   So it corrects in the wrong direction. 
With A/R unchecked there is no correction at all, it just displays a pixel for every pixel it received, without scaling. I don't care what it looks like, I'm trying to understand what that camera (which I don't own) is doing.
Quote
This is the dump with AR unchecked.  360x216.
Thanks. The dump is the raw data stream, it's not affected by any of the display options.
Quote
Can we do this over email?
I prefer to keep discussion on the public forum.
Don't forget what the H stands for.

*

Offline SticK

  • *****
  • 779
Re: CHDKPTP: ptpCamGUI 2.0 versus Canon's RemoteCapture DC
« Reply #16 on: 20 / August / 2012, 17:17:51 »
Here is the dump with A/R checked.

http://www.sendspace.com/file/aqu3v4

*

Offline SticK

  • *****
  • 779
Re: CHDKPTP: ptpCamGUI 2.0 versus Canon's RemoteCapture DC
« Reply #17 on: 20 / August / 2012, 17:26:26 »
Here is the dump with A/R unchecked and UI checked.

http://www.sendspace.com/file/tmgdot


*

Offline SticK

  • *****
  • 779
Re: CHDKPTP: ptpCamGUI 2.0 versus Canon's RemoteCapture DC
« Reply #18 on: 20 / August / 2012, 17:38:31 »
Here is the dump with A/R unchecked and UI checked.  The viewport shrinks vertically is no longer the correct 4:3 A/R

http://www.sendspace.com/file/ou2uvp

I think with these you should have enough to know what is happening.  If need anything else, please ask.

*

Offline SticK

  • *****
  • 779
Re: CHDKPTP: ptpCamGUI 2.0 versus Canon's RemoteCapture DC
« Reply #19 on: 20 / August / 2012, 17:39:55 »
Sorry the last one was A/R checked and UI checked.

 

Related Topics