diff --git a/README.md b/README.md index 9fbef6c..7a96742 100644 --- a/README.md +++ b/README.md @@ -27,3 +27,14 @@ Right now, WiiNet contains 5 main features. - Links to other websites that are designed to work on the Wii That is all for now, stay tuned for more updates on the project by joining the [Discord](https://discord.gg/PBuAbQbrXJ) + + +### Dependencies +This is an incomplete, flawed list that will hopefully get more acccurate and helpful with time. + +We currently use: +- apache2 +- php8.1 +- php8.1-curl +- ffmpeg +- yt-dlp \ No newline at end of file diff --git a/videos/youtube/convert2.php b/videos/youtube/convert2.php index 2612ea1..187111e 100644 --- a/videos/youtube/convert2.php +++ b/videos/youtube/convert2.php @@ -8,11 +8,11 @@ $session = rand(1,99); exec('rm '.$session.'.flv'); exec('pkill -f ffmpeg'); - exec('pkill -f youtube-dl'); + exec('pkill -f yt-dlp'); exec('rm movie.*'); exec('rm *.part'); $search = $_GET["id"]; - $progress = shell_exec('youtube-dl --force-ipv4 -q -o "movie.%(ext)s" --exec "ffmpeg -i {} -ar 22050 -f flv -s 320x240 -ab 32 -threads 4 -filter:v fps=fps=15 -ss 00:00:00 -to 00:05:00 '.$session.'.flv" '.$search.''); + $progress = shell_exec('yt-dlp --force-ipv4 -q -o "movie.%(ext)s" --exec "ffmpeg -i {} -ar 22050 -f flv -s 320x240 -ab 32 -threads 4 -filter:v fps=fps=15 -ss 00:00:00 -to 00:05:00 '.$session.'.flv" '.$search.''); echo "
"; echo ""; echo "";