Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.dv Files Not Recognized #997

Open
Lawrence58 opened this issue Aug 24, 2023 · 6 comments
Open

.dv Files Not Recognized #997

Lawrence58 opened this issue Aug 24, 2023 · 6 comments

Comments

@Lawrence58
Copy link

I ran .dv video files through DROID but the output was empty. It doesn't even include .dv as the file extension. When I search the PRONOM registry using the .dv extension there is an entry with MIME: video/dv and PUID: x-fmt/152. I assumed that meant DROID had some support for .dv files. Is that not the case or is something wrong?
Thank you, Kevin Irelan

@Dclipsham
Copy link

Dclipsham commented Aug 24, 2023

There's no identification signature for x-fmt/152 yet but they should at least be coming up with an extension-match.
Are you running DROID at command line or GUI?
Is there anything interesting in the log file? Usually found at c:\users<username>.droid6\logs\droid.log
Are you happy to screen-capture your output?

David

@jendib
Copy link

jendib commented Aug 28, 2023

Hello @Dclipsham , I'm working with @Lawrence58.
We are using the Java library to directly call Droid using the method DroidCore.matchBinarySignatures(IdentificationRequest request). This method only matches based on binary content right? So it would make sense that extension matching isn't coming up (and binary matching isn't supported for DV files).

@steve-daly
Copy link

steve-daly commented Aug 29, 2023

You could look at the external Java API that was added in v6.6.0, although bear in mind that it's early days for this and this might change in future. The unit tests for this might give an indication of how it would work, but this should provide extension-only matching (and container signature matching) as seen in the unit tests https://github.com/digital-preservation/droid/blob/master/droid-api/src/test/java/uk/gov/nationalarchives/droid/internal/api/DroidAPITest.java

@sparkhi
Copy link
Collaborator

sparkhi commented Aug 29, 2023

As mentioned by @steve-daly
There is more information available to use the API in our wiki which may prove helpful.
https://github.com/digital-preservation/droid/wiki/How-to-use-DROID-internal-API

@jendib
Copy link

jendib commented Aug 31, 2023

Is it on your roadmap to have signature matching for DV files? And if so when do you think it could be released? Thanks.

@steve-daly
Copy link

Hi @jendib you could engage with the Pronom file format team here https://www.nationalarchives.gov.uk/pronom/submitinfo.htm ideally providing information or a signature for the format (e.g. from this kind of work https://cdn.nationalarchives.gov.uk/documents/information-management/pronom-file-signature-research.pdf).

I suspect these are dv-dif files, i.e. the elemental form of DV video which might often be wrapped in AVI, MOV, MXF etc. You'd ideally want to find a spec for this format to see what byte sequences might uniquely identify them, although I suspect this might vary on various flavours of the format (e.g. frame rate, bitrate).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants