add av_register_all() function call back into FFmpegDemuxer.cpp by TracelessLe · Pull Request #289 · NVIDIA/VideoProcessingFramework · GitHub
Skip to content
This repository was archived by the owner on Jun 10, 2024. It is now read-only.

add av_register_all() function call back into FFmpegDemuxer.cpp#289

Merged
rarzumanyan merged 1 commit into
NVIDIA:pr_289from
TracelessLe:master
Dec 13, 2021
Merged

add av_register_all() function call back into FFmpegDemuxer.cpp#289
rarzumanyan merged 1 commit into
NVIDIA:pr_289from
TracelessLe:master

Conversation

@TracelessLe

Copy link
Copy Markdown
Contributor

Add av_register_all() function call back into "FFmpegDemuxer.cpp" to avoid error about "ValueError: FFmpegDemuxer: no AVFormatContext provided." when running nvc.PyNvDecoder(enc_file, gpu_id). Please see the issue #287 to find more details.

PS. Function av_register_all() is supported by FFMpeg v4.4 and lower version, which has been removed from branch v4.5 or master currently (reference FFmpeg/libavfilter/allfilters.c). So if you want to use newest version FFMpeg, please notice these changes. Maybe these infomation can be add into WiKi for reference.

…oid error about 'no AVFormatContext provided'
@rarzumanyan rarzumanyan changed the base branch from master to pr_289 December 13, 2021 08:34
@rarzumanyan

Copy link
Copy Markdown
Contributor

@rarzumanyan rarzumanyan merged commit e7c311f into NVIDIA:pr_289 Dec 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants