Open vish91 opened 2 years ago
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
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()
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