FFMPEG warnings flooding OBS log
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- c
- Domain
- audio-video-rtc
Research direction
Start with the OBS Studio log linked in the issue and reproduce the flood using an HLS URL through a Media Source, as described in the steps. Trace where the repeated FFMPEG warning reaches the logger; done means a failing stream cannot generate an unbounded log file while the underlying warning remains diagnosable.
Written by the indexing model from the issue text.
Description
Operating System Info
Windows 10
Other OS
No response
OBS Studio Version
Other
OBS Studio Version (Other)
30.0.0
OBS Studio Log URL
OBS Studio Crash Log URL
No response
Expected Behavior
I would expect logger to ignore repeated lines in some way or another, generating 300GB log file is unacceptable.
Current Behavior
Log file gets flooded with FFMPEG errors, generated hundreds of times per 0.001s
Steps to Reproduce
- Add a HLS input via Media Source
- Have the input stream cause FFMPEG to produce
warning: inflate return value: -3, incorrect header checkerror (I am unsure what exactly casues those kinds of errors) - Log file gets flooded with approximately hundreds of warnings per 0.001s
Anything else we should know?
Media source Input was a M3U8 URL, Input Format was set to hls. I am not sure if this is correct way to do it but it resulted in working input.
I left OBS running in the background, at some point the stream probably errored out FFMPEG and the flood gates were opened.
Last 1000 lines of log uploaded to pastebin, since the original file got up to 286GBs.
I noticed what's happening just as my system was running out of storage, fortunately. If I didn't it could possibly cause some serious trouble.
- Dominant language
- C
- Stars
- 76.4k
- Forks
- 10.2k
- Avg merge
- 4d 23h
- Merged PRs (30d)
- 12
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.
More from obsproject/obs-studio
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
obsproject/obs-studio#13918 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
obsproject/obs-studio#13905 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
obsproject/obs-studio#13896 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
obsproject/obs-studio#13823 · 4 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
obsproject/obs-studio#13809 · 1 comment ·
All issues in obsproject/obs-studio
Similar issues
-
[adam] AdamNet network read doesn't cap to MAX_ADAM_PACKET_LEN, overflows client receive buffers Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
FujiNetWIFI/fujinet-firmware#1649 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
HarbourMasters/Shipwright#7229 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
riscv-software-src/riscv-isa-sim#2435 · 1 comment ·
-
bug Self Built Image SNAPSHOT Supported Device target/ramips
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100