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

[Bug]: Crashes when stressing the timeline since the FFmpeg 6.0 update #483

Closed
1 task done
bernie-laberge opened this issue Jun 5, 2024 · 0 comments · Fixed by #484
Closed
1 task done

[Bug]: Crashes when stressing the timeline since the FFmpeg 6.0 update #483

bernie-laberge opened this issue Jun 5, 2024 · 0 comments · Fixed by #484
Labels
bug Something isn't working

Comments

@bernie-laberge
Copy link
Contributor

What happened?

Since the FFmpeg 6.0 update, it seems Open RV tends to crash more easily when stressing the timeline. Following the steps bellow won't make Open RV crash if you do them slowly, but if you stress it, there are good chances the application will crash. See attached video as example.

  1. Launch the latest version of Open RV
  2. File / Open: Browse a folder which contains around fifty movie or MXF files with different codec types
  3. Import all clips into the Player, then do some stressing operation by scrubbing the timeline
    ---> RV will eventually crash.

List all the operating systems versions where this is happening

Crashes on all platforms

On what computer hardware is this happening?

Happens on any computer

Relevant console log output

No response

Environment variables

No response

Extra information

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@bernie-laberge bernie-laberge added the bug Something isn't working label Jun 5, 2024
bernie-laberge added a commit that referenced this issue Jun 6, 2024
…ine (#484)

### 483: Fix FFmpeg 6.0 crashes when loading 50+ clips and stressing the
timeline

### Linked issues
Fixes #483

### Summarize your change.
No longer using the MovieFFMpeg global context pool (since FFmpeg 6.0)

### Describe the reason for the change.
Rationale: The global context pool was based on the premise that a
context could be opened and closed multiple times.
However, with FFmpeg 6.0, this premise is no longer valid and was
causing crashes.
As per the FFmpeg 6 documentation:
https://ffmpeg.org/doxygen/trunk/deprecated.html:
"Opening and closing a codec context multiple times is not supported
anymore – use multiple codec contexts instead."

### Describe what you have tested and on which operating system.
Successfully validated repro steps

### Add a list of changes, and note any that might need special
attention during the review.

### If possible, provide screenshots.

Signed-off-by: Bernard Laberge <bernard.laberge@autodesk.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant