CN111726458B - Method for controlling playback video stream to be complete and played on time by mobile phone after interference disappears - Google Patents

Method for controlling playback video stream to be complete and played on time by mobile phone after interference disappears Download PDF

Info

Publication number
CN111726458B
CN111726458B CN202010504224.1A CN202010504224A CN111726458B CN 111726458 B CN111726458 B CN 111726458B CN 202010504224 A CN202010504224 A CN 202010504224A CN 111726458 B CN111726458 B CN 111726458B
Authority
CN
China
Prior art keywords
speed
interference
playing
time
code length
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010504224.1A
Other languages
Chinese (zh)
Other versions
CN111726458A (en
Inventor
肖蔼玲
王博
吴胜
陈浩挺
马礼
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
North China University of Technology
Original Assignee
North China University of Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by North China University of Technology filed Critical North China University of Technology
Priority to CN202010504224.1A priority Critical patent/CN111726458B/en
Publication of CN111726458A publication Critical patent/CN111726458A/en
Application granted granted Critical
Publication of CN111726458B publication Critical patent/CN111726458B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4334Recording operations

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

A method for controlling playback video stream to be complete and played on time by a mobile phone after interference disappears belongs to the field of video information control, it is characterized by that at the moment of disappearance of interference the temporary storage device is closed, in the following time slot delta t the memory can output the undisturbed video stream to the temporary storage device, and in the rest time length the temporary storage device can be opened, and the video stream to be replayed and newly-played can be played at the playback speed higher than rated speed, monitoring the difference between the output code streams in the same monitoring period during normal playing and during replay by using the monitoring period obtained by dividing the replay duration randomly and gradually and using the replay speed of 5 percent as the step length, so as to lead the rebroadcast to be close to the rated broadcasting speed quickly, realize the purpose of playing the rest code stream at the rated broadcasting speed at a constant speed, allow the error to be +5 percent of the rated code stream, solve the problem that the commercial mobile phone can not play the code stream in the rebroadcast time period, in the replay phase, the entire video content cannot be played uniformly at the nominal play rate for the remaining down period.

Description

Method for controlling playback video stream to be complete and played on time by mobile phone after interference disappears
Technical Field
A method for controlling playback of a video stream to be complete and played on time by a mobile phone after interference disappears belongs to the technical field of mobile phone output code stream control
Background
As a portable computer, the mobile phone has the functions of real-time recording and timing playback, and can store various real-time results of different contents and different expression forms which are recorded and stored in the mobile phone memory in the form of video streams, and then the real-time results are played back by a mobile phone video player through a mobile phone temporary storage device and a temporary storage device for short at specified time and time intervals so as to meet the requirements of different types of audiences. However, the disadvantage is that the complete video content cannot be completely played within the set playing time length when sudden human interference or electronic interference is encountered during the playback process, and the lack of integrity is time-consuming. In the remaining playing time after the interference disappears, the contradiction between the integrity of the playing content and the instability of the playing speed cannot be solved. For the mobile phone user, the incomplete video content can only be accepted indefinitely, because various types of mobile phones sold in the market at present lack the method for solving the problem under the condition of not changing a mobile phone hardware system, so that the mobile phone cannot completely realize all functions of the mobile phone.
Disclosure of Invention
The invention aims to provide a method for controlling a playback video stream to be complete and played on time by a mobile phone after interference disappears, which can completely realize the functions of the mobile phone.
The invention is characterized in that the method for completely playing the video stream according to the rated playing speed before the interference according to the original code length after the interference disappears is realized under the control of the CPU of the mobile phone according to the following steps:
step (1), initialization
The interference is defined as: besides the man-made interference, the method also comprises the following steps:
multipath interference, which is characterized in that the output of the dynamic temporary memory of the mobile phone, hereinafter referred to as temporary memory, is an interrupted code stream,
blind zone disturbance, characterized by the output of said register being zeroed,
thunder and lightning interference, and is characterized by that the output of the described temporary storage is discontinuous code stream,
strong electric interference, characterized in that the output of said register is a strong electric pulse signal,
the CPU sets: video code stream length L, rated playing speed XHRated playing time TH
A mobile phone APP for adjusting the playing speed of the video frame,
and (2) under the control of the CPU, realizing a playing method with a playing code length of L according to a rated playing speed and completely after the interference disappears according to the following steps:
step (2.1), CPU fetches the video stream with code length L controlled in advance from the mobile phone memory, hereinafter referred to as memory, and inputs it into the temporary memory,
step (2.2), at rated playing speed XHSending the video stream with the code length L in the temporary storage into a mobile phone video player to play at the rated playing speed XHThe normal-state playing is carried out,
step (2.3), during the interference action, recording the interference occurrence type and the occurrence time t1Moment t of disappearance, i.e. reappearance of normal video2Length of the broadcast code when interference occursL1The output code length L of the register before the interference disappears2Calculating the interference duration (t)2-t1) Code length segment (L) to be interfered with2-L1) At time t2The output of the register is controlled to be zero,
a step (2.4) of fetching said code length segment (L) from said memory2-L1) The code length L stored in the temporary memory is embedded and linked1Then, the steps are as follows:
step (2.4.1), finding out the starting point of code length L waiting for playback from the memory, and finding out the code length L in sequence1、L2And the address of the location of their memory,
step (2.4.2) of finding code length segments (L) not affected by interference in the memory2-L1) The code length (L) not affected by interference is determined according to the address in the register2-L1) Inserting the code length L according to the storage address in the temporary storage1After that, the air conditioner is started to work,
step (2.5) of calculating the playback length (L) of the remaining time period2-L1) And a new broadcast code length (L-L)2) Within Δ t, no code stream output, these two code length segments (L-L)1) Is called as the to-be-selected play speed, hereinafter referred to as the to-be-selected play speed X'H,
Figure GDA0003105507720000011
X′H>XHRecording the time period delta t required for executing the steps (2.4) to (2.5),
step (2.6), at time t3=t2+ Δ t, at speed X'HPlaying residual code length (L-L)1),
Step (2.7), respectively calculating the set monitoring time period TnRespectively at a speed XH、X′HCode stream segment for broadcasting
Figure GDA0003105507720000021
Figure GDA0003105507720000022
The method comprises the following steps:
step (2.7.1), dividing the rest playing time into N segments equally, wherein N is an optional positive integer and is a finite value, and obtaining a playing speed monitoring time interval sequence TN,TN={Tn},n=1,2....n....N,TnReferred to as the monitoring period of time,
step (2.7.2), during the monitoring period TnRespectively calculated at a speed XHCode stream segment played during playing
Figure GDA0003105507720000023
Figure GDA0003105507720000024
The value of the water-soluble polymer is a constant value,
Figure GDA0003105507720000025
to take the speed
Figure GDA0003105507720000026
When in playing, the code stream segment is played,
step (2.8) judgment
Figure GDA0003105507720000027
The value of the one or more of the one,
if:
Figure GDA0003105507720000028
step (2.9) is performed,
if:
Figure GDA0003105507720000029
step (2.10) is performed,
step (2.9), at the next monitoring time T(n+1)Down-regulated of X'HTo 0.95X'HRepeating the steps (2.7) to (2.8), and circularly iterating until a certain time T is metnWhen the temperature of the water is higher than the set temperature,
Figure GDA00031055077200000210
in the above-mentioned order of magnitude,
step (2.10), thereafter, at speed
Figure GDA00031055077200000211
The rest of the time length is played at the same speed until the code length is played.
The invention has the advantages that: under the condition that delta T is approximately equal to 0 and no code stream is output in delta T, the code stream can be output at THWithin the playing time of the code stream, the adjusted code stream can be at the set original code stream speed XHThe code stream of the rated content in the original fixed code length L is completely played within the allowable error range, and the code stream can also be played after the interference disappears (X)Expectation of-XH)<0.05HI.e. by
Figure GDA00031055077200000212
To achieve the same object.
Description of the drawings:
FIG. 1 is a flowchart of the process of the present invention.
FIG. 2. undisturbed code stream (L)2-L1) The filling process of (1).
Fig. 3 shows the whole process of code length L playing.
Fig. 4. control procedure for replay.
The specific implementation mode is as follows:
the output time of the interference disappearance moment cutting-off temporary storage is used as an entry point, and the subsequent playing time length is divided into two sections, namely a compensation stage and a replay stage of the interfered code stream.
Compensating the interfered code stream in the delta t time slot of the intermediate codeless stream output of the two stages, and taking the end point of delta t as XH± 5% starting point for split replay.
In the compensation phase, the undisturbed code stream (L) in the memory is modified by the address field in the memory2-L1) The compensation is realized by filling the register with the memory address segment of the register.
During re-broadcasting, the remaining broadcasting time is divided into a plurality of monitoring time intervals at will, the output code stream difference between the rated broadcasting speed and the re-broadcasting speed is monitored in the opened monitoring time interval, and the re-broadcasting speed is quickly reduced by taking 5 percent of the re-broadcasting speed as a step length, so that the re-broadcasting speed is quickly closed to the broadcasting speed, and the purpose of uniformly broadcasting the remaining code length at the rated broadcasting speed is realized more quickly. The error is 5% of the output code stream segment when playing according to the rated playing time, so that the error is consistent with the down-regulation step length.

Claims (1)

1. The method for controlling the playback of the video stream to be complete and played on time by the mobile phone after the interference disappears is characterized in that the method for enabling the video stream to be completely played at the rated playing speed before the interference according to the original code length after the interference disappears is realized under the control of a mobile phone CPU according to the following steps:
step (1), initialization
The interference is defined as: besides the man-made interference, the method also comprises the following steps:
multipath interference, which is characterized in that the output of the dynamic temporary memory of the mobile phone, hereinafter referred to as temporary memory, is an interrupted code stream,
blind zone disturbance, characterized by the output of said register being zeroed,
thunder and lightning interference, and is characterized by that the output of the described temporary storage is discontinuous code stream,
strong electric interference, characterized in that the output of said register is a strong electric pulse signal,
the CPU sets: video code stream length L, rated playing speed XHRated playing time TH
A mobile phone APP for adjusting the playing speed of the video frame,
and (2) under the control of the CPU, realizing a playing method with a playing code length of L according to a rated playing speed and completely after the interference disappears according to the following steps:
step (2.1), CPU fetches the video stream with code length L controlled in advance from the mobile phone memory, hereinafter referred to as memory, and inputs it into the temporary memory,
step (2.2), at rated playing speed XHSending the video stream with the code length L in the temporary storage into a mobile phone video player to play at the rated playing speed XHThe normal-state playing is carried out,
step (2.3), during the interference action, recording the interferenceBirth type, occurrence time t1Moment t of disappearance, i.e. reappearance of normal video2The length of the code played when interference occurs, L1The output code length L of the register before the interference disappears2Calculating the interference duration (t)2-t1) Code length segment (L) to be interfered with2-L1) At time t2The output of the register is controlled to be zero,
a step (2.4) of fetching said code length segment (L) from said memory2-L1) The code length L stored in the temporary memory is embedded and linked1Then, the steps are as follows:
step (2.4.1), finding out the starting point of code length L waiting for playback from the memory, and finding out the code length L in sequence1、L2And the address of the location of their memory,
step (2.4.2) of finding code length segments (L) not affected by interference in the memory2-L1) The code length (L) not affected by interference is determined according to the address in the register2-L1) Inserting the code length L according to the storage address in the temporary storage1After that, the air conditioner is started to work,
step (2.5) of calculating the playback length (L) of the remaining time period2-L1) And a new broadcast code length (L-L)2) Within Δ t, no code stream output, these two code length segments (L-L)1) Is called as the to-be-selected play speed, hereinafter referred to as the to-be-selected play speed X'H,
Figure FDA0003043952300000011
X′H>XHRecording the time period delta t required for executing the steps (2.4) to (2.5),
step (2.6), at time t3=t2+ Δ t, at speed X'HPlaying residual code length (L-L)1),
Step (2.7), respectively calculating the set monitoring time period TnRespectively at a speed XH、X′HCode stream segment for broadcasting
Figure FDA0003043952300000012
The method comprises the following steps:
step (2.7.1), dividing the rest playing time into N segments equally, wherein N is an optional positive integer and is a finite value, and obtaining a playing speed monitoring time interval sequence TN,TN={Tn},n=1,2....n....N,TnReferred to as the monitoring period of time,
step (2.7.2), during the monitoring period TnRespectively calculated at a speed XHCode stream segment played during playing
Figure FDA0003043952300000013
Figure FDA0003043952300000014
The value of the water-soluble polymer is a constant value,
Figure FDA0003043952300000015
Figure FDA0003043952300000016
to take the speed
Figure FDA0003043952300000017
When in playing, the code stream segment is played,
step (2.8) judgment
Figure FDA0003043952300000018
The value of the one or more of the one,
if:
Figure FDA0003043952300000019
step (2.9) is performed,
if:
Figure FDA00030439523000000110
step (2.10) is performed,
step (2.9), at the next monitoring time T(n+1)Down-regulated of X'HTo 0.95X'HRepeating the steps (2.7) to (2.8), and circularly iterating until a certain time T is metnWhen the temperature of the water is higher than the set temperature,
Figure FDA00030439523000000111
in the above-mentioned order of magnitude,
step (2.10), thereafter, at speed
Figure FDA00030439523000000112
The rest of the time length is played at the same speed until the code length is played.
CN202010504224.1A 2020-06-05 2020-06-05 Method for controlling playback video stream to be complete and played on time by mobile phone after interference disappears Active CN111726458B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010504224.1A CN111726458B (en) 2020-06-05 2020-06-05 Method for controlling playback video stream to be complete and played on time by mobile phone after interference disappears

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010504224.1A CN111726458B (en) 2020-06-05 2020-06-05 Method for controlling playback video stream to be complete and played on time by mobile phone after interference disappears

Publications (2)

Publication Number Publication Date
CN111726458A CN111726458A (en) 2020-09-29
CN111726458B true CN111726458B (en) 2021-09-14

Family

ID=72565944

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010504224.1A Active CN111726458B (en) 2020-06-05 2020-06-05 Method for controlling playback video stream to be complete and played on time by mobile phone after interference disappears

Country Status (1)

Country Link
CN (1) CN111726458B (en)

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2768327Y (en) * 2005-01-14 2006-03-29 北京蓝拓扑电子技术有限公司 Code stream comparison device and system for digital signal transmission
CN106162022B (en) * 2015-04-08 2019-03-19 深圳市尼得科技有限公司 A kind of method, system and the mobile terminal of quick broadcasting video
US10620810B2 (en) * 2015-05-15 2020-04-14 Spotify Ab Method and a system for performing scrubbing in a video stream
CN106851044B (en) * 2016-12-13 2020-01-03 深圳英飞拓科技股份有限公司 Video synchronous playback method and device
CN108600803B (en) * 2018-04-10 2020-07-31 普联技术有限公司 Playback method and device of multi-path video code stream, terminal equipment and storage medium
CN110876080B (en) * 2018-08-30 2021-07-20 华为技术有限公司 Video screen projection method and device, computer equipment and storage medium
CN109147831A (en) * 2018-09-26 2019-01-04 深圳壹账通智能科技有限公司 A kind of voice connection playback method, terminal device and computer readable storage medium
CN110719535B (en) * 2019-09-02 2021-09-14 北方工业大学 Adaptive equalization adjustment method for downlink video stream code rate at video source end
CN110581973B (en) * 2019-09-30 2022-02-15 普联技术有限公司 Data playback method and device, terminal equipment and storage medium
CN111163364B (en) * 2019-12-31 2021-10-29 北方工业大学 Method for implementing equalization control of signal code rate sent to base station by video playing website

Also Published As

Publication number Publication date
CN111726458A (en) 2020-09-29

Similar Documents

Publication Publication Date Title
CN106658133B (en) Audio and video synchronous playing method and terminal
EP2023627A2 (en) Content playback device, content playback method, computer-readable storage medium, and content playback system
CN109218847B (en) Download control method and device and multimedia terminal
EP2752023B1 (en) Method to match input and output timestamps in a video encoder and advertisement inserter
EP2076052A2 (en) Synchronizing audio and video frames
WO2017107516A1 (en) Method and device for playing network video
WO2017092329A1 (en) Method and apparatus for playing streaming media
CN105448312A (en) Audio synchronous play method, device and system
WO2017101510A1 (en) Video processing method and apparatus
CN103747366B (en) A kind of display methods and player of HLS playback of media files progress
CN103905925A (en) Method and terminal for repeatedly playing program
CN106658135A (en) Audio and video playing method and device
CN103428584A (en) Method and device for keeping synchronization of audio and video on multimedia playing platform
CN111726458B (en) Method for controlling playback video stream to be complete and played on time by mobile phone after interference disappears
CN105025344A (en) Inter-cut method and device
CN107333147A (en) A kind of video buffer control method, terminal and storage device
WO2017124447A1 (en) Method and system for controlling sound volume in theatre
CN110677774A (en) Volume self-adaptive adjusting method and device, computer equipment and storage medium
CN106331820B (en) Audio and video synchronization processing method and device
US8655466B2 (en) Correlating changes in audio
US20160198068A1 (en) Devices and methods for facilitating frame dropping in remote display applications
CN104104997A (en) Television silent starting control method, device and system
US20170034575A1 (en) Camera-connection-type sound recording apparatus
CN109151572A (en) A kind of playback method and device
CN111556467B (en) Mobile phone interconnection audio playing processing method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant