I‘m recording with local proxy using v2rayN, everything seems fine but encounter this exception:
(base) PS E:\FC2> autofc2 --config .\test.json
2022-09-06 10:46:52 [autofc2] starting �[0m�[K
2022-09-06 10:46:52 [fc2 58861545] Fetching stream info �[0m
2022-09-06 10:46:53 [autofc2] Setting log level to info �[0m
2022-09-06 10:46:54 [fc2 58861545] Found websocket url �[0m
2022-09-06 10:46:55 [fc2 58861545] Received HLS info �[0m
2022-09-06 10:46:55 [fc2 58861545] Writing stream to 新作アニメ test/2022-09-06 104654 新作色々.ts �[0m
Task exception was never retrieved
future: <Task finished name='Task-10' coro=<AutoFC2.handle_channel() done, defined at e:\anaconda3\lib\site-packages\fc2_live_dl\autofc2.py:90> exception=TimeoutError()>
Traceback (most recent call last):
File "e:\anaconda3\lib\site-packages\fc2_live_dl\autofc2.py", line 93, in handle_channel
await fc2.download(channel_id)
File "e:\anaconda3\lib\site-packages\fc2_live_dl\FC2LiveDL.py", line 193, in download
raise exited.exception()
File "e:\anaconda3\lib\site-packages\fc2_live_dl\fc2.py", line 48, in wait_disconnection
res = await self._task
File "e:\anaconda3\lib\site-packages\fc2_live_dl\fc2.py", line 85, in _main_loop
msg = await asyncio.wait_for(
File "e:\anaconda3\lib\asyncio\tasks.py", line 490, in wait_for
raise exceptions.TimeoutError()
asyncio.exceptions.TimeoutError
2022-09-06 10:50:08 [fc2 58861545] Fetching stream info �[0m
2022-09-06 10:50:09 [fc2 58861545] Found websocket url �[0m
2022-09-06 10:50:10 [fc2 58861545] Received HLS info �[0m
2022-09-06 10:50:10 [fc2 58861545] Writing stream to 新作アニメ test/2022-09-06 105008 新作色々.ts �[0m
......
(repeating this exception then restart again and again)
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:
{
"autofc2": {
"log_level": "info"
},
"default_params": {
"quality": "2Mbps",
"latency": "mid", (This is curious since low/high/mid refer to 0/1/2, which means mid is higher than high?)
"threads": 1,
"outtmpl": "%(channel_name)s %(_en_name)s/%(date)s %(time)s %(title)s.%(ext)s",
"write_chat": false,
"write_info_json": false,
"write_thumbnail": false,
"wait_for_live": true,
"wait_for_quality_timeout": 15,
"wait_poll_interval": 5,
"cookies_file": null,
"remux": true,
"keep_intermediates": false,
"extract_audio": false,
"trust_env_proxy": true
},
"channels": {
"58861545": { "_en_name": "test" }
}
}
proxy environment vars are
HTTPS_PROXY = http://127.0.0.1:10809
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