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

Recording for too long causes files to be turned into audio files #7269

Closed
Sigel2134 opened this issue Sep 2, 2022 · 2 comments · Fixed by #7272
Closed

Recording for too long causes files to be turned into audio files #7269

Sigel2134 opened this issue Sep 2, 2022 · 2 comments · Fixed by #7272
Labels
Confirmed This bug report has been confirmed by project members

Comments

@Sigel2134
Copy link

Sigel2134 commented Sep 2, 2022

Operating System Info

Windows 10

Other OS

No response

OBS Studio Version

28.0.0

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/logs/yW1pLcN83khyD2Q3

OBS Studio Crash Log URL

No response

Expected Behavior

I expected the recording function to properly record my videos with audio and video intact.

Current Behavior

However ever recording I have that went past about the 10 minute mark doesn't function. Playing them in VLC doesn't work, Windows media player only plays the audio, and premiere pro crashes if importing those corrupted files.

image

Steps to Reproduce

1.Record for more than 10 minutes.
2.Check your videos to see if any appear to still be loading.

Anything else we should know?

The files that do have a thumbnail on them are both about a minute long

@Mister36MN
Copy link

Mister36MN commented Sep 2, 2022

Thanks for the report, we will look into it.

In the meantime, it's highly recommended to record using MKV then remux to mp4 afterwards, specifically to prevent corrupted files. It's also not recommended to use CBR when recording, use the quality presets in simple mode or the CQP preset.

@derBrodi
Copy link

derBrodi commented Sep 2, 2022

I have the same problem .... i tryed 3 time to record a video of 20 minutes each .... same thing here. it results always as an audio-file .... then i tryed to change the safe-destination from a USB-HardDrive to an internal SSD-FlashDrive .... i recorded a 4th 20-minute-Video .... that was succesful saved as an mp4-videofile ... maybe it was luck .... maybe it solved the problem .... i will check it in the future ...

notr1ch added a commit to notr1ch/obs-studio that referenced this issue Sep 2, 2022
If FFmpeg wrote data and then seeked back to immediately overwrite it,
the second seek would be skipped as our virtual offset was incorrectly
thinking it hadn't changed. This caused MP4 corruption when seeking
back in the file to write the moov atom.

Fixes obsproject#7269
Fixes obsproject#7144
@RytoEX RytoEX added the Confirmed This bug report has been confirmed by project members label Sep 2, 2022
derrod pushed a commit that referenced this issue Sep 2, 2022
If FFmpeg wrote data and then seeked back to immediately overwrite it,
the second seek would be skipped as our virtual offset was incorrectly
thinking it hadn't changed. This caused MP4 corruption when seeking
back in the file to write the moov atom.

Fixes #7269
Fixes #7144
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Confirmed This bug report has been confirmed by project members
Projects
No open projects
Status: Fixed & Released
Development

Successfully merging a pull request may close this issue.

4 participants