-
Notifications
You must be signed in to change notification settings - Fork 662
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
Support specifying decoder and its options #2327
Conversation
becb516
to
7365ce2
Compare
@mthrok has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Summary: This commit adds support to specify decoder to Streamer's add stream method. This is roughly equivalent to `ffmpeg`'s `-c:v foo` and `-c:a foo` options. This allows to override the decoder codec and/or specify the option of the decoder. This change allows to specify Nvidia NVDEC codec for supported formats, which uses dedicated hardware for decoding the video. --- Note: The CL might look overwhelming, but it's essentially, add new parameters in Python, and pass them down all the way to `AVCodecContextPtr`, which initializes the actual decoder implementation (`AVCodecContext`.) Pull Request resolved: pytorch#2327 Differential Revision: D35626904 Pulled By: mthrok fbshipit-source-id: 6d23477f0a459b139c15d62a4ed4e4fad5ed9c99
This pull request was exported from Phabricator. Differential Revision: D35626904 |
7365ce2
to
cfca44b
Compare
Summary: This commit adds support to specify decoder to Streamer's add stream method. This is roughly equivalent to `ffmpeg`'s `-c:v foo` and `-c:a foo` options. This allows to override the decoder codec and/or specify the option of the decoder. This change allows to specify Nvidia NVDEC codec for supported formats, which uses dedicated hardware for decoding the video. --- Note: The CL might look overwhelming, but it's essentially, add new parameters in Python, and pass them down all the way to `AVCodecContextPtr`, which initializes the actual decoder implementation (`AVCodecContext`.) Pull Request resolved: pytorch#2327 Differential Revision: D35626904 Pulled By: mthrok fbshipit-source-id: 94ddbf5f1c3beb01194675d2792900cf873922f5
cfca44b
to
39c9213
Compare
This pull request was exported from Phabricator. Differential Revision: D35626904 |
Summary: This commit adds support to specify decoder to Streamer's add stream method. This is roughly equivalent to `ffmpeg`'s `-c:v foo` and `-c:a foo` options. This allows to override the decoder codec and/or specify the option of the decoder. This change allows to specify Nvidia NVDEC codec for supported formats, which uses dedicated hardware for decoding the video. --- Note: The CL might look overwhelming, but it's essentially, add new parameters in Python, and pass them down all the way to `AVCodecContextPtr`, which initializes the actual decoder implementation (`AVCodecContext`.) Pull Request resolved: pytorch#2327 Differential Revision: D35626904 Pulled By: mthrok fbshipit-source-id: dec2b67fdac390297fb7449d05ca35c219234370
39c9213
to
488af4c
Compare
This pull request was exported from Phabricator. Differential Revision: D35626904 |
1 similar comment
This pull request was exported from Phabricator. Differential Revision: D35626904 |
Summary: This commit adds support to specify decoder to Streamer's add stream method. This is roughly equivalent to `ffmpeg`'s `-c:v foo` and `-c:a foo` options. This allows to override the decoder codec and/or specify the option of the decoder. This change allows to specify Nvidia NVDEC codec for supported formats, which uses dedicated hardware for decoding the video. --- Note: The CL might look overwhelming, but it's essentially, add new parameters in Python, and pass them down all the way to `AVCodecContextPtr`, which initializes the actual decoder implementation (`AVCodecContext`.) Pull Request resolved: pytorch#2327 Differential Revision: D35626904 Pulled By: mthrok fbshipit-source-id: f1301dd09e3259a928fd82cbc0431739f8a16c89
7de1988
to
3409a41
Compare
@mthrok has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
3409a41
to
63275e5
Compare
Summary: This commit adds support to specify decoder to Streamer's add stream method. This is roughly equivalent to `ffmpeg`'s `-c:v foo` and `-c:a foo` options. This allows to override the decoder codec and/or specify the option of the decoder. This change allows to specify Nvidia NVDEC codec for supported formats, which uses dedicated hardware for decoding the video. --- Note: The CL might look overwhelming, but it's essentially, add new parameters in Python, and pass them down all the way to `AVCodecContextPtr`, which initializes the actual decoder implementation (`AVCodecContext`.) Pull Request resolved: pytorch#2327 Differential Revision: D35626904 Pulled By: mthrok fbshipit-source-id: b411862049affae1e798a639747080bc1c64dd01
63275e5
to
36e9100
Compare
This pull request was exported from Phabricator. Differential Revision: D35626904 |
Summary: This commit adds support to specify decoder to Streamer's add stream method. This is roughly equivalent to `ffmpeg`'s `-c:v foo` and `-c:a foo` options. This allows to override the decoder codec and/or specify the option of the decoder. This change allows to specify Nvidia NVDEC codec for supported formats, which uses dedicated hardware for decoding the video. --- Note: The CL might look overwhelming, but it's essentially, add new parameters in Python, and pass them down all the way to `AVCodecContextPtr`, which initializes the actual decoder implementation (`AVCodecContext`.) Pull Request resolved: pytorch#2327 Differential Revision: D35626904 Pulled By: mthrok fbshipit-source-id: 1840dd8932b4c2d62b3e3eaa0de4c50af371547b
36e9100
to
121a611
Compare
This pull request was exported from Phabricator. Differential Revision: D35626904 |
Hey @mthrok. |
Summary: This commit adds support to specify decoder to Streamer's add stream method. This is roughly equivalent to `ffmpeg`'s `-c:v foo` and `-c:a foo` options. This allows to override the decoder codec and/or specify the option of the decoder. This change allows to specify Nvidia NVDEC codec for supported formats, which uses dedicated hardware for decoding the video. --- Note: The CL might look overwhelming, but it's essentially, add new parameters in Python, and pass them down all the way to `AVCodecContextPtr`, which initializes the actual decoder implementation (`AVCodecContext`.) Pull Request resolved: pytorch#2327 Reviewed By: carolineechen Differential Revision: D35626904 Pulled By: mthrok fbshipit-source-id: a115ed548624e53c16bacfecff5aa6c9d4e8bede
This commit adds support to specify decoder to Streamer's add stream method.
This is roughly equivalent to
ffmpeg
's-c:v foo
and-c:a foo
options.This allows to override the decoder codec and/or specify the option of
the decoder.
This change allows to specify Nvidia NVDEC codec for supported formats,
which uses dedicated hardware for decoding the video.
Note: The CL might look overwhelming, but it's essentially, add new parameters in Python, and pass them down all the way to
AVCodecContextPtr
, which initializes the actual decoder implementation (AVCodecContext
.)