Christopher Hoskin
2016-04-01 21:48:10 UTC
Hello,
I am interested in detecting when an SD card used in a camcorder is
connected to a computer. There appears to be a convention (possibly a
standard, but I don't have a reference?) that camcorders recording to the
AVCHD format structure their file layout as shown here:
Loading Image...
Currently this results in a Camcorder SD card being identified as
'x-content/image-dcf', which typically leads to the desktop environment
automatically opening a photo editing application, rather than a video
editing application.
As a first draft, the entry might look something like this:
<mime-type type="x-content/camcorder-avchd">
<_comment>AVCHD Camcorder SD Card</_comment>
<treemagic>
<treematch path="PRIVATE/AVCHD/BDMV/STREAM" type="directory"
non-empty="true"/>
</treemagic>
</mime-type>
I am not an expert in this area, so this may need some refinement.
I would be interested to know your thoughts on whether it would be
appropriate to introduce such a MIME type?
Thanks for your time.
Christopher Hoskin
I am interested in detecting when an SD card used in a camcorder is
connected to a computer. There appears to be a convention (possibly a
standard, but I don't have a reference?) that camcorders recording to the
AVCHD format structure their file layout as shown here:
Loading Image...
Currently this results in a Camcorder SD card being identified as
'x-content/image-dcf', which typically leads to the desktop environment
automatically opening a photo editing application, rather than a video
editing application.
As a first draft, the entry might look something like this:
<mime-type type="x-content/camcorder-avchd">
<_comment>AVCHD Camcorder SD Card</_comment>
<treemagic>
<treematch path="PRIVATE/AVCHD/BDMV/STREAM" type="directory"
non-empty="true"/>
</treemagic>
</mime-type>
I am not an expert in this area, so this may need some refinement.
I would be interested to know your thoughts on whether it would be
appropriate to introduce such a MIME type?
Thanks for your time.
Christopher Hoskin