Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error trying to use the Inform argument with mediainfo #6

Open
vish91 opened this issue Dec 8, 2021 · 0 comments
Open

Error trying to use the Inform argument with mediainfo #6

vish91 opened this issue Dec 8, 2021 · 0 comments

Comments

@vish91
Copy link

vish91 commented Dec 8, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant