FFmpeg crashes with transform360 filter on Nvidia GPU

Open
#53 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
20/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
cpp, ubuntu

Research direction

The payload names no source files or tests. Start by reproducing the transform360 filter with h264_nvenc on Ubuntu 16.04 using the stated NVIDIA and CUDA versions, then determine whether GPU execution is supported and whether CUDA_ERROR_ILLEGAL_ADDRESS persists.

Written by the indexing model from the issue text.

Description

Hello,
I have installed all the necessary Nvidia drivers and CUDA tool kit necessary and compiled FFMPEG with Nvidia support by following the steps in NVIDIA blog. I encoded videos using h264_nvenc and it is using GPU perfectly so there is no issue with the FFmpeg compiled with GPU support. But when I try to apply the the transform360 filter the encoding it not taking place. FFmpeg is giving me the following error. What seems to be the problem? Does this filter support running on GPU?

ctx->cudl->cuMemcpy2D(&cpy) failed -> CUDA_ERROR_ILLEGAL_ADDRESS:

I am using Ubuntu 16.04 with NVIDIA K80 GPUs with driver version of 390.12 and CUDA toolkit version of 9.1

Dominant language
C++
Stars
1k
Forks
242
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from facebook/transform360

All issues in facebook/transform360

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.