Skip to content
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

output errors #14

Open
OrionRandD opened this issue Aug 31, 2023 · 4 comments
Open

output errors #14

OrionRandD opened this issue Aug 31, 2023 · 4 comments

Comments

@OrionRandD
Copy link

I get these errors:

  1. Interview with an Emacs Enthusiast in 2023 [Colorized] [urcL86UpqZc].webm: No such file or directory

  2. 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 $

@snow-jallen
Copy link

I'm experiencing the same behavior

Repository owner deleted a comment from OrionRandD Sep 1, 2023
@obra
Copy link
Owner

obra commented Sep 1, 2023

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"

image

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

@OrionRandD
Copy link
Author

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

@OrionRandD
Copy link
Author

@obra Hi. Is that possible to add an If-else statement in the script to work when the URL misses the WWW bit?

  1. "https://www.youtube.com/watch?v=urcL86UpqZc"
  2. "https://youtube.com/watch?v=urcL86UpqZc"

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants