Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add wrapper classes that manage memories allocated by ffmpeg #2041

Closed
wants to merge 2 commits into from

Conversation

mthrok
Copy link
Collaborator

@mthrok mthrok commented Nov 28, 2021

Part of #1986. Splitting the PR for easier review.

Add wrapper classes that auto release memories allocated by ffmpeg libraries.
For the overall architecture, see https://github.com/mthrok/audio/blob/ffmpeg/torchaudio/csrc/ffmpeg/README.md.

Note: Without a change to build process, the code added here won't be compiled. The build process will be updated later.

  • Needs to be imported after updating TARGETS file.

@facebook-github-bot
Copy link
Contributor

@mthrok has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@mthrok mthrok mentioned this pull request Nov 28, 2021
@facebook-github-bot
Copy link
Contributor

@mthrok has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@mthrok has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@mthrok mthrok deleted the ffmpeg-wrapper branch December 7, 2021 22:53
facebook-github-bot pushed a commit that referenced this pull request Dec 8, 2021
Summary:
Part of #1986. Splitting the PR for easier review.

Add `Decoder` class that manages `AVCodecContext` resource and process input `AVPacket`.
For the overall architecture, see https://github.com/mthrok/audio/blob/ffmpeg/torchaudio/csrc/ffmpeg/README.md.

Note: Without a change to build process, the code added here won't be compiled. The build process will be updated later.
Needs to be imported after #2041.

Pull Request resolved: #2042

Reviewed By: carolineechen

Differential Revision: D32933294

Pulled By: mthrok

fbshipit-source-id: e443debadb44d491462fb641cd5b7b20c413b5b9
@mthrok mthrok mentioned this pull request Jan 5, 2022
30 tasks
xiaohui-zhang pushed a commit to xiaohui-zhang/audio that referenced this pull request May 4, 2022
…#2041)

Summary:
Part of pytorch#1986. Splitting the PR for easier review.

Add wrapper classes that auto release memories allocated by ffmpeg libraries.
For the overall architecture, see https://github.com/mthrok/audio/blob/ffmpeg/torchaudio/csrc/ffmpeg/README.md.

Note: Without a change to build process, the code added here won't be compiled. The build process will be updated later.
- [x] Needs to be imported after updating TARGETS file.

Pull Request resolved: pytorch#2041

Reviewed By: carolineechen

Differential Revision: D32688964

Pulled By: mthrok

fbshipit-source-id: 165bef5b292dbedae4e9599d53fb2a3f06978db8
xiaohui-zhang pushed a commit to xiaohui-zhang/audio that referenced this pull request May 4, 2022
Summary:
Part of pytorch#1986. Splitting the PR for easier review.

Add `Decoder` class that manages `AVCodecContext` resource and process input `AVPacket`.
For the overall architecture, see https://github.com/mthrok/audio/blob/ffmpeg/torchaudio/csrc/ffmpeg/README.md.

Note: Without a change to build process, the code added here won't be compiled. The build process will be updated later.
Needs to be imported after pytorch#2041.

Pull Request resolved: pytorch#2042

Reviewed By: carolineechen

Differential Revision: D32933294

Pulled By: mthrok

fbshipit-source-id: e443debadb44d491462fb641cd5b7b20c413b5b9
mthrok pushed a commit to mthrok/audio that referenced this pull request Dec 13, 2022
Co-authored-by: Svetlana Karslioglu <svekars@fb.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants