Page 2 of 13 FirstFirst 123412 ... LastLast
Results 11 to 20 of 126

Thread: HOWTO: Download YouTube Stereo MP3s

  1. #11
    Join Date
    Jan 2006
    Beans
    59

    Re: HOWTO: Download YouTube Stereo MP3s

    Really nice script. You might want to include a note somewhere that if there is a "/" in the name of the mp3, it won't work (I think). I tried save an mp3 and it downloaded fine but then couldn't open the file to encode it. I'm pretty sure it was because of the / because I tried the same video again with a different name and it worked fine. Thanks for making this; it's incredible.

  2. #12
    Join Date
    Jul 2005
    Location
    Remote Desert, USA
    Beans
    683

    Re: HOWTO: Download YouTube Stereo MP3s

    Glad you liked it. I guess that's why they call me "Super".

    Yeah, my daughter gets a kick out of it too. She uses the XUL version now. I'm taking suggestions for updating it like what you mention here if you go to the website for it, or here is fine too, I guess.

    I think what I should do is prevent certain keystrokes on the field in the XUL application. Did you run this by script or by XUL application? If you haven't tried the XUL app, it's cool.
    SuperMike
    When in doubt, follow the penguins.
    Evil Kitty is watching you

  3. #13
    Join Date
    Jul 2006
    Beans
    26

    Re: HOWTO: Download YouTube Stereo MP3s

    Hehe OK I'm back...haven't used this in awhile but I went to use it today and got this error:

    XML Parsing Error: undefined entity
    Location: chrome://mozapps/content/profile/profileSelection.xul
    Line Number 53, Column 1:<dialog

    I haven't done anything explicitly to mess with this program but perhaps something I did inadvertently messed it up.
    Any suggestions?

  4. #14
    Join Date
    Jul 2005
    Location
    Remote Desert, USA
    Beans
    683

    Re: HOWTO: Download YouTube Stereo MP3s

    Hmmm. That's not even my chrome. That's a chrome for something else and looks like a profile selection for the browser.

    Did you download and install xulrunner from Mozilla? The XUL app I wrote runs through that.

    If you have xulrunner installed on the system and in the system path ($PATH) properly, then the thing should load properly. I also provide two versions. One is the XUL app and the other is a binary. Both, however, assume you have xulrunner installed on Ubuntu and in the system path.
    SuperMike
    When in doubt, follow the penguins.
    Evil Kitty is watching you

  5. #15
    Join Date
    Dec 2006
    Beans
    3

    Re: HOWTO: Download YouTube Stereo MP3s

    I love this!


    I'm going to learn XUL myself

  6. #16
    Join Date
    Jul 2005
    Location
    Remote Desert, USA
    Beans
    683

    Re: HOWTO: Download YouTube Stereo MP3s

    Good for you. XUL isn't bad at all. It's like what HTML wishes it could be when on steroids. It has clear logic. Javascript, also, is a rockingly cool language too -- nice and simple, lots of people know it, and so on. It's the bad implementation of DHTML, and the browser differences, that has drug Javascript into the muck and made it look bad. Plus, when Javascript is enabled to go outside the sandbox in certain conditions, it's a wonderful little language.

    In fact, I'm looking at ngs-js right now and I'm amazed at what it can do.
    SuperMike
    When in doubt, follow the penguins.
    Evil Kitty is watching you

  7. #17
    Join Date
    Jan 2005
    Location
    Mount Morris, Michigan
    Beans
    176

    Re: HOWTO: Download YouTube Stereo MP3s

    Ooh, just what I was looking for and it works in Kubuntu too

  8. #18
    Join Date
    Sep 2005
    Beans
    68
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: HOWTO: Download YouTube Stereo MP3s

    is the audio quality really good?

  9. #19
    Join Date
    Jul 2005
    Location
    Remote Desert, USA
    Beans
    683

    Re: HOWTO: Download YouTube Stereo MP3s

    Good enough. My daughter and I listen to it on our MP3 players and in our car stereos. We're pleased with it. See for yourself.
    SuperMike
    When in doubt, follow the penguins.
    Evil Kitty is watching you

  10. #20
    Join Date
    Dec 2005
    Location
    Tucson, Arizona
    Beans
    Hidden!
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: HOWTO: Download YouTube Stereo MP3s

    hmm, i tried it and the program works except when it "finishes" it doesnt save the mp3 file....

    here is the console output:

    mark@ubuntu:~$ ./yt2mp3
    bash: ./yt2mp3: No such file or directory
    mark@ubuntu:~$ cd Desktop
    mark@ubuntu:~/Desktop$ clear

    mark@ubuntu:~/Desktop$ ./yt2mp3
    Verifying archive integrity... All good.
    Uncompressing .......................
    --18:00:14-- http://youtube.com/watch?v=h7RcqRmBlIQ
    => `/tmp/y1'
    Resolving youtube.com... 208.65.153.253, 208.65.153.251
    Connecting to youtube.com|208.65.153.253|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 94,586 (92K) [text/html]

    100%[====================================>] 94,586 190.01K/s

    18:00:15 (189.68 KB/s) - `/tmp/y1' saved [94586/94586]

    --18:00:15-- http://youtube.com/get_video.php?vid...ICCk4QC&sw=0.1
    => `/tmp/y.flv'
    Resolving youtube.com... 208.65.153.251, 208.65.153.253
    Connecting to youtube.com|208.65.153.251|:80... connected.
    HTTP request sent, awaiting response... 303 See Other
    Location: http://ash-v13.ash.youtube.com/get_v...id=h7RcqRmBlIQ [following]
    --18:00:15-- http://ash-v13.ash.youtube.com/get_v...id=h7RcqRmBlIQ
    => `/tmp/y.flv'
    Resolving ash-v13.ash.youtube.com... 64.15.118.82
    Connecting to ash-v13.ash.youtube.com|64.15.118.82|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 10,484,993 (10.0M) [video/flv]

    100%[====================================>] 10,484,993 56.80K/s ETA 00:00

    18:03:06 (60.11 KB/s) - `/tmp/y.flv' saved [10484993/10484993]

    FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2004 Fabrice Bellard
    configuration: --enable-gpl --enable-pp --enable-pthreads --enable-vorbis --enable-libogg --enable-a52 --enable-dts --enable-libgsm --enable-dc1394 --disable-debug --enable-shared --prefix=/usr
    libavutil version: 0d.49.0.0
    libavcodec version: 0d.51.11.0
    libavformat version: 0d.50.5.0
    built on Jan 28 2007 22:48:38, gcc: 4.1.2 20070106 (prerelease) (Ubuntu 4.1.1-21ubuntu7)

    Seems that stream 1 comes from film source: 1000.00 (1000/1) -> 25.00 (25/1)
    Input #0, flv, from '/tmp/y.flv':
    Duration: 00:04:16.3, bitrate: N/A
    Stream #0.0: Audio: mp3, 22050 Hz, mono
    Stream #0.1: Video: flv, yuv420p, 320x240, 25.00 fps(r)
    Output #0, mp3, to '/tmp/7-11.mp3':
    Stream #0.0: Audio: 0x0000, 22050 Hz, mono
    Stream mapping:
    Stream #0.0 -> #0.0
    Press [q] to stop encoding
    size= 1993kB time=256.4 bitrate= 63.7kbits/s
    video:0kB audio:1993kB global headers:0kB muxing overhead 0.000000%

    The GUI says that it finished, but i still dont see the mp3 file...
    Last edited by Polygon; May 16th, 2007 at 02:03 AM.
    Jabber: markgrandi[at]gmail.com

Page 2 of 13 FirstFirst 123412 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •