<div dir="ltr">You can download an example from <a href="https://drive.google.com/file/d/17p8APYqMKX4sbjTx_UgG-5hrWJIZAKAO/view?usp=sharing">https://drive.google.com/file/d/17p8APYqMKX4sbjTx_UgG-5hrWJIZAKAO/view?usp=sharing</a><div>I also noticed that the details section of the file says that more than 4 hours of video have been recorded durgin the flight, which is obviously wrong. That details field seems to have an alternate meaning, probably related to the timelapse recording.</div><div><br></div><div>-Dennis</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Am Di., 19. Jan. 2021 um 15:46 Uhr schrieb Ross Finlayson <<a href="mailto:finlayson@live555.com">finlayson@live555.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
> On Jan 19, 2021, at 8:16 PM, Dennis Derichs <<a href="mailto:harms.dennis@gmail.com" target="_blank">harms.dennis@gmail.com</a>> wrote:<br>
> <br>
> Using my Mavic Air 2 and the DJI Fly app on Android (file version 12) I recently took a timelapse video. Parsing the logs, I noticed a myriad of type 0x39 records that did not contain JPG data.<br>
[…]<br>
> Your current code ignores the record length for type 0x39, skips the first two bytes of the payload and then checks for the SOI marker. If not found, it skips past the next 0xff. I propose a change to this code. If the payload begins with 00 00, an SOI marker and image data should be expected. Otherwise the record length should be observed and the payload unscrambled like that of any other record.<br>
<br>
Dennis,<br>
<br>
Thanks for the note.  Your suggestion sounds good.  However, could you please post an example of a “.txt” file that contains records like this, so I can use it to test the new code?  (If the file is large, then please upload it to a (publicly-accessible) web server, and send the URL instead.)<br>
<br>
<br>
Ross Finlayson<br>
Live Networks, Inc.<br>
<a href="http://www.live555.com/" rel="noreferrer" target="_blank">http://www.live555.com/</a><br>
<br>
<br>
-- <br>
DJI-log-discuss mailing list<br>
<a href="mailto:DJI-log-discuss@lists.live555.com" target="_blank">DJI-log-discuss@lists.live555.com</a><br>
<a href="http://ns.live555.com/mailman/listinfo/dji-log-discuss" rel="noreferrer" target="_blank">http://ns.live555.com/mailman/listinfo/dji-log-discuss</a><br>
</blockquote></div>