Giter VIP home page Giter VIP logo

Comments (7)

JuanIrache avatar JuanIrache commented on August 20, 2024

from gpmf-extract.

gunta987 avatar gunta987 commented on August 20, 2024

Thanks. I've made the video available at https://1drv.ms/u/s!At523gPWXcusgQMPo3Peix57UjS0?e=YOpA1i

This video is clearly corrupted, since it won't even open in VLC, but the extractor does recognise it as a GoPro file and attempts to extract telemetry. I have also tried the file at https://goprotelemetryextractor.com/free/ and get the same results (extraction process never ends)

from gpmf-extract.

JuanIrache avatar JuanIrache commented on August 20, 2024

Thank you for the sample file. I made two changes:

  • Error handling was completely broken within the readBlock files. Should be better now (but the error with that specific file seems hard to handle in a more elegant way. See below)
  • If the progress goes beyond 200% the file is rejected. I set a generous margin because in the past files were doing weird things with the progress, so I wouldn't want to cancel something that will succeed even if it's over 100%. There could be better solutions.

The crash itself comes from mp4box and I have no direct control over it, nor the knowledge or time to improve that within mp4box at the moment. If you make additional findings about that, please let me know.

Adding the cancel function will require a bigger refactor, so I'm not sure when/if I'll be able to work on that. PRs in that direction are welcome.

from gpmf-extract.

gunta987 avatar gunta987 commented on August 20, 2024

Easy enough to implement for browserMode, because the data is read in chunks.

I'm new to github: how do I create a PR when I can't push a branch to this repo?

from gpmf-extract.

JuanIrache avatar JuanIrache commented on August 20, 2024

from gpmf-extract.

gunta987 avatar gunta987 commented on August 20, 2024

Hi Juan,

I notice that you changed resolve(null) to reject('Canceled by user'). All good, but the documentation needs updating as I wrote it to reflect resolving with null.

from gpmf-extract.

JuanIrache avatar JuanIrache commented on August 20, 2024

Good catch

from gpmf-extract.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.