Skip to content

remove readrate ffmpeg flag to prevent skipping#200

Open
omein1849 wants to merge 1 commit intolossless1024:masterfrom
omein1849:master
Open

remove readrate ffmpeg flag to prevent skipping#200
omein1849 wants to merge 1 commit intolossless1024:masterfrom
omein1849:master

Conversation

@omein1849
Copy link

@omein1849 omein1849 commented Aug 20, 2025

I have noticed that if readrate flag is set than the output file has skipping and audio sync issues. Removing it solved the issue.

@omein1849 omein1849 changed the title added ffmpeg flags to optimize remove readrate ffmpeg flag to prevent skipping Aug 21, 2025
@omein1849 omein1849 marked this pull request as ready for review August 21, 2025 11:28
@lossless1024
Copy link
Owner

It's a hard issue, because without readrate limit, the streams are usually getting splitted unnecessarily. So like when you watch on the site you see a continous stream, but you'll have the recording stop and start because ffmpeg read too fast that the m3u is not changing so ffmpeg thinks that there are no more segments. Setting readrate would help on this. but unfortunately it also brings in new bugs, like what you mentioned. I'd like to keep having it on as default. Later ffmpeg releases handle readrate better, so I'd suggest you to try to update it if you have an older version.

@lossless1024 lossless1024 force-pushed the master branch 2 times, most recently from 0259ce4 to 89bca34 Compare August 31, 2025 19:53
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 this pull request may close these issues.

3 participants