Playing YouTube via VLC

Discussion in 'PowerPC Macs' started by 0th3r, Jul 31, 2019.

  1. 0th3r macrumors newbie

    Joined:
    Jul 30, 2019
    Location:
    Russia
    #1
    To play YouTube through VLC you need

    1. Install:
    • VLC 2.0.1 (In folder Applications -> "/Applications/VLC.app")
    • MacPorts
    2. Install curl-ca-bundle through MacPorts
    Code:
    sudo port install curl-ca-bundle
    3. Add new SSL certs to VLC
    Code:
    mkdir -p ~/Library/Preferences/org.videolan.vlc/ssl/certs
    Code:
    ln -s /opt/local/share/curl/curl-ca-bundle.crt ~/Library/Preferences/org.videolan.vlc/ssl/certs/ca-certificates.crt
    
    4. Patch old VLC for support YouTube
    Code:
    rm -f /Applications/VLC.app/Contents/MacOS/share/lua/playlist/youtube.luac
    Code:
    curl --insecure https://raw.githubusercontent.com/videolan/vlc/master/share/lua/playlist/youtube.lua -o /Applications/VLC.app/Contents/MacOS/share/lua/playlist/youtube.lua
    5. Play video
    • Copy link of video
    • Open VLC
    • In VLC open: File -> Open Network
    • Past URL and press Open
    • [​IMG]
    • [​IMG]
    On my DC 2.3 Power Mac G5 works very good
     
  2. z970mp, Jul 31, 2019
    Last edited: Jul 31, 2019

    z970mp macrumors 68000

    z970mp

    Joined:
    Jun 2, 2017
    Location:
    A UNIX System
    #2
    And just like that, without any warning at all, yet another way was found to play YouTube on 15+ year old hardware.

    Staggering.
     
  3. Project Alice macrumors 6502a

    Project Alice

    Joined:
    Jul 13, 2008
    Location:
    Post Falls, ID
    #3
    I’m surprised no one has compiled a newer version of VLC on leopard. I’m sure it’s possible.
     
  4. z970mp, Jul 31, 2019
    Last edited: Jul 31, 2019

    z970mp macrumors 68000

    z970mp

    Joined:
    Jun 2, 2017
    Location:
    A UNIX System
    #4
    I figure that for most people, QuickTime 7.7 w/ Perian does a fine job.
     
  5. Dronecatcher macrumors 68030

    Dronecatcher

    Joined:
    Jun 17, 2014
    Location:
    Lincolnshire, UK
    #5
    On most PowerPCs Quicktime is the last video player you'd want to use.
     
  6. z970mp macrumors 68000

    z970mp

    Joined:
    Jun 2, 2017
    Location:
    A UNIX System
    #6
    Yeah, I'll bet...
     
  7. netsrot39 macrumors regular

    netsrot39

    Joined:
    Feb 7, 2018
    Location:
    Austria
    #7
    Well VLC for Leopard is from 2014 and pretty much one version behind the latest release. I haven't had any problems with it. However I'm missing newer functions like resuming playback from where I stopped before. Now VLC for Tiger is from 2009 and almost hitting the 10 year mark and still I could play everything I wanted. Has anybody of you tried building a newer version? I don't know too much about compiling and only play around with MacPorts here and there so I really don't know too much about it but I would be surprised if it won't compile. And yes QT is awful on PowerPC except for a G5 maybe. On my G4s I have to pay attention that I don't have too many applications opened because otherwise the file I'm playing is more like the playback of a GIF file^^ XBMC and CorePlayer are the kings IMO. I played 720p on my Mid 2005 iBook G4 for example without any noticable frame drops and honestly I never expected HD video on that computer. Anyways, this thread is about watching YouTube via VLC and I'm sure it does that well but PPC Media Center is my prefered app for such purpose and basically guaranteed to work in the future since it's backend youtube-dl is maintained.
     
  8. 0th3r thread starter macrumors newbie

    Joined:
    Jul 30, 2019
    Location:
    Russia
    #8
    If everything was so easy, then vlc did not remove powerpc support. Just tried to compile vlc2.1 on 10.5.8, sdk leopard is old because of this it is impossible to compile a new version

    VLC will also be able to support play YouTube in the future if you update the youtube.lua script in a timely manner. Due to design updates, the old script could not get a direct link to the mp4 file
     
  9. necreation macrumors newbie

    necreation

    Joined:
    Oct 15, 2006
    Location:
    Kuala Lumpur, Malaysia
    #9
    I've just tested it. It really works. Thanks for sharing.
     

Share This Page

8 July 31, 2019