Results 12 comments of SmallNetBuilder
trafficstars

Thanks again. I'll see if I can get this running. I'm writing a test application to see if new Wi-Fi 7 APs and routers are really better at handling multiple...

That's good thought. Could I retrieve video stats too like frame and bit rate and A/V sync? I've got four players launched so far using your suggested code. I'm working...

I'm trying to write a log file per player. Do I need to define a loghandler per player or is there a way I can pass a logfile name to...

Thanks for both replies. Both are helpful suggestions.

Having a problem implementing the partial log_handler. Here's the code ``` def logtofile(logfile, level, prefix, text): # print to terminal print(f'{logfile} {datetime.datetime.now():%Y-%m-%d %H:%M:%S} \033[38;5;246m{level:>8} \033[38;5;{col(prefix)}m{prefix}:\033[0m {text}') # print to logfile...

I'm testing as a script. I think I found a problem. When running the script, my streaming source failed. Note the difference in io.TextIOWrapper names for errors from ffmpeg/demuxer and...

Were you able to determine why ffmpeg doesn't use the correct io.TextIOWrapper name?

Could it be ffmpeg version and/or python-mpv version? I'm using 0.4.0 due to issue 116

Sorry for the long post. tldr; I suspect log_handler is not properly handling multiple instances. No matter what I try, ffmpeg errors are always logged to the first log_handler instance....

Since you can't reproduce this, it's probably time to close this bug.