Author Topic: Added sequence number to RAW file name within bracketing mode  (Read 3330 times)

Offline Microfunguy

  • Developers
  • Guru Member
  • ****
  • Posts: 3027
    • StereoData Maker
Re: Added sequence number to RAW file name within bracketing mode
« Reply #15 on: 13 / October / 2008, 16:48:00 »
using ptp (gphoto on linux for example) or the canon software on windows i guess.


Hmmm ... but do we know that works ?

A friend has been working on a programme for the last two weeks to upload the RAW files via USB.

We had chosen the prefix 'STL_' (stereo left)  and 'STR_' (stereo right).

So far, we can see them but not upload them.

The Canon software does not see them.

Offline PhyrePhoX

  • Global Moderator
  • Guru Member
  • *****
  • Posts: 2254
  • make RAW not WAR
    • PhyreWorX
Re: Added sequence number to RAW file name within bracketing mode
« Reply #16 on: 13 / October / 2008, 16:51:28 »
thats because you chose a prefix that the camera normally doesnt use. see the links that reyalp provided, there is the original discussion about the filenames & ptp. in order to use raw via usb you'd have to use a given prefix, you cannot make up new ones - unless we can override the list of "allowed" stuff in the firmware (that requires that it depends on the camera - not the pc)

Offline Microfunguy

  • Developers
  • Guru Member
  • ****
  • Posts: 3027
    • StereoData Maker
Re: Added sequence number to RAW file name within bracketing mode
« Reply #17 on: 13 / October / 2008, 17:08:05 »
thats because you chose a prefix that the camera normally doesnt use

I thought you recently confirmed that the prefix we happen (by chance) to have chosen is OK ?

"well if you keep the ST[A-Z] scheme, people can download the raws without having to use a cardreader."


David

Offline PhyrePhoX

  • Global Moderator
  • Guru Member
  • *****
  • Posts: 2254
  • make RAW not WAR
    • PhyreWorX
Re: Added sequence number to RAW file name within bracketing mode
« Reply #18 on: 13 / October / 2008, 17:33:12 »
hm ur right, didnt check your prefix.

Offline reyalp

  • Guru Member
  • ******
  • Posts: 4490
Re: Added sequence number to RAW file name within bracketing mode
« Reply #19 on: 14 / October / 2008, 01:08:29 »
In my previous experiments only the extension matters for PTP listing (exception: if you use say both IMG_ and CRW_ with the same number, it confuses the listing) The prefix + number is used to delete the related files when you delete the jpeg.

Note that I only tested on one camera (a540) and certainly didn't test all possible permutation.
Don't forget what the H stands for.

Offline Microfunguy

  • Developers
  • Guru Member
  • ****
  • Posts: 3027
    • StereoData Maker
Re: Added sequence number to RAW file name within bracketing mode
« Reply #20 on: 14 / October / 2008, 01:25:29 »
In my previous experiments only the extension matters for PTP listing

Sure, but listing is one thing and uploading another.

Are you saying you have managed to upload a RAW file ?

My friend is struggling, he can save faked Nikon raw files but not CHDK.


Offline reyalp

  • Guru Member
  • ******
  • Posts: 4490
Re: Added sequence number to RAW file name within bracketing mode
« Reply #21 on: 14 / October / 2008, 01:56:14 »
Sure, but listing is one thing and uploading another.

Are you saying you have managed to upload a RAW file ?
Yes.

I just did the following:
Take raw
rename CRW_1234.CRW to XXX_1234.CRW (using memory card reader)
put card back in camera
copy XXX_1234.CRW using the standard windows XP camera interface.



FWIW, files that don't follow the PFX_NNNN.EXT format don't seem to be listed.

Which camera does he have, and which prefix/extension is he using ?
Is he restarting the cam before plugging in USB ?

edit:
correction the steps above only worked when the corresponding jpeg does not exist. If the jpeg exists, the other file is hidden. However, when a known prefix is used (CRW_NNNN.CRW) the present, then both are shown and can by copied.
« Last Edit: 14 / October / 2008, 02:06:12 by reyalp »
Don't forget what the H stands for.

Offline Microfunguy

  • Developers
  • Guru Member
  • ****
  • Posts: 3027
    • StereoData Maker
Re: Added sequence number to RAW file name within bracketing mode
« Reply #22 on: 14 / October / 2008, 02:14:08 »
rename CRW_1234.CRW to XXX_1234.CRW

I had renamed to STR_1234.crw

> copy XXX_1234.CRW using the standard windows XP camera interface.

Scanner and Camera Wizard does not see the RAW.


Quote
Is he restarting the cam before plugging in USB ?
Yes, and it is his own  WIA programme.

Quote
correction the steps above only worked when the corresponding jpeg does not exist.

Aaahh .. it does exist.

Nevertheless, his code can see both the raw and jpg files.

I think he can upload but not save them.


Strange  ...........


David

Offline Microfunguy

  • Developers
  • Guru Member
  • ****
  • Posts: 3027
    • StereoData Maker
Re: Added sequence number to RAW file name within bracketing mode
« Reply #23 on: 14 / October / 2008, 04:51:56 »
I think he can upload but not save them.


He has solved the problem, it works fine.

CHDK Forum

Re: Added sequence number to RAW file name within bracketing mode
« Reply #23 on: 14 / October / 2008, 04:51:56 »

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal