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

Video formats #16865

Closed
IoanPaleru opened this issue Jun 29, 2018 · 3 comments
Closed

Video formats #16865

IoanPaleru opened this issue Jun 29, 2018 · 3 comments

Comments

@IoanPaleru
Copy link

@IoanPaleru IoanPaleru commented Jun 29, 2018

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

  • At least skimmed through the README, most notably the FAQ and BUGS sections

  • Searched the bugtracker for similar issues including closed ones

  • Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

  • 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

Hi, I just wanted to thank you for helping me with my previous posts at "#16861", "#16862", and "#16863", by telling me I could use "best[ext=mp4][height<=]", but it seems the posts were locked so I couldn't comment on them.

Is there a way to get youtube-dl to save an 854x468 (480p) video with audio as an mp4 instead of an mkv file? Thanks.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jun 29, 2018

I've already answered that: select formats with compatible ext and merge with +.

@dstftw dstftw closed this Jun 29, 2018
@IoanPaleru
Copy link
Author

@IoanPaleru IoanPaleru commented Jun 30, 2018

If I download the 480p video and audio streams separately for this video "https://www.youtube.com/watch?v=Zi_XLOBDo_Y" with youtube-dl, I can combine them together easily with ffmpeg using "ffmpeg -i audio.aac -i video.mp4 -c:v copy -c:a copy -preset superfast output.mp4", but is there a way to get youtube-dl to download that video and combine the files automatically? Thanks.

@IoanPaleru
Copy link
Author

@IoanPaleru IoanPaleru commented Jun 30, 2018

It seems you can use "--format 140+135" for youtube videos to download and convert a 640x480 video with m4a as mp4, but is there any way for youtube-dl to automatically find the 480p video and audio streams without having to specify the formats? Thanks.

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.