{01-OCT-2018} SMtube 18.9 (OS X 10.4 ) (alternative for Youview/Mactubes/Mobile Youtube) INSTALLER

Discussion in 'PowerPC Macs' started by Lastic, Feb 6, 2018.

  1. Lastic, Feb 6, 2018
    Last edited: Feb 19, 2019

    Lastic macrumors 6502a

    Joined:
    Mar 19, 2016
    Location:
    North of the HellHole
    #1
    Thanks to a very usefull tip by @XaPHER , I was able to compile qt4-mac 4.8.7 on OS X Tiger using Macports with a local ports tree. (see post here https://forums.macrumors.com/thread...outube-installer.2030035/page-9#post-25776972 )

    As such the prerequisite for SMTube is fullfilled and could be compiled.

    Now that sad news is that since SMTube 18.1 ( or 10-jan-2018 ) Youtube has HTTPS links and as such
    Tonvid feeds HTTPS links which Coreplayer can't handle.

    { 30-SEP-2018 and due to Youtube changes once again, we are now at SMTube 18.9
    build by @XaPHER once again , my thanks and gratitude once again to you }


    Currently only MPlayer 1.3 is capable of this , which I also compiled using Macports 2.4.2 on Tiger.

    As such you need to install the qt4-mac MPKG from here :

    https://www.dropbox.com/s/x4zclwlto8vxrnd/qt4-mac-4.8.7_5_OSX_Tiger.mpkg.zip?dl=0

    After which you can move SMTube.app (see attached ZIP file) to the Applications folder and start using it.

    I've built an MPKG for MPlayer 1.3 on Tiger also but from previous experiences this might not work :

    https://www.dropbox.com/s/5pwytrr9rg30jhx/MPlayer-1.3.0_3_OSX_Tiger.mpkg.zip?dl=0

    { EDIT 19-FEB-2019 Added MPlayer OSD Tiger DropBox link }

    This is the MPlayer 1.3 with OSD variant for Tiger

    https://www.dropbox.com/s/0edais18fyjuz9q/MPlayer+OSD-1.3.0_3_Tiger.mpkg.zip?dl=0

    My MPlayer 1.3 install on OS X Tiger was built via Macports 2.4.2 after I had installed Xcode 2.5 , installed
    Macports 2.3.1 , upgraded Macports ( sudo port selfupdate ) and sudo port install MPlayer (which took a night to build )

    {07-FEB-2018} updated for lcms error

    If you get the following error in your Console ,

    Code:
    ===== Tuesday, 6 February 2018 19:42:06 =====
    dyld: Library not loaded: /opt/local/lib/liblcms.1.dylib
    Referenced from: /opt/local/libexec/qt4/Library/Frameworks/QtWebKit.framework/Versions/4/QtWebKit
    Reason: image not found
    Feb 6 19:42:18 machinename crashdump[215]: smtube crashed
    Feb 6 19:42:18 machinename crashdump[215]: crash report written to: /Users/Home/Library/Logs/CrashReporter/smtube.crash.log
    You can fix this as suggested by @XaPHER by linking the missing lcms library to the installed lcms2 library but opening a Terminal and issuing :

    ln -s /opt/local/lib/liblcms2.dylib /opt/local/lib/liblcms.1.dylib

    I found that on my PB G4 12" 1.5 Ghz the best I could get on Charger , Better Performance was 480p playback. MPlayer lacks the Altivec optimisations that Coreplayer has .

    {07-FEB-2018} updated with MPlayer suggestions

    As suggested by @Dronecatcher adding following parameters to MPlayer will allow 720p playback on some machines :

    %u -title %t -framedrop -cache 8192 -lavdopts skiploopfilter=all:skipframe=nonref -really-quiet

    Add -fs if you always want FullScreen playback .

    Als from one of his previous threads

    Whilst the video is streaming MPlayer can be controlled by keyboard shortcuts:

    9 - volume down
    0 - volume up
    command + 0 - half size
    command + 1 - original size
    command + 2 - double size
    space - pause/play
    cursor right - forward 10 seconds
    cursor up - forward 1 minute
    f - full screen
    esc - quit


    Picture 1.png

    Picture 2.png

    Picture 3.png

    These are the optimised MPlayer parameters as stated above

    Picture 4.png


    A lot of usefull info can also be found at the OS X Leopard thread :

    https://forums.macrumors.com/thread...ew-mactubes-mobile-youtube-installer.2030035/

    Thanks to @Dronecatcher for being the guinea pig again :) and @XaPHER for the very usefull TigerPorts library.
     

    Attached Files:

  2. DearthnVader macrumors 6502a

    DearthnVader

    Joined:
    Dec 17, 2015
    Location:
    Red Springs, NC
    #2
    Doesn't seem to work on my DP 1.0 Ghz Quicksilver:

    Code:
     /Users/jam/Desktop/smtube\ 18.1\ OSX\ Tiger.app/Contents/MacOS/smtube
    dyld: Library not loaded: /opt/local/lib/liblcms.1.dylib
      Referenced from: /opt/local/libexec/qt4/Library/Frameworks/QtWebKit.framework/Versions/4/QtWebKit
      Reason: image not found
    Trace/BPT trap
    
     
  3. Dronecatcher macrumors 68030

    Dronecatcher

    Joined:
    Jun 17, 2014
    Location:
    Lincolnshire, UK
    #3
    Tried it on my 1Ghz TiBook....
    SMTube won't launch - I get this error in Console:

    ===== Tuesday, 6 February 2018 19:42:06 Europe/London =====
    dyld: Library not loaded: /opt/local/lib/liblcms.1.dylib
    Referenced from: /opt/local/libexec/qt4/Library/Frameworks/QtWebKit.framework/Versions/4/QtWebKit
    Reason: image not found
    Feb 6 19:42:18 wayne-sadlers-powerbook-g4-15 crashdump[215]: smtube crashed
    Feb 6 19:42:18 wayne-sadlers-powerbook-g4-15 crashdump[215]: crash report written to: /Users/Home/Library/Logs/CrashReporter/smtube.crash.log

    I don't have the build frameworks installed on the TiBook, if I did would it be a case of - sudo port install liblcms ?

    The good news however is that Mplayer does work and along with having webm playback it's a tad better at playback than the existing Tiger Mplayer. Thanks @Lastic
     
  4. XaPHER, Feb 6, 2018
    Last edited: Feb 6, 2018

    XaPHER macrumors regular

    XaPHER

    Joined:
    Oct 13, 2010
    Location:
    Nowhere to be found
    #4
    From looking the .mpkg of qt4, lcms2 is installed instead of lcms. The problem is that it looks for liblcms.1.dylib but the object's pathname is liblcms2.2.dylib. This terminal command should suffice(with appropriate priviledge level):

    Code:
    ln -s /opt/local/lib/liblcms2.dylib /opt/local/lib/liblcms.1.dylib 
    If there's more unfound symbols it should all be reasonably similar except if something is really missing in the package.

    One small trick to reduce the bundle size would be to remove docs/examples/manpages. Static libs or headers aren't needed in cases like this one either, but they're often lesser in size to bother with.

    If the complain about lcms persists, it may be preferable to package an earlier lcms, I guess.
     
  5. Lastic, Feb 6, 2018
    Last edited: Feb 6, 2018

    Lastic thread starter macrumors 6502a

    Joined:
    Mar 19, 2016
    Location:
    North of the HellHole
    #5
    The issue is lcms.
    I had the same issue on my past Tiger install.

    <<
    Checked the logs again and google for this ld: library not found -llcms , tried to find lcms but couldn't and noticed
    that Macports had installed lcms2 ( sudo port installed ).
    Installed lcms ( sudo port install lcms ) , started qt4-mac install ( sudo port install qt4-mac ) and it starts building>>

    I thought that qt4-mac MPKG would pick the installed lcms but it didn't , I will try to repackage it this evening with lcms instead of lcms2 but like @XaPHER stated linking the library might do the trick , but there might be more instances.

    Will also check if I can add flags to remove docs/examples/manpages from the qt4-mac MPKG .

    @Dronecatcher glad to hear that MPlayer works, strange that it doesn't when I create it on Leopard, going to clean install Leopard only on a PB this evening and see if the Tiger MPlayer MPKG works there.

    Time to set the Xserve G4 to use as a Netboot Server because I'm tired of CCC'ing for 2 hours each time I have to start from a clean install.
     
  6. XaPHER macrumors regular

    XaPHER

    Joined:
    Oct 13, 2010
    Location:
    Nowhere to be found
    #6
    I suspect the mplayer portfile that comes from tigerports to be responsible for the build succeeding. The maintainer of the repo also has a leopardports and a snowleopardports repo, which may be of interest. He is apparently involved a lot in macports.
     
  7. Lastic thread starter macrumors 6502a

    Joined:
    Mar 19, 2016
    Location:
    North of the HellHole
    #7
    The issue is lcms
    I didn't do the MPlayer build from the local Tigerports directory but from the regular Macports tree.

    On Leopard the Macports tree build also builds succesfully but when I create an MPKG so people without Xcode and Macports can install it , MPlayer gives an "Illegal Instruction" error when executed.
     
  8. Dronecatcher macrumors 68030

    Dronecatcher

    Joined:
    Jun 17, 2014
    Location:
    Lincolnshire, UK
    #8
    Bang on! That did the trick! Cheers @XaPHER
    --- Post Merged, Feb 7, 2018 ---
    Success :) With edit suggested by @XaPHER SMTube now firing on all cylinders!

    On my 1Ghz TiBook, instant 720P Youtube between 50-80% CPU:

    Picture 3.jpg
     
  9. DearthnVader macrumors 6502a

    DearthnVader

    Joined:
    Dec 17, 2015
    Location:
    Red Springs, NC
    #9
    Funny, I didn't have a /opt/local/lib dir at all?

    Anyway, I fixed it with:

    Code:
     sudo port -f install lcms
    I love this SMtube, it's exactly what I've been looking for, thank you to everyone that worked on it.

    If anyone is interested, I'd like to build a modern web browsers for these old PPC systems. TenFourFox just really doesn't cut it for me. I know the limitation of these old 32bit PPC systems is ram, and modern web pages can be upwards of 300MB, but I have an old "Snow" Chromebook, with a dual core 32bit Arm that only has 2GB of ram, and I can run 10 tabs in Chrome, and webpages still load very fast. I don't know if it's the codebase for Firefox, or if TenFourFox is just a poor implementation, I just feel that if a dual core 1.6Ghz Arm can do modern web browsing without stalling and choking on webpages, then a G4 should be able to as well.

    I'm thinking WebKit is a better way to go, so maybe we could get Konqueror to build for these old PPC systems, and we could make a few enhancements such as SMtube does to deal with websites like youtube that try and feed HTML5 video that these old G4's just can't handle at high bit rates.

    It's not something I can really take on alone, but if we could get a small group of us together to build a proof of concept, we could gauge how much interest there is in the project. Seem to me that TenFourFox is downloaded well over 10k times a week, so there is still some interest in these old PPC systems.

    I'd like to hear what others think, is it feasible?

    Is dual core Arm 32bit that much faster clock for clock than these old G4 and G5 systems?
     
  10. Dronecatcher macrumors 68030

    Dronecatcher

    Joined:
    Jun 17, 2014
    Location:
    Lincolnshire, UK
    #10
    And working perfectly at 720P on my 1.33Ghz Powerbook 12":

    Picture 1.jpg

    I tried to install on my G3 iBook and SMTube does load and work however Mplayer doesn't - in theory, would it compile for G3 if I installed the tools?
    --- Post Merged, Feb 7, 2018 ---
    I'm only speculating but whilst software could be optimised and Altivec employed more, I suspect the key failing is the hardware differences (graphics and video acceleration) and modern web frameworks that simply will never work as well as the deprecated ones under Power PC (eg Javascript).

    However, a concerted effort to make a fully optimised browser would be great and I'd pay for the finished result.
     
  11. Lastic thread starter macrumors 6502a

    Joined:
    Mar 19, 2016
    Location:
    North of the HellHole
    #11
    @Dronecatcher I'm guessing your Tiger 720p SMTube playback is on Charger , Better Performance ?
    Really have to check why my PB G4 12" 1.5Ghz , IDE SSD is struggling then ?

    Regarding a G3 build, I'm guessing that you need Xcode 2.5 ( if Tiger is the max. OS X for a G3) and Macports, there must be something processor specific which causes MPlayer MPKG not to work, but I don't have access to a G3 .

    I'm going to clean install Leopard (from CCC image) and Tiger (from scratch) tonight, so I can check further.

    Did anybody try the MPlayer MPKG on a non Xcode/Macports Leopard G4/G5 install ?
    --- Post Merged, Feb 7, 2018 ---
    Regarding TenFourFox vs Webkit, are we talking Tiger or Leopard ?
     
  12. Dronecatcher macrumors 68030

    Dronecatcher

    Joined:
    Jun 17, 2014
    Location:
    Lincolnshire, UK
    #12
    Confirmed - happy to say the Tiger build of Mplayer 1.3 works perfectly with Leopard SMTube, here it is playing 720P on my Powerbook 17"

    17.jpg
    --- Post Merged, Feb 7, 2018 ---
    Yes, have on Highest setting. Also, I use a few playback parameters passed to Mplayer:

    -fs -framedrop -cache 8192 -lavdopts skiploopfilter=all:skipframe=nonref
     
  13. Lastic thread starter macrumors 6502a

    Joined:
    Mar 19, 2016
    Location:
    North of the HellHole
    #13
    Ah Good news saves me a 2 hour restore, did you have to do the

    ln -s /opt/local/lib/liblcms2.dylib /opt/local/lib/liblcms.1.dylib

    trick on Leopard also ?
     
  14. Dronecatcher macrumors 68030

    Dronecatcher

    Joined:
    Jun 17, 2014
    Location:
    Lincolnshire, UK
    #14
    No, SMTube was always fine in Leopard, it was only Mplayer lacking. Just installed ok on my 1.5Ghz 12" - difference there was it doesn't have XCode/Macports installed so couldn't use sudo port clean mplayer first, however Tiger Mplayer installed fine over the top.

    Great to have SMTube back :)
     
  15. Dronecatcher macrumors 68030

    Dronecatcher

    Joined:
    Jun 17, 2014
    Location:
    Lincolnshire, UK
    #15
    I've come across a glitch using Leopard SMTube/Tiger Mplayer on my Dual 1.42 MDD - playing 720P was running both CPUs at 100% - the culprit was syslogd which appeared to caused by feedback from Mplayer.
    I cured this by including the parameter -really-quiet in the SMTube player preferences - CPU is now back to around 30%.
    This hasn't happened on other machines but I've also included the same parameter on them as Mplayer not continually reporting status will save a few processor cycles.
     
  16. AphoticD macrumors 68000

    AphoticD

    Joined:
    Feb 17, 2017
    Location:
    Australia
    #16
    The best gauge for comparison IMO would be to install a lightweight Linux/PPC on your G4 and then try running a WebKit based browser like Konqueror (Midori has always been my favourite). This would in theory provide the best performance on the hardware with minimal overhead. However things like Altivec optimisation may not be fully implemented. You've got to remember too, that any form of SMP is going to shine over a single processor. There is effectively 3.2GHz of multithreaded processing power on that ARM processor, which is likely packed full of a multitude of optimisations that the single-threaded G4 lacks.

    Although TenFourFox works brilliantly and is highly optimised (within the scope of Altivec), it is a full-featured modern browser running on older hardware. Further optimisations would likely need to come in the form of stripping down the features. I was always impressed with the performance of Camino, which was also a Gecko based browser (like TFF), so I don't think it's simply a case of a WebKit base being faster than a Gecko base.

    In terms of best performance and feature set, Leopard WebKit works really well on my G4s and is in active development. Launch times are a few seconds, instead of 30+ seconds with TFF. Standard interactions like creating a new tab or going into Preferences are instant instead of taking 5 - 10 seconds (or more).
     
  17. Dronecatcher macrumors 68030

    Dronecatcher

    Joined:
    Jun 17, 2014
    Location:
    Lincolnshire, UK
    #17
    If only there was a lightweight Linux for PPC though....
    I tried a skeletal Debian install following PPC Luddite's guide and still, apart from a few tasks, it couldn't match OSX (and on my 17" the infernal trackpad issues) and one had to suffer a very spartan interface.

    Some brave soul did set out to author a new, small footprint Linux for PPC via a Kickstarter but were sadly, largely shot down by the community here.
    I think the fastest OS we currently have for PPC is Morphos but that is not without many quirks and failings compared to OSX.
     
  18. pochopsp macrumors 6502

    pochopsp

    Joined:
    Apr 6, 2016
    Location:
    Napoli, city of sun and pizza!
    #18
    Hi @Lastic ! Thanks a lot for bringing Smtube to Tiger! I am a big fan of this project as you know...

    I wanted to try it with my new (maybe it is more correct to say "like new") Ibook G4, but I am not able to download qt and mplayer from dropbox. I am using the latest version of TenfourFox, when I click on "direct download" it just loads for a few seconds and then nothing happens. Have you got a solution for that?

    Thanks a lot, your Italian N.1 supporter,
    - pochopsp -
     
  19. pochopsp macrumors 6502

    pochopsp

    Joined:
    Apr 6, 2016
    Location:
    Napoli, city of sun and pizza!
    #19
    Nevermind! I foxboxed the dropbox link and I managed to get it work... Just amazing!!! 360p videos are silky smooth on Ibook G4 1.33ghz with 512 mb of ram... thank you @Lastic !!
     
  20. Lastic thread starter macrumors 6502a

    Joined:
    Mar 19, 2016
    Location:
    North of the HellHole
  21. AphoticD macrumors 68000

    AphoticD

    Joined:
    Feb 17, 2017
    Location:
    Australia
    #21
    Just a thought to put CorePlayer back into the mix... Would it be possible to run a local Apache (Personal web sharing or similar) web server with a PHP script which could be fed a https YouTube url but output via a http stream?

    E.g such an url would be fed to CorePlayer as:

    http://localhost/restreamer.php?url=https://etcetc.youtube.etc/etc

    And would just stream out the video data on a non-secure local port.

    I imagine the only pre-requisite would be an up to date OpenSSL installation via macports.

    It could also make use of an existing tool like wget or curl and be written in python or perl if that is preferred.

    Any thoughts?
     
  22. Dronecatcher macrumors 68030

    Dronecatcher

    Joined:
    Jun 17, 2014
    Location:
    Lincolnshire, UK
    #22
    This member has a youtube-dl/Coreplayer streamer working...but seems to want to keep it to himself ;)

    https://forums.macrumors.com/thread...ader-even-for-g3.2031523/page-4#post-25217224

    I'm happy with SMTube+new MPlayer - the only real advantage with Coreplayer is 720P is less demanding than on MPlayer - disadvantages are clunky interface and no webm playback.
     
  23. XaPHER macrumors regular

    XaPHER

    Joined:
    Oct 13, 2010
    Location:
    Nowhere to be found
    #23
    There's one thing to add for coreplayer: the AVC deblocking filter still gives blocky output frequently. Depending on what you watch it gets annoying. Like watching blocks in HD. For me at least.
     
  24. Dronecatcher macrumors 68030

    Dronecatcher

    Joined:
    Jun 17, 2014
    Location:
    Lincolnshire, UK
    #24
    I have had that on occasion, certain files it just does not like.
     
  25. Lastic thread starter macrumors 6502a

    Joined:
    Mar 19, 2016
    Location:
    North of the HellHole
    #25
    So after 10 hours of compiling, here is the link to MPlayer 1.3 with OSD enabled compiled on Tiger with all dependencies included.

    Please try this on a non-Xcode , non-Macports Tiger , preferably with no previous MPlayer install and let me know if this works.

    I haven't been able to test this on a clean system or a system with a previous version of MPlayer installed since I used Macports, so try at your own risk.

    https://www.dropbox.com/s/0edais18fyjuz9q/MPlayer+OSD-1.3.0_3_Tiger.mpkg.zip?dl=0

    Once MPlayer has started you can toggle the OSD with the o key .

    If this works , I will continue with installing qt4-mac on my Tiger machine and compile SMTube 18.11 for Tiger also.
     

Share This Page

44 February 6, 2018