-
Notifications
You must be signed in to change notification settings - Fork 11
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
TimeoutError and getting plenty of segmented videos without remux. #31
Comments
FC2 requires a Websocket connection. Try setting both |
Oh, I missed telling, my fault. I've already set HTTP/HTTPS/WS/WSS all to http://127.0.0.1:10809. Or I'll get other mistakes, telling ’The semaphore timeout period has expired‘ which I fixed in the morning. (Btw, I spent 1 hours just to notice it should use http:// not https:// in HTTPS_PROXY of aiohttp. Excellent.) I'll try log_level debug later. Thanks! |
Ah interesting, thanks for debugging. Now that I'm looking at that part of the code, I wonder why I wrote it that way, and why things have been working just fine so far lol. I'll leave this issue open until I fix up that part. |
Got this when trying to download random ongoing streams for testing, and simply increasing timeout didn't really help much. I'm guessing that the reason timeout could never get triggered for the duration of entire stream could be the chat messages. |
I‘m recording with local proxy using v2rayN, everything seems fine but encounter this exception:
It got exception after starting writing stream for every several minutes, and then auto restart remaining a segmented video. And I get these files as the picture below. They contain the complete live stream, the next file has about 5 seconds duplication of the past's last 5 seconds (result from 'latency' tag I think).
And only the last video can be transfered to .mp4, others are still .ts file.
I've checked earlier issues about 'timeout' (issue #7 )but didn't find some help. The network should be okay, since I don't notice lags while watching FC2-lives on browser.
From:
Win10 21H1, anaconda 3.8 powershell prompt, latest ffmpeg, pip installing fc2-live-dl, and the test.json is:
proxy environment vars are
HTTPS_PROXY = http://127.0.0.1:10809
The text was updated successfully, but these errors were encountered: