CN106792163B - Method and device for detecting video playing state - Google Patents

Method and device for detecting video playing state Download PDF

Info

Publication number
CN106792163B
CN106792163B CN201611061942.6A CN201611061942A CN106792163B CN 106792163 B CN106792163 B CN 106792163B CN 201611061942 A CN201611061942 A CN 201611061942A CN 106792163 B CN106792163 B CN 106792163B
Authority
CN
China
Prior art keywords
timer
video
thread
map
set time
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
CN201611061942.6A
Other languages
Chinese (zh)
Other versions
CN106792163A (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.)
Shanghai Lehuan Software Co ltd
Original Assignee
Shanghai Lehuan Software Co ltd
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 Shanghai Lehuan Software Co ltd filed Critical Shanghai Lehuan Software Co ltd
Priority to CN201611061942.6A priority Critical patent/CN106792163B/en
Publication of CN106792163A publication Critical patent/CN106792163A/en
Application granted granted Critical
Publication of CN106792163B publication Critical patent/CN106792163B/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/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/4424Monitoring of the internal components or processes of the client device, e.g. CPU or memory load, processing speed, timer, counter or percentage of the hard disk space used
    • 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/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44204Monitoring of content usage, e.g. the number of times a movie has been viewed, copied or the amount which has been watched

Abstract

The invention discloses a method and a device for detecting a video playing state, wherein a first timer is started when a video playing thread is started; if the map callback function is acquired within the set time of the first timer, starting a second timer; and if the mapping callback function is not acquired within the set time of the second timer, determining that the video is played wrongly. According to the method and the device for detecting the video playing state, provided by the embodiment of the invention, the picture updating is detected through the call-back during the refreshing of the texture of the decoding result chartlet, and whether the video is played wrongly is judged through whether the timer is overtime or not. And the playing state is detected according to the video playing result, so that the detection efficiency and the practicability are improved.

Description

Method and device for detecting video playing state
Technical Field
The invention relates to the technical field of image detection, in particular to a method and a device for detecting a video playing state.
Background
The video player refers to software capable of playing video stored in the form of digital signals, and also refers to an electronic device product having a function of playing video, and a general video player is composed of a decoding module (Codec) and a video display module (including Texture, Surface and Render).
The existing video playing state detection system is shown in fig. 1, and includes a decoding module 101, which is implemented by Codec, and implements the function of decoding video; the Texture map module 102, which can be specifically implemented by Texture, is used for storing a Texture map of the Codec decoding result, and when the decoder obtains the decoding result of a new frame, the Texture map is updated, and a Texture update callback function is triggered. The map display rendering module 103 can be specifically implemented by a Surface & Render, and represents a map display place and renders the map; the error handling module 104 may be specifically implemented by Handle, and indicates error handling performed after an error is detected. The detection of the video playing state is performed in the decoding module 101, and when a decoding error is found in the decoding module 101, the error is fed back to the error processing module 104 for processing.
The following problems exist for the decoding module 101 to detect the video playing status: 1. for different video coding formats, error diagnosis in different modes needs to be carried out; 2. in a video player, a plurality of cores are usually used simultaneously to improve performance, but different decoders or decoding frameworks have different error types defined by each other, and various coping processes need to be performed on each core in the overall video player control; 3. the error detection of different playing kernels during video playing has different defects, and when the playing of network video is wrong or the format is not supported, the phenomenon of abnormal picture updating or screen blacking often occurs, but the correct video error information prompt cannot be given.
In summary, the conventional implementation process for detecting the video playing status through the decoder is complicated and has detection defects, and a phenomenon that correct video error information cannot be provided occurs.
Disclosure of Invention
The invention provides a method and a device for detecting a video playing state, which are used for solving the problems that the realization process of detecting the video playing state through a decoder in the prior art is more complicated and has detection defects.
The embodiment of the invention provides a method for detecting a video playing state, which comprises the following steps:
when a video playing thread is started, starting a first timer;
if the mapping callback function is acquired within the set time of the first timer, starting a second timer;
and if the mapping callback function is not acquired within the set time of the second timer, determining that the video is played wrongly.
Preferably, the method further comprises:
and if the chartlet callback function is not acquired within the set time of the first timer, determining that the video is open wrongly.
Preferably, the method further comprises:
and if the map callback function is acquired within the set time of the second timer, resetting the second timer.
Preferably, when the video playing thread is started, starting the first timer includes:
when the video playing thread is started, triggering a detection thread;
the detection thread starts the first timer;
if the map callback function is acquired within the set time of the first timer, starting a second timer, comprising:
the video playing thread acquires the chartleback function within the set time of the first timer and sends a callback success message to the detection thread;
the detection thread starts the second timer;
if the map callback function is acquired within the set time of the second timer, resetting the second timer, including:
if the video playing thread acquires the map callback function within the set time of the second timer, sending a callback success message to the detection thread;
the detecting thread resets the second timer.
Preferably, the method further comprises:
acquiring a decoding result of a decoder;
and determining the playing state of the video according to the state of the first timer or the state of the second timer and the decoding result information.
An embodiment of the present invention further provides a device for detecting a video playing status, including:
a starting unit: the video playing method comprises the steps that a first timer is started when a video playing thread is started;
an opening detection unit: the second timer is started if the chartlet callback function is acquired within the set time of the first timer;
a play detection unit: and if the map callback function is not acquired within the set time of the second timer, determining that the video is played wrongly.
Preferably, the opening detection unit is further configured to:
and if the chartlet callback function is not acquired within the set time of the first timer, determining that the video is open wrongly.
Preferably, the play detection unit is further configured to:
and if the map callback function is acquired within the set time of the second timer, resetting the second timer.
Preferably, the starting unit is specifically configured to:
when the video playing thread is started, triggering a detection thread;
the detection thread starts the first timer;
the opening detection unit is specifically configured to:
the video playing thread acquires the chartleback function within the set time of the first timer and sends a callback success message to the detection thread;
the detection thread starts the second timer;
the play detection unit is specifically configured to:
if the video playing thread acquires the map callback function within the set time of the second timer, sending a callback success message to the detection thread;
the detecting thread resets the second timer.
Preferably, the apparatus further comprises a decoding unit configured to:
acquiring a decoding result of a decoder;
and determining the playing state of the video according to the state of the first timer or the state of the second timer and the decoding result information.
The embodiment of the invention provides a method and a device for detecting a video playing state, wherein when a video playing thread is started, a first timer is started; if the map callback function is acquired within the set time of the first timer, starting a second timer; and if the mapping callback function is not acquired within the set time of the second timer, determining that the video is played wrongly. According to the method and the device for detecting the video playing state, provided by the embodiment of the invention, the picture updating is detected through the call-back during the refreshing of the texture of the decoding result chartlet, and whether the video is played wrongly is judged through whether the timer is overtime or not. And the playing state is detected according to the video playing result, so that the detection efficiency and the practicability are improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
FIG. 1 is a schematic diagram of a video playing status detection system in the prior art;
fig. 2 is a schematic structural diagram of a video playing status detection system according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of a method for detecting a video playing status according to an embodiment of the present invention;
fig. 4 is a flowchart of a method for detecting a video playing status according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an apparatus for detecting a video playing status according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The method and apparatus for detecting a video playing status provided by the embodiments of the present invention are applied to electronic devices capable of playing video, and the electronic devices include, but are not limited to, Personal computers, server computers, handheld or laptop devices, mobile devices (such as mobile phones, Personal Digital Assistants (PDAs)), portable, pocket, computer-embedded or vehicle-mounted mobile apparatuses, and the like.
As shown in fig. 2, a video playing state detection system according to an embodiment of the present invention is provided, and the video playing state detection method and apparatus according to an embodiment of the present invention are based on the detection system. The method comprises the following steps:
the decoding module 201 can be specifically realized by Codec, and completes the function of decoding the video;
the Texture map module 202, which can be specifically implemented by Texture, is used for storing a Texture map of the Codec decoding result, and updates the Texture map when the decoder obtains the decoding result of a new frame, and triggers a Texture update callback function.
The map display rendering module 203 is specifically configured to represent the location where the map is displayed and Render the map through Surface & Render;
the timer module 204 represents a timer in the detection thread, and issues a corresponding error warning when the timer expires.
The error processing module 205 may be specifically implemented by Handle, and indicates error insertion processing performed after an error is detected.
The detection of the video playing state in the embodiment of the present invention is performed when the texture mapping module 202 maps, a detection thread is added to perform state detection, the detection of picture update is performed by callback during texture refresh of the decoding result mapping, and whether the video is played incorrectly is determined by whether a timer is overtime. The detection of the playing state is completely based on the use experience of the user and based on whether the video playing is normal or not as the measuring standard of the current player state, and the analysis is not carried out according to the specific decoding problem. Although the cause of the decoding error may be different, the process of feeding back to the playback software is the same. In addition, partial decoding errors do not affect the actual viewing of the video, or some errors (e.g., lack of video stream in a file) are not effectively fed back in some decoders, resulting in errors that do not affect the results being detected and error-handled, or some errors not being detected. Therefore, the state analysis is not performed according to the decoding error, but the play state is detected according to the result of the video play.
The video playing state detection system provided by the embodiment of the invention provides a unified video playing detection method aiming at different decoder frames and different video types, and improves the detection efficiency and the practicability.
Based on the above detection system for the video playing status, an embodiment of the present invention provides a method for detecting the video playing status, and as shown in fig. 3, a schematic flow diagram of the method for detecting the video playing status according to the embodiment of the present invention includes:
step 301: and when the video playing thread is started, starting a first timer.
Specifically, when a video source (a video file or an online video stream) is opened by a playback thread, an instruction is sent to a detection thread, thereby triggering the detection thread. The detecting thread enters the load detecting state and starts an internal first timer, and the time limit of the first timer is set to T1.
Step 302: and if the map callback function is acquired within the set time of the first timer, starting a second timer.
Further, if the map callback function is not acquired within the set time of the first timer, it is determined that the video is open incorrectly.
Specifically, if the video cannot be normally opened, the playback thread does not output the decoding result to the map, and therefore, the map callback is not triggered, and therefore, if the video playback thread does not acquire the map callback function within the set time of the first timer T1, a video opening error is triggered.
Specifically, if the video is normally opened, the playing thread outputs a decoding result to the map, so as to trigger a map callback, and therefore, if the frequently playing thread acquires a map callback function within the set time of the first timer T1, the callback success message is sent to the detection thread, the detection thread enters a play detection state, the second timer T2 is started, and the time limit of the second timer is set to T2, so as not to trigger a video opening error.
For example, if the set time limit of the first timer T1 is 2s, if the playback thread does not acquire the map callback function within 2s after the video source is opened, it is determined that the video is open incorrectly. And if the playback thread acquires the map callback function 2s after the video source is opened, sending a callback success message to the detection thread, starting a second timer T2 by the detection thread, and setting the time limit of the second timer to be 0.1 s.
Step 303: and if the mapping callback function is not acquired within the set time of the second timer, determining that the video is played wrongly.
Further, if the map callback function is acquired within the set time of the second timer T2, the second timer T2 is reset.
Specifically, if the video cannot be normally played, the playing thread does not output the decoding result to the map, so that the map callback is not triggered, and therefore, if the video playing thread does not acquire the map callback function within the set time of the second timer T2, a video playing error is triggered.
Specifically, if the video is played normally, the playing thread outputs a decoding result to the map, so as to trigger a map callback, and therefore, if the video playing thread acquires a map callback function within the set time of the second timer T2, the callback success message is sent to the detection thread, the detection thread resets the second timer T2, sets the time limit of the second timer to T2, and continues to perform play detection.
For example, the set time limit of the second timer T2 is 0.1s, and after the detection thread starts the second timer T2, if the playback thread does not acquire the map callback function within 0.1s, it is determined that the video playback error occurs. And if the playing thread acquires the map callback function within 0.1s, sending a callback success message to the detection thread, resetting a second timer T2 by the detection thread, setting the time limit of the second timer to be 0.1s, and continuing to perform playing detection.
It should be noted that the timing functions of the first timer and the second timer may also be implemented by the same timer. Specifically, when the detection thread enters a loading detection state, an internal timer is started, and the time limit of the timer is set to be T1; the detecting thread enters the play detect state, resets the timer, and sets the timer to a time limit of T2. The number of specific timers is not limited herein.
It should be noted that, in the embodiment of the present invention, the video playing status may also be determined according to the decoding result of the decoder in combination with the map callback status. Specifically, when the video source is opened by the playing thread, the real-time decoding result of the decoder is acquired at the same time, and the playing state of the video is determined according to the state of the first timer or the state of the second timer and the decoding result information. The detailed reasons of video errors can be determined by analyzing the decoding result, whether the picture is updated or not is determined by callback during texture refreshing of the decoding result, namely the visual state of video playing is determined, and the video playing state can be detected more completely and accurately by combining judgment of the decoding result and the callback during texture refreshing.
In practical application, the detection result is correspondingly processed according to the current video type. If the video source is a local file, outputting format unsupported information after determining that the video is open wrongly; outputting incomplete information of the video file after determining that the video playing is wrong; if the video source is an online video stream, outputting network connection error information after determining that the video is open wrongly; and after the video playing error is determined, outputting network instability information.
The embodiment of the invention provides a method for detecting a video playing state, which comprises the steps of starting a first timer when a video playing thread is started; if the map callback function is acquired within the set time of the first timer, starting a second timer; and if the mapping callback function is not acquired within the set time of the second timer, determining that the video is played wrongly. According to the method for detecting the video playing state provided by the embodiment of the invention, the picture updating is detected through the call-back during the refreshing of the texture of the decoding result chartlet, and whether the video is played wrongly is judged through whether the timer is overtime or not. And the playing state is detected according to the video playing result, so that the detection efficiency and the practicability are improved.
An embodiment of the present invention further provides a method for detecting a video playing status, as shown in fig. 4, which is a flowchart of the method for detecting a video playing status according to the embodiment of the present invention, and the method includes:
step 401: and starting a timer when the video playing thread is started.
Specifically, when a video source (a video file or an online video stream) is opened by a playback thread, an instruction is sent to a detection thread, thereby triggering the detection thread. The detecting thread enters the load detecting state and starts an internal timer, and the timer time limit is set to T1.
Step 402: and judging whether the map callback function is acquired within the set time T1 of the timer. If yes, go to step 404, otherwise go to step 403.
Step 403: and if the timer is overtime, outputting a video opening error.
Specifically, if the video cannot be normally opened, the playback thread does not output the decoding result to the map, and therefore, the map callback is not triggered, and therefore, if the video playback thread does not acquire the map callback function within the set time T1 of the timer, a video opening error is triggered.
Step 404: the timer is reset and the time limit of the timer is set to T2 and the process continues to step 405.
Specifically, if the video is normally opened, the playing thread outputs a decoding result to the map, so as to trigger a map callback, and therefore, if the frequently playing thread acquires a map callback function within the set time of the timer T1, the callback success message is sent to the detecting thread, the detecting thread enters a playing detection state, the timer is reset, and the time limit of the timer is set to be T2.
Step 405: and judging whether the map callback function is acquired within the set time T2 of the timer. If so, go to step 404, otherwise go to step 406.
Step 406: and if the timer is overtime, outputting a video playing error.
Specifically, if the video cannot be normally played, the playing thread does not output the decoding result to the map, so that the map callback is not triggered, and therefore, if the video playing thread does not acquire the map callback function within the set time T2 of the timer, a video playing error is triggered.
Specifically, if the video is played normally, the playing thread outputs a decoding result to the map, so as to trigger a map callback, and therefore, if the video playing thread acquires a map callback function within the set time T2 of the timer, a callback success message is sent to the detection thread, the detection thread resets the timer, sets the time limit of the timer to be T2, and continues to perform play detection.
Based on the same inventive concept, an embodiment of the present invention further provides a device for detecting a video playing status, as shown in fig. 5, which is a schematic structural diagram of the device for detecting a video playing status, and includes:
the start-up unit 501: the video playing method comprises the steps that a first timer is started when a video playing thread is started;
the opening detection unit 502: the second timer is started if the chartlet callback function is acquired within the set time of the first timer;
the playback detection unit 503: and if the map callback function is not acquired within the set time of the second timer, determining that the video is played wrongly.
Preferably, the opening detection unit 502 is further configured to:
and if the chartlet callback function is not acquired within the set time of the first timer, determining that the video is open wrongly.
Preferably, the play detection unit 503 is further configured to:
and if the map callback function is acquired within the set time of the second timer, resetting the second timer.
Preferably, the starting unit 501 is specifically configured to:
when the video playing thread is started, triggering a detection thread;
the detection thread starts the first timer;
the opening detection unit 502 is specifically configured to:
the video playing thread acquires the chartleback function within the set time of the first timer and sends a callback success message to the detection thread;
the detection thread starts the second timer;
the play detection unit 503 is specifically configured to:
if the video playing thread acquires the map callback function within the set time of the second timer, sending a callback success message to the detection thread;
the detecting thread resets the second timer.
Preferably, the apparatus further comprises a decoding unit 504 for:
acquiring a decoding result of a decoder;
and determining the playing state of the video according to the state of the first timer or the state of the second timer and the decoding result information.
The embodiment of the invention provides a detection device for a video playing state, which starts a first timer when a video playing thread is started; if the map callback function is acquired within the set time of the first timer, starting a second timer; and if the mapping callback function is not acquired within the set time of the second timer, determining that the video is played wrongly. The detection device for the video playing state provided by the embodiment of the invention detects the picture updating through the callback during the refreshing of the texture of the decoding result chartlet, and judges whether the video is played wrongly through the time-out of the timer. And the playing state is detected according to the video playing result, so that the detection efficiency and the practicability are improved.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create a system for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including an instruction system which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. A method for detecting a video playing status, comprising:
when a video playing thread is started, starting a first timer;
if the mapping callback function is acquired within the set time of the first timer, starting a second timer; the map callback function is used for updating the map when the decoder obtains the decoding result of a new frame and triggering the map updating callback function;
and if the mapping callback function is not acquired within the set time of the second timer, determining that the video is played wrongly.
2. The method of claim 1, further comprising:
and if the chartlet callback function is not acquired within the set time of the first timer, determining that the video is open wrongly.
3. The method of claim 2, further comprising:
and if the map callback function is acquired within the set time of the second timer, resetting the second timer.
4. The method of claim 3, wherein starting the first timer when the video playback thread is started comprises:
when the video playing thread is started, triggering a detection thread;
the detection thread starts the first timer;
if the map callback function is acquired within the set time of the first timer, starting a second timer, comprising:
the video playing thread acquires the chartleback function within the set time of the first timer and sends a callback success message to the detection thread;
the detection thread starts the second timer;
if the map callback function is acquired within the set time of the second timer, resetting the second timer, including:
if the video playing thread acquires the map callback function within the set time of the second timer, sending a callback success message to the detection thread;
the detecting thread resets the second timer.
5. The method of any one of claims 1 to 4, further comprising:
acquiring a decoding result of a decoder;
and determining the playing state of the video according to the state of the first timer or the state of the second timer and the decoding result information.
6. An apparatus for detecting a video playing status, comprising:
a starting unit: the video playing method comprises the steps that a first timer is started when a video playing thread is started;
an opening detection unit: the second timer is started if the chartlet callback function is acquired within the set time of the first timer; the map callback function is used for updating the map when the decoder obtains the decoding result of a new frame and triggering the map updating callback function;
a play detection unit: and if the map callback function is not acquired within the set time of the second timer, determining that the video is played wrongly.
7. The apparatus of claim 6, wherein the opening detection unit is further configured to:
and if the chartlet callback function is not acquired within the set time of the first timer, determining that the video is open wrongly.
8. The apparatus of claim 7, wherein the play detection unit is further configured to:
and if the map callback function is acquired within the set time of the second timer, resetting the second timer.
9. The apparatus according to claim 7, wherein the activation unit is specifically configured to:
when the video playing thread is started, triggering a detection thread;
the detection thread starts the first timer;
the opening detection unit is specifically configured to:
the video playing thread acquires the chartleback function within the set time of the first timer and sends a callback success message to the detection thread;
the detection thread starts the second timer;
the play detection unit is specifically configured to:
if the video playing thread acquires the map callback function within the set time of the second timer, sending a callback success message to the detection thread;
the detecting thread resets the second timer.
10. The apparatus according to any one of claims 6 to 9, further comprising a decoding unit for:
acquiring a decoding result of a decoder;
and determining the playing state of the video according to the state of the first timer or the state of the second timer and the decoding result information.
CN201611061942.6A 2016-11-25 2016-11-25 Method and device for detecting video playing state Active CN106792163B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611061942.6A CN106792163B (en) 2016-11-25 2016-11-25 Method and device for detecting video playing state

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611061942.6A CN106792163B (en) 2016-11-25 2016-11-25 Method and device for detecting video playing state

Publications (2)

Publication Number Publication Date
CN106792163A CN106792163A (en) 2017-05-31
CN106792163B true CN106792163B (en) 2021-10-29

Family

ID=58912741

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611061942.6A Active CN106792163B (en) 2016-11-25 2016-11-25 Method and device for detecting video playing state

Country Status (1)

Country Link
CN (1) CN106792163B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107295285B (en) * 2017-08-11 2018-07-27 腾讯科技(深圳)有限公司 Processing method, processing unit and the storage medium of video data
CN110139153B (en) * 2018-02-08 2021-09-10 株洲中车时代电气股份有限公司 Video playing state detection and playing control method and system
CN115250364B (en) * 2022-07-20 2023-07-14 北京永信至诚科技股份有限公司 Method, device, equipment and storage medium for reporting duration of video playing

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7761900B2 (en) * 2006-08-02 2010-07-20 Clarendon Foundation, Inc. Distribution of content and advertisement
CN103458297A (en) * 2013-08-28 2013-12-18 小米科技有限责任公司 Video playing method and device and terminal device
CN104581320A (en) * 2013-10-16 2015-04-29 中兴通讯股份有限公司 Method, device and terminal for switching play modes
CN103533454B (en) * 2013-10-29 2016-08-17 北京国双科技有限公司 The detection method of video playback fluency and device
CN103618786A (en) * 2013-11-27 2014-03-05 乐视网信息技术(北京)股份有限公司 Playing error processing method and server
CN105681897B (en) * 2014-11-17 2019-04-16 Tcl集团股份有限公司 A kind of commercial detection method and system
CN105100645A (en) * 2015-07-24 2015-11-25 海信集团有限公司 Terminal switching program method and terminal
CN105472417B (en) * 2015-11-24 2020-02-07 腾讯科技(深圳)有限公司 Method and device for acquiring video player abnormity
CN105578266B (en) * 2015-12-29 2018-11-27 北京奇艺世纪科技有限公司 Audio and video playing method and multimedia player
CN105916058B (en) * 2016-05-05 2019-09-20 青岛海信宽带多媒体技术有限公司 A kind of streaming media buffer playback method, device and display equipment
CN106066781B (en) * 2016-06-15 2019-07-02 北京小米移动软件有限公司 A kind of method and apparatus terminating playing audio-fequency data
CN106131646B (en) * 2016-07-19 2021-01-12 Tcl科技集团股份有限公司 Starting-up video processing method and system based on Android system

Also Published As

Publication number Publication date
CN106792163A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
EP2998848A1 (en) Method, device, and apparatus for controlling screen rotation
CN106792163B (en) Method and device for detecting video playing state
US20170163580A1 (en) Interactive method and device for playback of multimedia
US20210029421A1 (en) Method and apparatus for releasing video file
CN110784733B (en) Live broadcast data processing method and device, electronic equipment and readable storage medium
US11778263B2 (en) Live streaming video interaction method and apparatus, and computer device
CN107027068B (en) Rendering method, decoding method, and method and device for playing multimedia data stream
WO2019085598A1 (en) Method and apparatus for calculating above-the-fold rendering duration of page, and electronic device
JP7231638B2 (en) Image-based information acquisition method and apparatus
RU2016104931A (en) METHOD AND DEVICE FOR DISPLAYING A SPEAKING INTERFACE
CN107870856B (en) Video playing starting time testing method and device and electronic terminal
WO2017166685A1 (en) Method and apparatus for switching to external loudspeaker
CN109218817B (en) Method and device for displaying virtual gift prompting message
US8587677B2 (en) Remote instruction system, remote instruction method, and program product therefor
CN109618216B (en) Method, device and equipment for displaying video loading state identification and storage medium
US20230009336A1 (en) Live video interaction method and apparatus, and computer device
CN115623252B (en) Method, device and storage medium for controlling restarting and stream pushing of automatic detection of online examination
CN110113630B (en) Video detection method and device, electronic equipment and storage medium
CN112162888A (en) Method and device for determining reason of black screen of display and computer storage medium
WO2017000647A1 (en) Image display method and device
US9904355B2 (en) Display method, image capturing method and electronic device
CN110876086A (en) Bullet screen generation adjusting method, device, equipment and storage medium
WO2015062269A1 (en) Method, apparatus, and mobile terminal for processing vibration of mobile terminal
CN111199179B (en) Target object tracking method, terminal equipment and medium
CN112004151A (en) Control method of television device, television device and readable storage medium

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