dmlc / decord

An efficient video loader for deep learning with smart shuffling that's super easy to digest
Apache License 2.0
1.81k stars 158 forks source link

Extract audio signals #69

Open JunhyeopLee opened 4 years ago

JunhyeopLee commented 4 years ago

Is there a way to extract audio signals as well as visual frames?

If there's a function like below "videos, audio_raw, meta = torchvision.io.read_video(video_path, pts_unit='sec')" in pytorch, it would be more useful and powerful library.

I will appreciate it if you let us know your future plan for this. Thanks in advance.

zhreshold commented 4 years ago

This is will be a new feature request, as per current design, it's going to be a separate AudioReader and a wrapper reader for both video/audio, e.g. MediaReader.

JunhyeopLee commented 4 years ago

Thank you!

wentaozhu commented 3 years ago

This is will be a new feature request, as per current design, it's going to be a separate AudioReader and a wrapper reader for both video/audio, e.g. MediaReader.

Are there any updates on the audio extractions? Thank you so much!