Closed vxbinaca closed 1 year ago
@vxbinaca There a yt-dlp issue tracking this by chance? If so, can you drop the link here?
Edited issue with link.
I may have a fix, we'd have to instruct people to run this:
sudo apt-get update
sudo apt-get install build-essential chrpath libssl-dev libxft-dev -y
sudo apt-get install libfreetype6 libfreetype6-dev -y
sudo apt-get install libfontconfig1 libfontconfig1-dev -y
cd ~
export PHANTOM_JS="phantomjs-2.1.1-linux-x86_64"
wget https://github.com/Medium/phantomjs/releases/download/v2.1.1/$PHANTOM_JS.tar.bz2
sudo tar xvjf $PHANTOM_JS.tar.bz2
sudo mv $PHANTOM_JS /usr/local/share
sudo ln -sf /usr/local/share/$PHANTOM_JS/bin/phantomjs /usr/local/bin
export OPENSSL_CONF=/dev/null
phantomjs --version
Both of those exports would need to be appended onto the shells rc file (bashrc or in my case zshrc) for two reasons:
I've followed the above steps, sans EXPORT rc appends, and it seems to be working.
i will be implementing this to my vm and see if it is working. thank you.
Edit: im getting this error: -bash: /usr/local/bin/phantomjs: cannot execute binary file: Exec format error
specs:
./+o+- ubuntu@instance-20230529-1307
yyyyy- -yyyyyy+ OS: Ubuntu 22.04 jammy
://+//////-yyyyyyo Kernel: aarch64 Linux 5.15.0-1035-oracle
.++ .:/++++++/-.+sss/` Uptime: 19d 20h 12m
.:++o: /++++++++/:--:/- Packages: 961
o:+o+:++.`..```.-/oo+++++/ Shell: bash 5.1.16
.:+o:+o/. `+sssoo+/ Disk: 31G / 194G (16%)
.++/+:+oo+o:` /sssooo. CPU: 4x ARM Neoverse-N1
/+++//+:`oo+o /::--:. GPU:
\+/+o+++`o++o ++////. RAM: 689MiB / 23988MiB
.++.o+++oo+:` /dddhhh.
.+.o+oo:. `oddhhhh+
\+.++o+o``-````.:ohdhhhhh+
`:o+++ `ohhhhhhhhyo++os:
.o:`.syhhhhhhh/.oo++o`
/osyyyyyyo++ooo+++/
````` +oo+++o\:
`oo++.
is it because of the kernel?
No, it's because you're trying to run an x86_64 binary on ARM64.
Update yt-dlp to latest stable release as NSIG extraction for F17 was fixed, see if that stops the problems.
i will be implementing this to my vm and see if it is working. thank you.
Edit: im getting this error:
-bash: /usr/local/bin/phantomjs: cannot execute binary file: Exec format error
specs:
./+o+- ubuntu@instance-20230529-1307 yyyyy- -yyyyyy+ OS: Ubuntu 22.04 jammy ://+//////-yyyyyyo Kernel: aarch64 Linux 5.15.0-1035-oracle .++ .:/++++++/-.+sss/` Uptime: 19d 20h 12m .:++o: /++++++++/:--:/- Packages: 961 o:+o+:++.`..```.-/oo+++++/ Shell: bash 5.1.16 .:+o:+o/. `+sssoo+/ Disk: 31G / 194G (16%) .++/+:+oo+o:` /sssooo. CPU: 4x ARM Neoverse-N1 /+++//+:`oo+o /::--:. GPU: \+/+o+++`o++o ++////. RAM: 689MiB / 23988MiB .++.o+++oo+:` /dddhhh. .+.o+oo:. `oddhhhh+ \+.++o+o``-````.:ohdhhhhh+ `:o+++ `ohhhhhhhhyo++os: .o:`.syhhhhhhh/.oo++o` /osyyyyyyo++ooo+++/ ````` +oo+++o\: `oo++.
is it because of the kernel?
We recommend a rented VPS and yet cray-cray users will find a weird edge case to do something different and break things. Iphones, SBCs, Windows, horrible free-tier Oracle VPSs with OS partitions that are tiny and break rips without symlinking to larger storage.
I would for the time being advise against using PhantomJS as -f17
NSIG extraction was fixed in the main build.
i will be implementing this to my vm and see if it is working. thank you.
Edit: im getting this error:
-bash: /usr/local/bin/phantomjs: cannot execute binary file: Exec format error
specs:
./+o+- ubuntu@instance-20230529-1307 yyyyy- -yyyyyy+ OS: Ubuntu 22.04 jammy ://+//////-yyyyyyo Kernel: aarch64 Linux 5.15.0-1035-oracle .++ .:/++++++/-.+sss/` Uptime: 19d 20h 12m .:++o: /++++++++/:--:/- Packages: 961 o:+o+:++.`..```.-/oo+++++/ Shell: bash 5.1.16 .:+o:+o/. `+sssoo+/ Disk: 31G / 194G (16%) .++/+:+oo+o:` /sssooo. CPU: 4x ARM Neoverse-N1 /+++//+:`oo+o /::--:. GPU: \+/+o+++`o++o ++////. RAM: 689MiB / 23988MiB .++.o+++oo+:` /dddhhh. .+.o+oo:. `oddhhhh+ \+.++o+o``-````.:ohdhhhhh+ `:o+++ `ohhhhhhhhyo++os: .o:`.syhhhhhhh/.oo++o` /osyyyyyyo++ooo+++/ ````` +oo+++o\: `oo++.
is it because of the kernel?
We recommend a rented VPS and yet cray-cray users will find a weird edge case to do something different and break things. Iphones, SBCs, Windows, horrible free-tier Oracle VPSs with OS partitions that are tiny and break rips without symlinking to larger storage.
I would for the time being advise against using PhantomJS as
-f17
NSIG extraction was fixed in the main build.
with all due respect, most of your replies in this project you come across as very passive-aggressive. i have never seen anyone respond the way you do on Github
maybe work on your communication skills.
Youtube has done a incomplete rollout of a new player, and the new player isn't compatible with yt-dlps current stable release on pip and to me it seems YT is doing it to break compatibility on purpose. Some videos work, some don't and they're a newer player that yt-dlp hasn't adapted to.
PhantomJS is dead software, it's repo is archived. Selenium or Puppeteer (I think) would be better choices but that's for yt-dlp to decide.
I see two fixes:
path
magic would need to be done to get them to see one another.--best-video
and--best-audio
flags from configs might allow in some cases a format thats not throttled, the downside is the best quality streams are not grabbed and frankly even though that fix is easy the side effects aren't acceptable even though I'm currently getting videos that NSIG doesn't just throttle but it prevents the rip.I'm open to comments