CN106851422A - A kind of video playback automatic pause processing method and system - Google Patents

A kind of video playback automatic pause processing method and system Download PDF

Info

Publication number
CN106851422A
CN106851422A CN201710197102.0A CN201710197102A CN106851422A CN 106851422 A CN106851422 A CN 106851422A CN 201710197102 A CN201710197102 A CN 201710197102A CN 106851422 A CN106851422 A CN 106851422A
Authority
CN
China
Prior art keywords
video playback
video
file
time series
breakpoint
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.)
Pending
Application number
CN201710197102.0A
Other languages
Chinese (zh)
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.)
Suzhou Baizhitong Information Technology Co Ltd
Original Assignee
Suzhou Baizhitong Information Technology 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 Suzhou Baizhitong Information Technology Co Ltd filed Critical Suzhou Baizhitong Information Technology Co Ltd
Priority to CN201710197102.0A priority Critical patent/CN106851422A/en
Publication of CN106851422A publication Critical patent/CN106851422A/en
Pending legal-status Critical Current

Links

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/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47214End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for content reservation or setting reminders; for requesting event notification, e.g. of sport results or stock market
    • 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/4333Processing operations in response to a pause request
    • 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/439Processing of audio elementary streams
    • H04N21/4394Processing of audio elementary streams involving operations for analysing the audio stream, e.g. detecting features or characteristics in audio streams

Abstract

The invention discloses a kind of video playback automatic pause processing method, including pre-treatment step S0:Obtain the time series array being under mute state in video file;S1:Read the time series array being under mute state in video file;S2:Numerical value automatic attaching in one or more video playback breakpoint of user annotation, the video playback breakpoint and above-mentioned time series array;S3:The video playback breakpoint that user is set is preserved, video playback moment numerical tabular is formed;S4:The video playback moment numerical tabular is read during video playback, the automatic pause of video playback is realized at the specified moment.Present invention also offers a kind of video playback automatic pause processing system, can make the resource construction persons such as teacher that video playback breakpoint is very easily set to the dwell portion of a word by design of the invention, the situation of stiff cut-out a word is avoided, gives video viewers one good broadcasting experience.

Description

A kind of video playback automatic pause processing method and system
Technical field
The present invention relates to online education technical field, particularly relate to a kind of video playback automatic pause processing method with System.
Background technology
The broadcasting of video file, is function that nearly all online education platform has.In playing video file, due to The specific demand of online education, has many similar platforms to provide the function of inserting pause in video, i.e. resource construction person exists Some video moment of video inserts a pause flag, during the follow-up play video, when reach it is foregoing specify video when During quarter, the broadcasting of player automatic pause video simultaneously waits the interactive operation of user.Current all of platform realizes that this function is equal Specified manually by resource construction person, due to being specified manually for artificial, often occur that the moment specified is inaccurate, cause playing When a word mention central when cut off by force, the Consumer's Experience of onlooker when reducing video playback.
Therefore, the present inventor needs a kind of new technology of design badly to improve its problem.
The content of the invention
The present invention is intended to provide a kind of video playback automatic pause processing method and system, it can make the resource constructions such as teacher Video playback breakpoint is very easily set to person the dwell portion of a word, avoids the feelings of stiff cut-out a word Condition, gives video viewers one good broadcasting experience.
In order to solve the above technical problems, the technical scheme is that:
A kind of video playback automatic pause processing method, comprises the following steps:
S1:Read the time series array being under mute state in video file;
S2:One or more video playback breakpoint of user annotation, the video playback breakpoint and above-mentioned time series Numerical value automatic attaching in array;
S3:The video playback breakpoint that user is set is preserved, video playback moment numerical tabular is formed;
S4:The video playback moment numerical tabular is read during video playback, the automatic of video playback is realized at the specified moment Pause.
Preferably, also include:
Pre-treatment step S0:Obtain the time series array being under mute state in video file.
Preferably, the pre-treatment step S0 is specifically included:
S01:By the video flowing in video file and audio flow separation, individually protected audio stream as audio file Deposit;
S02:The audio file produced by above-mentioned steps is read and analyzed, all Jing Yin point in audio file is analyzed, And using it as time series array.
Preferably, transcoding technology is passed through in the step S01 by the video flowing in video file and audio flow separation.
Preferably, the step S2 also includes:User sets the pause duration in each video playback breakpoint.
A kind of video playback automatic pause processing system, including:
Read module, for reading the time series array in video file under mute state;
Labeling module, for for user annotation one or more video playback breakpoint, the video playback breakpoint with Numerical value automatic attaching in above-mentioned time series array;
Preserving module, the video playback breakpoint for preserving user's setting, forms video playback moment numerical tabular;
Playing module, for reading video playback moment numerical tabular in video playback, realizes regarding at the specified moment The automatic pause that frequency is played.
Preferably, also include:
Acquisition module, for obtaining the time series array in video file under mute state.
Preferably, the acquisition module is specifically included:
Dividing cell, for by the video flowing in video file and audio flow separation, entering audio stream as audio file Row is individually preserved;
Analytic unit, for reading and analyzes the audio file produced by above-mentioned steps, analyzes the institute in audio file There is a Jing Yin point, and using it as time series array.
Preferably, transcoding technology is passed through in the dividing cell by the video flowing in video file and audio flow separation.
Preferably, the labeling module is additionally operable to be set for user the pause duration in each video playback breakpoint.
Using above-mentioned technical proposal, the present invention at least includes following beneficial effect:
Video playback automatic pause processing method of the present invention and system, can make the resource construction persons such as teacher very square Just the dwell portion that video playback breakpoint is set to a word, avoids the situation of stiff cut-out a word, to video The good broadcasting experience of beholder one.
Brief description of the drawings
Fig. 1 is the flow chart of video playback automatic pause processing method of the present invention;
Fig. 2 is the structured flowchart of video playback automatic pause processing system of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
Embodiment 1
As shown in figure 1, a kind of video playback automatic pause processing method to meet the present embodiment, comprises the following steps:
S1:Read the time series array being under mute state in video file;
S2:One or more video playback breakpoint of user annotation, the video playback breakpoint and above-mentioned time series Numerical value automatic attaching in array;
S3:The video playback breakpoint that user is set is preserved, video playback moment numerical tabular is formed;
S4:The video playback moment numerical tabular is read during video playback, the automatic of video playback is realized at the specified moment Pause.
Preferably, also include:
Pre-treatment step S0:Obtain the time series array being under mute state in video file.
Preferably, the pre-treatment step S0 is specifically included:
S01:By the video flowing in video file and audio flow separation, individually protected audio stream as audio file Deposit;
S02:The audio file produced by above-mentioned steps is read and analyzed, all Jing Yin point in audio file is analyzed, And using it as time series array.
Preferably, transcoding technology is passed through in the step S01 by the video flowing in video file and audio flow separation.
Preferably, the step S2 also includes:User sets the pause duration in each video playback breakpoint.
The present embodiment is exemplified below.
When the resource construction persons such as teacher need one section of video file for the treatment of, first by the video flowing and sound in video file Frequency flow separation, is individually preserved audio stream as audio file;Wherein by video flowing and the transcoding skill of audio flow separation Art can be by calling external command (such as ffmpeg, form factory command-line tool) to carry out, or calling sound to regard Frequency division from API carry out.Because it is conventional technical means of the prior art, therefore the present embodiment is not repeated this, this Art personnel should know.After the completion of separation, the byte stream of audio file is read, calculated with reference to the sample rate of audio stream The volume numerical value of each sampled point, carries out interval averagely, and then analyzes pause point in the audio file, i.e., Jing Yin point is formed Time series array is (such as:3.45,5.13,8.59,12.10,15.40,125.58,236.37, unit is the second).Then user sets Determine video playback breakpoint and duration, when user's mouse is moved on a timeline, the time corresponding to mouse is calculated in real time Point, and compare one by one with the point in mute time sequence, when both differ threshold value (such as 500 milliseconds) less than setting, automatically The above-mentioned Jing Yin point for analyzing and is fitted to, user can switch between multiple Jing Yin points, equal automatic attaching;Then just can be with Mode according to setting is played accordingly.
Video playback automatic pause processing method described in the present embodiment, can make the resource construction persons such as teacher very easily Video playback breakpoint is set to the dwell portion of a word, the situation of stiff cut-out a word is avoided, to video-see The good broadcasting experience of person one.
Embodiment 2
As shown in Fig. 2 a kind of video playback automatic pause processing system to meet the present embodiment, including:
Read module, for reading the time series array in video file under mute state;
Labeling module, for for user annotation one or more video playback breakpoint, the video playback breakpoint with Numerical value automatic attaching in above-mentioned time series array;
Preserving module, the video playback breakpoint for preserving user's setting, forms video playback moment numerical tabular;
Playing module, for reading video playback moment numerical tabular in video playback, realizes regarding at the specified moment The automatic pause that frequency is played.
Preferably, also include:
Acquisition module, for obtaining the time series array in video file under mute state.
Preferably, the acquisition module is specifically included:
Dividing cell, for by the video flowing in video file and audio flow separation, entering audio stream as audio file Row is individually preserved;
Analytic unit, for reading and analyzes the audio file produced by above-mentioned steps, analyzes the institute in audio file There is a Jing Yin point, and using it as time series array.
Preferably, transcoding technology is passed through in the dividing cell by the video flowing in video file and audio flow separation.
Preferably, the labeling module is additionally operable to be set for user the pause duration in each video playback breakpoint.
The present embodiment is exemplified below.
When the resource construction persons such as teacher need one section of video file for the treatment of, first by the video flowing and sound in video file Frequency flow separation, is individually preserved audio stream as audio file;Wherein by video flowing and the transcoding skill of audio flow separation Art can be by calling external command (such as ffmpeg, form factory command-line tool) to carry out, or calling sound to regard Frequency division from API carry out.Because it is conventional technical means of the prior art, therefore the present embodiment is not repeated this, ability Field technique personnel should know.After the completion of separation, using the byte stream for reading audio file, with reference to the sample rate meter of audio stream Calculate the volume numerical value of each sampled point, carry out interval averagely, and then analyze pause point in the audio file, i.e., Jing Yin point, shape Into time series array (such as:3.45,5.13,8.59,12.10,15.40,125.58,236.37, unit is the second).Then user Setting video playback breakpoint and duration, when user's mouse is moved on a timeline, calculate in real time corresponding to mouse when Between point, and compare one by one with the point in mute time sequence, when both differ threshold value (such as 500 milliseconds) less than setting, from Dynamic to fit to the above-mentioned Jing Yin point for analyzing and, user can switch between multiple Jing Yin points, equal automatic attaching;Then just may be used Played accordingly in the way of according to setting.
Video playback automatic pause processing system described in the present embodiment, can make the resource construction persons such as teacher very easily Video playback breakpoint is set to the dwell portion of a word, the situation of stiff cut-out a word is avoided, to video-see The good broadcasting experience of person one.
The foregoing description of the disclosed embodiments, enables professional and technical personnel in the field to realize or uses the present invention. Various modifications to these embodiments will be apparent for those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, the present invention The embodiments shown herein is not intended to be limited to, and is to fit to and principles disclosed herein and features of novelty phase one The scope most wide for causing.

Claims (10)

1. a kind of video playback automatic pause processing method, it is characterised in that comprise the following steps:
S1:Read the time series array being under mute state in video file;
S2:One or more video playback breakpoint of user annotation, the video playback breakpoint and above-mentioned time series array In numerical value automatic attaching;
S3:The video playback breakpoint that user is set is preserved, video playback moment numerical tabular is formed;
S4:The video playback moment numerical tabular is read during video playback, the automatic pause of video playback is realized at the specified moment.
2. video playback automatic pause processing method as claimed in claim 1, it is characterised in that also include:
Pre-treatment step S0:Obtain the time series array being under mute state in video file.
3. video playback automatic pause processing method as claimed in claim 2, it is characterised in that the pre-treatment step S0 tools Body includes:
S01:By the video flowing in video file and audio flow separation, individually preserved audio stream as audio file;
S02:The audio file produced by above-mentioned steps is read and analyzed, all Jing Yin point in audio file is analyzed, and will As time series array.
4. video playback automatic pause processing method as claimed in claim 3, it is characterised in that:Pass through in the step S01 Transcoding technology is by the video flowing in video file and audio flow separation.
5. the video playback automatic pause processing method and system as described in claim 1-4 is any, it is characterised in that the step Rapid S2 also includes:User sets the pause duration in each video playback breakpoint.
6. a kind of video playback automatic pause processing system, it is characterised in that including:
Read module, for reading the time series array in video file under mute state;
Labeling module, for for user annotation one or more video playback breakpoint, the video playback breakpoint with it is above-mentioned Numerical value automatic attaching in time series array;
Preserving module, the video playback breakpoint for preserving user's setting, forms video playback moment numerical tabular;
Playing module, for reading video playback moment numerical tabular in video playback, realizes that video is broadcast at the specified moment The automatic pause put.
7. video playback automatic pause processing system as claimed in claim 6, it is characterised in that also include:
Acquisition module, for obtaining the time series array in video file under mute state.
8. video playback automatic pause processing system as claimed in claim 7, it is characterised in that the acquisition module is specifically wrapped Include:
Dividing cell, for by the video flowing in video file and audio flow separation, list being carried out using audio stream as audio file Solely preserve;
Analytic unit, for reading and analyzes the audio file produced by above-mentioned steps, analyzes all quiet in audio file The point of articulation, and using it as time series array.
9. video playback automatic pause processing system as claimed in claim 8, it is characterised in that:Pass through in the dividing cell Transcoding technology is by the video flowing in video file and audio flow separation.
10. the video playback automatic pause processing system as described in claim 6-9 is any, it is characterised in that the mark mould Block is additionally operable to be set for user the pause duration in each video playback breakpoint.
CN201710197102.0A 2017-03-29 2017-03-29 A kind of video playback automatic pause processing method and system Pending CN106851422A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710197102.0A CN106851422A (en) 2017-03-29 2017-03-29 A kind of video playback automatic pause processing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710197102.0A CN106851422A (en) 2017-03-29 2017-03-29 A kind of video playback automatic pause processing method and system

Publications (1)

Publication Number Publication Date
CN106851422A true CN106851422A (en) 2017-06-13

Family

ID=59141006

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710197102.0A Pending CN106851422A (en) 2017-03-29 2017-03-29 A kind of video playback automatic pause processing method and system

Country Status (1)

Country Link
CN (1) CN106851422A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108880681A (en) * 2018-05-28 2018-11-23 许谐兴 A kind of projecting method and equipment based on the li-fi communication technology

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57109483A (en) * 1980-12-26 1982-07-07 Toshiba Corp Automatic editing device of video tape recorder
US6212275B1 (en) * 1998-06-30 2001-04-03 Lucent Technologies, Inc. Telephone with automatic pause responsive, noise reduction muting and method
CN1617224A (en) * 2004-09-06 2005-05-18 华南理工大学 Natural peech vocal partrier device for text and antomatic synchronous method for text and natural voice
CN1770260A (en) * 2004-11-01 2006-05-10 英业达股份有限公司 Speech waveform processing system and method
CN2854764Y (en) * 2005-12-08 2007-01-03 英业达股份有限公司 Induction automatic suspend device of playing system
CN1922690A (en) * 2004-01-26 2007-02-28 皇家飞利浦电子股份有限公司 Replay of media stream from a prior change location
US20070225973A1 (en) * 2006-03-23 2007-09-27 Childress Rhonda L Collective Audio Chunk Processing for Streaming Translated Multi-Speaker Conversations
KR100820905B1 (en) * 2006-11-20 2008-04-11 (주)한우리아이티 Output controller for audio signal and method thereof
CN101241649A (en) * 2007-02-08 2008-08-13 北京凯诚高清电子技术有限公司 Network education training method and device
CN102460577A (en) * 2009-05-13 2012-05-16 李斗汉 Multimedia file playing method and multimedia player
CN102833490A (en) * 2011-06-15 2012-12-19 新诺亚舟科技(深圳)有限公司 Method and system for editing and playing interactive video, and electronic learning device
CN103299319A (en) * 2011-12-28 2013-09-11 华为技术有限公司 Method and device for analysing video file
CN103632691A (en) * 2012-08-21 2014-03-12 联想(北京)有限公司 Method for playing media file and electronic equipment
CN104349139A (en) * 2014-10-17 2015-02-11 国家电网公司 Video study monitoring method used for training platform
CN104967908A (en) * 2014-09-05 2015-10-07 腾讯科技(深圳)有限公司 Video hot spot marking method and apparatus

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57109483A (en) * 1980-12-26 1982-07-07 Toshiba Corp Automatic editing device of video tape recorder
US6212275B1 (en) * 1998-06-30 2001-04-03 Lucent Technologies, Inc. Telephone with automatic pause responsive, noise reduction muting and method
CN1922690A (en) * 2004-01-26 2007-02-28 皇家飞利浦电子股份有限公司 Replay of media stream from a prior change location
CN1617224A (en) * 2004-09-06 2005-05-18 华南理工大学 Natural peech vocal partrier device for text and antomatic synchronous method for text and natural voice
CN1770260A (en) * 2004-11-01 2006-05-10 英业达股份有限公司 Speech waveform processing system and method
CN2854764Y (en) * 2005-12-08 2007-01-03 英业达股份有限公司 Induction automatic suspend device of playing system
US20070225973A1 (en) * 2006-03-23 2007-09-27 Childress Rhonda L Collective Audio Chunk Processing for Streaming Translated Multi-Speaker Conversations
KR100820905B1 (en) * 2006-11-20 2008-04-11 (주)한우리아이티 Output controller for audio signal and method thereof
CN101241649A (en) * 2007-02-08 2008-08-13 北京凯诚高清电子技术有限公司 Network education training method and device
CN102460577A (en) * 2009-05-13 2012-05-16 李斗汉 Multimedia file playing method and multimedia player
CN102833490A (en) * 2011-06-15 2012-12-19 新诺亚舟科技(深圳)有限公司 Method and system for editing and playing interactive video, and electronic learning device
CN103299319A (en) * 2011-12-28 2013-09-11 华为技术有限公司 Method and device for analysing video file
CN103632691A (en) * 2012-08-21 2014-03-12 联想(北京)有限公司 Method for playing media file and electronic equipment
CN104967908A (en) * 2014-09-05 2015-10-07 腾讯科技(深圳)有限公司 Video hot spot marking method and apparatus
CN104349139A (en) * 2014-10-17 2015-02-11 国家电网公司 Video study monitoring method used for training platform

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108880681A (en) * 2018-05-28 2018-11-23 许谐兴 A kind of projecting method and equipment based on the li-fi communication technology

Similar Documents

Publication Publication Date Title
CN108259971A (en) Subtitle adding method, device, server and storage medium
CN103795364B (en) For the method and apparatus that coded input signal is decoded
EP2271089A3 (en) Apparatus and method for simultaneously utilizing audio visual data
CN106249903B (en) A kind of playback method and device of virtual reality scenario content
CN103533459B (en) Method and system for splitting news video entry
MY123731A (en) Trick-play modes for pre-encoded video
CN1954604A (en) Recording/reproduction device, recording/reproduction method, recording medium containing a recording/reproduction program, and integrated circuit used in the recording/reproduction device
CN108282684A (en) A kind of multimedia advertising broadcasting method based on scene or special object
WO2003040855A3 (en) Methods for multicasting content
RU2020114319A (en) SYSTEMS AND METHODS FOR RENDERING AND GIVING TIPS TO THE CODER BASED ON THE ASSESSMENT OF PRE-CODED LOADS
CN105704579A (en) Real-time automatic caption translation method during media playing and system
US7149365B2 (en) Image information summary apparatus, image information summary method and image information summary processing program
CN109218847A (en) A kind of download control method, device and multimedia terminal
CN104916288B (en) The method and device of the prominent processing of voice in a kind of audio
CN104795083B (en) A kind of information processing method and electronic equipment
CN110505498A (en) Processing, playback method, device and the computer-readable medium of video
CN106851044A (en) A kind of audio video synchronization back method and device
CN105142029B (en) The editing system and its clipping method of a kind of interdynamic video
CN105892679A (en) Virtual reality image playing method and device
WO2002089007A3 (en) A method for segmenting and indexing tv programs using multi-media cues
CN104952471A (en) Method, device and equipment for synthesizing media file
CN109979434A (en) The test method of local voice mould set product acoustical behavior
CN104658559B (en) Multi-medium play method and device
CN106851422A (en) A kind of video playback automatic pause processing method and system
CN101887739A (en) Method and device for synchronizing media play

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170613

RJ01 Rejection of invention patent application after publication