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

Can I use existing / predownloaded files? #9684

Closed
ChaosNicro opened this issue Jun 3, 2016 · 1 comment
Closed

Can I use existing / predownloaded files? #9684

ChaosNicro opened this issue Jun 3, 2016 · 1 comment

Comments

@ChaosNicro
Copy link

@ChaosNicro ChaosNicro commented Jun 3, 2016

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 2016.06.02. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

  • [ x] I've verified and I assure that I'm running youtube-dl 2016.06.02

Before submitting an issue make sure you have:

  • [x ] At least skimmed through README and most notably FAQ and BUGS sections
  • [ x] 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


Description of your issue, suggested solution and other information

Due to the restrictions where I live, I cannot use youtube-dl to download my videos without receiving an error. I can however use a different method to download the components from youtube in a similar fashion.

My current situation is that I have an mp4 video component and an mp4a audio component.
I would now like to use youtube-dl to merge the two components into a complete video as well as manipulate the naming scheme for the files.

Thus my question is: "How can I use pre-downloaded components in post-processing?

I know that the usual information available on the web-page cannot be used but a "hacky" solution for the merge and basic features might be using any URL and naming the existing components identical to the download results. The download would then be skipped and the existing files would be used instead.

Even if this is the most simple solution, I would still like some guidance on how to do this and what to name the files.

Thank you very much in advance,
-Nicro

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jun 3, 2016

With only video and audio component that is not possible. You'll need info JSON as well obtained with --write-info-json. Then on restricted machine you can run youtube-dl with --load-info path/to/info.json and it will do muxing.
Or just use ffmpeg/avconv.
You can also workaround restrictions using --proxy.

@dstftw dstftw closed this Jun 3, 2016
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.