Open OrionRandD opened 1 year ago
I'm experiencing the same behavior
In order to even begin to triage this, I'd need a full log of the shell session including the exact command you ran and all output from the tool.
Testing locally, it does appear to work for me:
jesse@m1 Youtube2Webpage % ./yt-to-webpage.pl test "https://www.youtube.com/watch?v=urcL86UpqZc"
It's also be helpful to know the exact versions of yt-dlp and ffmpeg you have installed. But I'm betting that the full log of the run will turn up what we need.
jesse@m1 test % ffmpeg
ffmpeg version 6.0 Copyright (c) 2000-2023 the FFmpeg developers
built with Apple clang version 14.0.3 (clang-1403.0.22.14.1)
configuration: --prefix=/opt/homebrew/Cellar/ffmpeg/6.0_1 --enable-shared --enable-pthreads --enable-version3 --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libaribb24 --enable-libbluray --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librist --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libsvtav1 --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libspeex --enable-libsoxr --enable-libzmq --enable-libzimg --disable-libjack --disable-indev=jack --enable-videotoolbox --enable-audiotoolbox --enable-neon
libavutil 58. 2.100 / 58. 2.100
libavcodec 60. 3.100 / 60. 3.100
libavformat 60. 3.100 / 60. 3.100
libavdevice 60. 1.100 / 60. 1.100
libavfilter 9. 3.100 / 9. 3.100
libswscale 7. 1.100 / 7. 1.100
libswresample 4. 10.100 / 4. 10.100
libpostproc 57. 1.100 / 57. 1.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...
Use -h to get full help or, even better, run 'man ffmpeg'
jesse@m1 test % yt-dlp --version
2023.07.06
I'm experiencing the same behavior
@obra Thx a lot for replying. After a: pip install -U yt-dlp Everything works now :)
test $ yt-dlp --version 2023.07.06
ffmpeg version 6.0-6 Copyright (c) 2000-2023 the FFmpeg developers
@obra Hi. Is that possible to add an If-else statement in the script to work when the URL misses the WWW bit?
If 1. is used, it works If 2. is used, it does not work
and a message showing the usage appears in the terminal.
Thx again
I get these errors:
Interview with an Emacs Enthusiast in 2023 [Colorized] [urcL86UpqZc].webm: No such file or directory
and no images inside the fooBAR folder and a partial ".webm" video :(
from here, and other YT videos: Interview with an Emacs Enthusiast in 2023 [Colorized] https://www.youtube.com/watch?v=urcL86UpqZc
The output is:
/tmp/Youtube2Webpage/fooBar $ ls images/ Interview with an Emacs Enthusiast in 2023 [Colorized] [urcL86UpqZc].en.vtt styles.css index.html Interview with an Emacs Enthusiast in 2023 [Colorized] [urcL86UpqZc].f313.webm.part
and no images inside the images folder
/tmp/Youtube2Webpage/fooBar $ ls images -> me@you 09:37:26 /tmp/Youtube2Webpage/fooBar $