obsproject / obsproject/obs-studio
Hyprid MP4 - Data Corruption with Multitrack PCM24 and Frame Skip at End of Recording when Time Split
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
- Select Hybrid MP4.
- Set Recording with common settings (ei: Variable Bitrate Target Quality).
- Set video Split Intervals (ei: 30 minutes).
- Record.
- If Power Loss - High Chance of 1 or 3 types of Corruption occurring.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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