dmlc / dmlc/decord

[Feature Request] Be able to precize the track_number for an mkv

Open
#232 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

An mkv file can contain multiple video track.

It should be nice if the VideoReader constructor could have a parameter to precize the **track_number** we want.
![image](https://user-images.githubusercontent.com/80980684/194682370-7712c532-da05-4eb5-bc0c-cf74d552aa22.png)

By default, it would always take the first video track.

In brief, this line and the constructor need to be changed: https://github.com/dmlc/decord/blob/d2e56190286ae394032a8141885f76d5372bd44b/src/video/video_reader.cc#L112

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.