Displaying 1 result from an estimated 1 matches for "queueseek".
2011 May 23
2
[Cortado] How to support seeking in on-the-fly generated Theora stream?
...hich stores the data and
begins playing if enough data is buffered.
In practice this looks like this is a PHP file:
passthru("ffmpeg2theora -o - ".$source." 2> /dev/null");
I recoded the Queue.java (Queue class) that the queue array is not a dump
FIFO anymore and called it QueueSeek.java.
Now the Buffer array is filled at the end and a variable points to the
current play position which gets increased on every loop and sends the
data to the next sink pad (at OggDemux).
QueueSeek Buffer:
+--# data added at the end
+0-1-2-3-4-v-------
|#|#|#|#|#| | | | -> unlimi...