Page 12 of 13 FirstFirst ... 210111213 LastLast
Results 111 to 120 of 126

Thread: HOWTO: Download YouTube Stereo MP3s

  1. #111
    Join Date
    Apr 2007
    Location
    Exeter UK
    Beans
    68
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: HOWTO: Download YouTube Stereo MP3s

    Hi SuperMike.
    I appreciate your efforts. and am looking forward to grabbing some sound files. But I'm geting an error in the terminal, and ecasound isnt installing.
    Every thing else on the list went ok. Any ideas? Have I done something wrong?

    -desktop:~$ sudo apt-get ecasound
    E: Invalid operation ecasound


    Cheers, Pete.
    Forced back to Windows! TEMPORARILY!
    I'm just trying to foul up my PC, ok? Permanent noob, that's me. Have a donut anyway!
    Kites in your computer.

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

    Re: HOWTO: Download YouTube Stereo MP3s

    Quote Originally Posted by TorqueyPete View Post
    Hi SuperMike.
    I appreciate your efforts. and am looking forward to grabbing some sound files. But I'm geting an error in the terminal, and ecasound isnt installing.
    Every thing else on the list went ok. Any ideas? Have I done something wrong?

    -desktop:~$ sudo apt-get ecasound
    E: Invalid operation ecasound


    Cheers, Pete.
    Oh, it's:

    -desktop:~$ sudo apt-get update; apt-get install ecasound

    ..or...

    -desktop:~$ sudo su
    # apt-get update
    # apt-get install ecasound
    # exit
    -desktop:~$
    SuperMike
    When in doubt, follow the penguins.
    Evil Kitty is watching you

  3. #113
    Join Date
    Dec 2008
    Location
    Colorado
    Beans
    16
    Distro
    Xubuntu 11.04 Natty Narwhal

    Re: HOWTO: Download YouTube Stereo MP3s

    I tried this, but I can't seem to make it work.

    First tried the XUL app, and got this...

    Details: Failed to execute child process "/home/neostar/yt2mp3/yt2mp3.xulrun" (Permission denied)
    Ten I tried to operate it from the terminal (I'm a recently converted Windows user that loves to work in the Terminal, am I strange?)

    Here's a copy of my input and output...

    Code:
    neostar@DreathusMain:~$ ytr
    YouTube url? http://www.youtube.com/watch?v=QBYxCFCk3GQ
    Name? whenyouleave.mp3
    
    
    --2009-01-03 10:49:23--  http://rd.cache.l.google.com/get_video?video_id=QBYxCFCk3GQ
    Resolving rd.cache.l.google.com... 64.233.189.99, 64.233.189.104, 64.233.189.147, ...
    Connecting to rd.cache.l.google.com|64.233.189.99|:80... connected.
    HTTP request sent, awaiting response... 404 Not Found
    2009-01-03 10:49:31 ERROR 404: Not Found.
    
    FFmpeg version r11872+debian_3:0.svn20080206-12ubuntu3, Copyright (c) 2000-2008 Fabrice Bellard, et al.
      configuration: --enable-gpl --enable-pp --enable-swscaler --enable-x11grab --prefix=/usr --enable-libgsm --enable-libtheora --enable-libvorbis --enable-pthreads --disable-strip --enable-libfaad --enable-libfaadbin --enable-liba52 --enable-liba52bin --enable-libdc1394 --disable-armv5te --disable-armv6 --disable-altivec --disable-vis --enable-shared --disable-static
      libavutil version: 49.6.0
      libavcodec version: 51.50.0
      libavformat version: 52.7.0
      libavdevice version: 52.0.0
      built on Oct  3 2008 22:40:31, gcc: 4.3.2
    /tmp/y.flv: Unknown format
    ********************************************************************************
    *        ecasound v2.4.6.1 (C) 1997-2007 Kai Vehmanen and others    
    ********************************************************************************
    - [ Session created ] ----------------------------------------------------------
    - [ Chainsetup created (cmdline) ] ---------------------------------------------
    - [ Connecting chainsetup ] ----------------------------------------------------
    (eca-chainsetup) 'nonrt' buffering mode selected.
    (audioio-mp3) Unable to open file /tmp/whenyouleave.mp3.mp3.
    (eca-chainsetup) Audio object "/tmp/whenyouleave.mp3.mp3", mode 
    ... "read".
    (audio-io) Format: s16_le, channels 2, srate 44100, interleaved.
    (eca-chainsetup) Audio object "whenyouleave.mp3.mp3", mode 
    ... "write".
    (audio-io) Format: s16_le, channels 2, srate 44100, interleaved.
    - [ Chainsetup connected ] -----------------------------------------------------
    (eca-control-objects) Connected chainsetup: "command-line-setup".
    - [ Controller/Starting batch processing ] -------------------------------------
    - [ Engine init - Driver start ] -----------------------------------------------
    (audioio-mp3) Can't start process "mpg123 --stereo -r %s -b 0 -q -s -k %o %f". Please 
    ... check your ~/.ecasound/ecasoundrc.
    (audioio-mp3) Starting to encode whenyouleave.mp3.mp3 with lame.
    (audioio-mp3) Can't start process "lame -b %B -s %S -x -S - %f". Please check your 
    ... ~/.ecasound/ecasoundrc.
    (eca-engine) WARNING: An output object has raised an error! Possible causes: Out 
    ... of disk space, permission denied, unable to launch external applications needed in 
    ... processing, etc.
    - [ Controller/Batch processing finished (-3) ] --------------------------------
    ecasound: Warning! Errors detected during processing.
    (eca-control-objects) Disconnecting chainsetup: "command-line-setup".
    - [ Chainsetup disconnected ] --------------------------------------------------
    
    
    File is saved in your home directory in the 'mp3' folder.
    Obviously, no mp3 file to speak of.

    Where did I go wrong here?

  4. #114
    Join Date
    Apr 2007
    Location
    Exeter UK
    Beans
    68
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: HOWTO: Download YouTube Stereo MP3s

    Thanks Mike
    ecasound installed, but now my Totem movie player is very slow. Moving at about 1 frame per second.
    I reinstalled Totem in Synaptic, but no change.

    I'll do some checking in the Multimedia how to thread.
    Forced back to Windows! TEMPORARILY!
    I'm just trying to foul up my PC, ok? Permanent noob, that's me. Have a donut anyway!
    Kites in your computer.

  5. #115
    Join Date
    Dec 2008
    Beans
    59

    Re: HOWTO: Download YouTube Stereo MP3s

    it doesn't work anymore

  6. #116
    Join Date
    Jul 2008
    Location
    Birmingham, England
    Beans
    2,400

    Re: HOWTO: Download YouTube Stereo MP3s

    Yeah, the OP edited the first post to highlight this

  7. #117
    Join Date
    Dec 2008
    Location
    Colorado
    Beans
    16
    Distro
    Xubuntu 11.04 Natty Narwhal

    Re: HOWTO: Download YouTube Stereo MP3s

    Thanks for the update Mike, I left the programs involved and removed the ytr and xul app. Maybe i'll find a use for them somewhere down the line.

  8. #118
    Join Date
    Jul 2005
    Location
    Remote Desert, USA
    Beans
    683

    Re: HOWTO: Download YouTube Stereo MP3s

    I started to think some RIAA trolls were here, so I decided not to continue it. I do have my ways of making the scripts work still, though. I just won't be sharing that here for the RIAA or YT engineers to shut down.
    SuperMike
    When in doubt, follow the penguins.
    Evil Kitty is watching you

  9. #119
    Join Date
    Dec 2006
    Beans
    7,287

    Re: HOWTO: Download YouTube Stereo MP3s

    Hi SuperMike,

    Quote Originally Posted by SuperMike View Post
    BTW, if you want to switch your YouTube videos to stereo, if they were uploaded in stereo in the first place, just go to your address line of the video and tack on the following option:

    &fmt=18
    Just saw the note on the beginning of your guide about the changes that Google have made. Remember the old saying:

    'Nil Bastardum Carborundum'

    which is as much as to say 'Don't let the b***rds grind you down!

    Now I am not sure if it is of any use to you at all in your script but the newest version of youtube-dl has a few commandline switches for the high quality option you speak of. There are some details here in a post that has received absolutely zero interest . I guess the sticking point might be exactly how many such high quality vids are actually there although my own experience seems to suggest that some sort of mass conversion might be taking place.

    Typically these files are:

    Code:
      Duration: 00:03:43.67, start: 0.000000, bitrate: 455 kb/s
        Stream #0.0(und): Audio: aac, 44100 Hz, stereo, s16
        Stream #0.1(und): Video: h264, yuv420p, 480x360, 29.97 tb(r)
    Now I know aac conversion can be a little problematic under Ubuntu but with a little work these files can also have the sound extracted and converted to mp3 with ffmpeg? It would be nice if your script could incorporate this .

    All the best,

    Andrew
    Last edited by andrew.46; January 19th, 2009 at 10:48 PM.
    You think that's air you're breathing now?

  10. #120
    Join Date
    Jul 2005
    Location
    Remote Desert, USA
    Beans
    683

    Re: HOWTO: Download YouTube Stereo MP3s

    Andrew what does this do?

    X.aac = name of your AAC file that has other stuff in it (like video), let's say:

    ffmpeg -i X.aac X.mp3

    Does it just work? Does it pull out that sound stream?

    You might need to install the 'lame' libraries to get ffmpeg to do the conversion, perhaps. I'm not familiar with AAC format too much. Most of the time all I need to do is rename something like /tmp/Flashx2338230 into /tmp/song.flv, and then run it through ffmpeg. And if the file is in mono, try and convert it with &fmt=18 on the URL (if from YT) and try again. And if the file is still mono, then use ecasound -etf:8 (or -etf:10, -etf:12, whatever) to convert to simulated stereo after doing the ffmpeg conversion.
    SuperMike
    When in doubt, follow the penguins.
    Evil Kitty is watching you

Page 12 of 13 FirstFirst ... 210111213 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
  •