[DJI-log-discuss] Handling log version 14 txt logs

Dennis Derichs harms.dennis at gmail.com
Thu Dec 3 02:47:13 PST 2020


FWIW, I've noticed that since version 12 the order of the file sections has
changed. Just bringing that up in case this is what you ran into, Maor...
Here's a snippet from my Python code for parsing the header of both version
<= 11 and >11:

# Parse file header
values, _ = self._unpack_values("L4xHB89x")
if values[2] <= 11:
    self._header = {
        "start_of_records": 100,
        "end_of_record_area": values[0],
        "start_of_details": values[0],
        "details_length": values[1],
        "file_version": values[2]
    }
else:
    self._header = {
        "start_of_records": 100 + values[1],
        "end_of_record_area": values[0],
        "start_of_details": 100,
        "details_length": values[1],
        "file_version": values[2]
    }

-Dennis


Am Do., 3. Dez. 2020 um 10:56 Uhr schrieb Ross Finlayson <
finlayson at live555.com>:

>
>
> > On Dec 3, 2020, at 10:17 PM, Maor Veitsman <smaorus at gmail.com> wrote:
> >
> > Hello everyone,
> > It appears that logs with version 14 use a different scrambling table,
> or a different obfuscation method all together. Does anyone have a lead on
> how to handle this?
>
> Could you please post an example of one of these ‘version 14’ .txt files,
> so we can take a look at it?
>
>
> Ross Finlayson
> Live Networks, Inc.
> http://www.live555.com/
>
>
> --
> DJI-log-discuss mailing list
> DJI-log-discuss at lists.live555.com
> http://ns.live555.com/mailman/listinfo/dji-log-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ns.live555.com/pipermail/dji-log-discuss/attachments/20201203/da59bafa/attachment.htm>


More information about the DJI-log-discuss mailing list