Very long delay fetching data TIMECODE using the library ClientBMDHyperdeckStudio.h and HyperDeck

4 posts / 0 new
Last post
Offline

Location

Padova
Italy
Joined: 19/03/2012
Posts: 24
Very long delay fetching data TIMECODE using the library ClientBMDHyperdeckStudio.h and HyperDeck

Hello my friends,
 
first of all I wish a Happy new 2017 to all of us !!!
 
 
 
During this holidays I am trying to do some  tests with ClientBMDHyperdeckStudio library to control a Blackmagic HyprDeck SSD recorder to do as simple as possible SLOMO controller 
 
the idea is very simple: 
 
1- HyperDeck is recording..., 
 
2 - when "the event" happens set Mark Out point,
 
3 - arduino auto set Mark In 5 secs back from Mark Out,
 
4 - when ready to play slomo arduino stop recording, load mark in, play at 1/2 speed, when at mark out stop playing and restart recording.
 
 
 
First : No problems if  the Hyperdeck can't record and play at same time, it is only a proof of concept very usefull indeed if it works !
 
Second: I use an Arduino Uno and Etherenet shield to connect the Hyperdeck. 
 
Almost everything works fine, arduino can connect, can "PLAY", can "STOP"  ecc;  "GOTO"  timecode is perfect and Hyperdeck jump at correct TC immediatly
 
but it takes almost ten ( 10) seconds to fetch the current TIME CODE from device during normal Hyperdeck PLAY state. I am using the method:
 
......
 
myTChh = hyperDeck.getTChh();
 
myTCmm = hyperDeck.getTCmm();
 
myTCss = hyperDeck.getTCss();
 
myTCff = hyperDeck.getTCff(); 
 
........
 
 
 
Is there something I should write into the code to fetch the actual TImeCode correctly  ? 
 
Where am I wrong ?
 
Anybody can help me? 
 
 
 
tank you very much in advance

Massimo
 
 
 

imorrish's picture
Offline

Location

Wellington
New Zealand
Joined: 05/01/2015
Posts: 77
Using the serial port

Not an answer although I was trying to get the time code via the TCP/IP interface. Gave up when I got a cheap DNF hardware controller whichworked well

See video

I have just start trying again with the Decklink API which supports RS422 deck control

Offline

Location

Padova
Italy
Joined: 19/03/2012
Posts: 24
Hello imorrish,   ST300 seems

Hello imorrish,
 
ST300 seems to be a great device.!!! 
On ebay now I am following an ST300 for bidding...
 
I have a questions: 
You use ST300 just to remote controll the Hyperdeck or you use the ST300 for slomo? 
You have to do all the operations manually right ? 
I mean you must Mark  IN, You you must Mark OUT, you must STOP Hyperdeck,  you must load CUE, you must START and RECORDING right ?
 
Tank's very much for the video and the suggestion !!!
 
Massimo

imorrish's picture
Offline

Location

Wellington
New Zealand
Joined: 05/01/2015
Posts: 77
Hi, yes it is all manual.

Hi, yes it is all manual. Speed control of playback also works with the leaver. Only problem is the standard issue of HyperDeck time code starting from first file on disk

Originally I picked this up 2nd hand thinking I would transpose the internal electronics for an Arduino but it worked so well against the Hyperdeck I couldn't bring myself to do that.

There is an option to have cue data input/output to a PC via serial port 4.

Another option is to use MX Light instead. Requires a TVS or H.264 Pro recorder. Supports automation from script to create and play back cue's without having to stop recording. Advantage of this approach with scripting is you can create cue, play it back and switch ATEM all with one keystroke.
Example of this in live event stream all done by single operator (including camers and graphics) 

See video

(watch from 44m25s for about 30 seconds).

I'll publish a script that enables this shortly.