Forum: PS2 Linux - Show your penguin pride. Discuss PS2 Linux (Official kit and Blackrhino) here!


The above video goes away if you are a member and logged in, so log in now!




 
Would you like to get all the new info from
PSX-Scene in your email each day?




Want to learn more about the team keeping you up to date with the latest scene news?

Read about them now!

Check out our Developer bios, too!

 


User Tag List

Thread: ps2 linux youtube
  

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11
  1. #1 ps2 linux youtube 
    Otje is offline Member
    Join Date
    Jan 2010
    Posts
    16
    Downloads
    3
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    i 've a fat ps2 with working ps2linux blackrhino.
    i have also watched several youtube vids. a few months ago,but here comes the problem:

    it has been more than a half year that i have used ps2linux.
    when i want to play a video, the mplayer program starts, setting the language, extracting the video info. but then it says that the video has the wrong format.

    how is it possible??
    Reply With Quote  

  2. #2  
    deba5er's Avatar
    deba5er is offline Moderator
    Join Date
    Jan 2006
    Posts
    593
    Downloads
    0
    Uploads
    0
    Mentioned
    2 Post(s)
    Tagged
    1 Thread(s)
    Likes Given
    6
    Likes Received
    8
    You'll need to download the new version of youtube-dl.py and place the script into the /usr/local/bin directory.

    su
    (enter the password)
    cd /usr/local/bin
    wget http://bitbucket.org/rg3/youtube-dl/....03/youtube-dl
    mv youtube-dl youtube-dl.py

    youtube has been changing very quickly of late, so this only lasts so long. Also, youtube formats are changing and the mplayer can't handle the newer ones.
    PS2 v9 NTSC, PS2 v12 NTSC, PS2 v15 VESA
    Reply With Quote  

  3. #3  
    gamewarden56 is offline Member
    Join Date
    Jun 2010
    Posts
    66
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    1
    Likes Received
    1
    Quote Originally Posted by deba5er View Post
    You'll need to download the new version of youtube-dl.py and place the script into the /usr/local/bin directory.

    su
    (enter the password)
    cd /usr/local/bin
    wget http://bitbucket.org/rg3/youtube-dl/....03/youtube-dl
    mv youtube-dl youtube-dl.py

    youtube has been changing very quickly of late, so this only lasts so long. Also, youtube formats are changing and the mplayer can't handle the newer ones.
    I remember a few months ago I was able to watch youtube vids also, but now I get the same thing as the guy above. I've tried the script and everything works fine.
    It downloads the .flv but unfourtunatly youtube keeps updating all there stuff.

    Would there be anyway to download youtube vides as .swf files. Or out of curiosity are .swf sorta not supported for ps2 linux?
    If .swf are able to be used with ps2 mozilla firefox, maybe something could be used to download these vids.
    Reply With Quote  

  4. #4  
    Otje is offline Member
    Join Date
    Jan 2010
    Posts
    16
    Downloads
    3
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    when i start the video it dowloads it but then it says its an unsupported video codec,
    is that my fault or is it not possible to play youtube because of the updates from youtube
    Reply With Quote  

  5. #5  
    deba5er's Avatar
    deba5er is offline Moderator
    Join Date
    Jan 2006
    Posts
    593
    Downloads
    0
    Uploads
    0
    Mentioned
    2 Post(s)
    Tagged
    1 Thread(s)
    Likes Given
    6
    Likes Received
    8
    Unsupported codec means that this is one of the videos that this old version of mplayer cannot play. Try others, when you get an older video from youtube, you will have more luck.
    PS2 v9 NTSC, PS2 v12 NTSC, PS2 v15 VESA
    Reply With Quote  

  6. #6  
    Otje is offline Member
    Join Date
    Jan 2010
    Posts
    16
    Downloads
    3
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    i tried abaout 15 vids, also the ones with three years of age, but i think it isn't possible to watch youtube vids anymore.
    Reply With Quote  

  7. #7  
    Otje is offline Member
    Join Date
    Jan 2010
    Posts
    16
    Downloads
    3
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    Is there anyone who can watch youtube vids at the moment? (12-27-2010)
    Reply With Quote  

  8. #8  
    deba5er's Avatar
    deba5er is offline Moderator
    Join Date
    Jan 2006
    Posts
    593
    Downloads
    0
    Uploads
    0
    Mentioned
    2 Post(s)
    Tagged
    1 Thread(s)
    Likes Given
    6
    Likes Received
    8
    @Otje

    The default downloaded format from youtube was changed to H.264 (for Apple IPhones, etc.) so the old .flv format has to be selected. Although youtube supposedly this month removed the ability to use the fmt= format selector, it appears that I have it working fine again with the new (1) youtube-dl.py and slightly updated scripts (2) youtube and (3) youtubes. All may be downloaded from here:
    4shared - My 4shared - shared folder - free file sharing and storage

    Place these files in /usr/local/bin and chmod 755 files (su to do this) so that you can run them.

    The youtube-dl.py is written by R. Gonzalez and is downloadable from here for more frequent updates as youtube changes things (which they do often):
    youtube-dl: Download Page

    I chose format 5, H.263. More about youtube formats may be found here:
    YouTube - Wikipedia, the free encyclopedia

    Let me know if you have problems after placing them in the right directory and giving them the appropriate permissions to run.
    PS2 v9 NTSC, PS2 v12 NTSC, PS2 v15 VESA
    Reply With Quote  

  9. #9  
    Otje is offline Member
    Join Date
    Jan 2010
    Posts
    16
    Downloads
    3
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    so when i place thes file onto a usb device I can place them in the usr/local/bin directory an the only thing i have to do afterwards is to give the command:

    "chmod 755" or am i wrong?

    and how can I change to "format 5"?

    (@deba5er: Thanks for the great work and to make the ps2lInux community alive)
    Reply With Quote  

  10. #10  
    wisi is offline Member
    Join Date
    Nov 2008
    Posts
    100
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    @ Otje
    If you open the file "youtube" or "youtubes" in a text editor - gedit, vim, nano, etc. you can see the line
    Code:
    python2 /usr/local/bin/youtube-dl.py -f 5 $url | tee /tmp/youtube.txt
    that "5" specifies the file format to be downloaded. In other words - you do not need to change the file.
    the only thing i have to do afterwards is to give the command:

    "chmod 755" or am i wrong?
    you first have to go to "/usr/local/bin" , then do a "chmod 755 youtube":
    Code:
    cd /usr/local/bin
    chmod 755 youtube
    chmod 755 youtubes
    chmod 755 youtube-dl.py
    You have to copy the files to there as root, before you do the above:
    Code:
    su
    changeme
    mount -t vfat /dev/sda1 /mnt/sda1
    cp /mnt/sda1/<the folder where you put the files>/youtube /usr/local/bin
    cp /mnt/sda1/<the folder where you put the files>/youtubes /usr/local/bin
    cp /mnt/sda1/<the folder where you put the files>/youtube-dl.py /usr/local/bin
    Reply With Quote  

Page 1 of 2 1 2 LastLast
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •