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

Downloading 720 instead of 1080 even with ffmpeg installed #15144

Closed
TarekSalama opened this issue Jan 2, 2018 · 7 comments
Closed

Downloading 720 instead of 1080 even with ffmpeg installed #15144

TarekSalama opened this issue Jan 2, 2018 · 7 comments
Labels

Comments

@TarekSalama
Copy link

@TarekSalama TarekSalama commented Jan 2, 2018

Please follow the guide below

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.12.31. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2017.12.31

Before submitting an issue make sure you have:

  • At least skimmed through the README, most notably the FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:

Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):

[debug] System config: [u'--no-overwrites', u'--no-cache-dir', u'--ignore-errors', u'--batch-file', u'/Users/tareksalama/Desktop/batchvideos.txt', u'-o', u'/Users/tareksalama/Desktop/Youtube/downloads/%(uploader)s/%(title)s_%(uploader)s_%(id)s.%(ext)s', u'-f', u'best', u'-v']
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-U']
[debug] Batch file urls: [u'https://www.youtube.com/watch?v=p80Kqj6rV50s']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.12.31
[debug] Python version 2.7.10 - Darwin-17.3.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 3.4, ffprobe 3.4
[debug] Proxy map: {}
...
<end of log>

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):


Description of your issue, suggested solution and other information

I have been getting most if not all of my downloads in 720 instead of 1080 even though - as far as I know ffmpeg needs to be installed for 1080 + best audio - ffmpeg is indeed installed.

Am I doing something wrong or is it a bug?

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jan 2, 2018

Post the verbose log clearly demonstrating the problem.

@dstftw dstftw closed this Jan 2, 2018
@dstftw dstftw added the incomplete label Jan 2, 2018
@Hrxn
Copy link

@Hrxn Hrxn commented Jan 2, 2018

From your system config:

[debug] System config: ((...)), u'-f', u'best', u'-v']

-f best chooses best available format as a single file, for 1080p use -f bestvideo+bestaudio (or just the default format setting)

@TarekSalama
Copy link
Author

@TarekSalama TarekSalama commented Jan 2, 2018

@Hrxn Is there a way to specify 1080 + best audio and perhaps mp4 instead of mkv?

@Hrxn
Copy link

@Hrxn Hrxn commented Jan 2, 2018

Sure, maybe try something like -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]'

@TarekSalama
Copy link
Author

@TarekSalama TarekSalama commented Jan 2, 2018

@Hrxn Thanks for the reply. One last question, some videos/websites don't support mp4. Is there a way to make youtube-dl fallback to the regular video settings?

@Hrxn
Copy link

@Hrxn Hrxn commented Jan 3, 2018

Sure, try something like this:
-f '(bestvideo[ext=mp4]/bestvideo)+(bestaudio[ext=m4a]/bestaudio)/best'

@TarekSalama
Copy link
Author

@TarekSalama TarekSalama commented Jan 3, 2018

Thanks a lot @Hrxn Really helped :)

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.