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

Vimeo video downloads but audio is not extracted #13294

Closed
cmanallen opened this issue Jun 5, 2017 · 5 comments
Closed

Vimeo video downloads but audio is not extracted #13294

cmanallen opened this issue Jun 5, 2017 · 5 comments

Comments

@cmanallen
Copy link

@cmanallen cmanallen commented Jun 5, 2017

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like that [x])
  • Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.06.05. 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.06.05

Before submitting an issue make sure you have:

  • At least skimmed through README and most notably 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

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue


I can not extract the audio from this URL (https://vimeo.com/121209380) when an outtmpl is specified.

Most videos from Vimeo I can download and extract the audio without issue. However, this particular video's audio is not extracted when outtmpl is specified. I have tried videos of similar length from the same publisher. All of which download and extract without issue.

When I remove my outtmpl, the video downloads and the audio is extracted as expected.

My code:

options = {
    'outtmpl': 'test.m4a',
    'format': 'bestaudio/best',
    'postprocessors': [{
        'key': 'FFmpegExtractAudio',
        'preferredcodec': 'm4a',
        'preferredquality': '192',
    }]
}
with youtube_dl.YoutubeDL(options) as youtube:
    youtube.download(['https://vimeo.com/121209380'])

Is there a way to return the filename of a downloaded video without specifying an outtmpl?


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):

Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.


Description of your issue, suggested solution and other information

Explanation of your issue in arbitrary form goes here. Please make sure the description is worded well enough to be understood. Provide as much context and examples as possible.
If work on your issue requires account credentials please provide them or explain how one can obtain them.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jun 5, 2017

Do not hardcode extension in output template.

@dstftw dstftw closed this Jun 5, 2017
@dstftw dstftw added the invalid label Jun 5, 2017
@cmanallen
Copy link
Author

@cmanallen cmanallen commented Jun 5, 2017

@dstftw Using %(ext)s still causes the same issue.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jun 5, 2017

Prove with verbose log.

@dstftw dstftw added the incomplete label Jun 5, 2017
@cmanallen
Copy link
Author

@cmanallen cmanallen commented Jun 5, 2017

@dstftw How can I do this if I'm running a script? eg python test.py. Running now

@cmanallen
Copy link
Author

@cmanallen cmanallen commented Jun 5, 2017

@dstftw Invalid. The extension was causing the error.

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.