Multicam Rig for Events - Step By Step Help Please!! - page 7 - Hello, I'm a NEWBIE - HELP!! (Newbies assistance, User Guides and thank you notes) - CHDK Forum supplierdeeply

Multicam Rig for Events - Step By Step Help Please!!

  • 89 Replies
  • 10289 Views
*

Offline reyalp

  • ******
  • 12208
Re: Multicam Rig for Events - Step By Step Help Please!!
« Reply #60 on: 19 / October / 2017, 23:38:51 »
Advertisements
Very cool, thank you. Two questions:
1. Should i modify the code to be 3 digits, instead of 2, since I have 14 cameras?
2 should be plenty for up to 99 cameras.

Quote
Where and how do i use the code you sent? Do i just copy and paste into command line? I’m a newb, so step by step directions are much appreciated :-)
I assumed based on previous posts that you are already using chdkptp multicam.lua. If so, you can copy the part starting with !mc and edit it to suit your needs.

The "pretend=true" part means it will just print out how the files would be named, rather than actually downloading them. So if you have some images on the cameras, you can test and adjust until it's doing exactly what you want, and then remove the pretend option.
Don't forget what the H stands for.

Re: Multicam Rig for Events - Step By Step Help Please!!
« Reply #61 on: 20 / October / 2017, 01:22:25 »
Thank you. I’ll experiment with this tomorrow :-)

Re: Multicam Rig for Events - Step By Step Help Please!!
« Reply #62 on: 20 / October / 2017, 15:14:42 »
OK, I tried the following in Command Prompt, and while it listed out all the conversions, and that the files would be in "c/temp/..." nothing was downloaded. It listed them so fast there is no way it downloaded, and I checked, there is no file named "Temp" in the root C drive. What am I missing?
!mc:download_images{dst='c:/temp/Cam${id,%02d}-${ldate,%Y%m%d_%H%M%S}${ext}',pretend=true,verbose=true}
I tried the normal Download Images command, and that worked fine, with original file names.

Also, is there a command to delete all images on all the cards? That way I can start fresh each time.
Thank you!

*

Offline reyalp

  • ******
  • 12208
Re: Multicam Rig for Events - Step By Step Help Please!!
« Reply #63 on: 20 / October / 2017, 15:59:57 »
OK, I tried the following in Command Prompt, and while it listed out all the conversions, and that the files would be in "c/temp/..." nothing was downloaded. It listed them so fast there is no way it downloaded, and I checked, there is no file named "Temp" in the root C drive. What am I missing?
!mc:download_images{dst='c:/temp/Cam${id,%02d}-${ldate,%Y%m%d_%H%M%S}${ext}',pretend=true,verbose=true}
As I said, the "pretend=true," option makes it print out what it would do, without actually doing it. Remove that to actually download the files.

Quote
Also, is there a command to delete all images on all the cards? That way I can start fresh each time.
If you want to delete the images you after downloading them, you can just add delete=true to the options.

If you want to delete all the images separately, you can use something like
Code: [Select]
!mc:delete_images_list(mc:imglist())
delete_images also takes a pretend option, so if you want to check what it would do, you can use
Code: [Select]
!mc:delete_images_list(mc:imglist(),{pretend=true,verbose=true})
Don't forget what the H stands for.


Re: Multicam Rig for Events - Step By Step Help Please!!
« Reply #64 on: 20 / October / 2017, 16:26:51 »
Thank you, I must have missed that part! Will try this later this afternoon :-)

Re: Multicam Rig for Events - Step By Step Help Please!!
« Reply #65 on: 20 / October / 2017, 22:31:08 »
OK, so it sort of worked. It downloads one photo from each camera each time enter the code. The renaming works perfectly. Then I tried it a second time, later, and it just kept downloading the same photo from each camera again and again, even though there are about a dozen photos on each camera. Any idea what's going on?

Re: Multicam Rig for Events - Step By Step Help Please!!
« Reply #66 on: 21 / October / 2017, 00:01:14 »
OK, so it sort of worked. It downloads one photo from each camera each time enter the code. The renaming works perfectly. Then I tried it a second time, later, and it just kept downloading the same photo from each camera again and again, even though there are about a dozen photos on each camera. Any idea what's going on?
Have you tried using irfanview, a new version is now available.
I have used the irfanview batch commands and the advanced batch command options to do some thing similar.
i.e Bulk Renaming, Bulk Re-Sizing, Bulk Re-Location's, etc, etc.

Also, How are you progressing with aligning your photos, may be post some sample photos of your efforts
when you are happy with your progress.

H-H

*

Offline reyalp

  • ******
  • 12208
Re: Multicam Rig for Events - Step By Step Help Please!!
« Reply #67 on: 21 / October / 2017, 04:40:42 »
OK, so it sort of worked. It downloads one photo from each camera each time enter the code. The renaming works perfectly. Then I tried it a second time, later, and it just kept downloading the same photo from each camera again and again, even though there are about a dozen photos on each camera. Any idea what's going on?
Logic error on my part. I guess it's downloading different files, but saving them with the same name.

The name is generated by dst='c:/temp/Cam${id,%02d}-${ldate,%Y%m%d_%H%M%S}${ext}'

This works fine for one file, but probably not more more, because it will generate the same for each file. If you used mdate instead of ldate, it would use the modification time on the file, which will be unique, but probably vary between cameras for a given shot.

It really needs a way to insert sequential numbers, but I haven't implemented that yet.
Don't forget what the H stands for.


Re: Multicam Rig for Events - Step By Step Help Please!!
« Reply #68 on: 21 / October / 2017, 15:28:56 »
I'm sorry, I only half understood that last response. So is there a way to make it work? I'm not fully following, sorry :-(

*

Offline reyalp

  • ******
  • 12208
Re: Multicam Rig for Events - Step By Step Help Please!!
« Reply #69 on: 21 / October / 2017, 16:27:44 »
I'm sorry, I only half understood that last response.
The command I posted generates the name from the camera ID and the date/time the download started. So if a download_images command downloads more than one image from a camera, only each file will overwrite the previous one and you will only end up with one file.
Quote
So is there a way to make it work? I'm not fully following, sorry :-(
That depends what your requirements and workflow are.

If you did download_images after each shot, the names would be unique with the existing command. However, this is probably inconvenient.

If you replace ldate with mdate, the name will be generated based on the time the image was taken, according to the camera date. This will give you unique names (as long as images were taken more than 1 second apart, which is practically guaranteed on cheap cameras) but unless the clocks on your cameras are synchronized, images from the same shot on different cameras will have different names.

There are other other ways you could generate the name, listed in the help for the imdl command, but the only ones that are image specific from the camera file / directory (which I think you didn't want to use) and the date related ones.

An alternative would be to reset the camera image numbering before each session, and then using ${name} or ${imgnum}. The camera number tries to follow the highest number image on the card, so if you put a file called IMG_9999.JPG in the current image directory, the next one will be IMG_0001.JPG.

I will probably add a feature to multicam to insert sequential numbers, so you could say take 5 shots and download images number 1-5 for each camera, but I'm not sure when I will get to it.
Don't forget what the H stands for.

 

Related Topics