Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - gab74

Pages: 1 ... 19 20 [21] 22 23
301
Software / Help on compiling tremor library
« on: July 09, 2004, 10:33:34 am »
i have try as say me Stubear " Run autoconf on a desktop linux system, tar up the directory and cpoy to the Z"

When i type ./configure from the Zaurus inside tremor dir

This is the error :

configure: error: cannot find install-sh or install.sh in . ./.. ./../..

Any Help ?

302
Software / Help on compiling tremor library
« on: July 09, 2004, 09:20:48 am »
Thanks, but only a Question ?

May i use my linux PC with gcc 3.2 running on fedora and then tar all directory after autoconf, on my zaurus ?

is that right ?

Thanks !

303
Software / Compilying mplayer with vorbis support on SL6000L
« on: July 09, 2004, 06:49:18 am »
Ok, thank you !

I've compiled lmplayer on my sl6000l but now i wanto to enable tremor....

problem is that source of tremor doesen't have any congiure file but has only a configure.in files .

This need autoconf but i have only gcc 2.95.2 on my zaurus without autoconf....

I've make a new post !

Any helps ?

304
Software / Help on compiling tremor library
« on: July 09, 2004, 06:46:31 am »
Anyone can help me in compiling tremor library ?

First problem is that the source i've downloaded need autconf to be installed but i have only gcc for zaurus 2.95.2....on my zaurus...

The source doesent have any configure but only configure.in


Someone can help me ?

305
Software / sh script : Why do this ?
« on: July 07, 2004, 09:44:03 am »
OK thank you very much for your help ! it works !

306
Software / sh script : Why do this ?
« on: July 07, 2004, 07:54:37 am »
I make a simply sh script

test.sh

export PATH=/mnt/card/gcc/bin:$PATH

When i run the script from console as root, the script is executed but PATH still remains unchanged.

if i type the command from console ; it works !!!

Why this ????

I use my SL6000L

Why cannot change PATH with a script....on lInux it works !!!

307
Software / Compilying mplayer with vorbis support on SL6000L
« on: July 07, 2004, 05:42:49 am »
mmm..no aswer !
Ok probably this is not the rigth place for this Questions.........

308
Software / Compilying mplayer with vorbis support on SL6000L
« on: July 05, 2004, 04:32:12 pm »
I see on http://www.killefiz.de/zaurus/showdetail.php?app=727 that the author say "many thanks to lucho" for his support for compiling mplayer.

If lucho is on this usergroup and will give me some infos i will be very happy.

Thanks....

309
Software / Compilying mplayer with vorbis support on SL6000L
« on: July 05, 2004, 04:43:36 am »
Good morning,
i want to compile mplayer with vorbis support ( tremor patch) on SL 6000L ( i search but i didnt find any version running on SL6000L !!!)

On the web i find this patch :

********************************************************************************
****
diff -ubr MPlayer-0.90pre8.orig/configure MPlayer-0.90pre8/configure
--- MPlayer-0.90pre8.orig/configure   Tue Sep 17 15:47:55 2002
+++ MPlayer-0.90pre8/configure   Sat Nov  9 15:53:11 2002
@@ -3393,11 +3394,11 @@
 #include <vorbis/codec.h>
 int main(void) { vorbis_packet_blocksize(0,0); return 0; }
 EOF
-  cc_check -lvorbis -logg -lm && _vorbis=yes
+  cc_check -lvorbisidec -lm && _vorbis=yes
 fi
 if test "$_vorbis" = yes ; then
   _def_vorbis='#define HAVE_OGGVORBIS 1'
-  _ld_vorbis='-lvorbis -logg'
+  _ld_vorbis='-lvorbisidec'
   _codecmodules="libvorbis $_codecmodules"
 else
   _def_vorbis='#undef HAVE_OGGVORBIS'
diff -ubr MPlayer-0.90pre8.orig/libmpcodecs/ad_libvorbis.c MPlayer-0.90pre8/libmpcodecs/ad_libvorbis.c
--- MPlayer-0.90pre8.orig/libmpcodecs/ad_libvorbis.c   Sat Aug 31 09:09:23 2002
+++ MPlayer-0.90pre8/libmpcodecs/ad_libvorbis.c   Fri Nov  8 11:40:36 2002
@@ -19,7 +19,7 @@
 
 LIBAD_EXTERN(libvorbis)
 
-#include <vorbis/codec.h>
+#include <tremor/ivorbiscodec.h>
 
 // This struct is also defined in demux_ogg.c => common header ?
 typedef struct ov_struct_st {
@@ -121,11 +121,25 @@
   return CONTROL_UNKNOWN;
 }
 
+static inline ogg_int32_t CLIP_TO_15(ogg_int32_t x) {
+  int tmp;
+  asm volatile("subs    %1, %0, #32768\n\t"
+               "movpl   %0, #0x7f00\n\t"
+               "orrpl   %0, %0, #0xff\n"
+               "adds    %1, %0, #32768\n\t"
+               "movmi   %0, #0x8000"
+               : "+r"(x),"=r"(tmp)
+               :
+               : "cc");
+  return(x);
+}
+
+
 static int decode_audio(sh_audio_t *sh,unsigned char *buf,int minlen,int maxlen)
 {
         int len = 0;
         int samples;
-        float **pcm;
+        ogg_int32_t **pcm;
         ogg_packet op;
         struct ov_struct_st *ov = sh->context;
         op.b_o_s =  op.e_o_s = 0;
@@ -148,23 +162,9 @@
        for(i=0;i<ov->vi.channels;i++){
          ogg_int16_t *convbuffer=(ogg_int16_t *)(&buf[len]);
          ogg_int16_t *ptr=convbuffer+i;
-         float  *mono=pcm;
+         ogg_int32_t  *mono=pcm;
          for(j=0;j<bout;j++){
-#if 1
-      int val=mono[j]*32767.f;
-#else /* optional dither */
-      int val=mono[j]*32767.f+drand48()-0.5f;
-#endif
-      /* might as well guard against clipping */
-      if(val>32767){
-        val=32767;
-        clipflag=1;
-      }
-      if(val<-32768){
-        val=-32768;
-        clipflag=1;
-      }
-      *ptr=val;
+      *ptr=CLIP_TO_15(mono[j]>>9);
       ptr+=ov->vi.channels;
          }
        }
diff -ubr MPlayer-0.90pre8.orig/libmpdemux/demux_ogg.c MPlayer-0.90pre8/libmpdemux/demux_ogg.c
--- MPlayer-0.90pre8.orig/libmpdemux/demux_ogg.c   Sun Sep 15 18:38:30 2002
+++ MPlayer-0.90pre8/libmpdemux/demux_ogg.c   Sat Nov  9 15:49:58 2002
@@ -12,8 +12,8 @@
 #include "demuxer.h"
 #include "stheader.h"
 
-#include <ogg/ogg.h>
-#include <vorbis/codec.h>
+#include <tremor/ogg.h>
+#include <tremor/ivorbiscodec.h>
 
 #define BLOCK_SIZE 4096
 
@@ -518,7 +518,16 @@
         // Check new header
     } else if ( (*pack.packet & PACKET_TYPE_BITS ) == PACKET_TYPE_HEADER &&
          pack.bytes >= (int)sizeof(stream_header)+1) {
-      stream_header *st = (stream_header*)(pack.packet+1);
+      int i;
+      stream_header sst, *st;
+      char* t=(char*) &sst;
+
+      for(i = 0; i < sizeof sst; i++) {
+   t = pack.packet[i+1];
+      }
+
+      st = &sst;
+
       /// New video header
       if(strncmp(st->streamtype,"video",5) == 0) {
    sh_v = new_sh_video(demuxer,ogg_d->num_sub);
********************************************************************************
**************

So i downloaded mplayer090pre 8 and then i've modified the sources....

* Where can i find tremor sources for vorbis support ?
* Is there anything else i've to do before start compiling ?
I compile on my SL6000L with gcc2.95.1 cram fs (DEV_IMG1.3)

I see, most of softtware doesent run on sl6000l so...we have to recompile.....

iS THERE ANY PERSON WHO CAN HELP ME ? so SL6000L community will have a full functional mplayer ?

Any help will be appreciate !

Thanks !!

310
Software / efax on Zaurus
« on: July 02, 2004, 07:26:23 am »
Yes, i try this, but when efax starts it hangs when try to open modem port  ttyS3....

311
6000 - Tosa / Roms
« on: July 02, 2004, 07:05:12 am »
We have 2 sl600l...
if you search some B-Tester for new rom for SL600L we are interested in helping you !

Gabriele

312
Software / efax on Zaurus
« on: July 02, 2004, 05:28:09 am »
mmm...i haven't receive any answer....probably efax is not used for sending fax on zaurus ...
Anyone can tell me what is the best software for sending / receiving fax on Zaurus using a CF Card ?

Thanks !

313
Software / efax on Zaurus
« on: July 01, 2004, 05:42:35 am »
Good morning i' ve installed efax and the GUI Zfax on my SL6000L,
i have a CF MODEM it is  correctly configured... ( when i surf on web it is set as ttyS3 )

How can set up efax for sending / receiving Fax ?

Is there any howto ? infos ?

314
Software / Playing divx on SL600L
« on: June 28, 2004, 06:27:23 am »
yes, i know i try to see my divx at 320x240 max resolutions but video is too slow ! and audio often iis broken....

I resize a full dvix to a 320 x240 max resolution and for audio use mono with a poor bitrate, and for Divx a use 128.kbs........where is my mistake ?

What are the good setttings for resize ?
I have to leave mplayer and try some other program ?

Thanks

315
Software / Playing divx on SL600L
« on: June 25, 2004, 01:04:38 pm »
Any news " How to play divx on SL600L " ?

I try mplayer but it is too slow... i think problem is somewhere in audio decoding....

Pages: 1 ... 19 20 [21] 22 23