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

exessive logging #20

Open
alturismo opened this issue Oct 8, 2020 · 8 comments
Open

exessive logging #20

alturismo opened this issue Oct 8, 2020 · 8 comments

Comments

@alturismo
Copy link

hi, would it be possible tu insert a switch to turn off this excessive looging ?, i almost guess the pretty high cpu usage comes from there in combination when streaming ...

for debugging, fine, for daily usage i would say its pretty much ... sample, playing a hls stream, for 90 seconds i have like 600 lines of logging

@segator
Copy link
Owner

segator commented Oct 8, 2020

I supose the log id from ffmpeg right? You can control de logging on ffmpeg

@alturismo
Copy link
Author

alturismo commented Oct 8, 2020

here a log from ~ 30 seconds playback and for me thats not ffmpeg afaik

removed the log here, new post with addon ;)

@alturismo
Copy link
Author

here the update which is prolly better, 1k lines of code, restarted docker, started a stream, run 40 -50 seconds i guess, 1k lines log file, which is prolly not ffmpeg i d say.

may another question about application.yml

by default this value is "true", any difference ?

spring.jackson.serialization.INDENT_OUTPUT: false

thanks for taking a look

log.txt

@segator
Copy link
Owner

segator commented Oct 8, 2020 via email

@alturismo
Copy link
Author

i tested without logging at all from ffmpeg, but makes no real difference ;)

and im way not in java to make a PR therefore, but thanks for looking.

@segator
Copy link
Owner

segator commented Oct 8, 2020 via email

@alturismo
Copy link
Author

i tested a little around today, personal conclusion, its the hls server in proxyLive.jar which cause the cpu hops

when i stream using mpeg its all good, hls is causing the cpu usage, either by excessive internal logging or by design,
something i cant tell at all cause jave is not my world ;)

tested here in your docker, native on ubuntu and in another docker of me alpine based, always same behaviour.

as note, using alpine based image with ffmpeg and libva intel drivers, its more responsive starting streams here.

@segator
Copy link
Owner

segator commented May 9, 2021

I really need to define from scratch the HLS Adapter :)
Any toughts?

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

No branches or pull requests

2 participants