obsproject / obsproject/obs-studio

obs-ffmpeg : Assert Fail with XDcam HD files in DEBUG

Open
#6,217 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

platform/macos
Dominant language
C
Stars
76.4k
Forks
10.2k
Avg merge
4d 23h
Merged PRs (30d)
12

Description

Operating System Info

macOS 11.6

Other OS

No response

OBS Studio Version

27.2.3

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/logs/DfB8n7MY3KjfM1Bm

OBS Studio Crash Log URL

No response

Expected Behavior

No assert

Current Behavior

Assertion failed: (delta >= 0), function mp_media_calc_next_ns, file media.c, line 467.

Steps to Reproduce
  1. Compil Obs with DEBUG
  2. Import XDcam HD 422 file (Mov or MXF container)
Anything else we should know?

Tested with Xcode compilation

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.

Research direction

Start at media.c line 467, where the mp_media_calc_next_ns assertion is reported, and build OBS with DEBUG as described. Reproduce the failure by importing an XDcam HD 422 file in a MOV or MXF container, then use the provided OBS log for context. Done means the file no longer triggers the assertion.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
audio-video-rtc
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.