bitfocus / companion-module-bmd-hyperdeck

MIT License
10 stars 13 forks source link

Counter for CustomReelName for BM Hyperdecks #40

Open drruru opened 3 years ago

drruru commented 3 years ago

Describe the feature Hi! I wish a counter which I can increase and decrease with buttons on the streamdeck for "Custom Reel Names" The BM Counter is very useless...

Our Filenaming is: Take01_Cam_01.mov Take02_Cam_01.mov Take03_Cam_01.mov and so on....

In the Moment I do it manually in the Instance edit page. But I have 10 to 16 Cams here. I Think you now where my problem is?

Maybe you have some idea if this is doable?

Thanks in advance, best regards, Andi

Usecases Add a couple of usecases for why this should be implemented and when/why to use it.

josephdadams commented 3 years ago

Transferring to the hyperdeck module repo.

krocheck commented 3 years ago

Hi @drruru I can totally see the issue here, but bear in mind that the HyperDeck is always going to add -[0000] to the filename (at least with the Mini that I've tested against). If I were DIT on set, I'd set the custom reel to Cam_01_Take such that the resulting filenames will be Cam_01_Take-[0000].mov, Cam_01_Take-[0001].mov, etc. based on each time record is started. While not impossible, its not easy to increment a number in the middle of the string because we'd have to make a replacement rule and a bunch of stuff to save the background value since you wouldn't want the value to reset to 0/1 if Companion crashed in the middle of a shoot.

If you're being dictated that file naming convention, then I see how you need this to work better for you. But if you have flexibility to reverse the naming then its easier to do. Even with something like a PIX or AJA, I think you'd be locked into Reel_x-Clip_Y convention where the incrementing value is the last number on the chain, meaning you'd be locked into how I'm suggesting adjusting your naming. But, I haven't used a PIX in a while and only the older KiPro, so I could be wrong.

josephdadams commented 3 years ago

You’re not wrong on the KiPro. It works the same way.

@drruru you could always download all the clips at the end of the day and write a script that renames them all for you on whatever drive you’re storing them on.

thumperdisney commented 2 years ago

I have a similar issue, using 9 hyperdeck minis I need to be able to use a variable in the middle of a filename such as: Race 15 20220125 14:17 where the race# (15 in this case) is a variable that can be set. There might be multiple recordings for each race which the date/time stamp corrects for. I can use a custom variable easily enough but I'd rather not have to make a button for each race record instance as I might have up to 20 races on each of 9 hyperdecks and with a variable I can initiate the recordings with only 3 total buttons: $raceNum up, $raceNum down, and record using $raceNum, date, time for name. Is there any way to set the recording with a variable in the name field?

thumperdisney commented 2 years ago

Another thought on this is if I could change actions based on a variable, for instance, if $raceNum=1 then hit and release page 20 button 1, if $raceNumber=2 then hit and release page 20 button 2 and so forth and then I can build each of the "page 20" buttons to record using the correct filename. It's clunky but should work except that I don't see any way to compare variables on the push of a button to affect the action taken. In reality, with this method I should be able to use $raceNum as the button number as well. From what I've seen so far, variables are not implemented info companion very well at all. If all I can do with a variable is change the text on a button that is kind of useless really.

LikeThisReview commented 1 year ago

Sorry if I misunderstand. If you want a variable in the file name then you can use action 'hyperdeck: Record (with name) and Filename without extension {a combination of strings and variables} For example, HD1-$(internal:custom_HD_CODEC_NAME_REC) $(internal:custom_INPUT_VIDEO_FORMAT) There is also hyperdeck: Record (with name and current/date/time) with optional Filename.

If you want to increase a counter (to be inserted in file name) then add an action "set variable with expression", before the Record action.

In case you want to add the variable to the meta date (Slate clips, slate project) then this is not yet supported. See #77 from PhotoJoseph.