maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Kmplayer instead of flash (https://talk.maemo.org/showthread.php?t=84214)

riv64 2012-05-11 13:05

Kmplayer instead of flash
 
Hi,
I found an easy way to watch flash movies in kmplayer instead of the microb. I create file in /home/user which contains :

"wmctrl -r :ACTIVE: -b toggle,fullscreen"
m:0x4 + c:111
Control + up

"exec /opt/kmplayer/bin/kmplayer /var/tmp/Flash*"
m:0x4 + c:45
Control + K
I gave chmod +x xbind and then as NORMAL user:
/usr/bin/xbindkeys -f /home/user/xbind

It's works so I wont to add it to autostart. I create fille in /etc/event.d
start on started hildon-desktop
exec /usr/bin/xbindkeys -f /home/user/xbind
stop on starting shutdown

I gave chmod +x and after a reboot it's not working. How can I do this to make it work?
Additionally i create symlink to /var/tmp - this solves the problem with long movies and a little space in the tmp (maybe for someone it will be a useful)

Sorry for my bad English

sifo 2012-05-11 13:43

Re: Kmplayer instead of flash
 
flash movies playable with kmplayer without doing all of that dude ;)
i just got a little problem in some videos that the voice faster than the video.
./sifo

riv64 2012-05-11 13:51

Re: Kmplayer instead of flash
 
So please explain how to do it better

sifo 2012-05-11 14:12

Re: Kmplayer instead of flash
 
sorry i dont know how but i installed decoder support mplayer (which SIB need ) and got all videos working as for the HD one it is working slowly but that could be solved there is already thread about watching 720p videos
./sifo

riv64 2012-05-13 13:32

Re: Kmplayer instead of flash
 
Is there anyone how to add simple command: xbindkeys -f /home/user/xbind to autostart as a normal user (kmplayer not working with root)?

sifo 2012-05-13 13:54

Re: Kmplayer instead of flash
 
i guess this thread should be under development section right ?
"sorry i cant help you with that :p"

./sifo

riv64 2012-05-13 21:04

Re: Kmplayer instead of flash
 
Thanks for the reply sifo. I add command to /etc/X11/Xsession.d/*matchbox and now I can watch youtube movies on kmplayer.

D@vIcHoJD 2012-05-14 02:27

Re: Kmplayer instead of flash
 
Could please post the file and how to create the symlink to play flash video kmplayer.
One question plays the video without any kind of difficulty? I am very interested in this.
Regards

nisheet 2012-05-14 03:56

Re: Kmplayer instead of flash
 
i also want to play flash direct in kmplayer please provide me the file you generated to make it possible...

computerinfo21 2012-05-14 13:27

Re: Kmplayer instead of flash
 
Quote:

Originally Posted by riv64 (Post 1206042)
Is there anyone how to add simple command: xbindkeys -f /home/user/xbind to autostart as a normal user (kmplayer not working with root)?

After messing around quite a bit with xbindkeys and startup I posted a thread that explains how I got it to start on startup.
http://talk.maemo.org/showthread.php?t=83643

riv64 2012-05-14 15:14

Re: Kmplayer instead of flash
 
1 Attachment(s)
It's not unusual. I open youtube or something similar then push pause and control + k - this opens the kmplayer and plays the flash video which stored by microb in /var/tmp. Addidtionaly I move /var/tmp to /opt becouse I watch online movies which take up much space in rootfs. Everything is explained in the first post. Just create (gave chmod +x) file which contains:
"exec /opt/kmplayer/bin/kmplayer /var/tmp/Flash*"
m:0x4 + c:45
Control + K

next: download xbindkeys and unpack to /usr/bin. After all type as a Normal user xbindkeys -f "your created file"
To create a symlink:
cp -r /var/tmp /opt/var/
rm -r /var/tmp
ln -s /opt/var/tmp /var/tmp
If you have problems with tracker:
chmod a=rwx /var/tmp/tracker-user
chmod a=rwx /var/tmp/tracker-user/user_tracker_lock

I'm not an expert and don't know if it is safe so be careful
If it works you can add it to autostart.
Sorry for my bad English

JSTAR 2012-05-14 19:05

Re: Kmplayer instead of flash
 
does anyone know how to watch live streaming using kmplayer? cuz when i go to watch basketball in some site it's laggy that's why i want to know if we can watch live streaming in kmplayer...

GrimyHR 2012-05-14 19:22

Re: Kmplayer instead of flash
 
wait now, does this give me a possibility to watch online flash videos form sites like youtube, gorilavid, putlocker and similar in kmplayer instead of browser? so there is a hope that online videos could actually be watchable on n900?

JSTAR 2012-05-14 20:07

Re: Kmplayer instead of flash
 
Quote:

Originally Posted by GrimyHR (Post 1206699)
wait now, does this give me a possibility to watch online flash videos form sites like youtube, gorilavid, putlocker and similar in kmplayer instead of browser? so there is a hope that online videos could actually be watchable on n900?

Yes you can, i've been watching alot of movies using kmplayer :)
Only i don't know if it canplay live streams...

Estel 2012-05-14 20:10

Re: Kmplayer instead of flash
 
Quote:

Originally Posted by GrimyHR (Post 1206699)
so there is a hope that online videos could actually be watchable on n900?

For me, online videos were always watchable, even in microB (after using fullscreen - if rendered as part of page, it stutters, but on video fullscreen, it's perfectly fluent).

So, what was unwatchable for You?

Personally, I'm rather interested, if this could be used to watch videos strictly requiring flash 10 or higher, i.e. ones that try to load thanks to tweakflashver, but fail. i have no idea, how good mplayer codecs are, when related to adobe sh*t...

BTW, You can use method presented in this thread not only with kmplayer, but also with mplayer itself, or smplayer (another frontend for mplayer, IMO better than kmplayer...)
- whatever You feel fancy.

/Estel

// Edit

One particular site, that got videos playing on N900, yet at unusable stuttering speed, is metacafe. I've tried it as guinea pig, but, it doesn't create /var/tmp/flash (and, it seems that nothing in /var/tmp at all). Does anyone know where it actually caches videos? I would like to try it with mplayer.

GrimyHR 2012-05-14 20:32

Re: Kmplayer instead of flash
 
Quote:

Originally Posted by Estel (Post 1206722)
For me, online videos were always watchable, even in microB (after using fullscreen - if rendered as part of page, it stutters, but on video fullscreen, it's perfectly fluent).

So, what was unwatchable for You?

Personally, I'm rather interested, if this could be used to watch videos strictly requiring flash 10 or higher, i.e. ones that try to load thanks to tweakflashver, but fail. i have no idea, how good mplayer codecs are, when related to adobe sh*t...

BTW, You can use method presented in this thread not only with kmplayer, but also with mplayer itself, or smplayer (another frontend for mplayer, IMO better than kmplayer...)
- whatever You feel fancy.

/Estel

// Edit

One particular site, that got videos playing on N900, yet at unusable stuttering speed, is metacafe. I've tried it as guinea pig, but, it doesn't create /var/tmp/flash (and, it seems that nothing in /var/tmp at all). Does anyone know where it actually caches videos? I would like to try it with mplayer.

series from sites like gorillavid, putlocker and other linked on watchseries.eu, not fluid even on fullscreen

JSTAR 2012-05-14 20:41

Re: Kmplayer instead of flash
 
@Estel

can u watch live stream videos with kmplayer? cuz i like watching sports but they're live streams

riv64 2012-05-14 20:47

Re: Kmplayer instead of flash
 
Estel if you have nothing in /var/tmp and you created symlink try: chmod a=rwxt /opt/var/tmp

Estel 2012-05-14 21:10

Re: Kmplayer instead of flash
 
I haven't created symlink, I use /var/tmp as is. It's not empty - it contain browser thumbnails and many other things, but nothing that seems related to metaface's video. I wonder where it caches it.

@GrimyHR
Same situations for sities like metacafe. It seems that it depends on flash implementation being used. For example, youtube works fluidly. Reportedly, many porn sites too ;)

@JSTAR I don't use kmplayer, so I have no idea. As for smplayer - if mplayer can do it, smplayer will be able also. Probably, it depends on streaming technology being used on particular site - You must experiment for Yourself.

/Estel

JSTAR 2012-05-14 21:17

Re: Kmplayer instead of flash
 
Thanks for your quick response Estel =)

GrimyHR 2012-05-14 21:31

Re: Kmplayer instead of flash
 
so basically not to bother with all this, i have put tmp in MyDocs and then i just open the file with player of my choice...

JSTAR 2012-05-14 21:45

Re: Kmplayer instead of flash
 
Quote:

Originally Posted by GrimyHR (Post 1206755)
so basically not to bother with all this, i have put tmp in MyDocs and then i just open the file with player of my choice...

Go to a site for example youtube then choose which video you want after clicking the video you played puse it then open kmplayer, tmp folder should automatically create it's own folder then click tmp u should see a flash then play it.

@Estel i tried smplayer to see if i can watch live stream videos i put the url then it played for just 2 seconds without showing videos then stopped.... i watch live stream sports here p2p4u.net can u try it for me pls? i really appreciate if u could help :)

Estel 2012-05-15 04:39

Re: Kmplayer instead of flash
 
@GrimyHR

You don't have to put tmp in MyDocs. Someone suggested it for reasons unknown (he's afraid about space on rootfs, but tmp is tmp and it clears itself...). Basically, symlinking/moving /var/tmp isn't related to this thread.

The whole idea here, is to use mplayer (which got codecs bundled in and doesn't rely on Maemo ones) to play cached (by browser) video, instead of browser itself. No much reason to do it, most of the times - if video could be accelerated by DSP, it will be in browser, but not in maplyer, and if it couldn't mplayer won't accelerate it either (mplayer doesn't use DSP at all).

It *may* be useful for some rare cases, where Maemo lacks some codecs/whatever to watch particular video AND CPU is powerful enough to decode it fluently AND mplayer does have coded, that Mdemo is lacking.

But, to try it, You must know where particular site - that You're watching video on - saves video cache.

/Estel

// Edit

BTW, even if You find any case, where it's feasible - which I doubt - You don't need to bind anything via xbindkeys. You Could just open terminal and mplayer (or smplayer or kmplayer or whatever *mplayer) /path/to/cached/video. That's all the "trick".

@JSTAR
Sorry dude, I have no idea or interest in that particular streaming site. You could be better, to find some site that streams via icecast or any other Open standard/protocol. Proprietary streaming services are a no-go, probably.

/Estel

GrimyHR 2012-05-15 07:29

Re: Kmplayer instead of flash
 
Quote:

Originally Posted by Estel (Post 1206829)
@GrimyHR

You don't have to put tmp in MyDocs. Someone suggested it for reasons unknown (he's afraid about space on rootfs, but tmp is tmp and it clears itself...). Basically, symlinking/moving /var/tmp isn't related to this thread.

The whole idea here, is to use mplayer (which got codecs bundled in and doesn't rely on Maemo ones) to play cached (by browser) video, instead of browser itself. No much reason to do it, most of the times - if video could be accelerated by DSP, it will be in browser, but not in maplyer, and if it couldn't mplayer won't accelerate it either (mplayer doesn't use DSP at all).

It *may* be useful for some rare cases, where Maemo lacks some codecs/whatever to watch particular video AND CPU is powerful enough to decode it fluently AND mplayer does have coded, that Mdemo is lacking.

But, to try it, You must know where particular site - that You're watching video on - saves video cache.

/Estel

// Edit

BTW, even if You find any case, where it's feasible - which I doubt - You don't need to bind anything via xbindkeys. You Could just open terminal and mplayer (or smplayer or kmplayer or whatever *mplayer) /path/to/cached/video. That's all the "trick".

@JSTAR
Sorry dude, I have no idea or interest in that particular streaming site. You could be better, to find some site that streams via icecast or any other Open standard/protocol. Proprietary streaming services are a no-go, probably.

/Estel

tnx but i know all this, i moved tmp a long time a go for a completly different reason(cant even remember why)
and those videos that arent playing smoothly in browser play just nicely in any video player on n900, flash player on those sites must be a resource hog


All times are GMT. The time now is 23:14.

vBulletin® Version 3.8.8