Page 1 of 1

Documentation for USB PTP Control

PostPosted: Thu Oct 24, 2019 10:15 pm
by Pyrate
Are there any resources on how to tap into this new feature in the new firmware?

Re: Documentation for USB PTP Control

PostPosted: Fri Oct 25, 2019 9:55 am
by MarcusWolschon
Looking for that too.
(So I can program a microcontroller to get old BMPCC LANC hardware working on the BMPCC4K again.)

Re: Documentation for USB PTP Control

PostPosted: Sun Oct 27, 2019 6:21 pm
by zapteam
Me too!

Re: Documentation for USB PTP Control

PostPosted: Wed Oct 30, 2019 10:15 pm
by dzed
We are working on Dragonframe integration.
Here is what I'm seeing with the BMPCC 4K and 6.6 software update:

OPERATIONS
0x1001 kGetDeviceInfo
0x1002 kOpenSession
0x1003 kCloseSession
0x1004 kGetStorageIDs
0x100E kInitiateCapture
0x1014 kGetDevicePropInfo
0x1015 kGetDeviceProp
0x1016 kSetDeviceProp
0x1018 kTerminateCapture
0x101C kInitiateOpenCapture

NOTICE: Missing GetObjectInfo, GetObject, GetPartialObject, etc. No way to to retrieve images/videos from media.

PROPS
0x5001 kpropCodeBatteryLevel
0x5002 kpropCodeFunctMode
0x5003 kpropCodeImageSize
0x5007 kpropCodeFNumber
0x5008 kpropCodeFocalLength
0x5009 kpropCodeFocalDist (not controllable?)
0x500F kpropCodeExpIndex (ISO)
0x5011 kpropCodeDateTime
0xD001 2 * current fps?
0xD002 shutter angle * 100
0xD003 focus (controllable) 0-65535
0xD004 color temp
0xD005 tint
0xD006 fps * 100
0xD007 off speed frame rate?
0xD008 off speed frame rate enabled ?(0 off, 1 on)
0xD009 zoom 0-65535
0xD00A busy recording?

It would be great, of course, to be able to download images and videos that are recorded into the media.

It would be even more amazing if BMD would provide a "live view" command to get a viewfinder JPG. This would allow us to use these cameras the way we use most DSLRs.

Re: Documentation for USB PTP Control

PostPosted: Thu Oct 31, 2019 2:09 am
by Pyrate
I am more interested in just basic gimbal controls.

Re: Documentation for USB PTP Control

PostPosted: Thu Oct 31, 2019 2:50 pm
by dzed
Pyrate wrote:I am more interested in just basic gimbal controls.


Well, what I listed is the set of available PTP commands and properties. PTP is a protocol to control the camera, not to control a gimbal.

I'm not sure what you think the USB PTP functionality is supposed to do.

Re: Documentation for USB PTP Control

PostPosted: Thu Oct 31, 2019 3:12 pm
by MarcusWolschon
Indeed. It allows the gimbal to control the camera remotely via it's own control elements.

What I miss is a way to start and stop the recording.

Re: Documentation for USB PTP Control

PostPosted: Thu Oct 31, 2019 3:20 pm
by dzed
For video, you use:
  • 0x101C (InitiateOpenCapture) - to start recording
  • 0x1018 (TerminateCapture) - to end recording
  • and the property 0xD00A goes to "1" when it is recording.
You should get a PTP event 0x4006 (property changed) with 0xD00A as the value when recording status changes.

For still images, you use 0x100E (InitiateCapture)
Then you get an event code 0x400D (capture complete) when it has finished.

Re: Documentation for USB PTP Control

PostPosted: Wed Sep 16, 2020 12:06 am
by jorbedo
Please, where can I find those commands, camera manual?, BMPCC 4K sdk (Any link available?) thanks.

Re: Documentation for USB PTP Control

PostPosted: Thu Dec 10, 2020 3:03 pm
by da8iwr
Hi there, did anybody get this info? We are wanting to make software that can retrieve the media from the card on an Ursa mini 12K.

Cheers