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

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

Open
ghost opened this issue Mar 26, 2015 · 3 comments
Open

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

ghost opened this issue Mar 26, 2015 · 3 comments

Comments

@ghost
Copy link

@ghost ghost commented Mar 26, 2015

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

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Mar 27, 2015

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

  • Use --merge-output-format mkv
  • Explicity request a format with -f bestvideo[ext=mp4]+bestaudio[ext=m4a] (you can do the same with webm)
@jaimeMF jaimeMF closed this Mar 27, 2015
@ghost
Copy link
Author

@ghost ghost commented Mar 27, 2015

@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

@jaimeMF jaimeMF reopened this Apr 12, 2015
@jaimeMF jaimeMF changed the title Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument --ignore-errors should handle post processing issues Apr 12, 2015
@mpenkov
Copy link

@mpenkov mpenkov commented Aug 3, 2018

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.

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

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.