Skip to content

How to use torchaudio without ffmpeg? #4182

@JohnHerry

Description

@JohnHerry

I had used torchaudio == 2.4.1, it is simple and convinent. Now for some reason I have to update my torch into V2.9.1 and so torchaudio==2.9.1, but the old code can not run now. It said when I run

data, sr = torchaudio.load(WavPath)

I have to install a torchcodec and which should first install the ffmpeg. it is not convinent in my env to install those tools that need to download and compile, Is there any compitable usage method?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions