Skip to content

ffmpeg exited with code 8 #8

@StarkzxP

Description

@StarkzxP

Please describe your problem in as much detail as possible:
I'm using @distube/youtube and everything was working great until yesterday, playing music was not working anymore and the error Error: Sign in to confirm you’re not a bot showed up. I assumed it was because of cookies, so I exported new ones and replaced the old ones, but it didn’t work and this error started appearing: DisTubeError [FFMPEG_EXITED]: ffmpeg exited with code 8. So today, I checked the ffmpegDebug event, and it showed these logs:

[test] ffmpeg version: 6.1.1-3ubuntu5
[833874313039970384] [process] spawn: /usr/bin/ffmpeg -reconnect 1 -reconnect_streamed 1 -reconnect_delay_max 5 -analyzeduration 0 -hide_banner -i https://rr4---sn-bg0eznze.googlevideo.com/videoplayback?expire=1733870058&ei=im1YZ5CMB7CQobIP3cGBgAI&ip=xxx.xxx.xxx.xxx&id=o-ALls2VcuRI9XCJPp4jGEBfT63yjo_45KOeA-ySbGDWyd&itag=251&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&met=1733848458%2C&mh=pC&mm=31%2C29&mn=sn-bg0eznze%2Csn-bg0s7n7e&ms=au%2Crdu&mv=m&mvi=4&pl=15&rms=au%2Cau&initcwndbps=1596250&siu=1&bui=AQn3pFQe9mkAd3gD3jGG9Soo_0yjAh09fvNyHBHKG8k0Ipt0mYGydrXt3ydMNm7OF4zpd3OE4w&spc=qtApASpf2CdVctxIZVgyqYQjC51uu87TdSjY_u9rwD3JcYG0uneuIJoKsmplAtgoyFW6pRV9Y-Hs&vprv=1&svpuc=1&mime=audio%2Fwebm&ns=4-jOtwlkc_uEYiNwf1s2ks4Q&rqh=1&gir=yes&clen=4545286&dur=271.901&lmt=1726256206570999&mt=1733848143&fvip=3&keepalive=yes&fexp=51326932%2C51335594%2C51347747%2C51355912&c=WEB&sefc=1&txp=4532434&n=nKUqH5LB7qy9GDDqXC&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Csiu%2Cbui%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cns%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&lsparams=met%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Crms%2Cinitcwndbps&lsig=AGluJ3MwRQIgXsexQKderdpkiNe0SBu6uPCBNaSwzrKI4_mUebBClKQCIQDJuDa2TfOPb-Zt9ZzhWLM-R_AyBnpFQ4l3xjCoO-9cyQ%3D%3D&sig=AJfQdSswRAIgb1xhXuy0riRLcaTxgY-pbcsm_4k6V0KCckiO2CosLQ8CIASphVdocYronBA8kawHH08yHxV8EzI4MTdEhn-UoIak -ar 48000 -ac 2 -f s16le pipe:1
[833874313039970384] [ffmpeg] log: [https @ 0x5fb3b21d0080] 
[833874313039970384] [ffmpeg] log: HTTP error 403 Forbidden
[833874313039970384] [ffmpeg] log: [in#0 @ 0x5fb3b21cf340] 
[833874313039970384] [ffmpeg] log: Error opening input: Server returned 403 Forbidden (access denied)
[833874313039970384] [ffmpeg] log: Error opening input file https://rr4---sn-bg0eznze.googlevideo.com/videoplayback?expire=1733870058&ei=im1YZ5CMB7CQobIP3cGBgAI&ip=xxx.xxx.xxx.xxx&id=o-ALls2VcuRI9XCJPp4jGEBfT63yjo_45KOeA-ySbGDWyd&itag=251&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&met=1733848458%2C&mh=pC&mm=31%2C29&mn=sn-bg0eznze%2Csn-bg0s7n7e&ms=au%2Crdu&mv=m&mvi=4&pl=15&rms=au%2Cau&initcwndbps=1596250&siu=1&bui=AQn3pFQe9mkAd3gD3jGG9Soo_0yjAh09fvNyHBHKG8k0Ipt0mYGydrXt3ydMNm7OF4zpd3OE4w&spc=qtApASpf2CdVctxIZVgyqYQjC51uu87TdSjY_u9rwD3JcYG0uneuIJoKsmplAtgoyFW6pRV9Y-Hs&vprv=1&svpuc=1&mime=audio%2Fwebm&ns=4-jOtwlkc_uEYiNwf1s2ks4Q&rqh=1&gir=yes&clen=4545286&dur=271.901&lmt=1726256206570999&mt=1733848143&fvip=3&keepalive=yes&fexp=51326932%2C51335594%2C51347747%2C51355912&c=WEB&sefc=1&txp=4532434&n=nKUqH5LB7qy9GDDqXC&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Csiu%2Cbui%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cns%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&lsparams=met%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Crms%2Cinitcwndbps&lsig=AGluJ3MwRQIgXsexQKderdpkiNe0SBu6uPCBNaSwzrKI4_mUebBClKQCIQDJuDa2TfOPb-Zt9ZzhWLM-R_AyBnpFQ4l3xjCoO-9cyQ%3D%3D&sig=AJfQdSswRAIgb1xhXuy0riRLcaTxgY-pbcsm_4k6V0KCckiO2CosLQ8CIASphVdocYronBA8kawHH08yHxV8EzI4MTdEhn-UoIak.
[833874313039970384] [ffmpeg] log: Error opening input files: Server returned 403 Forbidden (access denied)
[833874313039970384] [stream] log: stream finished
[833874313039970384] [process] exit: code=8 signal=unknown
[833874313039970384] [process] error: ffmpeg exited with code 8

I also tried using cookies from a different account but that didn’t work either.

Further information:

  • DisTube version: 5.0.4
  • @distube/youtube: 1.0.4
  • discord.js version: 14.16.3
  • Node.js version: 18.19.1
  • Operating system: Ubuntu 24.04.1 LTS

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions