NMAAHC / nmaahcmm

NMAAHC mm scripts
7 stars 8 forks source link

Camera Cards: AVCHD #50

Closed chialinchou1 closed 4 months ago

chialinchou1 commented 2 years ago

Hi @aeschweik,

I finally had a chance to test AVCHD camera cards, and the file structure of these collection doesn't seem to be as uniform as those in C300. I tested 2 collections. For Test Collection 1 (see below for file tree), The script was not able to recognize the type of the card when I first feed it. It did not sort the files properly, and the media files were not concatenated. I then manually added a private folder between the top two level AVCHD folders, then it ran successfully. Test Collection 1 File Tree:

> AVCHD
> └── AVCHD
>     ├── BDMV
>     │   ├── BACKUP
>     │   ├── CLIPINF
>     │   │   ├── 00000.CPI
>     │   │   ├── 00001.CPI
>     │   │   ├── 00002.CPI
>     │   │   ├── 00003.CPI
>    ...
>     │   │   └── 00026.CPI
>     │   ├── INDEX.BDM
>     │   ├── MOVIEOBJ.BDM
>     │   ├── PLAYLIST
>     │   │   ├── 00000.MPL
>     │   │   └── 00001.MPL
>     │   └── STREAM
>     │       ├── 00000.MTS
>     │       ├── 00001.MTS
>     │       ├── 00002.MTS
>   ...
>     │       └── 00026.MTS
>     └── CANON
>         ├── 00000.MPL
>         ├── 00001.MPL
>         ├── INDEX.BDM
>         └── JOURNAL

I also tried a test collection 2 (file tree below), the script was able to recognize the card, sorted the original camera files, and generated reports, but not able to concatenate the media (see result screenshot) Test Collection 2 File Tree:

> └── CANON
>     └── PRIVATE
>         └── AVCHD
>             ├── BDMV
>             │   ├── BACKUP
>             │   ├── CLIPINF
>             │   │   ├── 00000.CPI
>             │   │   ├── 00001.CPI
>             │   │   ├── 00002.CPI
>             │   │   ├── 00003.CPI
>             │   │   ├── 00004.CPI
>             │   │   └── 00005.CPI
>             │   ├── INDEX.BDM
>             │   ├── MOVIEOBJ.BDM
>             │   ├── PLAYLIST
>             │   │   └── 00000.MPL
>             │   └── STREAM
>             │       ├── 00000.MTS
>             │       ├── 00001.MTS
>             │       ├── 00002.MTS
>             │       ├── 00003.MTS
>             │       ├── 00004.MTS
>             │       └── 00005.MTS
>             └── CANON
>                 ├── 00000.MPL
>                 ├── INDEX.BDM
>                 └── JOURNAL
Screen Shot 2022-09-19 at 3 17 08 PM

cc. @BleakleyMcD @dericed

chialinchou1 commented 1 year ago

https://github.com/NMAAHC/nmaahcmm/blob/4e2f9d4e3372ffe38ef581f6fc4cde1b043cf63e/camera_cards#L153

BleakleyMcD commented 4 months ago

@dericed @chialinchou1 can this issue be closed?

chialinchou1 commented 4 months ago

This is resolved