Re: Youtube Video Playback on Neo Freerunner? (Re: Video Playback virtually impossible on Neo Freerunner?)

2008-04-26 Thread Federico Lorenzi
Just thinking out loud here, as I probably have no clue what I'm
speaking about, but what about something like XDamage, that only
updates the areas of the screen that have changed?

Cheers,
Federico

On 4/26/08, The Rasterman Carsten Haitzler [EMAIL PROTECTED] wrote:
 On Fri, 25 Apr 2008 18:56:44 +0200 Marco Trevisan (Treviño)
 [EMAIL PROTECTED]
 babbled:

  Carsten Haitzler (The Rasterman) wrote:
   On Fri, 25 Apr 2008 03:38:24 +0200 Marco Trevisan (Treviño)
   [EMAIL PROTECTED] babbled:
   Another format that maybe works on streaming (if I've not misunderstood
   what has been stated) is
 * 5: [EMAIL PROTECTED] flv file
  
   no - not going to work. 21fps at best. :(
 
  Ah... I thought that the limitation was only on playing media saved on
  SD, not on data streaming from the net.
 
  Anyway if the player frame-dropping is enabled (or setting the -fps
  value to 20 in mplayer, for example), I guess we could get a better
  video quality than the other formats...

 as per the thread (just scroll back through it) there is a general
 limitation
 of video bus bandwidth. this will always limit the amount of data you can
 feed
 to the graphics chip (the glamo). this SAME bus is SHARED with SD Card data.
 so
 that same bandwidth now is for both functions, not just graphics.

 i tested - 21fps is what i got for my 320x240 test mp3g4 file (of course
 bitrate will vary this framerate, and different codecs will also affect it).

 --
 Carsten Haitzler (The Rasterman) [EMAIL PROTECTED]

 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Youtube Video Playback on Neo Freerunner? (Re: Video Playback virtually impossible on Neo Freerunner?)

2008-04-26 Thread The Rasterman
On Sat, 26 Apr 2008 10:10:28 + Federico Lorenzi [EMAIL PROTECTED]
babbled:

 Just thinking out loud here, as I probably have no clue what I'm
 speaking about, but what about something like XDamage, that only
 updates the areas of the screen that have changed?

not useful. :)

 Cheers,
 Federico
 
 On 4/26/08, The Rasterman Carsten Haitzler [EMAIL PROTECTED] wrote:
  On Fri, 25 Apr 2008 18:56:44 +0200 Marco Trevisan (Treviño)
  [EMAIL PROTECTED]
  babbled:
 
   Carsten Haitzler (The Rasterman) wrote:
On Fri, 25 Apr 2008 03:38:24 +0200 Marco Trevisan (Treviño)
[EMAIL PROTECTED] babbled:
Another format that maybe works on streaming (if I've not misunderstood
what has been stated) is
  * 5: [EMAIL PROTECTED] flv file
   
no - not going to work. 21fps at best. :(
  
   Ah... I thought that the limitation was only on playing media saved on
   SD, not on data streaming from the net.
  
   Anyway if the player frame-dropping is enabled (or setting the -fps
   value to 20 in mplayer, for example), I guess we could get a better
   video quality than the other formats...
 
  as per the thread (just scroll back through it) there is a general
  limitation
  of video bus bandwidth. this will always limit the amount of data you can
  feed
  to the graphics chip (the glamo). this SAME bus is SHARED with SD Card data.
  so
  that same bandwidth now is for both functions, not just graphics.
 
  i tested - 21fps is what i got for my 320x240 test mp3g4 file (of course
  bitrate will vary this framerate, and different codecs will also affect it).
 
  --
  Carsten Haitzler (The Rasterman) [EMAIL PROTECTED]
 
  ___
  Openmoko community mailing list
  community@lists.openmoko.org
  http://lists.openmoko.org/mailman/listinfo/community
 
 
 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community


-- 
Carsten Haitzler (The Rasterman) [EMAIL PROTECTED]

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Youtube Video Playback on Neo Freerunner? (Re: Video Playback virtually impossible on Neo Freerunner?)

2008-04-25 Thread Federico Lorenzi
Thats my project, btw. My biggest question is how decent the hardware
scaling is. Could it scale 160x128 to fullscreen?

Cheers,
Federico

On 4/25/08, The Rasterman Carsten Haitzler [EMAIL PROTECTED] wrote:
 On Fri, 25 Apr 2008 03:38:24 +0200 Marco Trevisan (Treviño)
 [EMAIL PROTECTED]
 babbled:

  Carsten Haitzler (The Rasterman) wrote:
   i can say now - 320x240 mpeg4 video with mplayer using xvideo on the
 gta02
   even can't play at 30fps. i was wrong with my guess. it is dropping 25%
 of
   the frames. so as such actually i correct this. i was too optimistic.
 you
   can more likely manage 20fps @ 320x240. this is mpeg4 - so mpeg1 and 2
 may
   be better as they are simpler codecs. do remember when i say resolution
 - i
   mean the video itself. the hardware can SCALE it to fill the screen, but
   this is taking 320x240 video and scaling it up (adding blur) so of
 course
   the quality isn't that good. remember too that color information is half
   that resolution in each dimension again (160x120 - though depends on
 codec).
 
  Well, I was thinking to youtube videos streaming... Since it will be
  impossible to see them in embedded browser (without local javascript
  hacks), I guess that we could use an application (if I'm not wrong
  someone is developing it on projects.openmoko.org) that fetches and
  plays (on streaming too) the videos in other formats supported by
  youtube (you can test them using youtube-dl -f value url [1])
 
  The formats (fmt) that should work with no problems are:
* 13: [EMAIL PROTECTED] 3gpp file so H.263 video and AMR Narrowband audio
* 15: [EMAIL PROTECTED] mp4 file with MPEG4 video and AAC audio

 these will work - or should. just a matter of enough software in userspace.

  Another format that maybe works on streaming (if I've not misunderstood
  what has been stated) is
* 5: [EMAIL PROTECTED] flv file

 no - not going to work. 21fps at best. :(

  Maybe too low, but... I think that actually it's the best way quality we
  can get without rencoding it locally or simply without using a 3rd party
  server doing this work for us on the fly.
 
  [1] http://www.arrakis.es/~rggi3/youtube-dl/
 
  --
  Treviño's World - Life and Linux
  http://www.3v1n0.net/
 
 
  ___
  Openmoko community mailing list
  community@lists.openmoko.org
  http://lists.openmoko.org/mailman/listinfo/community


 --
 Carsten Haitzler (The Rasterman) [EMAIL PROTECTED]

 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Youtube Video Playback on Neo Freerunner? (Re: Video Playback virtually impossible on Neo Freerunner?)

2008-04-25 Thread The Rasterman
On Fri, 25 Apr 2008 06:20:32 + Federico Lorenzi [EMAIL PROTECTED]
babbled:

 Thats my project, btw. My biggest question is how decent the hardware
 scaling is. Could it scale 160x128 to fullscreen?

yes. just like you see on a desktop. it's done in hardware. it can scale up to
fullscreen.

 Cheers,
 Federico
 
 On 4/25/08, The Rasterman Carsten Haitzler [EMAIL PROTECTED] wrote:
  On Fri, 25 Apr 2008 03:38:24 +0200 Marco Trevisan (Treviño)
  [EMAIL PROTECTED]
  babbled:
 
   Carsten Haitzler (The Rasterman) wrote:
i can say now - 320x240 mpeg4 video with mplayer using xvideo on the
  gta02
even can't play at 30fps. i was wrong with my guess. it is dropping 25%
  of
the frames. so as such actually i correct this. i was too optimistic.
  you
can more likely manage 20fps @ 320x240. this is mpeg4 - so mpeg1 and 2
  may
be better as they are simpler codecs. do remember when i say resolution
  - i
mean the video itself. the hardware can SCALE it to fill the screen, but
this is taking 320x240 video and scaling it up (adding blur) so of
  course
the quality isn't that good. remember too that color information is half
that resolution in each dimension again (160x120 - though depends on
  codec).
  
   Well, I was thinking to youtube videos streaming... Since it will be
   impossible to see them in embedded browser (without local javascript
   hacks), I guess that we could use an application (if I'm not wrong
   someone is developing it on projects.openmoko.org) that fetches and
   plays (on streaming too) the videos in other formats supported by
   youtube (you can test them using youtube-dl -f value url [1])
  
   The formats (fmt) that should work with no problems are:
 * 13: [EMAIL PROTECTED] 3gpp file so H.263 video and AMR Narrowband 
   audio
 * 15: [EMAIL PROTECTED] mp4 file with MPEG4 video and AAC audio
 
  these will work - or should. just a matter of enough software in userspace.
 
   Another format that maybe works on streaming (if I've not misunderstood
   what has been stated) is
 * 5: [EMAIL PROTECTED] flv file
 
  no - not going to work. 21fps at best. :(
 
   Maybe too low, but... I think that actually it's the best way quality we
   can get without rencoding it locally or simply without using a 3rd party
   server doing this work for us on the fly.
  
   [1] http://www.arrakis.es/~rggi3/youtube-dl/
  
   --
   Treviño's World - Life and Linux
   http://www.3v1n0.net/
  
  
   ___
   Openmoko community mailing list
   community@lists.openmoko.org
   http://lists.openmoko.org/mailman/listinfo/community
 
 
  --
  Carsten Haitzler (The Rasterman) [EMAIL PROTECTED]
 
  ___
  Openmoko community mailing list
  community@lists.openmoko.org
  http://lists.openmoko.org/mailman/listinfo/community
 
 
 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community


-- 
Carsten Haitzler (The Rasterman) [EMAIL PROTECTED]

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Youtube Video Playback on Neo Freerunner? (Re: Video Playback virtually impossible on Neo Freerunner?)

2008-04-25 Thread Marco Trevisan (Treviño)

Carsten Haitzler (The Rasterman) wrote:

On Fri, 25 Apr 2008 03:38:24 +0200 Marco Trevisan (Treviño) [EMAIL 
PROTECTED]
babbled:
Another format that maybe works on streaming (if I've not misunderstood 
what has been stated) is

  * 5: [EMAIL PROTECTED] flv file


no - not going to work. 21fps at best. :(


Ah... I thought that the limitation was only on playing media saved on 
SD, not on data streaming from the net.


Anyway if the player frame-dropping is enabled (or setting the -fps 
value to 20 in mplayer, for example), I guess we could get a better 
video quality than the other formats...


--
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Youtube Video Playback on Neo Freerunner? (Re: Video Playback virtually impossible on Neo Freerunner?)

2008-04-25 Thread The Rasterman
On Fri, 25 Apr 2008 18:56:44 +0200 Marco Trevisan (Treviño) [EMAIL 
PROTECTED]
babbled:

 Carsten Haitzler (The Rasterman) wrote:
  On Fri, 25 Apr 2008 03:38:24 +0200 Marco Trevisan (Treviño)
  [EMAIL PROTECTED] babbled:
  Another format that maybe works on streaming (if I've not misunderstood 
  what has been stated) is
* 5: [EMAIL PROTECTED] flv file
  
  no - not going to work. 21fps at best. :(
 
 Ah... I thought that the limitation was only on playing media saved on 
 SD, not on data streaming from the net.
 
 Anyway if the player frame-dropping is enabled (or setting the -fps 
 value to 20 in mplayer, for example), I guess we could get a better 
 video quality than the other formats...

as per the thread (just scroll back through it) there is a general limitation
of video bus bandwidth. this will always limit the amount of data you can feed
to the graphics chip (the glamo). this SAME bus is SHARED with SD Card data. so
that same bandwidth now is for both functions, not just graphics.

i tested - 21fps is what i got for my 320x240 test mp3g4 file (of course
bitrate will vary this framerate, and different codecs will also affect it).

-- 
Carsten Haitzler (The Rasterman) [EMAIL PROTECTED]

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Youtube Video Playback on Neo Freerunner? (Re: Video Playback virtually impossible on Neo Freerunner?)

2008-04-24 Thread Marco Trevisan (Treviño)

Carsten Haitzler (The Rasterman) wrote:

i can say now - 320x240 mpeg4 video with mplayer using xvideo on the gta02 even
can't play at 30fps. i was wrong with my guess. it is dropping 25% of the
frames. so as such actually i correct this. i was too optimistic. you can more
likely manage 20fps @ 320x240. this is mpeg4 - so mpeg1 and 2 may be better as
they are simpler codecs. do remember when i say resolution - i mean the video
itself. the hardware can SCALE it to fill the screen, but this is taking
320x240 video and scaling it up (adding blur) so of course the quality isn't
that good. remember too that color information is half that resolution in each
dimension again (160x120 - though depends on codec).


Well, I was thinking to youtube videos streaming... Since it will be 
impossible to see them in embedded browser (without local javascript 
hacks), I guess that we could use an application (if I'm not wrong 
someone is developing it on projects.openmoko.org) that fetches and 
plays (on streaming too) the videos in other formats supported by 
youtube (you can test them using youtube-dl -f value url [1])


The formats (fmt) that should work with no problems are:
 * 13: [EMAIL PROTECTED] 3gpp file so H.263 video and AMR Narrowband audio
 * 15: [EMAIL PROTECTED] mp4 file with MPEG4 video and AAC audio

Another format that maybe works on streaming (if I've not misunderstood 
what has been stated) is

 * 5: [EMAIL PROTECTED] flv file

Maybe too low, but... I think that actually it's the best way quality we 
can get without rencoding it locally or simply without using a 3rd party 
server doing this work for us on the fly.


[1] http://www.arrakis.es/~rggi3/youtube-dl/

--
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Youtube Video Playback on Neo Freerunner? (Re: Video Playback virtually impossible on Neo Freerunner?)

2008-04-24 Thread The Rasterman
On Fri, 25 Apr 2008 03:38:24 +0200 Marco Trevisan (Treviño) [EMAIL 
PROTECTED]
babbled:

 Carsten Haitzler (The Rasterman) wrote:
  i can say now - 320x240 mpeg4 video with mplayer using xvideo on the gta02
  even can't play at 30fps. i was wrong with my guess. it is dropping 25% of
  the frames. so as such actually i correct this. i was too optimistic. you
  can more likely manage 20fps @ 320x240. this is mpeg4 - so mpeg1 and 2 may
  be better as they are simpler codecs. do remember when i say resolution - i
  mean the video itself. the hardware can SCALE it to fill the screen, but
  this is taking 320x240 video and scaling it up (adding blur) so of course
  the quality isn't that good. remember too that color information is half
  that resolution in each dimension again (160x120 - though depends on codec).
 
 Well, I was thinking to youtube videos streaming... Since it will be 
 impossible to see them in embedded browser (without local javascript 
 hacks), I guess that we could use an application (if I'm not wrong 
 someone is developing it on projects.openmoko.org) that fetches and 
 plays (on streaming too) the videos in other formats supported by 
 youtube (you can test them using youtube-dl -f value url [1])
 
 The formats (fmt) that should work with no problems are:
   * 13: [EMAIL PROTECTED] 3gpp file so H.263 video and AMR Narrowband audio
   * 15: [EMAIL PROTECTED] mp4 file with MPEG4 video and AAC audio

these will work - or should. just a matter of enough software in userspace.

 Another format that maybe works on streaming (if I've not misunderstood 
 what has been stated) is
   * 5: [EMAIL PROTECTED] flv file

no - not going to work. 21fps at best. :(

 Maybe too low, but... I think that actually it's the best way quality we 
 can get without rencoding it locally or simply without using a 3rd party 
 server doing this work for us on the fly.
 
 [1] http://www.arrakis.es/~rggi3/youtube-dl/
 
 -- 
 Treviño's World - Life and Linux
 http://www.3v1n0.net/
 
 
 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community


-- 
Carsten Haitzler (The Rasterman) [EMAIL PROTECTED]

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community