Paulo Marcel Coelho Aragao <[EMAIL PROTECTED]> writes:

>
> Thanks for the speed-lightning reply. I've done as you instructed, tried
> to open the same mp3 stream I had tried with amarok, and the output is
> attached as gxine.out

Okay, let me show you the relevant parts:

The mpeg plugin(s) are loaded here (there are even alternative plugins 
availabe):

>
> load_plugins: plugin /usr/lib/xine/plugins/1.1.7/xineplug_decode_ff.so found
> load_plugins: plugin /usr/lib/xine/plugins/1.1.7/xineplug_decode_mad.so found
> load_plugins: plugin /usr/lib/xine/plugins/1.1.7/xineplug_decode_mpeg2.so 
> found
> load_plugins: plugin /usr/lib/xine/plugins/1.1.7/xineplug_dmx_mpeg.so found
> load_plugins: plugin /usr/lib/xine/plugins/1.1.7/xineplug_dmx_mpeg_block.so 
> found
> load_plugins: plugin /usr/lib/xine/plugins/1.1.7/xineplug_dmx_mpeg_elem.so 
> found
> load_plugins: plugin /usr/lib/xine/plugins/1.1.7/xineplug_dmx_mpeg_pes.so 
> found
> load_plugins: plugin /usr/lib/xine/plugins/1.1.7/xineplug_dmx_mpeg_ts.so found

And here is the input plugin:

> load_plugins: plugin /usr/lib/xine/plugins/1.1.7/xineplug_inp_http.so found

Interesting is this:

> xine: found input plugin  : http input plugin
> xine: couldn't find demux for >http://kanga.college.columbia.edu:8000/<
> xine-lib: error: The xine engine failed to start.: No demuxer found - stream 
> format not recognised.

This indeeds looks like the http input plugin wasn't able to recognize
the stream format. I tried to reproduce it on my laptop (running ubuntu
atm, but anyway), and was able to play that stream in 19 of 20
times. This means that I indeed had problems one single time.

This means that there is either a race somewhere, or the stream provider
had problems at the time you testet. Can you please do the following
tests:

  * play an mp3 file locally
  * play other mp3 http-streams
  * play other ogg http-streams

please also collect the -v log of gxine and watch for messages like I
quoted above.

Having said this, I can assure you that there have been no code changes
from -1 to -2 which could affect this. If you look at the debdiff, the
only changes have been done to the input_dvb and the demux_ts plugin.

Hmm. the latter one is for dvb streams, I'm atm not really sure if the
following patch could affect playing dvb streams:

--- xine-lib-1.1.7.orig/src/demuxers/demux_ts.c
+++ xine-lib-1.1.7/src/demuxers/demux_ts.c
@@ -341,6 +341,8 @@
   int32_t npkt_read;
 
   uint8_t buf[BUF_SIZE]; /* == PKT_SIZE * NPKT_PER_READ */
+  
+  int numPreview;
 
 } demux_ts_t;
 
@@ -895,6 +897,16 @@
         m->buf->decoder_info[1] = BUF_SPECIAL_SPU_DVD_SUBTYPE;
         m->buf->decoder_info[2] = SPU_DVD_SUBTYPE_PACKAGE;
       }
+      else {
+        if (this->numPreview<5)
+         ++this->numPreview;
+       if ( this->numPreview==1 )
+         m->buf->decoder_flags=BUF_FLAG_HEADER | BUF_FLAG_FRAME_END;
+       else if ( this->numPreview<5 )
+         m->buf->decoder_flags=BUF_FLAG_PREVIEW;
+       else
+         m->buf->decoder_flags=BUF_FLAG_FRAME_END;
+      }
       m->buf->pts = m->pts;
       m->buf->decoder_info[0] = 1;
       
@@ -2260,6 +2272,8 @@
   /* dvb */
   this->event_queue = xine_event_new_queue (this->stream);
   
+  this->numPreview=0;
+  
   return &this->demux_plugin;
 }
 


Darren, could you comment here?

-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to