Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Dronecatcher

macrumors 603
Original poster
Jun 17, 2014
5,290
7,948
Lincolnshire, UK
After the release of the new TFF FPR17 beta which now allows site specific user agent overrides, I decided to try and utilise MPlayer for 3gp streaming (when using a mobile phone user agent) instead of RealPlayer or QuickTime to save a few CPU cycles.
This can only work with the latest MPlayer as bundled with SMTube by @Lastic - the older versions only work in conjunction with youtube-dl which introduces it's own CPU overhead for streaming.

The attached applet, MobileTube, should be placed in Applications and TFF must have a mobile phone user agent activated for Youtube (eg NokiaN90-1/3.0545.5.1 Series60/2.8 Profile/MIDP-2.0 Configuration/CLDC-1.1)
After browsing to a video, click on play and a dialogue will ask you which app to use for playback, choose MobileTube and tick the box to remember the choice.
MobileTube will minimise TFF (this saves a surprising amount of CPU) and play the stream at a window width of 600 pixels via MPlayer located in /opt/local/bin/ - playback on my 1.33 Powerbook averages 15% which is much lower than RealPlayer.
However, most videos have audiio sync issues - as they also do with QuickTime/RealPlayer - this seems to be inescapable with 3gp video apart from on a real phone - I've used the autosync command within the playback script but manually altering sync with the -/+ keys is more successful - quality will vary.
This version will only work with TFF7450 - if anyone wants a TFF7400 version, leave a comment and I will make alterations.

MT.jpg


MT2.jpg


MobileTube.jpg
 

Attachments

  • MobileTube.zip
    81.5 KB · Views: 170
What a bizarre phone it was - only kept it for a month, couldn't get on with it's odd shape...still my Nokia 7280 was worse - entering text via a wheel!!
The Siemens SX1 had a very similar keypad arrangement to the 7600 - couldn't deal with that either. Entering text via a wheel - the Serenata...
26346.jpg

...also had that. It was a great music phone tho.
 
Last edited:
  • Like
Reactions: Dronecatcher
Will this work on G3s?

I got as far as TFF minimising after I've clicked onto to the video and then MobileTube appears momentarily in the menu bar but nothing else happens.
 
Will this work on G3s?

I got as far as TFF minimising after I've clicked onto to the video and then MobileTube appears momentarily in the menu bar but nothing else happens.

Do you have a G3 compiled version of MPlayer from @Lastic 's SMTube thread? If not, then no, it will definitely not work. As far as I know, no one has compiled the newer MPlayer for G3.
 
Hi @Dronecatcher,

I've tried playing 3gp videos with mplayer but can't get that low cpu usage
on my DLSD.
What are the options you're using with mobiletube?

Best regards,
voidRunner
 
These are the parameters I usually pass: -really-quiet -framedrop -lavdopts skiploopfilter=all:skipframe=nonref

Bear in mind the frequency scaling on the DLSD makes it hard to compare CPU figures.
 
  • Like
Reactions: dextructor
Hi @Dronecatcher,

Can you still get the 3gp videos?
I was just trying again using the Nokia useragent but it stopped
returning the 3gp links.
Is it happening to you too?

Best regards,
voidRunner
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.