Return to site

Mediahuman youtube to mp3 converter code

broken image
broken image

Once this has successfully completed you will now have the mp3 file you were after. So for this example you would type ffmpeg -i _z-hEyVQDRA.flv -acodec libmp3lame MasterOfPuppets.mp3 Next you need to copy that file name and then put it in an ffmpg command like ffmpeg -i.

broken image

What you should see is a flv file with the same name as the 'v' component of the youtube url you downloaded.Į.g if you downloaded then you should have a file called _z-hEyVQDRA.flv This will list all the flv files you have. Next have a look to make sure the flv file has downloaded from youtube by typing ls *flv Now install ffmpeg from the official repo. c Resume download of a video which was interrupted beforeįor complete list of switches execute man youtube-dl in terminal. You can also specify other options -b Best quality To download a video execute the following: youtube-dl This will let you upgrade with sudo youtube-dl -U Or as official readme suggest using curl or wget. Install youtube-dl from the official repository in Ubuntu: sudo apt-get install youtube-dl

broken image