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

youtube-dl -g, gives me always two separate links of audio and video #8316

Closed
dennmtr opened this issue Jan 24, 2016 · 6 comments
Closed

youtube-dl -g, gives me always two separate links of audio and video #8316

dennmtr opened this issue Jan 24, 2016 · 6 comments

Comments

@dennmtr
Copy link

@dennmtr dennmtr commented Jan 24, 2016

after december update i dont know how, youtube-dl stopped giving me a unique video and audio link to use. always separate links of audio and video . i cant work like this, i need it for scripts in debian. windows version keeps working fine. note, i have no configuration files at all. i removed and install everything again. debian release: raspbian jessie. keep it in mind

@phihag
Copy link
Contributor

@phihag phihag commented Jan 24, 2016

This is correct behavior - by default, youtube-dl will pick the best quality, and sometimes that happens to be a video + an audio stream. Pass in -f best to explicitly select the single best format (i.e. one which contains both video and audio).

@phihag phihag closed this Jan 24, 2016
@dennmtr
Copy link
Author

@dennmtr dennmtr commented Jan 25, 2016

fine! but i didnt use this option in the past. why now? thank you

@phihag
Copy link
Contributor

@phihag phihag commented Jan 25, 2016

Previously, the best quality of the videos you tested may have been in a single file, instead of multiple ones.

@dennmtr
Copy link
Author

@dennmtr dennmtr commented Jan 25, 2016

maybe, but i had no problems at all two years with no options (only -g). windows version keeps working the same without any option too. btw the problem solved and that is the point :)

@phihag
Copy link
Contributor

@phihag phihag commented Jan 25, 2016

youtube-dl has the same behavior on Windows. Most likely, you have not installed avconv or ffmpeg on Windows, or incorrectly configured them. Once you do, youtube-dl will notice and may return multiple links on Windows too.

@dennmtr
Copy link
Author

@dennmtr dennmtr commented Feb 6, 2016

for some reason avconv was removed... everything is ok after installing without any option! I have a warning message, but even that the direct links are single as i want them "Your copy of avconv is outdated and unable to properly mux separate video and audio files, youtube-dl will download single file media. Update avconv to version 10-0 or newer to fix this." I just ignore Dist: Raspbian Jessie

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.