[maemo-developers] GStreamer mpeg4

2006-02-23 Thread Johannes Oikarinen

Hi!

I'm trying to view mpeg4 video files with GStreamer. Running the 
gst-inspect-0.8 gnomevfssrc location=/path/file.3gp ! demux3gp ! 
dspmpeg4sink prints out only text RUNNING pipeline and freezes. Same 
happens with avi files. Is there some way to get this working or some other 
way of  viewing mpeg4 files/streams? I've enabled GStreamer support in the 
device as described in here: 
http://maemo.org/maemowiki/EnablingGstreamerSupport.


Best Regards,
Johannes Oikarinen

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Adding swapon/off to Jakub's Load-Plugin applet

2006-02-23 Thread Armin M. Warda
On Thursday 23 February 2006 01:34, David D. Hagood wrote:
 [EMAIL PROTECTED] wrote:
  Any suggestions?
 
  How about hooking swapoff to the hotplug event for the MMC card
  cover opening? Maybe even insertion also.

Yes, I really would like to try this, but I do not know how this has 
to be done. Can anybody lend me a hand? (Of cause I would make 
this feature optional, with an enable/disable checkbox in the 
settings.)

 Yes, *please* hook the cover open/cover close events and
 enable/disable swap as appropriate.

But this will only make sense for a swap living on the RS-MMC.
If you are running with a swap file on the internal flash,
you would not want to swapoff when the RS-MMC lid is opened...

Do you think, detection of the prefix /dev/mmcblk0 for a swap device -
or /media/mmc1/ for a swap file - in /proc/swaps, is good enough to 
conclude, that the swap lives on the RS-MMC? Is absense of these 
prefixes good enough to conclude, that the swap down _not_ live on 
the RS-MMC?

 Also, please scan not just for swap files, but also for swap
 partitions -

Yes, via /proc/swaps I autodetect an active swap-file or -device, 
if none has been configured in the Load-Plugin applet settings. 

 I prefer to have a swap partition

Me too, I use /dev/mmcblk0p2 - I repartitioned the RS-MMC with two
partitions: mmcblk0p1 with 480MB FAT and mmcblk0p2 with 30 MB swap.
USB-plugging the N770 to the PC only umounts the 1st partition,
the swap on the seconds remains available.

  Armin.

-- 
   --- May the Source be with you! Linux. ---
   --- http://www.arminwarda.mynetcologne.de/
   --- secure eMail: http://www.gnupg.de/ ---


pgp0NkjAaLOm3.pgp
Description: PGP signature
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Adding swapon/off to Jakub's Load-Plugin applet

2006-02-23 Thread Kimmo Hämäläinen
On Thu, 2006-02-23 at 15:01, ext Armin M. Warda wrote:
 On Thursday 23 February 2006 01:34, David D. Hagood wrote:
  [EMAIL PROTECTED] wrote:
   Any suggestions?
  
   How about hooking swapoff to the hotplug event for the MMC card
   cover opening? Maybe even insertion also.
 
 Yes, I really would like to try this, but I do not know how this has 
 to be done. Can anybody lend me a hand? (Of cause I would make 
 this feature optional, with an enable/disable checkbox in the 
 settings.)

The easiest way is probably to use the GConf key
/system/osso/af/mmc-cover-open that is updated then the MMC cover is
opened and closed. GConf allows you to be notified when the value of the
key changes.

BR; Kimmo

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Adding swapon/off to Jakub's Load-Plugin applet

2006-02-23 Thread Koen Kooi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Armin M. Warda wrote:
 On Thursday 23 February 2006 01:34, David D. Hagood wrote:
 
[EMAIL PROTECTED] wrote:

Any suggestions?

How about hooking swapoff to the hotplug event for the MMC card
cover opening? Maybe even insertion also.
 
 
 Yes, I really would like to try this, but I do not know how this has 
 to be done. Can anybody lend me a hand? (Of cause I would make 
 this feature optional, with an enable/disable checkbox in the 
 settings.)
 
 
Yes, *please* hook the cover open/cover close events and
enable/disable swap as appropriate.
 
 
 But this will only make sense for a swap living on the RS-MMC.
 If you are running with a swap file on the internal flash,
 you would not want to swapoff when the RS-MMC lid is opened...

Please tell me I'm reading this wrong: 'swap file on the internal
flash'. You do know that flash is broken after ~100k writes/cell, right?
And you know that will break your 770, right?

regards,

Koen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFD/bTGMkyGM64RGpERAsnLAKC3ev+fcJMjURrWC2QVedBpsp6JIgCdErIw
ufGwdwWFKeF3mxnPynWywHc=
=GXOS
-END PGP SIGNATURE-
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Adding swapon/off to Jakub's Load-Plugin applet

2006-02-23 Thread Kimmo Hämäläinen
On Thu, 2006-02-23 at 15:51, ext Jonathan Matthews-Levine wrote:
 On 2/23/06, Kimmo Hämäläinen [EMAIL PROTECTED] wrote:
  On Thu, 2006-02-23 at 15:01, ext Armin M. Warda wrote:
   On Thursday 23 February 2006 01:34, David D. Hagood wrote:
[EMAIL PROTECTED] wrote:
 Any suggestions?

 How about hooking swapoff to the hotplug event for the MMC card
 cover opening? Maybe even insertion also.
  
   Yes, I really would like to try this, but I do not know how this has
   to be done. Can anybody lend me a hand? (Of cause I would make
   this feature optional, with an enable/disable checkbox in the
   settings.)
 
  The easiest way is probably to use the GConf key
  /system/osso/af/mmc-cover-open that is updated then the MMC cover is
  opened and closed. GConf allows you to be notified when the value of the
  key changes.
 
 Shirley there's an issue where the swapoff operation takes longer
 than the physical open cover // remove MMC operation?

Yes, and if there is not enough RAM to swapoff, it will probably crash
some applications and daemons (even the kernel?), causing a reboot...

BR, Kimmo

 With an explicit toolbar click, at least you can put up an immediate
 prompt saying don't remove the MMC! and replace it with Finished!
 when the swapoff has completed ...
 
 Cheers,
 Jonathan
 
 --
 Don't anthropomorphize computers. They don't like it.
 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://maemo.org/mailman/listinfo/maemo-developers
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Building own kernel: oss emulation

2006-02-23 Thread Timo Steuerwald

Ok, my fault (:-)

Cheers,

Timo
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Building own kernel: oss emulation

2006-02-23 Thread Jonathan Matthews-Levine
On 2/23/06, Timo Steuerwald [EMAIL PROTECTED] wrote:
 Ok, my fault (:-)

Do explain, for the list archives ... :-)

Jonathan

--
Don't anthropomorphize computers. They don't like it.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers