dmlc / dmlc/decord

Get the sample rate of the audio from a video

Open
#286 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
2.5k
Forks
232
PR merge metrics
No merged PRs in 30d

Description

Is there a way of getting the sample rate of the audio from a video?

```Python
reader = AudioReader()
reader.get_info()
```

Will print the sample rate to stdout, but is there a way to return the integer value? Or do I need to capture stdout to a string and parse it?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.