Pages: Prev 1 [2]   Go Down
  Print  
Author Topic: Added sequence number to RAW file name within bracketing mode  (Read 2395 times)
0 Members and 1 Guest are viewing this topic.
Microfunguy
Developers
Guru Member
****
Offline Offline

Posts: 1946


« Reply #15 on: 13 / October / 2008, 12: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.
Logged
PhyrePhoX
Global Moderator
Guru Member
*****
Offline Offline

Posts: 2265


make RAW not WAR


« Reply #16 on: 13 / October / 2008, 12: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)
Logged

Microfunguy
Developers
Guru Member
****
Offline Offline

Posts: 1946


« Reply #17 on: 13 / October / 2008, 13: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
Logged
PhyrePhoX
Global Moderator
Guru Member
*****
Offline Offline

Posts: 2265


make RAW not WAR


« Reply #18 on: 13 / October / 2008, 13:33:12 »

hm ur right, didnt check your prefix.
Logged

reyalp
Guru Member
******
Offline Offline

Posts: 2706


« Reply #19 on: 13 / October / 2008, 21: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.
Logged

Don't forget what the H stands for.
Microfunguy
Developers
Guru Member
****
Offline Offline

Posts: 1946


« Reply #20 on: 13 / October / 2008, 21: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.

Logged
reyalp
Guru Member
******
Offline Offline

Posts: 2706


« Reply #21 on: 13 / October / 2008, 21: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: 13 / October / 2008, 22:06:12 by reyalp » Logged

Don't forget what the H stands for.
Microfunguy
Developers
Guru Member
****
Offline Offline

Posts: 1946


« Reply #22 on: 13 / October / 2008, 22: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
Logged
Microfunguy
Developers
Guru Member
****
Offline Offline

Posts: 1946


« Reply #23 on: 14 / October / 2008, 00:51:56 »

I think he can upload but not save them.


He has solved the problem, it works fine.
Logged
Pages: Prev 1 [2]   Go Up
  Print  
 
Jump to: