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

Every once in a while audio is not downloaded or merged #26086

Open
Aphexus opened this issue Jul 22, 2020 · 2 comments
Open

Every once in a while audio is not downloaded or merged #26086

Aphexus opened this issue Jul 22, 2020 · 2 comments

Comments

@Aphexus
Copy link

@Aphexus Aphexus commented Jul 22, 2020

Some files that I download end up with no audio. I do not know why, I guess youtube-dl cannot figure out the audio stream and merge them, my cl is:

youtube-dl" -q -f 137+251/137+140/137+250/248+249/248+251/248+140/248+250/248+249/136+251/136+140/136+250/136+249/247+251/247+140/247+250/247+249/135+251/135+140/135+250/135+249/244+251/244+140/244+250/244+249/best+best --merge-output-format mkv --ignore-errors --no-check-certificate --sleep-interval 2 -a ..."

I assume best+best would get the bests audio and video and make it work but I could be wrong, or maybe because I have all the specific values it gets confused? I had to do that because best+best doesn't always return the best or work. I don't remember specifically what was going on but I remember having to add them, it works great except for this random audio issue which is probably 0.1% to 1% of the files. Some channels seem to have bigger issues and I guess it is when the audio is encoded in a weird format. I don't have any links off hand. It happens when I try to recode the file sand ffmpeg says the file has no audio(and it doesn't) but I didn't keep a log of bad files. I'll try to find one that doesn't work and update the link if needed.

@s104346
Copy link

@s104346 s104346 commented Jul 22, 2020

I assume best+best would get the bests audio and video and make it work but I could be wrong

Use bestvideo+bestaudio or just best.

On Youtube best is the highest quality format with already combined video and audio streams. best+best would mean merging 2 video streams and 2 audio streams into 1, and that doesn't work.

@bcassid
Copy link

@bcassid bcassid commented Aug 27, 2020

I'm having a similar problem when I try downloading this newscast:

youtube-dl https://pubads.g.doubleclick.net/ssai/event/kKODf6quTASP0v4Zq1Zo_Q/master.m3u8

It works fine unless I start the download when it shows "We'll Be Right Back" on a blue background which is I assume where commercials go. Any ideas on how to fix it.

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
3 participants
You can’t perform that action at this time.