Method and system for playing video on a mobile device
AssigneeInternational Business Machines Corporation
InventorsJean-Luc Collet, Francois-Xavier Drouet, Gerard Marmigere, Carole Truntschka
Life of this patent
Estimating the term…
Abstract
The invention provides a system and a method for automatically switching from a local storage to a remote storage for recording a broadcast video stream, the switching being triggered by the fact that the local storage is almost full, and for automatically switching from a local storage to a remote storage for playing a broadcast video stream in a delayed manner, the switching being triggered by the fact that the video frames in the local storage are exhausted.
Claims7
A method for playing video frames, each of the frames being associated with a numeric identifier, comprising:
- receiving a first frame associated with a first identifier from a first input stream associated with a broadcast server;
- storing the first frame in a first queue;
- detecting a first event when the dequeuing of video frames from the first queue is halted;
- detecting a second event when the first queue load is above a first predefined threshold;
- sending a first message to an output message handler, the first message instructing the recording of the video frames from the broadcast server in a second external queue, the second external queue being hosted on an external server;
- receiving a second message indicating that a second frame associated with a second identifier has been stored in the second external queue;
- detecting a third event when dequeuing of video frames from the first queue has started;
- and
- sending a third message to the output message handler instructing the external server to stream the previously recorded video frames.
An apparatus for playing video frames, each of the frames being associated with a numeric identifier, comprising:
- a component for receiving a first frame associated with a first identifier from a first input stream associated with a broadcast server;
- a component for storing the first frame in a first queue;
- a component for detecting a first event when the dequeuing of video frames from the first queue is halted;
- detecting a second event when the first queue load is above a first predefined threshold;
- a component for sending a first message to an output message handler, the first message instructing the recording of the video frames from the broadcast server in a second external queue, the second external queue being hosted on an external server;
- a component for receiving a second message indicating that a second frame associated with a second identifier has been stored in the second external queue;
- a component for detecting a third event when dequeuing of video frames from the first queue has started;
- and
- a component for sending a third message to the output message handler instructing the external server to stream the previously recorded video frames.
A computer program product stored on a computer readable storage medium and loadable into the internal memory of a computing device, comprising software code portions for performing, when said product is run on a computer, the steps of:
- receiving a first frame associated with a first identifier from a first input stream associated with a broadcast server;
- storing the first frame in a first queue;
- detecting a first event when the dequeuing of video frames from the first queue is halted;
- detecting a second event when the first queue load is above a first predefined threshold;
- sending a first message to an output message handler, the first message instructing the recording of the video frames from the broadcast server in a second external queue, the second external queue being hosted on an external server;
- receiving a second message indicating that a second frame associated with a second identifier has been stored in the second external queue;
- detecting a third event when dequeuing of video frames from the first queue has started;
- and
- sending a third message to the output message handler instructing the external server to stream the previously recorded video frames.
Dependencies are inferred from the claim text.