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

I've tried to download audio + video using -f but still seperated #21643

Closed
jeraldpunx opened this issue Jul 4, 2019 · 2 comments
Closed

I've tried to download audio + video using -f but still seperated #21643

jeraldpunx opened this issue Jul 4, 2019 · 2 comments
Labels

Comments

@jeraldpunx
Copy link

@jeraldpunx jeraldpunx commented Jul 4, 2019

<?php

        $url = "https://www.youtube.com/watch?v=2MRdtXWcgIw";
        $cmd = 'youtube-dl -g -f bestvideo+bestaudio/best ' . escapeshellarg($url);
        exec($cmd, $outputsd);
        print_r($outputsd);

This is my code, it shows separated link for audio and video instead of combined with different quality.

image

@jeraldpunx jeraldpunx added the question label Jul 4, 2019
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jul 4, 2019

Bother to read FAQ.

@dstftw dstftw closed this Jul 4, 2019
@jeraldpunx
Copy link
Author

@jeraldpunx jeraldpunx commented Jul 4, 2019

can I used the ffmpeg.exe and youtube-dl.exe in same folder on project? without using the PATH environment ?

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.