maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Maemo5] MicroB plugin to play embeded videos in another application (https://talk.maemo.org/showthread.php?t=39935)

Bec 2010-01-10 12:28

[Maemo5] MicroB plugin to play embeded videos in another application
 
As many users don't really appreciate the advantages of fully rendering web pages with working video content I have a suggestion:

What if we could make a plugin for MicroB, or even Mozilla (which really needs it), that could transfer a video stream to either Mplayer, the default player or even apps like ZouTube?

Rendering the page + streaming video content via a separate application would significantly decrease the waiting times and CPU usage.

Something simmilar has been proposed by jaysin22, here.

Be sure to check the brainstorm thread as well!

Thank you:)

Bec 2010-01-29 20:55

Re: [Maemo5] MicroB plugin to play embeded videos in another application
 
Dbus Switchboard could be used to change file associations and even add streams.

Help on how to identify those streams would be highly appreciated :)

zerojay 2010-01-29 21:44

Re: [Maemo5] MicroB plugin to play embeded videos in another application
 
You might be able to use Greasemonkey in combination with a script to run youtube and other videos in Media Player. I had something that worked on my N810 before.

Bec 2010-01-29 22:24

Re: [Maemo5] MicroB plugin to play embeded videos in another application
 
That sound great! could you perhaps post the script and some more details about the grasemonkey settings?

zerojay 2010-02-01 13:44

Re: [Maemo5] MicroB plugin to play embeded videos in another application
 
Quote:

Originally Posted by Bec (Post 501733)
That sound great! could you perhaps post the script and some more details about the grasemonkey settings?

I would but I haven't been able to get Greasemonkey working on the N900 so.. :/

Bec 2010-02-02 14:10

Re: [Maemo5] MicroB plugin to play embeded videos in another application
 
That's odd, I just did :D

I also started a new thread http://talk.maemo.org/showthread.php?t=42813 that focuses on manually fetching the links, as well as reliable scripts.
Found one I very much like, but it's for megavideo only.

EDIT:
-added the solutions in brainstorm.

hstende 2010-02-02 18:43

Re: [Maemo5] MicroB plugin to play embeded videos in another application
 
I got mplayerplugin to work.
I did a
apt-get install mplayerplug-in

I had to remove .mplayer directory to get sound working
mv /home/user/.mplayer /home/user/.mplayer.org

Now I can play video inside web with mplayer.

Bec 2010-02-02 19:14

Re: [Maemo5] MicroB plugin to play embeded videos in another application
 
What videos/sites work?

Have you also associated a script?

hstende 2010-02-02 20:25

Re: [Maemo5] MicroB plugin to play embeded videos in another application
 
I can now play the videos in:

http://www.nrk.no/nett-tv/

They now start in mplayer

Bec 2010-02-02 21:32

Re: [Maemo5] MicroB plugin to play embeded videos in another application
 
Didn't install for me...
"Couldn't find package mplayerplug-in"

hstende 2010-02-02 22:24

Re: [Maemo5] MicroB plugin to play embeded videos in another application
 
I'm sorry I remembered wrong I downloaded it.
I had extra-testing and extra-devel enabled when I did an apt-get install

I got the plugin from here:
http://bundyo.org/maemo/mplayerplugi...50-1_armel.deb
and installed it with dpkg -i mplayerplug-in_3.50-1_armel.deb

I deleted the settings in /home/user/.mplayer/config

I made a new /home/user/.mplayer/mplayerplug-in.conf:

vo=xv
ao=alsa
cachesize=4096
cache-percent=25
noembed=1
framedrop=1
softvol=0
prefer-aspect=0
download=0
keep-download=0
dload-dir=/home/user/MyDocs
qt-speed=high
showtime=0
enable-wmp=1
enable-qt=1
enable-rm=1
enable-gmp=1
enable-dvx=1
enable-mpeg=1
enable-mp3=1
enable-ogg=1
enable-midi=0
enable-pls=1
enable-smil=1
enable-helix=1
nomediacache=0
nopauseonhide=0
rtsp-use-tcp=0
rtsp-use-http=0

qwerty12 2010-02-02 22:33

Re: [Maemo5] MicroB plugin to play embeded videos in another application
 
Quote:

Originally Posted by hstende (Post 507622)
I had extra-testing and extra-devel enabled when I did an apt-get install

You mean Diablo Extras-devel... Anyway, I'm the maintainer of the Diablo version; putting it in Fremantle's extras-devel isn't out of the question - if it works well, that is.

hstende 2010-02-02 22:37

Re: [Maemo5] MicroB plugin to play embeded videos in another application
 
@qwerty12 I have edit the way I did it in the post above. I did it yesterday but didn't test it before today.

Bec 2010-02-02 23:13

Re: [Maemo5] MicroB plugin to play embeded videos in another application
 
I downloaded it from here: http://maemo.org/packages/view/mplayerplug-in/

I tried to add .flv, with no success of course.
http://www.nrk.no/nett-tv/ started, with embedded mplayer but it got stuck on connecting...

Is it possible to make it play in the actual mplayer withour being embedded in a web page?

hstende 2010-02-03 05:51

Re: [Maemo5] MicroB plugin to play embeded videos in another application
 
@bec did you change the settings in mplayerplug-in.conf?
I don't know if the settings for setting speed on nrk-nett tv, and if it works outside Norway. Maybe you have to reboot to get it inside microb?

I used mplayerplug-in_3.50-1_armel.deb and not the 3.55, but don't think that should be a problem.

You could try changing settings in mplayerplug-in.conf
http://mplayerplug-in.sourceforge.net/config.php

noembed=0 would start mplayer inside the web. I used noembed=1 since it worked better for me.
My mplayerplug-in.conf now only has one line: noembed=1

I upgraded the plugin to the 3.55 and it still worked.

With noembed=1 you can use the keystrokes on the keyboard sending mplayer-commands.

cjp 2011-03-09 17:27

Re: [Maemo5] MicroB plugin to play embeded videos in another application
 
I'm going to bumpety-bump this thread as I'm interested in something along these lines as well.

I tried the stuff pictured above, but I can't get the package to install as its missing some dependencies. And are those packages for Diablo anyway?

More than anything, I would want for embedded videos to open in CuteTube or another app of the users choice. Are we any closer to obtaining this?

I've also approached the developer of CuteTube on this matter.


All times are GMT. The time now is 10:49.

vBulletin® Version 3.8.8