obsproject / obsproject/obs-studio

Hyprid MP4 - Data Corruption with Multitrack PCM24 and Frame Skip at End of Recording when Time Split

Open
#13,374 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Operating System Info

Windows 10

Other OS

No response

OBS Studio Version

32.0.4

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/logs/y6SoxvJ4q2Znbxa9

OBS Studio Crash Log URL

No response

Expected Behavior

Hybrid MP4 should be recording as the Vanilla MP4 Format, but with extra robustness so it doesn't break on par with MKV.

Current Behavior

Currently Hybrid MP4 has the following issues:

  • 1 Frame Drop at the end of a Timer Split Video (30 Minutes becomes 29.59.59).
  • Corrupts a large part of the Video File should something happen (ei: Power Loss).
  • In the few cases that it doesn't drop a Frame or doesn't Corrupt, it will still have issues if the Video File is Multi-Tracked (Channel 1 and 2 will have different levels of "solvability").

Worst Case Scenario: If something happens at the "right time", the entire file becomes corrupt and unusable, cannot be Trunct Save nor Copy Remuxed (the file is 100% lost even though it has large amounts of Data).

Steps to Reproduce
  1. Select Hybrid MP4.
  2. Set Recording with common settings (ei: Variable Bitrate Target Quality).
  3. Set video Split Intervals (ei: 30 minutes).
  4. Record.
  5. If Power Loss - High Chance of 1 or 3 types of Corruption occurring.
  6. If not, then 1 Frame Drop at Timer Interval as set above.
    ...
Anything else we should know?

I haven't tested out Fragmented MP4 itself (since it has performance issues in the past with external softwares and multi-tracks).

I also have no idea if PCM could be the issue (since I'm trying to record in an uncompressed Audio Format), but this issue was still happening even early on when I used AAC since the first iterations of Hybrid MP4.

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

The report names Hybrid MP4 recording, timer splits, PCM24/AAC multitrack audio, and an OBS log; start by reproducing the 30-minute split and reviewing that log. Done means split files retain the final frame and remain usable, including multitrack audio, after an interruption.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
audio-video-rtc
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.