-
-
Notifications
You must be signed in to change notification settings - Fork 17
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
Comments
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. |
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. |
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) |
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 Checking for updates... Using device: cuda
Using large-v2 model. |
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 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. |
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. |
Are you using from source or prebuilt binary (from itch) |
I am using the itch [ALPHA] Synthalingua Windows x64 Portable Just to clarify i have this: "Unexpected error loading m3u8 file: URL can't contain control characters." |
Heres the output i get, it then repeats and trys again: Checking for updates... Using device: cpu
Using large-v2 model. |
I also tried with different model sizes, ram, reset settings, running from batch file. |
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. |
Thank you for your hard work! |
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...
whisper_init_.py:146: FutureWarning: You are using
torch.load
withweights_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 forweights_only
will be flipped toTrue
. 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 viatorch.serialization.add_safe_globals
. We recommend you start settingweights_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')
The text was updated successfully, but these errors were encountered: