Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Best way to generate both, the best video and audio file in one go in specific output formats #24628
Comments
|
Not possible in one pass. |
Checklist
Question
What's the best way to generate both, the best video (merged with best audio) and the best audio file in one go, converting to specific output formats without leaving intermediate files behind?
First, thank you for this awesome program. It's been a reliable companion for quite some time now, and has proven its fitness in a lot of situations.
I also see, that it goes to great length solve this issue, but I haven't found a good way to success without downloading the video twice, and using the --extract-audio switch once, or leaving intermediate files behind (with --keep-video).
As an example, the net result should be generating a mp4 as well as a mp3 file in one go? E.g. I would like to combine these options:
but this results in an audio stream, encoded as mp4. Hmm.
In the README, there's an example:
that almost acts, like what I have in mind, but it should combine them, and convert the result in both requested formats. Is that possible somehow?