ytdl-org / youtube-dl

Command-line program to download videos from YouTube.com and other video sites
http://ytdl-org.github.io/youtube-dl/
The Unlicense
129.73k stars 9.78k forks source link

--ignore-errors should handle post processing issues #5295

Open ghost opened 9 years ago

ghost commented 9 years ago

youtube-dl command: https://a.pomf.se/jdxxke.txt ffmpeg command: https://a.pomf.se/mhtvxg.txt

jaimeMF commented 9 years ago

Since in this case 'bestvideo' is a webm file and 'bestaudio' is m4a, you have to options:

ghost commented 9 years ago

@jaimeMF

I probably should've posted the original steps I had taken in the OP, instead of the steps taken for that one video.

Originally, I was trying to download all of the videos from https://www.youtube.com/user/boburnham, and did it with youtube-dl using youtube-dl -f bestvideo+bestaudio https://www.youtube.com/user/boburnham

When it got to https://www.youtube.com/watch?v=Eo9pU1q8sy8, it failed due to ffmpeg/merge issues.

I guess I'm requesting an option to ignore merge errors and continue downloading the rest of the videos.

I just don't think that youtube-dl should completely halt downloading due to problems with one single video.

Unsurprisingly, --continue and --ignore-errors did nothing, because from what I can tell from reading --help, they aren't intended to handle merge errors, but download errors instead, and I don't think there is an option in youtube-dl to handle/skip merge errors.

Output of youtube-dl --verbose -f bestvideo+bestaudio https://www.youtube.com/user/boburnham: https://a.pomf.se/vwfnfw.txt

mpenkov commented 5 years ago

This domain looks like it's down.

$ wget https://a.pomf.se/ -O - 
--2018-08-03 11:19:39--  https://a.pomf.se/
Resolving a.pomf.se (a.pomf.se)... 45.76.12.27
Connecting to a.pomf.se (a.pomf.se)|45.76.12.27|:443... connected.
ERROR: no certificate subject alternative name matches
        requested host name ‘a.pomf.se’.
To connect to a.pomf.se insecurely, use `--no-check-certificate'.
$ wget https://a.pomf.se/ -O -  --no-check-certificate
--2018-08-03 11:19:51--  https://a.pomf.se/
Resolving a.pomf.se (a.pomf.se)... 45.76.12.27
Connecting to a.pomf.se (a.pomf.se)|45.76.12.27|:443... connected.
WARNING: no certificate subject alternative name matches
        requested host name ‘a.pomf.se’.
HTTP request sent, awaiting response... 403 Forbidden
2018-08-03 11:19:52 ERROR 403: Forbidden.
$

If that really is the case, then this ticket can be closed.