Ok I think I am missing somethng here
I have downloaded a bunch of YouTube videos using youtube-dl, these FLV files play with no problem in MPlayer.
When I run ffmpeg as:
ffmpeg -i 'My Music Video.flv' -f mp3 -vn -acodec copy 'My Music File.mp3'
I get a MP3 file generated, but XMMS cannot play it
However if I run:
mplayer -ao pcm:waveheader -vc dummy -vo null 'My Music Video.flv'
I have no problem playing the generated audiodump.wav file with XMMS.
So, I think I probably have a mp3 codec missing or something? If anyone have any advice on this one I'd be happy to hear
Thanks
Never mind my previous post
I realized I needed to run first:
sudo apt-get install ubuntu-restricted-extras
Then using this command:
ffmpeg -i 'My Music Video.flv' -f mp3 -ab 128k -vn -acodec mp3 'My Music File.mp3'
And then applying the ecasound command works perfectly
Thanks a lot anyway and sorry about wasting your time
That pretty cool. hopefully before you started this project that you can use VLC player to do what you just did...
get the vid using DownLoadHelper in firefox, then run the .flv file through VLC and transcode it to mp3|mpeg1, then run that through transcode as a mp3|raw ... done..
but otherwise, great work! much easier than my method i'm guessing
edit for clarity
Last edited by Gripp; May 31st, 2008 at 07:15 AM.
Very easy for u with E.M. Youtube video downlad tool.
It works very well and easy to use.
It can download video from youtube , myspace, veoh, yahoo or any other video websites autoamtically.
It can also convert flv video to any audio include MP3, wma,wav,ac3,mmf,amr,ogg,aac..., to any video formats include 3gp,avi,wmv, mpg,mpg4,asf,swf,h264,mov,jpg, that can be support by PSP,iPod,iPhone,Apple TV video,iTune,MP3,MP4,Zune,Cellphone,Digital camera,DV,CD/DVD/VCD/SVCD.
http://www.effectmatrix.com/Youtube_...tool/index.htm
I hope that is not spam. That tool is for windows only and its not open source.
Thats really anoying, even if you find a way to get your .flv file, my ubuntu wont convert it, i tried audacity ffmpeg mplayer (->mencoder) NOTHING works. I'm almost upset - the first time since i use linux - because that issue mustnt be as hard to do as it actually is.
ITS A REAL PROBLEM!!!!
First things first -- just how new are you to Linux and to command-line interaction with Linux?
Second, this is an intermediate hack, not really made for novices.
Third, have you installed all the multimedia doodads onto Ubuntu from this link? Perhaps that's what's blocking the conversion.
http://ubuntuforums.org/showthread.php?t=766683
Note that this link above is a bit long to go through -- I remember it being far shorter. It also may have you install way more than you need.
I get the following message:
exception... "component returned failure code 0x80520006
(NS_ERROR_FILE_TARGET_DOES_NOT_EXIST)[nslProcess.init]" nsresult: "0x80520006 (NS_ERROR_FILE_TARGET_DOES_NOT_EXIST)" location: "JS frame ::chrome://yt2mp3/content/yt2mp3.js :: RunCommand :: line 65" data:no]
..Any ideas?
Yeah. I wrote the code. Go back and read this entire thread from top to bottom. You'll discover something we all discovered. That Google changed YT to block us. You'll notice if you look through my logic in my code (which isn't very exotic, by the way) that I shell out and call a few bash scripts. One of those is broken because it fails to download a file from YT.
The way I got around this was a process, as I explain in this thread, where I wait for the file to fill up in /tmp as Flash* (wildcard is the *), and then created another Bash script to copy the FLV file out and process it with ffmpeg and ecasound.
I wish I could have the time to revisit the yt2mp3.js code, but I just don't have the time right now. I'm open to anyone who wants to fork it. Please do and share.
Bookmarks