From: Vikash K. M. <vkm@MIT.EDU> - 2002-10-01 19:16:17
|
Hi. What's the best way to figure out the length of a stream in xine? Play it through then compute current_time? (I'm having bad luck with get_stream_length) Also, to compute the position associated with a given time, is it just 65536 * (current_time_in_secs / length_in_secs)? (All this is in an attempt to use xine_play to seek to evenly-spaced positions in a stream, so I can grab snapshots.) -Vikash |