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

OBS Beta Hybrid MP4 corrupting files when split by size is enabled #10903

Closed
SuperSkypper opened this issue Jun 21, 2024 · 3 comments · Fixed by #10904
Closed

OBS Beta Hybrid MP4 corrupting files when split by size is enabled #10903

SuperSkypper opened this issue Jun 21, 2024 · 3 comments · Fixed by #10904
Assignees

Comments

@SuperSkypper
Copy link

Operating System Info

Windows 11

Other OS

No response

OBS Studio Version

30.2.0-beta4

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/logs/DSUGKmb5B35qB0Br

OBS Studio Crash Log URL

No response

Expected Behavior

Before the beta, I was able to record videos normally and used the split by size feature to divide them into 2GB files. These files could be converted with Handbrake, used for editing in DaVinci Resolve, and worked normally.

Current Behavior

Now I make a recording, check it, and the 2GB files are separated, but only the first file is not corrupted.

  • I can watch all of them with VLC.
  • I can't put any of the files from the second cut onwards into Handbrake.
  • I can add them to DaVinci Resolve, but only the first few seconds appear, and when rendered, everything goes black.
  • Shutter Encoder crashes when I try to do anything with the file in it.

Steps to Reproduce

  1. Turn on Automatic File Splitting - Split By Size (Didn't test others)
  2. Record
  3. Try to put the file into Handbrake, it will give this warning
    2024-06-21 - 01-58-25  Screenshot

Anything else we should know?

Here's a sample of the recordings: https://drive.google.com/drive/folders/1a_2lusDusgxYeNFS_GkGu_RqmKFe86qZ?usp=sharing

@WizardCM
Copy link
Member

If you manually remux the files in OBS, do they then work?

@SuperSkypper
Copy link
Author

@WizardCM Unfortunately not.

@SuperSkypper SuperSkypper changed the title OBS Beta Hybrid MP4 corruputing files when split by size is enable. OBS Beta Hybrid MP4 corrupting files when split by size is enable. Jun 21, 2024
@derrod
Copy link
Member

derrod commented Jun 21, 2024

Recent (7.0) FFmpeg itself in the command line might be fine. It will emit a warning but should still remux it fine afaik.

If that doesn't work and the recordings are important and need to be recovered you can manually open the files in a hex editor like HxD (ideally you keep a backup) and then modify these 8 bytes:
2024-06-21_19-42-00_ReQ2nm

Replace them with 00 00 00 10 66 72 65 65 (which should show up as ....free in the text view), this will restore the original fragmented structure of the file, which should then be able to be remuxed normally.

Edit: Since VLC can play them fine you can also try remuxing the file with VLC, not 100% sure how it works in the current version though.

@RytoEX RytoEX changed the title OBS Beta Hybrid MP4 corrupting files when split by size is enable. OBS Beta Hybrid MP4 corrupting files when split by size is enabled Jun 26, 2024
@RytoEX RytoEX added this to the OBS Studio 30.2 milestone Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants