[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xine-devel
Subject:    Re: [xine-devel] Suggestion of improvement of network remote
From:       Henrik Johnson <hpj () globecom ! se>
Date:       2002-10-17 13:11:47
[Download RAW message or body]

Oh, I'm teribly sorry. I missed the important part in my initial post 
which is that is is in regards to the network interface of Xine. I'm 
using Xine to playback video in a media Jukebox 
(http://gjukebox.sourceforge.net/) and when using other media (MP3 or 
Ogg) I can figure out how long the streams are and where in them I'm 
currently at to display playback. I'm a bit reluctant to start coding a 
completely new frontend since this would first of all be much more work 
and secondly given the flux that the Xine API is still in probably stop 
working with every new Xine release. Currently I use the network 
interface of Xine to accomplish this and it works great except there 
would be nice to be able to see where in the stream you are and how long 
time is left (I also think this makes good sense to have available 
through the network, but that's just me).

/Mauritz
Underscore AB

Guenter Bartsch wrote:

>Hi Henrik,
>
>On 10/17, Henrik Johnson wrote:
>  
>
>>Could there be a way (Perhaps "get position") which responds at where in 
>>the current stream you are (Suggestion "current position: 10/60" which 
>>would mean 10 seconds out of 60).
>>    
>>
>
>
>int  xine_get_pos_length (xine_stream_t *stream,
>                          int *pos_stream,  /* 0..65535     */
>                          int *pos_time,    /* milliseconds */
>                          int *length_time);/* milliseconds */
>
>
>could be what you're looking for (new api)
>
>cheers,
>
>   guenter
>
>--
>Never eat more than you can lift.
>                -- Miss Piggy
>  
>

[Attachment #3 (text/html)]

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <title></title>
</head>
<body>
Oh, I'm teribly sorry. I missed the important part in my initial post which
is that is is in regards to the network interface of Xine. I'm using Xine
to playback video in a media Jukebox (<a class="moz-txt-link-freetext" \
href="http://gjukebox.sourceforge.net/">http://gjukebox.sourceforge.net/</a>) and \
when using other media (MP3 or Ogg) I can figure out how long the streams are and \
where in them I'm currently at to display playback. I'm a bit reluctant to start \
coding a completely new frontend since this would first of all be much more work and \
secondly given the flux that the Xine API is still in probably stop working with \
every new Xine release. Currently I use the network interface of Xine to accomplish \
this and it works great except there would be nice to be able to see where in the \
stream you are and how long time is left (I also think this makes good sense to have \
available through the network, but that's just me).<br>
<br>
/Mauritz<br>
Underscore AB<br>
<br>
Guenter Bartsch wrote:<br>
<blockquote type="cite"
 cite="mid20021017120012.GA27355@studbox.uni-stuttgart.de">
  <pre wrap="">Hi Henrik,

On 10/17, Henrik Johnson wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Could there be a way (Perhaps "get position") which responds at \
where in  the current stream you are (Suggestion "current position: 10/60" which 
would mean 10 seconds out of 60).
    </pre>
  </blockquote>
  <pre wrap=""><!---->

int  xine_get_pos_length (xine_stream_t *stream,
                          int *pos_stream,  /* 0..65535     */
                          int *pos_time,    /* milliseconds */
                          int *length_time);/* milliseconds */


could be what you're looking for (new api)

cheers,

   guenter

--
Never eat more than you can lift.
                -- Miss Piggy
  </pre>
</blockquote>
</body>
</html>


-------------------------------------------------------
This sf.net email is sponsored by: viaVerio will pay you up to
$1,000 for every account that you consolidate with us.
http://ad.doubleclick.net/clk;4749864;7604308;v?
http://www.viaverio.com/consolidator/osdn.cfm
_______________________________________________
xine-devel mailing list
xine-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xine-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic