Method for video playing and based on stream media system

A video playback and streaming media technology, applied in image communication, selective content distribution, electrical components, etc., can solve the problems of poor versatility, method dependence, estimation and prediction methods that cannot accurately reflect network changes, etc., to achieve good practicability, Enhance fluency and facilitate the effect of network scale

Inactive Publication Date: 2012-03-21
JIANGSU YUANWEI TECH
5 Cites 14 Cited by

AI-Extracted Technical Summary

Problems solved by technology

However, this kind of method has the following defects: first, the parameter adjustment of the encoder depends on the estimation and prediction of the network state, and in the wireless environment, the network will undergo sudden and discontinuous changes, so the estimation and prediction method It is difficult to accurately reflect network changes; secondly, methods based on dynamic encoding all require the parameter support of the encoder, and in IoT applications, it is impossible for the sensing device used for v...
View more

Abstract

The invention discloses a method for video playing and based on a stream media system. The method comprises the following steps: firstly, a user sends out video playing information; secondly, the stream media system receives the video playing information, at the same time receives real-time videos uploaded by a video sensing node, performs multi-stage caching to the real-time videos, and counts and records the number of video frames received by the cached videos in a time slot interval with a certain period of time; and thirdly, the stream media system reads the real-time video in a time slot interval with a certain period of time, and transmits the videos to users based on the recorded real-time video frames. The invention adopts the stream media system to realize video playing, the stream media system does not depend on a video coding system and a video coding system, supports the video sensing node adopting different video sensing schemes, can conveniently enlarge the scale of a network, has high compatibility and practicability, as well as excellent universal property, and is suitable for the playing of various videos.

Application Domain

Selective content distribution

Technology Topic

Real time videoComputer compatibility

Image

  • Method for video playing and based on stream media system
  • Method for video playing and based on stream media system

Examples

  • Experimental program(1)

Example Embodiment

[0024] (Example 1)
[0025] Such as figure 1 Shown:
[0026] In this embodiment, a video playback method based on a streaming media system includes the following steps:
[0027] A. The user sends out video playback information;
[0028] B. The streaming media system receives video playback information, and at the same time receives real-time video uploaded by the video perception node, performs multi-level buffering of real-time video data, and counts and calculates the number of video frames received in the slot interval of the buffered video for a certain length of time recording;
[0029] C. The streaming media system reads the real-time video in the time slot interval, and transmits the video to the user according to the real-time video frame number obtained by statistics.
[0030] The multi-level cache in step B is a series multi-level cache.
[0031] Step B includes the following steps:
[0032] B-1. The streaming media system receives the real-time video uploaded by the sensing node and stores it in the file exchange buffer area;
[0033] B-2. When the streaming media system receives the user's video playback request, it finds the corresponding file exchange buffer area according to the fields in the request URL, and starts real-time frame rate statistics for the video data in the file exchange buffer area
[0034] B-3. ​​Read the video data in the corresponding file exchange buffer area and save it in the video buffer area.
[0035] The video buffer is a fixed-length memory buffer queue for the streaming media system for live broadcast requests, and is positioned at the end of the file exchange buffer.
[0036] Step C includes the following steps:
[0037] C-1. The streaming media system reads the frame rate obtained by real-time frame rate statistics, transmits the video data in the memory buffer queue to the user according to the frame rate, and clears the successfully transmitted video frames in the video buffer queue;
[0038] C-2. The streaming media system reads and transmits the next video;
[0039] C-3. Repeat steps C-1 and C-2 until the video sensing node stops uploading video or the streaming media system receives the user's request to stop watching the video.
[0040] Combining the above steps, this embodiment mainly includes two modules that execute in parallel. The first module monitors the video upload request of the video sensor node, stores the real-time video uploaded by the sensor node in the file buffer, and counts the received real-time video. Obtain the real video frame rate in each statistical time slot. The second module responds to the user's request to watch real-time live video, reads the video from the file buffer and calculates the frame rate according to the statistics of the first module. In the slot, the live video is pushed to the user at an adaptive frame rate. The two parts interact through the file buffer and the global video frame rate data structure.
[0041] For the first module, perform the following process:
[0042] 1) Monitor the real-time video upload request of the video sensor node. If the video sensor node connects to the streaming media server and starts uploading real-time video, mark the video sensor node as online and perform 2), otherwise, it is always in the monitoring state;
[0043] 2) The streaming media server receives a frame of data uploaded by the video sensing node, and judges whether the current video sensing node has started the adaptive video live broadcast method, if it has been started, perform 3), otherwise, perform step 6);
[0044] 3) Determine the time interval between the start time of the time slot and the current time, if the current time slot ends, execute 4), otherwise, execute 5);
[0045] 4) Record the real frame rate of the actual received video in the time slot in the global video frame rate data structure, clear the frame number counter, set the time slot start time to the current time, and jump to 6);
[0046] 5) Increment the frame number counter by one, which means that a new frame of video is received in the current time slot, and the jump executes 2);
[0047] 6) Write the video data into the video file buffer, jump to execute 2);
[0048] For the second module, perform the following process:
[0049] 1) The streaming media server monitors the user’s live video request, if it receives the user’s
[0050] For the live video of the video sensing node, perform 2), otherwise, it will always monitor and wait for the user to connect;
[0051] 2) Create session live streaming threads for users, each live streaming thread is associated with a user's live video live session;
[0052] 3) According to the identification of the video sensing node requested by the user and the current time to find whether the video sensing node is uploading real-time video, if the requested video sensing node is currently offline (not connected to the streaming media server to upload real-time video), end the session thread , Release the connection with the user, if the requested video sensing node is currently online (uploading real-time video), perform 4);
[0053] 4) Send a message to the first module to start the adaptive real-time video live broadcast method;
[0054] 5) Create a memory video buffer queue to save the real-time video read from the file buffer as an interface between the file buffer and the RTSP sending service;
[0055] 6) Read the latest video data uploaded by the sensor node from the file buffer corresponding to the video sensor node requested by the user to the memory buffer queue. The length of the read video is equal to the length of the buffer queue. If the reading is unsuccessful, it means streaming If the media server does not receive enough video frames, it will wait until there are enough videos in the file buffer. If the reading is successful, execute 7);
[0056] 7) Read the video frame rate corresponding to the video data in the memory buffer queue from the global video frame rate data structure, and send the live video to the user through the RTSP protocol according to the frame rate. After the video transmission in the current time slot is completed, jump to 6 ).

PUM

no PUM

Description & Claims & Application Information

We can also present the details of the Description, Claims and Application information to help users get a comprehensive understanding of the technical details of the patent, such as background art, summary of invention, brief description of drawings, description of embodiments, and other original content. On the other hand, users can also determine the specific scope of protection of the technology through the list of claims; as well as understand the changes in the life cycle of the technology with the presentation of the patent timeline. Login to view more.

Similar technology patents

Energy consumption data acquisition unit

InactiveCN105572469AVersatileStrong compatibility
Owner:SUZHOU IND PRAK NEW HONGBO COMM TECH

Automatic window closing machine used on rainy days

InactiveCN107448090AStrong compatibilitySpeed ​​up the closing time
Owner:丁玉清

Classification and recommendation of technical efficacy words

Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products