GithubHelp home page GithubHelp logo

Comments (8)

wang-bin avatar wang-bin commented on June 10, 2024 1

@wang-bin I'm using player->mediaInfo().video[0].duration

the latest build will read duration from metadata

from gyroflow.

AdrianEddy avatar AdrianEddy commented on June 10, 2024

why would you want to use mkv? As far as I know, no camera records in this format, and after transcoding or re-muxing it's very likely to lose the gyro data, so supporting mkv is not very useful in Gyroflow

from gyroflow.

siefkenj avatar siefkenj commented on June 10, 2024

I have video that has no gyro data that I have trimmed and saved as in the mkv format. I could convert everything to mp4 and then apply gyroflow, but it seem like mkv support might not be hard to add.

from gyroflow.

AdrianEddy avatar AdrianEddy commented on June 10, 2024

You need to load a lens profile to be able to click autosync for optical-only analysis

from gyroflow.

AdrianEddy avatar AdrianEddy commented on June 10, 2024

@wang-bin looks like this sample mkv file doesn't report duration in mdk, any idea why?

from gyroflow.

wang-bin avatar wang-bin commented on June 10, 2024

@wang-bin looks like this sample mkv file doesn't report duration in mdk, any idea why?

which duration do you read? duration from container is correct

Format: matroska,webm, range: 0 +13346ms, bitrate: 303214, size: 0
Metadata:
  ENCODER: Lavf58.76.100
Streams: 1
 Video:
  stream#0, range: 0 +0ms, frames: 0
  codec: h264 tag: 0 profile: 100 level: 31, yuv420p, bpc:8, bpp:12(8,8,8), channels:(1,1,1), map: 0 1 2 0, bitrate: 0, 960x540, fps: 29.97, bframes: 0
  extra data(55): 01 64 00 1F FF E1 00 24 67 64 00 1F AC 2B 20 1E 02 2F DE 02 20 00 00 7D 20 00 1D 4C 1C 00 00 03 01 55 CC 00 00 0D 59 F8 5D E5 C1 40 01 00 04 68 EB 8F 2C FD F8 F8 00 
  Metadata:
   DURATION: 00:00:13.346000000

from gyroflow.

AdrianEddy avatar AdrianEddy commented on June 10, 2024

@wang-bin I'm using player->mediaInfo().video[0].duration

from gyroflow.

AdrianEddy avatar AdrianEddy commented on June 10, 2024

thanks, I can confirm it works fine in latest dev build: https://gyroflow.xyz/devbuild/

from gyroflow.

Related Issues (20)

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.