# cleanup and renaming is needed afterwards. Remove the wma files after they have been (hopefully successfully) converted. Use /tmp instead of the current folder for the temporary wav file (this gave a large speedup when I used this to convert files on a USB stick). I know this is a bit old but I modified the script shown by David Futcher. After a free trial, it costs 42.95 for a lifetime license, 24.95 for a one-year license, and 19.95 for a semi-annual license. By converting the YouTube videos into MP4 format, you will be able to watch them on your mobile device without any problems. You can then convert YouTube videos directly from the app. This online app is also very useful for those who want to watch YouTube videos on their mobile devices. The short and dirty version (does exactly the same as above): for i in *.wma do mplayer -vo null -vc dummy -af resample=44100 -ao pcm -ao pcm:waveheader "$i" & lame -m j -h -vbr-new -b 160 audiodump.wav -o "`basename "$i". YouTube to MP4 Converter is a great way to save YouTube videos onto your computer so that you can watch them offline. Convert any video/audio formats you can come up with Free YouTube to MP3 WMA Converter can handle any popular or rare video formats like MP4, AVI, 3GP, FLV, MKV, HD, 4K, MOV, RM, XviD, DivX, MTS, TS and countless others. Sudo cp ~/wmamp3 /usr/bin to pop it somewhere useful on your path do mv "$i" `echo $i | tr '' ''` doneįor i in *.wma do mplayer -vo null -vc dummy -af resample=44100 -ao pcm -ao pcm:waveheader $i & lame -m s audiodump.wav -o $i doneįor i in *.wma do mv "$i" "`basename "$i". Then there are two ways to do it, an easy to read version, and a short and dirty script to do it:Īll wma's should be in your current directory.Ĭreate a file called wmamp3 in your home directory (~/) containing: #!/bin/bashįor i in *.wma do mv "$i" `echo $i | tr ' ' '_'` doneįor i in *. Also make sure you have lame: sudo apt-get install mplayer lame MPlayer is likely to be installed already.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |