Arduino Shield Record trigger commands via SDI???

Ask software engineering and SDK questions for developers working on Mac OS X, Windows or Linux.
  • Author
  • Message
Offline

Nicolie73

  • Posts: 2
  • Joined: Wed Mar 28, 2018 10:38 pm
  • Real Name: Nick Jones

Arduino Shield Record trigger commands via SDI???

PostWed Mar 28, 2018 10:49 pm

I looked through the documentation and could not locate a Record or RecPause command? will like to initiate these commands via shield to Panasonic cameras and recorders via TYPE 3 format similar to the NLEs like Avid.

thanks
Offline
User avatar

Xtreemtec

  • Posts: 5391
  • Joined: Wed Jan 02, 2013 11:48 am
  • Location: The Netherlands

Re: Arduino Shield Record trigger commands via SDI???

PostThu Mar 29, 2018 11:23 am

No it wont.. Would be a nice feature if it could do that.. But at the moment it can only send and receive SDI data in a specific ANC data block 50 (by head) Which is used by BMD as there control data block.

So you can only trigger the direct command for record for the Ursa minis ;)
Daniel Wittenaar .:: Xtreemtec Media Productions ::. -= www.xtreemtec.nl =-
4K OBV Trailer, ATEM TVS HD, 4M/E Broadcast Studio 4K, Constelation 8K, Hyperdeck Studio 12G, Ursa Broadcast 4K, 4K fiber converters with Sony Control
Offline

Nicolie73

  • Posts: 2
  • Joined: Wed Mar 28, 2018 10:38 pm
  • Real Name: Nick Jones

Re: Arduino Shield Record trigger commands via SDI???

PostThu Mar 29, 2018 4:45 pm

too bad... thanks for info.
Offline

rolfis

  • Posts: 2
  • Joined: Wed Sep 04, 2019 2:27 pm
  • Real Name: Rolf Johansson

Re: Arduino Shield Record trigger commands via SDI???

PostThu Sep 05, 2019 7:30 am

Excuse me for hijacking, but I have a similar problem using the Arduino Shield and Ursa Mini. What is actually the "record command" for the Ursa Mini and how do I send it over SDI? Any pointers to documentation or hidden features would be greatly appreciated. ;)
Offline
User avatar

Xtreemtec

  • Posts: 5391
  • Joined: Wed Jan 02, 2013 11:48 am
  • Location: The Netherlands

Re: Arduino Shield Record trigger commands via SDI???

PostThu Sep 05, 2019 4:43 pm

Check the SDI documentation.

Record is mentioned in the command table.
Daniel Wittenaar .:: Xtreemtec Media Productions ::. -= www.xtreemtec.nl =-
4K OBV Trailer, ATEM TVS HD, 4M/E Broadcast Studio 4K, Constelation 8K, Hyperdeck Studio 12G, Ursa Broadcast 4K, 4K fiber converters with Sony Control
Offline

rolfis

  • Posts: 2
  • Joined: Wed Sep 04, 2019 2:27 pm
  • Real Name: Rolf Johansson

Re: Arduino Shield Record trigger commands via SDI???

PostFri Sep 06, 2019 12:42 pm

Xtreemtec wrote:Check the SDI documentation.
Record is mentioned in the command table.


Sorry for not finding it, but do you mean the section "SDI Camera Control Protocol"? I've looked through tables with Lens, Video, Output, Display et cetera, but can't find any for "Command". Recording is mentioned in Media/Transport Mode but this is to my understanding only configuration commands.

/Rolf
Offline
User avatar

Xtreemtec

  • Posts: 5391
  • Joined: Wed Jan 02, 2013 11:48 am
  • Location: The Netherlands

Re: Arduino Shield Record trigger commands via SDI???

PostMon Sep 09, 2019 3:59 pm

That is the only reference i know off where is talked about Record.

But looking at it again indeed only seems to put the camera in that mode. But no function found to actually start recording. :roll:
Daniel Wittenaar .:: Xtreemtec Media Productions ::. -= www.xtreemtec.nl =-
4K OBV Trailer, ATEM TVS HD, 4M/E Broadcast Studio 4K, Constelation 8K, Hyperdeck Studio 12G, Ursa Broadcast 4K, 4K fiber converters with Sony Control
Offline

mark_rodkin

  • Posts: 3
  • Joined: Wed Sep 11, 2019 5:21 pm
  • Real Name: Mark Rodkin

Re: Arduino Shield Record trigger commands via SDI???

PostWed Sep 11, 2019 5:32 pm

I am also trying to send a record command via SDI to the Ursa mini 4.6k with the BMD Arduino shield. As mentioned above, the camera manual lists the following parameter: "10.1 Transport Mode - 0 - Preview, 1 - Play, 2 - Record". Can anyone confirm that this is the command we're looking for? If you can control obscure aspects of the camera like zebras and headphone level via SDI, surely Blackmagic would have included recording as well? (I hope?)
Offline
User avatar

Xtreemtec

  • Posts: 5391
  • Joined: Wed Jan 02, 2013 11:48 am
  • Location: The Netherlands

Re: Arduino Shield Record trigger commands via SDI???

PostWed Sep 11, 2019 7:01 pm

That other thing like zebra and stuff might been included due too some control stuff from a touch device or something..

But i think we have to wait for a real record command by SDI if it will come to that in the end.

You can always use LANC locally to trigger the record. ;)
Daniel Wittenaar .:: Xtreemtec Media Productions ::. -= www.xtreemtec.nl =-
4K OBV Trailer, ATEM TVS HD, 4M/E Broadcast Studio 4K, Constelation 8K, Hyperdeck Studio 12G, Ursa Broadcast 4K, 4K fiber converters with Sony Control
Offline

mark_rodkin

  • Posts: 3
  • Joined: Wed Sep 11, 2019 5:21 pm
  • Real Name: Mark Rodkin

Re: Arduino Shield Record trigger commands via SDI???

PostWed Sep 11, 2019 10:57 pm

Yeah, looks like I'll have to give up on the BMD SDI shield and go that route. Thanks!
Offline
User avatar

Xtreemtec

  • Posts: 5391
  • Joined: Wed Jan 02, 2013 11:48 am
  • Location: The Netherlands

Re: Arduino Shield Record trigger commands via SDI???

PostSun Sep 15, 2019 3:45 pm

@Mark,

I have seen a demo on the IBC now from BMD that does trigger the Record on the Ursa cameras by SDI,

But i needs some setup to to it.
You have to set Codec, which card to record to by SDI. Then transport control Record. it will start recording. Transport Control Play and it will stop recording.

But Cameron will explain the details when he is back from IBC. ;)
Daniel Wittenaar .:: Xtreemtec Media Productions ::. -= www.xtreemtec.nl =-
4K OBV Trailer, ATEM TVS HD, 4M/E Broadcast Studio 4K, Constelation 8K, Hyperdeck Studio 12G, Ursa Broadcast 4K, 4K fiber converters with Sony Control
Offline

Cameron Nichols

Blackmagic Design

  • Posts: 442
  • Joined: Mon Sep 04, 2017 4:05 am

Re: Arduino Shield Record trigger commands via SDI???

PostTue Sep 24, 2019 8:13 am

Hi Rolf,

The SDI Camera Control Protocol command to start/stop recording is 10.1 Transport Mode - write to byte [0] with values:
  • 2 = Record
  • 0 = Preview (stop record)
Regards
Cameron
Offline

JasonHead44

  • Posts: 2
  • Joined: Tue Feb 04, 2020 2:48 pm
  • Real Name: Jason Head

Re: Arduino Shield Record trigger commands via SDI???

PostTue Feb 04, 2020 2:52 pm

Cameron Nichols wrote:Hi Rolf,

The SDI Camera Control Protocol command to start/stop recording is 10.1 Transport Mode - write to byte [0] with values:
  • 2 = Record
  • 0 = Preview (stop record)
Regards
Cameron




I am relatively new to programing and I'm working on a project where we want to control record Start and Stop via SDI with the Arduino Shield. I was wondering if you would be willing to look at my code and point me in the right direction? I can't seem to get it to work and I'm not sure what to change.



#include <BMDSDIControl.h>

const int shieldAddress = 0x6E;
BMD_SDICameraControl_I2C sdiCameraControl(shieldAddress);



void setup() {

sdiCameraControl.begin();
sdiCameraControl.setOverride(true);
recordWithManualPacket();
recordWithSimpleCommand();
}

void loop() {
}

void recordWithSimpleCommand() {
sdiCameraControl.writeCommandInt8(
255,
10,
1,
0,
2
);
}
void recordWithManualPacket() {

const byte recordCommand[] = {

/*Header */
255, //Destination: All Cameras
8, //Length: 8 Bytes
0, //Command: Set and update values
0, //Source: Unused

/*Payload */
10, //Category: Media
1, //Parameter: Transport Mode
1, //Type: signed byte
0, //Operation: Assign Value
2, //Mode: Record
+1, //Speed: 1xforward
1<<5, //Flags: disk1 active
0, //Active Storage Medium: CFast Card

/*Padding */
};

sdiCameraControl.write(recordCommand);

}


Thank you for your time and patience!

Jason

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 23 guests