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

Unexpected error loading m3u8 file: URL can't contain control characters #131

Open
Halont opened this issue Aug 10, 2024 · 14 comments
Open
Assignees

Comments

@Halont
Copy link

Halont commented Aug 10, 2024

I managed to use this program once, then the next day its no longer working. I've re-downloaded the latest GUI version from Itch, and said 'yes' during setup to have everything needed installed, but getting the same issue, and not really sure how to go about fixing it.

I've tried with youtube livestreams and archived youtube livestreams

I also tried without the "youtube" part of the url, just the 'id' at the end.

Loading Script
Version 0.0.33
Config file already exists. Exiting...
PATH updated in this session.
Loading Primary Imports
Loading Extensions
Version Checker Module Loaded
Model Downloader Module Loaded
Discord Module Loaded
Console Settings Module Loaded
Warnings Module Loaded
Languages Module Loaded
Args Module Loaded
Web Server Module Loaded
Stream Transcription Module Loaded
Subtitles Generator Module Loaded
Extensions Loaded

Checking for updates...
You are already using the latest version.
Current version: 1.0.99997

Using device: cuda
CUDA device name: NVIDIA GeForce RTX 3080
VRAM available: 12287.5 MB
Port number was set, so spinning up a web server...
Starting Flask Server on port: 2000
You can access the server at http://localhost:2000
Now using ram flag: 6gb
Loading model medium...
Loading model medium instead since target language is not English...

  • Serving Flask app 'modules.api_backend'
  • Debug mode: off
    whisper_init_.py:146: FutureWarning: You are using torch.load with weights_only=False (the current default value), which uses the default pickle module implicitly. It is possible to construct malicious pickle data which will execute arbitrary code during unpickling (See https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models for more details). In a future release, the default value for weights_only will be flipped to True. This limits the functions that could be executed during unpickling. Arbitrary objects will no longer be allowed to be loaded via this mode unless they are explicitly allowlisted by the user via torch.serialization.add_safe_globals. We recommend you start setting weights_only=True for any use case where you don't have full control of the loaded file. Please open an issue on GitHub for any issues related to this experimental feature.
    Keeping temporary files disabled.
    Model loaded.

Using medium model.
Stream mode enabled.
You have chosen to use the stream https://www.youtube.com/watch?v=WvMZOmM42ow.
Found the Stream URL:
https://rr7---sn-uxanug5-ntqez.googlevideo.com/videoplayback?expire=1723269884&ei=nK62ZqPbCJuk9fwPiLL4gAs&ip=2001%3A8003%3A3a29%3A8800%3Af1ff%3Afbd2%3A9a65%3Ad8ae&id=o-AIZDFvrXYT6kxjyD06bQwWmtz2xpcX_3d9DqHAEZK63G&itag=299&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&mh=RH&mm=31%2C26&mn=sn-uxanug5-ntqez%2Csn-hxa7zn7s&ms=au%2Conr&mv=m&mvi=7&pl=39&pcm2=no&initcwndbps=1660000&vprv=1&svpuc=1&mime=video%2Fmp4&rqh=1&gir=yes&clen=4468566953&dur=11007.699&lmt=1723227271377695&mt=1723247821&fvip=2&keepalive=yes&c=IOS&txp=7209224&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cpcm2%2Cvprv%2Csvpuc%2Cmime%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJfQdSswRQIgI2etKFGWDYOYuJzAAtiAqPldDnxN9DDFDowFoodnnRwCIQCc1ejEKYtzXofAj3fSxMd8-pnh4NcrtDGoGTY8Al-JIw%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AGtxev0wRAIgIoGk1rc59eSig-wwVuSX6cVe5R6gSBqVj6QavlgJMW0CID738TPn9n1EH9h-1hDLPVbMtubpFQE7N0-cBTHY6dzx
https://rr7---sn-uxanug5-ntqez.googlevideo.com/videoplayback?expire=1723269884&ei=nK62ZoiCE4jk9fwP2Knz8QI&ip=2001%3A8003%3A3a29%3A8800%3Af1ff%3Afbd2%3A9a65%3Ad8ae&id=o-AJN7Ro4b-WIBX_IpHd59wt_XGrWMkNV0eND4rbDqcLfN&itag=251&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&mh=RH&mm=31%2C26&mn=sn-uxanug5-ntqez%2Csn-hxa7zn7s&ms=au%2Conr&mv=m&mvi=7&pl=39&pcm2=no&initcwndbps=1660000&bui=AQmm2ezIe30n4JuGcLScNLY7x_8QQZt1gxlOQqFbVCpb0jMvtdpyNiRpeo5Li26IiUYL5LRDCzKNPdDe&spc=Mv1m9pYcaLXFm0BqkgbPcvkuZuluyWpEWJSPJZC_YwNi9x7S2oZx&vprv=1&svpuc=1&mime=audio%2Fwebm&ns=qVC5ZYYhogL_wFkBilVtdjAQ&rqh=1&gir=yes&clen=188953037&dur=11007.741&lmt=1723227482382731&mt=1723247821&fvip=2&keepalive=yes&c=WEB_CREATOR&sefc=1&txp=7208224&n=_2pkLR7AmTPNUA&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cpcm2%2Cbui%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cns%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJfQdSswRAIgFcLnY6zPV_kGxVln18-WRCv41DlteoMQtj7DSuSgQPcCIHd_X-E1E9X0VDDWMB5fABcmVnUZ5YOSt74t9uI2vQXs&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AGtxev0wRQIhAKLXIuUUG6aYaaYim8tfcnm5aq7lezkbqSnfOIRasL_0AiB0AinFTdFvTnZYwCRBlFzgOmR0haHQi1o8tu__0FcLBA%3D%3D
Microphone disabled. Awaiting audio stream from stream...
Unexpected error loading m3u8 file: URL can't contain control characters. '/videoplayback?expire=1723269884&ei=nK62ZqPbCJuk9fwPiLL4gAs&ip=2001%3A8003%3A3a29%3A8800%3Af1ff%3Afbd2%3A9a65%3Ad8ae&id=o-AIZDFvrXYT6kxjyD06bQwWmtz2xpcX_3d9DqHAEZK63G&itag=299&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&mh=RH&mm=31%2C26&mn=sn-uxanug5-ntqez%2Csn-hxa7zn7s&ms=au%2Conr&mv=m&mvi=7&pl=39&pcm2=no&initcwndbps=1660000&vprv=1&svpuc=1&mime=video%2Fmp4&rqh=1&gir=yes&clen=4468566953&dur=11007.699&lmt=1723227271377695&mt=1723247821&fvip=2&keepalive=yes&c=IOS&txp=7209224&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cpcm2%2Cvprv%2Csvpuc%2Cmime%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJfQdSswRQIgI2etKFGWDYOYuJzAAtiAqPldDnxN9DDFDowFoodnnRwCIQCc1ejEKYtzXofAj3fSxMd8-pnh4NcrtDGoGTY8Al-JIw%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AGtxev0wRAIgIoGk1rc59eSig-wwVuSX6cVe5R6gSBqVj6QavlgJMW0CID738TPn9n1EH9h-1hDLPVbMtubpFQE7N0-cBTHY6dzx\nhttps://rr7---sn-uxanug5-ntqez.googlevideo.com/videoplayback?expire=1723269884&ei=nK62ZoiCE4jk9fwP2Knz8QI&ip=2001%3A8003%3A3a29%3A8800%3Af1ff%3Afbd2%3A9a65%3Ad8ae&id=o-AJN7Ro4b-WIBX_IpHd59wt_XGrWMkNV0eND4rbDqcLfN&itag=251&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&mh=RH&mm=31%2C26&mn=sn-uxanug5-ntqez%2Csn-hxa7zn7s&ms=au%2Conr&mv=m&mvi=7&pl=39&pcm2=no&initcwndbps=1660000&bui=AQmm2ezIe30n4JuGcLScNLY7x_8QQZt1gxlOQqFbVCpb0jMvtdpyNiRpeo5Li26IiUYL5LRDCzKNPdDe&spc=Mv1m9pYcaLXFm0BqkgbPcvkuZuluyWpEWJSPJZC_YwNi9x7S2oZx&vprv=1&svpuc=1&mime=audio%2Fwebm&ns=qVC5ZYYhogL_wFkBilVtdjAQ&rqh=1&gir=yes&clen=188953037&dur=11007.741&lmt=1723227482382731&mt=1723247821&fvip=2&keepalive=yes&c=WEB_CREATOR&sefc=1&txp=7208224&n=_2pkLR7AmTPNUA&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cpcm2%2Cbui%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cns%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJfQdSswRAIgFcLnY6zPV_kGxVln18-WRCv41DlteoMQtj7DSuSgQPcCIHd_X-E1E9X0VDDWMB5fABcmVnUZ5YOSt74t9uI2vQXs&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AGtxev0wRQIhAKLXIuUUG6aYaaYim8tfcnm5aq7lezkbqSnfOIRasL_0AiB0AinFTdFvTnZYwCRBlFzgOmR0haHQi1o8tu__0FcLBA%3D%3D' (found at least '\n')

@cyberofficial
Copy link
Owner

cyberofficial commented Aug 10, 2024

Was it a live stream that was live at the time?

As of right now, there is no ability to use the download functionality of hls and translate archive streams. (As of right now anyway)

If you wish to translate using archive streams, you'll need to use the microphone option and pipe audio to the program.

@cyberofficial cyberofficial self-assigned this Aug 10, 2024
@Halont
Copy link
Author

Halont commented Aug 10, 2024

I didn't realize it couldn't do archives like that. At the time I tried with a 'live' livestream too and got the same issue, but just tried again and it worked, so might have been a skill issue or something. I'll try the archive with the mic setting, thanks.

@Halont Halont closed this as completed Aug 10, 2024
@cyberofficial
Copy link
Owner

cyberofficial commented Aug 10, 2024

Yea, sorry; It's on my bucket list of things to add. All I can say is soon™~

You can check out this thread #12 (reply in thread) about using virtual audio inputs (older non gui method, but you can still apply the logic the gui)

@tsalthsu
Copy link

I am experiencing the same issue. I tried with a video that is currently live streaming, but the problem occurred, and in my case, even after trying again, it does not proceed

Loading Script
Version 0.0.33
Config file already exists. Exiting...
PATH updated in this session.
Loading Primary Imports
Loading Extensions
Version Checker Module Loaded
Discord Module Loaded
Console Settings Module Loaded
Warnings Module Loaded
Languages Module Loaded
Args Module Loaded
Web Server Module Loaded
Stream Transcription Module Loaded
Subtitles Generator Module Loaded
Extensions Loaded

Checking for updates...
You are already using the latest version.
Current version: 1.0.99999

Using device: cuda
CUDA device name: NVIDIA GeForce RTX 4080 SUPER
VRAM available: 16375.5 MB
Port number was set, so spinning up a web server...
Starting Flask Server on port: 2000
You can access the server at http://localhost:2000
Now using ram flag: 12gb-v2
Loading model large-v2...
Loading model large-v2 instead since target language is not English...

  • Serving Flask app 'modules.api_backend'
  • Debug mode: off
    whisper_init_.py:146: FutureWarning: You are using torch.load with weights_only=False (the current default value), which uses the default pickle module implicitly. It is possible to construct malicious pickle data which will execute arbitrary code during unpickling (See https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models for more details). In a future release, the default value for weights_only will be flipped to True. This limits the functions that could be executed during unpickling. Arbitrary objects will no longer be allowed to be loaded via this mode unless they are explicitly allowlisted by the user via torch.serialization.add_safe_globals. We recommend you start setting weights_only=True for any use case where you don't have full control of the loaded file. Please open an issue on GitHub for any issues related to this experimental feature.
    Keeping temporary files disabled.
    Model loaded.

Using large-v2 model.
Stream mode enabled.
You have chosen to use the stream https://www.youtube.com/watch?v=KbhdlUajZd8.
WARNING: "duration" field is negative, there is an error in extractor
Found the Stream URL:
https://manifest.googlevideo.com/api/manifest/hls_playlist/expire/1729801114/ei/OlcaZ7PRNqOWvcAPkejS-A4/ip/218.236.7.86/id/KbhdlUajZd8.1/itag/312/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/sgovp/gir%3Dyes%3Bitag%3D299/rqh/1/hdlc/1/hls_chunk_host/rr2---sn-n3cgv5qc5oq-nnol.googlevideo.com/xpc/EgVo2aDSNQ%3D%3D/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/1403750/met/1729779515,/mh/Mc/mm/44/mn/sn-n3cgv5qc5oq-nnol/ms/lva/mv/m/mvi/2/pl/24/rms/lva,lva/dover/13/pacing/0/short_key/1/keepalive/yes/fexp/51312688,51326932/mt/1729779171/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgovp,rqh,hdlc,xpc,playlist_duration,manifest_duration,vprv,playlist_type/sig/AJfQdSswRQIgT51wVbgkRO6Vio0RMEfkvW4gyaJCw1pQc1Rh6OT9iwgCIQDee3jlNpQOAJSPpP6dYCZulV1tz_UCxfrNAdD6S6lgvg%3D%3D/lsparams/hls_chunk_host,initcwndbps,met,mh,mm,mn,ms,mv,mvi,pl,rms/lsig/ACJ0pHgwRgIhAI7xyESnE6FS0VQ2AeMrNamNXOH503FLGEKlPzn6NSSvAiEAvLan2K5UWBZkT-131JpA5hslgjI7WIzDtfyKWGDoOu4%3D/playlist/index.m3u8
https://manifest.googlevideo.com/api/manifest/hls_playlist/expire/1729801114/ei/OlcaZ7PRNqOWvcAPkejS-A4/ip/218.236.7.86/id/KbhdlUajZd8.1/itag/234/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/goi/133/sgoap/gir%3Dyes%3Bitag%3D140/rqh/1/hdlc/1/hls_chunk_host/rr2---sn-n3cgv5qc5oq-nnol.googlevideo.com/xpc/EgVo2aDSNQ%3D%3D/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/1403750/met/1729779515,/mh/Mc/mm/44/mn/sn-n3cgv5qc5oq-nnol/ms/lva/mv/m/mvi/2/pl/24/rms/lva,lva/dover/13/pacing/0/short_key/1/keepalive/yes/fexp/51312688,51326932/mt/1729779171/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,goi,sgoap,rqh,hdlc,xpc,playlist_duration,manifest_duration,vprv,playlist_type/sig/AJfQdSswQwIgDJ8hPcwHlPE9aqTH1b80IWWcuQKwLGErrpeeYx1DNNcCH38jWKaieUEMf1gA1blixa7_AaiaTNHk4RY4DuJaktc%3D/lsparams/hls_chunk_host,initcwndbps,met,mh,mm,mn,ms,mv,mvi,pl,rms/lsig/ACJ0pHgwRQIgT5bYs4EC00R7gejB1h3FzkJ9kehSgSwLuuP_SQZjwxoCIQC6HTwknvg9iaWTZCniCqmDFRHgx-qx-1VNKD3xx7msXw%3D%3D/playlist/index.m3u8
Microphone disabled. Awaiting audio stream from stream...
Unexpected error loading m3u8 file: URL can't contain control characters. '/api/manifest/hls_playlist/expire/1729801114/ei/OlcaZ7PRNqOWvcAPkejS-A4/ip/218.236.7.86/id/KbhdlUajZd8.1/itag/312/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/sgovp/gir%3Dyes%3Bitag%3D299/rqh/1/hdlc/1/hls_chunk_host/rr2---sn-n3cgv5qc5oq-nnol.googlevideo.com/xpc/EgVo2aDSNQ%3D%3D/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/1403750/met/1729779515,/mh/Mc/mm/44/mn/sn-n3cgv5qc5oq-nnol/ms/lva/mv/m/mvi/2/pl/24/rms/lva,lva/dover/13/pacing/0/short_key/1/keepalive/yes/fexp/51312688,51326932/mt/1729779171/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgovp,rqh,hdlc,xpc,playlist_duration,manifest_duration,vprv,playlist_type/sig/AJfQdSswRQIgT51wVbgkRO6Vio0RMEfkvW4gyaJCw1pQc1Rh6OT9iwgCIQDee3jlNpQOAJSPpP6dYCZulV1tz_UCxfrNAdD6S6lgvg%3D%3D/lsparams/hls_chunk_host,initcwndbps,met,mh,mm,mn,ms,mv,mvi,pl,rms/lsig/ACJ0pHgwRgIhAI7xyESnE6FS0VQ2AeMrNamNXOH503FLGEKlPzn6NSSvAiEAvLan2K5UWBZkT-131JpA5hslgjI7WIzDtfyKWGDoOu4%3D/playlist/index.m3u8\nhttps://manifest.googlevideo.com/api/manifest/hls_playlist/expire/1729801114/ei/OlcaZ7PRNqOWvcAPkejS-A4/ip/218.236.7.86/id/KbhdlUajZd8.1/itag/234/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/goi/133/sgoap/gir%3Dyes%3Bitag%3D140/rqh/1/hdlc/1/hls_chunk_host/rr2---sn-n3cgv5qc5oq-nnol.googlevideo.com/xpc/EgVo2aDSNQ%3D%3D/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/1403750/met/1729779515,/mh/Mc/mm/44/mn/sn-n3cgv5qc5oq-nnol/ms/lva/mv/m/mvi/2/pl/24/rms/lva,lva/dover/13/pacing/0/short_key/1/keepalive/yes/fexp/51312688,51326932/mt/1729779171/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,goi,sgoap,rqh,hdlc,xpc,playlist_duration,manifest_duration,vprv,playlist_type/sig/AJfQdSswQwIgDJ8hPcwHlPE9aqTH1b80IWWcuQKwLGErrpeeYx1DNNcCH38jWKaieUEMf1gA1blixa7_AaiaTNHk4RY4DuJaktc%3D/lsparams/hls_chunk_host,initcwndbps,met,mh,mm,mn,ms,mv,mvi,pl,rms/lsig/ACJ0pHgwRQIgT5bYs4EC00R7gejB1h3FzkJ9kehSgSwLuuP_SQZjwxoCIQC6HTwknvg9iaWTZCniCqmDFRHgx-qx-1VNKD3xx7msXw%3D%3D/playlist/index.m3u8' (found at least '\n')
Unexpected error loading m3u8 file: URL can't contain control characters. '/api/manifest/hls_playlist/expire/1729801114/ei/OlcaZ7PRNqOWvcAPkejS-A4/ip/218.236.7.86/id/KbhdlUajZd8.1/itag/312/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/sgovp/gir%3Dyes%3Bitag%3D299/rqh/1/hdlc/1/hls_chunk_host/rr2---sn-n3cgv5qc5oq-nnol.googlevideo.com/xpc/EgVo2aDSNQ%3D%3D/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/1403750/met/1729779515,/mh/Mc/mm/44/mn/sn-n3cgv5qc5oq-nnol/ms/lva/mv/m/mvi/2/pl/24/rms/lva,lva/dover/13/pacing/0/short_key/1/keepalive/yes/fexp/51312688,51326932/mt/1729779171/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgovp,rqh,hdlc,xpc,playlist_duration,manifest_duration,vprv,playlist_type/sig/AJfQdSswRQIgT51wVbgkRO6Vio0RMEfkvW4gyaJCw1pQc1Rh6OT9iwgCIQDee3jlNpQOAJSPpP6dYCZulV1tz_UCxfrNAdD6S6lgvg%3D%3D/lsparams/hls_chunk_host,initcwndbps,met,mh,mm,mn,ms,mv,mvi,pl,rms/lsig/ACJ0pHgwRgIhAI7xyESnE6FS0VQ2AeMrNamNXOH503FLGEKlPzn6NSSvAiEAvLan2K5UWBZkT-131JpA5hslgjI7WIzDtfyKWGDoOu4%3D/playlist/index.m3u8\nhttps://manifest.googlevideo.com/api/manifest/hls_playlist/expire/1729801114/ei/OlcaZ7PRNqOWvcAPkejS-A4/ip/218.236.7.86/id/KbhdlUajZd8.1/itag/234/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/goi/133/sgoap/gir%3Dyes%3Bitag%3D140/rqh/1/hdlc/1/hls_chunk_host/rr2---sn-n3cgv5qc5oq-nnol.googlevideo.com/xpc/EgVo2aDSNQ%3D%3D/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/1403750/met/1729779515,/mh/Mc/mm/44/mn/sn-n3cgv5qc5oq-nnol/ms/lva/mv/m/mvi/2/pl/24/rms/lva,lva/dover/13/pacing/0/short_key/1/keepalive/yes/fexp/51312688,51326932/mt/1729779171/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,goi,sgoap,rqh,hdlc,xpc,playlist_duration,manifest_duration,vprv,playlist_type/sig/AJfQdSswQwIgDJ8hPcwHlPE9aqTH1b80IWWcuQKwLGErrpeeYx1DNNcCH38jWKaieUEMf1gA1blixa7_AaiaTNHk4RY4DuJaktc%3D/lsparams/hls_chunk_host,initcwndbps,met,mh,mm,mn,ms,mv,mvi,pl,rms/lsig/ACJ0pHgwRQIgT5bYs4EC00R7gejB1h3FzkJ9kehSgSwLuuP_SQZjwxoCIQC6HTwknvg9iaWTZCniCqmDFRHgx-qx-1VNKD3xx7msXw%3D%3D/playlist/index.m3u8' (found at least '\n')
Unexpected error loading m3u8 file: URL can't contain control characters. '/api/manifest/hls_playlist/expire/1729801114/ei/OlcaZ7PRNqOWvcAPkejS-A4/ip/218.236.7.86/id/KbhdlUajZd8.1/itag/312/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/sgovp/gir%3Dyes%3Bitag%3D299/rqh/1/hdlc/1/hls_chunk_host/rr2---sn-n3cgv5qc5oq-nnol.googlevideo.com/xpc/EgVo2aDSNQ%3D%3D/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/1403750/met/1729779515,/mh/Mc/mm/44/mn/sn-n3cgv5qc5oq-nnol/ms/lva/mv/m/mvi/2/pl/24/rms/lva,lva/dover/13/pacing/0/short_key/1/keepalive/yes/fexp/51312688,51326932/mt/1729779171/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgovp,rqh,hdlc,xpc,playlist_duration,manifest_duration,vprv,playlist_type/sig/AJfQdSswRQIgT51wVbgkRO6Vio0RMEfkvW4gyaJCw1pQc1Rh6OT9iwgCIQDee3jlNpQOAJSPpP6dYCZulV1tz_UCxfrNAdD6S6lgvg%3D%3D/lsparams/hls_chunk_host,initcwndbps,met,mh,mm,mn,ms,mv,mvi,pl,rms/lsig/ACJ0pHgwRgIhAI7xyESnE6FS0VQ2AeMrNamNXOH503FLGEKlPzn6NSSvAiEAvLan2K5UWBZkT-131JpA5hslgjI7WIzDtfyKWGDoOu4%3D/playlist/index.m3u8\nhttps://manifest.googlevideo.com/api/manifest/hls_playlist/expire/1729801114/ei/OlcaZ7PRNqOWvcAPkejS-A4/ip/218.236.7.86/id/KbhdlUajZd8.1/itag/234/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/goi/133/sgoap/gir%3Dyes%3Bitag%3D140/rqh/1/hdlc/1/hls_chunk_host/rr2---sn-n3cgv5qc5oq-nnol.googlevideo.com/xpc/EgVo2aDSNQ%3D%3D/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/1403750/met/1729779515,/mh/Mc/mm/44/mn/sn-n3cgv5qc5oq-nnol/ms/lva/mv/m/mvi/2/pl/24/rms/lva,lva/dover/13/pacing/0/short_key/1/keepalive/yes/fexp/51312688,51326932/mt/1729779171/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,goi,sgoap,rqh,hdlc,xpc,playlist_duration,manifest_duration,vprv,playlist_type/sig/AJfQdSswQwIgDJ8hPcwHlPE9aqTH1b80IWWcuQKwLGErrpeeYx1DNNcCH38jWKaieUEMf1gA1blixa7_AaiaTNHk4RY4DuJaktc%3D/lsparams/hls_chunk_host,initcwndbps,met,mh,mm,mn,ms,mv,mvi,pl,rms/lsig/ACJ0pHgwRQIgT5bYs4EC00R7gejB1h3FzkJ9kehSgSwLuuP_SQZjwxoCIQC6HTwknvg9iaWTZCniCqmDFRHgx-qx-1VNKD3xx7msXw%3D%3D/playlist/index.m3u8' (found at least '\n')

@cyberofficial
Copy link
Owner

I am experiencing the same issue. I tried with a video that is currently live streaming, but the problem occurred, and in my case, even after trying again, it does not proceed

Loading Script Version 0.0.33 Config file already exists. Exiting... PATH updated in this session. Loading Primary Imports Loading Extensions Version Checker Module Loaded Discord Module Loaded Console Settings Module Loaded Warnings Module Loaded Languages Module Loaded Args Module Loaded Web Server Module Loaded Stream Transcription Module Loaded Subtitles Generator Module Loaded Extensions Loaded

Checking for updates... You are already using the latest version. Current version: 1.0.99999

Using device: cuda CUDA device name: NVIDIA GeForce RTX 4080 SUPER VRAM available: 16375.5 MB Port number was set, so spinning up a web server... Starting Flask Server on port: 2000 You can access the server at http://localhost:2000 Now using ram flag: 12gb-v2 Loading model large-v2... Loading model large-v2 instead since target language is not English...

  • Serving Flask app 'modules.api_backend'
  • Debug mode: off
    whisper__init__.py:146: FutureWarning: You are using torch.load with weights_only=False (the current default value), which uses the default pickle module implicitly. It is possible to construct malicious pickle data which will execute arbitrary code during unpickling (See https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models for more details). In a future release, the default value for weights_only will be flipped to True. This limits the functions that could be executed during unpickling. Arbitrary objects will no longer be allowed to be loaded via this mode unless they are explicitly allowlisted by the user via torch.serialization.add_safe_globals. We recommend you start setting weights_only=True for any use case where you don't have full control of the loaded file. Please open an issue on GitHub for any issues related to this experimental feature.
    Keeping temporary files disabled.
    Model loaded.

Using large-v2 model. Stream mode enabled. You have chosen to use the stream https://www.youtube.com/watch?v=KbhdlUajZd8. WARNING: "duration" field is negative, there is an error in extractor Found the Stream URL: https://manifest.googlevideo.com/api/manifest/hls_playlist/expire/1729801114/ei/OlcaZ7PRNqOWvcAPkejS-A4/ip/218.236.7.86/id/KbhdlUajZd8.1/itag/312/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/sgovp/gir%3Dyes%3Bitag%3D299/rqh/1/hdlc/1/hls_chunk_host/rr2---sn-n3cgv5qc5oq-nnol.googlevideo.com/xpc/EgVo2aDSNQ%3D%3D/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/1403750/met/1729779515,/mh/Mc/mm/44/mn/sn-n3cgv5qc5oq-nnol/ms/lva/mv/m/mvi/2/pl/24/rms/lva,lva/dover/13/pacing/0/short_key/1/keepalive/yes/fexp/51312688,51326932/mt/1729779171/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgovp,rqh,hdlc,xpc,playlist_duration,manifest_duration,vprv,playlist_type/sig/AJfQdSswRQIgT51wVbgkRO6Vio0RMEfkvW4gyaJCw1pQc1Rh6OT9iwgCIQDee3jlNpQOAJSPpP6dYCZulV1tz_UCxfrNAdD6S6lgvg%3D%3D/lsparams/hls_chunk_host,initcwndbps,met,mh,mm,mn,ms,mv,mvi,pl,rms/lsig/ACJ0pHgwRgIhAI7xyESnE6FS0VQ2AeMrNamNXOH503FLGEKlPzn6NSSvAiEAvLan2K5UWBZkT-131JpA5hslgjI7WIzDtfyKWGDoOu4%3D/playlist/index.m3u8 https://manifest.googlevideo.com/api/manifest/hls_playlist/expire/1729801114/ei/OlcaZ7PRNqOWvcAPkejS-A4/ip/218.236.7.86/id/KbhdlUajZd8.1/itag/234/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/goi/133/sgoap/gir%3Dyes%3Bitag%3D140/rqh/1/hdlc/1/hls_chunk_host/rr2---sn-n3cgv5qc5oq-nnol.googlevideo.com/xpc/EgVo2aDSNQ%3D%3D/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/1403750/met/1729779515,/mh/Mc/mm/44/mn/sn-n3cgv5qc5oq-nnol/ms/lva/mv/m/mvi/2/pl/24/rms/lva,lva/dover/13/pacing/0/short_key/1/keepalive/yes/fexp/51312688,51326932/mt/1729779171/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,goi,sgoap,rqh,hdlc,xpc,playlist_duration,manifest_duration,vprv,playlist_type/sig/AJfQdSswQwIgDJ8hPcwHlPE9aqTH1b80IWWcuQKwLGErrpeeYx1DNNcCH38jWKaieUEMf1gA1blixa7_AaiaTNHk4RY4DuJaktc%3D/lsparams/hls_chunk_host,initcwndbps,met,mh,mm,mn,ms,mv,mvi,pl,rms/lsig/ACJ0pHgwRQIgT5bYs4EC00R7gejB1h3FzkJ9kehSgSwLuuP_SQZjwxoCIQC6HTwknvg9iaWTZCniCqmDFRHgx-qx-1VNKD3xx7msXw%3D%3D/playlist/index.m3u8 Microphone disabled. Awaiting audio stream from stream... Unexpected error loading m3u8 file: URL can't contain control characters. '/api/manifest/hls_playlist/expire/1729801114/ei/OlcaZ7PRNqOWvcAPkejS-A4/ip/218.236.7.86/id/KbhdlUajZd8.1/itag/312/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/sgovp/gir%3Dyes%3Bitag%3D299/rqh/1/hdlc/1/hls_chunk_host/rr2---sn-n3cgv5qc5oq-nnol.googlevideo.com/xpc/EgVo2aDSNQ%3D%3D/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/1403750/met/1729779515,/mh/Mc/mm/44/mn/sn-n3cgv5qc5oq-nnol/ms/lva/mv/m/mvi/2/pl/24/rms/lva,lva/dover/13/pacing/0/short_key/1/keepalive/yes/fexp/51312688,51326932/mt/1729779171/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgovp,rqh,hdlc,xpc,playlist_duration,manifest_duration,vprv,playlist_type/sig/AJfQdSswRQIgT51wVbgkRO6Vio0RMEfkvW4gyaJCw1pQc1Rh6OT9iwgCIQDee3jlNpQOAJSPpP6dYCZulV1tz_UCxfrNAdD6S6lgvg%3D%3D/lsparams/hls_chunk_host,initcwndbps,met,mh,mm,mn,ms,mv,mvi,pl,rms/lsig/ACJ0pHgwRgIhAI7xyESnE6FS0VQ2AeMrNamNXOH503FLGEKlPzn6NSSvAiEAvLan2K5UWBZkT-131JpA5hslgjI7WIzDtfyKWGDoOu4%3D/playlist/index.m3u8\nhttps://manifest.googlevideo.com/api/manifest/hls_playlist/expire/1729801114/ei/OlcaZ7PRNqOWvcAPkejS-A4/ip/218.236.7.86/id/KbhdlUajZd8.1/itag/234/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/goi/133/sgoap/gir%3Dyes%3Bitag%3D140/rqh/1/hdlc/1/hls_chunk_host/rr2---sn-n3cgv5qc5oq-nnol.googlevideo.com/xpc/EgVo2aDSNQ%3D%3D/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/1403750/met/1729779515,/mh/Mc/mm/44/mn/sn-n3cgv5qc5oq-nnol/ms/lva/mv/m/mvi/2/pl/24/rms/lva,lva/dover/13/pacing/0/short_key/1/keepalive/yes/fexp/51312688,51326932/mt/1729779171/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,goi,sgoap,rqh,hdlc,xpc,playlist_duration,manifest_duration,vprv,playlist_type/sig/AJfQdSswQwIgDJ8hPcwHlPE9aqTH1b80IWWcuQKwLGErrpeeYx1DNNcCH38jWKaieUEMf1gA1blixa7_AaiaTNHk4RY4DuJaktc%3D/lsparams/hls_chunk_host,initcwndbps,met,mh,mm,mn,ms,mv,mvi,pl,rms/lsig/ACJ0pHgwRQIgT5bYs4EC00R7gejB1h3FzkJ9kehSgSwLuuP_SQZjwxoCIQC6HTwknvg9iaWTZCniCqmDFRHgx-qx-1VNKD3xx7msXw%3D%3D/playlist/index.m3u8' (found at least '\n') Unexpected error loading m3u8 file: URL can't contain control characters. '/api/manifest/hls_playlist/expire/1729801114/ei/OlcaZ7PRNqOWvcAPkejS-A4/ip/218.236.7.86/id/KbhdlUajZd8.1/itag/312/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/sgovp/gir%3Dyes%3Bitag%3D299/rqh/1/hdlc/1/hls_chunk_host/rr2---sn-n3cgv5qc5oq-nnol.googlevideo.com/xpc/EgVo2aDSNQ%3D%3D/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/1403750/met/1729779515,/mh/Mc/mm/44/mn/sn-n3cgv5qc5oq-nnol/ms/lva/mv/m/mvi/2/pl/24/rms/lva,lva/dover/13/pacing/0/short_key/1/keepalive/yes/fexp/51312688,51326932/mt/1729779171/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgovp,rqh,hdlc,xpc,playlist_duration,manifest_duration,vprv,playlist_type/sig/AJfQdSswRQIgT51wVbgkRO6Vio0RMEfkvW4gyaJCw1pQc1Rh6OT9iwgCIQDee3jlNpQOAJSPpP6dYCZulV1tz_UCxfrNAdD6S6lgvg%3D%3D/lsparams/hls_chunk_host,initcwndbps,met,mh,mm,mn,ms,mv,mvi,pl,rms/lsig/ACJ0pHgwRgIhAI7xyESnE6FS0VQ2AeMrNamNXOH503FLGEKlPzn6NSSvAiEAvLan2K5UWBZkT-131JpA5hslgjI7WIzDtfyKWGDoOu4%3D/playlist/index.m3u8\nhttps://manifest.googlevideo.com/api/manifest/hls_playlist/expire/1729801114/ei/OlcaZ7PRNqOWvcAPkejS-A4/ip/218.236.7.86/id/KbhdlUajZd8.1/itag/234/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/goi/133/sgoap/gir%3Dyes%3Bitag%3D140/rqh/1/hdlc/1/hls_chunk_host/rr2---sn-n3cgv5qc5oq-nnol.googlevideo.com/xpc/EgVo2aDSNQ%3D%3D/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/1403750/met/1729779515,/mh/Mc/mm/44/mn/sn-n3cgv5qc5oq-nnol/ms/lva/mv/m/mvi/2/pl/24/rms/lva,lva/dover/13/pacing/0/short_key/1/keepalive/yes/fexp/51312688,51326932/mt/1729779171/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,goi,sgoap,rqh,hdlc,xpc,playlist_duration,manifest_duration,vprv,playlist_type/sig/AJfQdSswQwIgDJ8hPcwHlPE9aqTH1b80IWWcuQKwLGErrpeeYx1DNNcCH38jWKaieUEMf1gA1blixa7_AaiaTNHk4RY4DuJaktc%3D/lsparams/hls_chunk_host,initcwndbps,met,mh,mm,mn,ms,mv,mvi,pl,rms/lsig/ACJ0pHgwRQIgT5bYs4EC00R7gejB1h3FzkJ9kehSgSwLuuP_SQZjwxoCIQC6HTwknvg9iaWTZCniCqmDFRHgx-qx-1VNKD3xx7msXw%3D%3D/playlist/index.m3u8' (found at least '\n') Unexpected error loading m3u8 file: URL can't contain control characters. '/api/manifest/hls_playlist/expire/1729801114/ei/OlcaZ7PRNqOWvcAPkejS-A4/ip/218.236.7.86/id/KbhdlUajZd8.1/itag/312/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/sgovp/gir%3Dyes%3Bitag%3D299/rqh/1/hdlc/1/hls_chunk_host/rr2---sn-n3cgv5qc5oq-nnol.googlevideo.com/xpc/EgVo2aDSNQ%3D%3D/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/1403750/met/1729779515,/mh/Mc/mm/44/mn/sn-n3cgv5qc5oq-nnol/ms/lva/mv/m/mvi/2/pl/24/rms/lva,lva/dover/13/pacing/0/short_key/1/keepalive/yes/fexp/51312688,51326932/mt/1729779171/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgovp,rqh,hdlc,xpc,playlist_duration,manifest_duration,vprv,playlist_type/sig/AJfQdSswRQIgT51wVbgkRO6Vio0RMEfkvW4gyaJCw1pQc1Rh6OT9iwgCIQDee3jlNpQOAJSPpP6dYCZulV1tz_UCxfrNAdD6S6lgvg%3D%3D/lsparams/hls_chunk_host,initcwndbps,met,mh,mm,mn,ms,mv,mvi,pl,rms/lsig/ACJ0pHgwRgIhAI7xyESnE6FS0VQ2AeMrNamNXOH503FLGEKlPzn6NSSvAiEAvLan2K5UWBZkT-131JpA5hslgjI7WIzDtfyKWGDoOu4%3D/playlist/index.m3u8\nhttps://manifest.googlevideo.com/api/manifest/hls_playlist/expire/1729801114/ei/OlcaZ7PRNqOWvcAPkejS-A4/ip/218.236.7.86/id/KbhdlUajZd8.1/itag/234/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/goi/133/sgoap/gir%3Dyes%3Bitag%3D140/rqh/1/hdlc/1/hls_chunk_host/rr2---sn-n3cgv5qc5oq-nnol.googlevideo.com/xpc/EgVo2aDSNQ%3D%3D/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/1403750/met/1729779515,/mh/Mc/mm/44/mn/sn-n3cgv5qc5oq-nnol/ms/lva/mv/m/mvi/2/pl/24/rms/lva,lva/dover/13/pacing/0/short_key/1/keepalive/yes/fexp/51312688,51326932/mt/1729779171/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,goi,sgoap,rqh,hdlc,xpc,playlist_duration,manifest_duration,vprv,playlist_type/sig/AJfQdSswQwIgDJ8hPcwHlPE9aqTH1b80IWWcuQKwLGErrpeeYx1DNNcCH38jWKaieUEMf1gA1blixa7_AaiaTNHk4RY4DuJaktc%3D/lsparams/hls_chunk_host,initcwndbps,met,mh,mm,mn,ms,mv,mvi,pl,rms/lsig/ACJ0pHgwRQIgT5bYs4EC00R7gejB1h3FzkJ9kehSgSwLuuP_SQZjwxoCIQC6HTwknvg9iaWTZCniCqmDFRHgx-qx-1VNKD3xx7msXw%3D%3D/playlist/index.m3u8' (found at least '\n')

I have tried the same url, did the program crash? I encountered some same issue, but it doesn't crash and after a good couple seconds, it started working.
I also realeased a new update on itch.io for the portable build that fixes some issues and improves speeds (still currently writing the changes up).
opera_MnDLa3NNtP

@tsalthsu
Copy link

I encountered the same issue even after trying again. There's no problem with the microphone settings, so for now, I'm using it with the current mic setup. Thanks for the great program!

@cyberofficial
Copy link
Owner

I encountered the same issue even after trying again. There's no problem with the microphone settings, so for now, I'm using it with the current mic setup. Thanks for the great program!

I really hate the "it works for me and not you" logic the universe likes to play on people :(

I'll try and diagnose possible issues. I think it may be a YouTube issue directly. Their Livestream service likes to randomly change or do certain updates and not tell people.

@marvtobi
Copy link

Having the same issue with any kind of youtube live streams. I tried a file and a twitch live stream and it runs fine. Not sure whats broken with the yt lives.

@cyberofficial
Copy link
Owner

YouTube Livestream Playlist file will sometimes result in negative times.

Are you using from source or prebuilt binary (from itch)

@marvtobi
Copy link

marvtobi commented Jan 15, 2025

I am using the itch [ALPHA] Synthalingua Windows x64 Portable
3.4 GB Version 1.1-A4.63-GUI4.45
I rechecked and reinstalled python to the correct version and tried with yt dlp and ffmpeg in path or in the same folder too.

Just to clarify i have this: "Unexpected error loading m3u8 file: URL can't contain control characters."
and then the wall of text url. I let it sit there a while but nothing changed, there seem to be two attempts/errors with this message.

@marvtobi
Copy link

marvtobi commented Jan 15, 2025

Heres the output i get, it then repeats and trys again:
`
Loading Script
Version 0.0.33
Config file already exists. Exiting...
PATH updated in this session.
Loading Primary Imports
Loading Extensions
Version Checker Module Loaded
Discord Module Loaded
Console Settings Module Loaded
Warnings Module Loaded
Languages Module Loaded
Args Module Loaded
Web Server Module Loaded
Stream Transcription Module Loaded
Subtitles Generator Module Loaded
Extensions Loaded

Checking for updates...
You are already using the latest version.
Current version: 1.0.99999

Using device: cpu
Port number was set, so spinning up a web server...
Starting Flask Server on port: 2000
You can access the server at http://localhost:2000
Now using ram flag: 12gb-v2
Hardmodel parameter detected. Setting ram flag to hardmodel parameter.
Loading model large-v2...

  • Serving Flask app 'modules.api_backend'
  • Debug mode: off
    whisper_init_.py:146: FutureWarning: You are using torch.load with weights_only=False (the current default value), which uses the default pickle module implicitly. It is possible to construct malicious pickle data which will execute arbitrary code during unpickling (See https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models for more details). In a future release, the default value for weights_only will be flipped to True. This limits the functions that could be executed during unpickling. Arbitrary objects will no longer be allowed to be loaded via this mode unless they are explicitly allowlisted by the user via torch.serialization.add_safe_globals. We recommend you start setting weights_only=True for any use case where you don't have full control of the loaded file. Please open an issue on GitHub for any issues related to this experimental feature.
    Keeping temporary files disabled.
    Model loaded.

Using large-v2 model.
Stream mode enabled.
You have chosen to use the stream https://youtu.be/CcJAKz1WIS4.
Found the Stream URL:
https://manifest.googlevideo.com/api/manifest/hls_playlist/expire/1736999893/ei/dS-IZ_SlK-LGmLAP2di_uAQ/ip/83.135.242.91/id/CcJAKz1WIS4.1/itag/312/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/sgovp/gir%3Dyes%3Bitag%3D299/rqh/1/hdlc/1/hls_chunk_host/rr3---sn-8xgn5uxa-4g56.googlevideo.com/xpc/EgVo2aDSNQ%3D%3D/bui/AY2Et-PfCoPenroxreZUWrxj9M-onizmcYMUWQAZCTLOHhoxYMFGeiblWYvE28kdHQw4hWLm8xdq573w/spc/9kzgDQ1bfdg89lCyhLIAJVChrdiKozfysq8Q4r7JuIx99m742KdXyNtOFp_I/vprv/1/playlist_type/LIVE/initcwndbps/2836250/met/1736978293,/mh/xx/mm/44/mn/sn-8xgn5uxa-4g56/ms/lva/mv/m/mvi/3/pl/22/rms/lva,lva/dover/13/pacing/0/short_key/1/keepalive/yes/fexp/51326932,51335594,51353498,51371294,51384461/mt/1736977715/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgovp,rqh,hdlc,xpc,bui,spc,vprv,playlist_type/sig/AJfQdSswRgIhAIBHsSMV7JzyXNhs0d63CE9q5U4_5C1K2KbQaV85_UkoAiEAgK82R4lHSWbIje-R1rMa19EYjUkQFZlfTMT6luc9Iyc%3D/lsparams/hls_chunk_host,initcwndbps,met,mh,mm,mn,ms,mv,mvi,pl,rms/lsig/AGluJ3MwRAIgGL-6sQfX-L7k7v7oXnaQAE_ualJDYv3KYzDzYERkqoUCICzTzgWkgkHtn9JinQtIogxvP7rerSrfJbPv1Q0hqlb6/playlist/index.m3u8
https://manifest.googlevideo.com/api/manifest/hls_playlist/expire/1736999893/ei/dS-IZ_SlK-LGmLAP2di_uAQ/ip/83.135.242.91/id/CcJAKz1WIS4.1/itag/234/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/goi/133/sgoap/gir%3Dyes%3Bitag%3D140/rqh/1/hdlc/1/hls_chunk_host/rr3---sn-8xgn5uxa-4g56.googlevideo.com/xpc/EgVo2aDSNQ%3D%3D/bui/AY2Et-PfCoPenroxreZUWrxj9M-onizmcYMUWQAZCTLOHhoxYMFGeiblWYvE28kdHQw4hWLm8xdq573w/spc/9kzgDQ1bfdg89lCyhLIAJVChrdiKozfysq8Q4r7JuIx99m742KdXyNtOFp_I/vprv/1/playlist_type/LIVE/initcwndbps/2836250/met/1736978293,/mh/xx/mm/44/mn/sn-8xgn5uxa-4g56/ms/lva/mv/m/mvi/3/pl/22/rms/lva,lva/dover/13/pacing/0/short_key/1/keepalive/yes/fexp/51326932,51335594,51353498,51371294,51384461/mt/1736977715/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,goi,sgoap,rqh,hdlc,xpc,bui,spc,vprv,playlist_type/sig/AJfQdSswRQIhANhkN6QrSHpsJRRwFRQvLDWBcBgm77M1jaWMIzFWBF6LAiBn1yqg5kEg2wq7bDsRsJ1TrPrUfKgjYywiXH1JFupPqQ%3D%3D/lsparams/hls_chunk_host,initcwndbps,met,mh,mm,mn,ms,mv,mvi,pl,rms/lsig/AGluJ3MwRQIhALNfrhTHPcfy2OPAKIhjq9XydwrcW1TNy584ONBHAv0tAiATWdb6Wkb40wlgTakHm4KD9f-jiLTToEkGkpCe03Whzw%3D%3D/playlist/index.m3u8
Microphone disabled. Awaiting audio stream from stream...
Unexpected error loading m3u8 file: URL can't contain control characters. '/api/manifest/hls_playlist/expire/1736999893/ei/dS-IZ_SlK-LGmLAP2di_uAQ/ip/83.135.242.91/id/CcJAKz1WIS4.1/itag/312/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/sgovp/gir%3Dyes%3Bitag%3D299/rqh/1/hdlc/1/hls_chunk_host/rr3---sn-8xgn5uxa-4g56.googlevideo.com/xpc/EgVo2aDSNQ%3D%3D/bui/AY2Et-PfCoPenroxreZUWrxj9M-onizmcYMUWQAZCTLOHhoxYMFGeiblWYvE28kdHQw4hWLm8xdq573w/spc/9kzgDQ1bfdg89lCyhLIAJVChrdiKozfysq8Q4r7JuIx99m742KdXyNtOFp_I/vprv/1/playlist_type/LIVE/initcwndbps/2836250/met/1736978293,/mh/xx/mm/44/mn/sn-8xgn5uxa-4g56/ms/lva/mv/m/mvi/3/pl/22/rms/lva,lva/dover/13/pacing/0/short_key/1/keepalive/yes/fexp/51326932,51335594,51353498,51371294,51384461/mt/1736977715/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgovp,rqh,hdlc,xpc,bui,spc,vprv,playlist_type/sig/AJfQdSswRgIhAIBHsSMV7JzyXNhs0d63CE9q5U4_5C1K2KbQaV85_UkoAiEAgK82R4lHSWbIje-R1rMa19EYjUkQFZlfTMT6luc9Iyc%3D/lsparams/hls_chunk_host,initcwndbps,met,mh,mm,mn,ms,mv,mvi,pl,rms/lsig/AGluJ3MwRAIgGL-6sQfX-L7k7v7oXnaQAE_ualJDYv3KYzDzYERkqoUCICzTzgWkgkHtn9JinQtIogxvP7rerSrfJbPv1Q0hqlb6/playlist/index.m3u8\nhttps://manifest.googlevideo.com/api/manifest/hls_playlist/expire/1736999893/ei/dS-IZ_SlK-LGmLAP2di_uAQ/ip/83.135.242.91/id/CcJAKz1WIS4.1/itag/234/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/goi/133/sgoap/gir%3Dyes%3Bitag%3D140/rqh/1/hdlc/1/hls_chunk_host/rr3---sn-8xgn5uxa-4g56.googlevideo.com/xpc/EgVo2aDSNQ%3D%3D/bui/AY2Et-PfCoPenroxreZUWrxj9M-onizmcYMUWQAZCTLOHhoxYMFGeiblWYvE28kdHQw4hWLm8xdq573w/spc/9kzgDQ1bfdg89lCyhLIAJVChrdiKozfysq8Q4r7JuIx99m742KdXyNtOFp_I/vprv/1/playlist_type/LIVE/initcwndbps/2836250/met/1736978293,/mh/xx/mm/44/mn/sn-8xgn5uxa-4g56/ms/lva/mv/m/mvi/3/pl/22/rms/lva,lva/dover/13/pacing/0/short_key/1/keepalive/yes/fexp/51326932,51335594,51353498,51371294,51384461/mt/1736977715/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,goi,sgoap,rqh,hdlc,xpc,bui,spc,vprv,playlist_type/sig/AJfQdSswRQIhANhkN6QrSHpsJRRwFRQvLDWBcBgm77M1jaWMIzFWBF6LAiBn1yqg5kEg2wq7bDsRsJ1TrPrUfKgjYywiXH1JFupPqQ%3D%3D/lsparams/hls_chunk_host,initcwndbps,met,mh,mm,mn,ms,mv,mvi,pl,rms/lsig/AGluJ3MwRQIhALNfrhTHPcfy2OPAKIhjq9XydwrcW1TNy584ONBHAv0tAiATWdb6Wkb40wlgTakHm4KD9f-jiLTToEkGkpCe03Whzw%3D%3D/playlist/index.m3u8' (found at least '\n')
`

@marvtobi
Copy link

I also tried with different model sizes, ram, reset settings, running from batch file.

@cyberofficial
Copy link
Owner

Thank you for the additional information. I'll check to see if there have been any changes to YouTube's backend and adjust my code if possible. However, if the issue stems from third-party modules I use, it might be beyond my control to fix it directly in my repository.

Currently, I use https://github.com/yt-dlp/yt-dlp to grab URLs from YouTube, Twitch, and other platforms. If the problem originates from their side, I'll need to report the issue on their GitHub page.

To keep my repository clean and avoid potential legal issues, such as a cease-and-desist from Google, I do not include functionality for downloading content directly from their services. This reliance on third-party tools acts as a necessary layer of separation.

@cyberofficial cyberofficial reopened this Jan 16, 2025
@marvtobi
Copy link

Thank you for your hard work!

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

4 participants