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

download 1440p videos as 480p ? #3761

Closed
hcevikbas opened this issue Sep 15, 2014 · 3 comments
Closed

download 1440p videos as 480p ? #3761

hcevikbas opened this issue Sep 15, 2014 · 3 comments

Comments

@hcevikbas
Copy link

@hcevikbas hcevikbas commented Sep 15, 2014

Hi guys,

today i try to download a few videos with 480p.

For example there is 1440p videos.

This is the format list.

171 webm audio only DASH audio , audio@128k (worst)
140 m4a audio only DASH audio , audio@128k
160 mp4 144p DASH video , video only
242 webm 240p DASH video , video only
133 mp4 240p DASH video , video only
243 webm 360p DASH video , video only
134 mp4 360p DASH video , video only
244 webm 480p DASH video , video only
135 mp4 480p DASH video , video only
247 webm 720p DASH video , video only
136 mp4 720p DASH video , video only
248 webm 1080p DASH video , video only
137 mp4 1080p DASH video , video only
271 webm 1440p DASH video , video only
264 mp4 1440p DASH video , video only
138 mp4 2160p DASH video , video only
17 3gp 176x144
36 3gp 320x240
5 flv 400x240
43 webm 640x360
18 mp4 640x360
22 mp4 1280x720 (best)

But i want to download this video as 480p with sound.

How can i do that ?

is this possible ?

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Sep 15, 2014

If you have ffmpeg or libav installed, you can run youtube-dl VIDEO_URL -f 135+bestaudio it will download the video and audio files and merge them into a single file.

@jaimeMF jaimeMF closed this Sep 15, 2014
@hcevikbas
Copy link
Author

@hcevikbas hcevikbas commented Sep 16, 2014

Yes i have ffmpeg but system is not merge on php file. Because i think youtube-dl just use ffmpeg for directory.

How can i change ffmpeg directory on youtube-dl

I have to enter "/usr/local/bin/ffmpeg"

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Sep 16, 2014

You need to make sure that the directory /usr/local/bin is in the PATH environment variable. If you run php from the shell, you'll just need to run export PATH=/usr/local/bin:$PATH before. I think you can also set it inside php itself.

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.