Giter VIP home page Giter VIP logo

yami's People

Contributors

cajax avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

yami's Issues

Type Text ?

Add type Text as constant to your lib. Example:

Text #1
ID : 4
Format : PGS
Codec ID : S_HDMV/PGS
Codec ID/Info : Picture based subtitle format used on BDs/HD-DVDs
Duration : 2 h 20 min
Bit rate : 43.6 kb/s
Count of elements : 4708
Stream size : 44.0 MiB (0%)
Language : German
Default : No
Forced : No

call yami.GetMediaInfo() got types error

I got an error when call yami.GetMediaInfo(): strconv.ParseFloat: parsing "UTC 2020-05-08 08:00:26": invalid syntax.
followed the source code, I found in yami/types.go, "DurationStart" and "DurationEnd" are declared in wrong type, they are string instead of float64

Error trying to use the Inform argument with mediainfo

mediainfo -f --Output=XML --Inform='file:///mi/mediainfo_fields.txt' /clip.mp4

Running this from CLI works but unable to pass the Inform argument with yami.GetMediaInfo()

yami.GetMediaInfo(inputFile, 30*time.Second, "--Inform='file:///mi/mediainfo_fields.txt'")

Error:
{"level":"FATAL","ts":"2021-12-08T18:57:26.678Z","msg":"error getting mediainfo output","error":"EOF"}

Could you please advise if filtering down to only parse required fields is supported and how can we use the --Inform flag to pass to mediaInfo call as argument.
Thanks

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.