CN102523513A - Implementation method for accurately obtaining images of original video file on basis of video player - Google Patents

Implementation method for accurately obtaining images of original video file on basis of video player Download PDF

Info

Publication number
CN102523513A
CN102523513A CN2011104596621A CN201110459662A CN102523513A CN 102523513 A CN102523513 A CN 102523513A CN 2011104596621 A CN2011104596621 A CN 2011104596621A CN 201110459662 A CN201110459662 A CN 201110459662A CN 102523513 A CN102523513 A CN 102523513A
Authority
CN
China
Prior art keywords
video
video file
former
implementation method
image
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.)
Granted
Application number
CN2011104596621A
Other languages
Chinese (zh)
Other versions
CN102523513B (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.)
Chengdu Lead Science & Technology Co., Ltd.
Original Assignee
Chengdu Lead Science & Technology Co Ltd
Southwest Jiaotong University
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 Chengdu Lead Science & Technology Co Ltd, Southwest Jiaotong University filed Critical Chengdu Lead Science & Technology Co Ltd
Priority to CN201110459662.1A priority Critical patent/CN102523513B/en
Publication of CN102523513A publication Critical patent/CN102523513A/en
Application granted granted Critical
Publication of CN102523513B publication Critical patent/CN102523513B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses an implementation method for accurately obtaining images of an original video file on the basis of a video player. The method comprises the steps as follows: monitoring the video player through a client side in the whole process to obtain parameters of a video, plugging all the obtained parameters of the video into a function and executing the function, obtaining the video data range of the video played currently through calculation, and performing difference smoothing to video data to obtain the images of the original video file closest to the video data, namely the current frame images. According to the invention, the images of the original video file are obtained according to the video played by the video player, so that the obtained images are clear, and the effect is better.

Description

Accurately obtain the implementation method of former video file image based on video player
Technical field
The present invention relates to the video player field, particularly a kind of implementation method of accurately obtaining former video file image based on video player.
Background technology
Video player is meant the software that can play with the video of digital signal form storage, and except the minority wave file, most of video players carry decoder with reduction process compressed media file.Because the frame per second of former video file is generally 24-30 frame/second; And video player comes displaying video with the frame per second of about 50-60 frame/second usually; All video players are also wanted the algorithm of built-in a whole set of inversion frequency and buffering, and after the frequency inverted, the frame per second of the video player just frame per second with former video file is different; Many new video images have been increased; This video image is that the image of former video file is handled and obtained, will inevitably be different with the image of former video file, and image effect descends.
The function of existing in addition calculating video image can only calculate the video image of video player; When this video image being carried out operation such as sectional drawing; Resulting video image is compared with the image of former video file, effect can occur and descend, not fogging problem such as clear.
Summary of the invention
The object of the invention is, provides a kind of and accurately obtains the implementation method of former video file image based on video player, can accurately obtain the image of former video file, thereby cause the sectional drawing clear picture, and improve the effect of sectional drawing image.
For solving above technical problem, a kind ofly accurately obtain the implementation method of former video file image based on video player, comprising:
Obtain the video data scope of current displaying video;
This video data is carried out the difference smoothing processing;
Obtain the current frame image of former video file.
The frame per second of said video player displaying video is different with the frame per second of former video file.
Said difference is to confirm according to the frame per second of the frame per second of video player displaying video and former video file.
The length of said video data scope is greater than the frame length of former video file image one frame.
Said current frame image is near the former video file image of video data.
Said video player is when carrying out sectional drawing to a certain two field picture; Obtain corresponding former video file image through obtaining current playing video data scope and this video data being carried out the difference smoothing processing; To this image sectional drawing, picture was preserved in prompting after sectional drawing was accomplished.
When client was added remark information, client can respond and eject the remarks frame that is used for input information.
After video player obtained remark information, client was sent the HTTP request this remark information is transferred to server.
Server adds remark information to database after receiving the HTTP request of client transmission, then the storage situation is transferred to client through return information.
Through analyzing said return information, be used to judge whether said remark information preserves success, carry out corresponding operation according to judged result.
Compared with prior art; The present invention is based on video player and accurately obtain the implementation method of former video file image; Through obtaining the video data scope of current displaying video, and this video data is carried out the difference smoothing processing, thereby obtain the current frame image of former video file; And this video player can be to the current frame image sectional drawing in displaying video; Need not to use external auxiliary instrument sectional drawing, thereby cause the sectional drawing clear picture, reduce the time and the step of sectional drawing when improving the sectional drawing image effect; In addition, this video player can add remark information, after client is obtained remark information; Send the HTTP request remark information is transferred to server, server adds this remark information in the database to, returns interpolation information; Whether the user likes this video through remark information; Broadcast situation etc. has detailed understanding, searches problems such as the follow-up connection of video after the solution video breaks, for the user provides convenience.
Description of drawings
Fig. 1 the present invention is based on the data flow figure that video player accurately obtains the implementation method of former video file image;
Fig. 2 the present invention is based on the implementation method flow chart that video player accurately obtains former video file image;
Fig. 3 is the implementation method flow chart of the former video file sectional drawing of video player of the present invention;
Fig. 4 is the implementation method flow chart that video player of the present invention adds remark information.
Embodiment
In order to make those skilled in the art understand technical scheme of the present invention better, the present invention is done further detailed description below in conjunction with accompanying drawing and specific embodiment.
Referring to Fig. 1, player is based on the Flash technology, mainly in webpage, carries out the broadcast of video, and client browser at first request server obtains corresponding video, and server returns video to client, is loaded into then in the client terminal web page player and plays.
This video player realizes that the concrete operations of displaying video are following:
Client browser is through sending the HTTP request, with the address of client with the information such as video that will play send server to;
Server receives the HTTP request, in database, searches the needed video of client according to the HTTP information requested;
Server turns back to client according to the result who searches, and client is carried out corresponding operation according to the result who returns, and concrete operations are following:
If server can not find this video, show on video player at client end that then this video file does not exist.
If server has found this video, then video player at client end is through carrying out decompress(ion) and playing to this video file.
Referring to Fig. 2, in order to realize video player accurate operation to image realization single frames in video display process, the present invention mainly adopts following method:
S201, obtain the parameter of displaying video:
Video is to use the video web page player on the client to play; Client just can omnidistancely be monitored video display process; Parameter such as obtain reproduction time, video frame rate, the F.F. of video and retreat, and all video parameters are transferred to corresponding function.
S202, operation function:
Said function is the function of existing calculating video image, with all video parameter substitution functions that obtain, and to the function operation of substitution parameter, will obtain current video data like this.
S203, obtain the video data scope of displaying video:
The result of operation function has obtained current video data, selects the appropriate data scope according to the frame per second of former video file in the front and back of the position at current video data place then.
S204, video data is carried out the difference smoothing processing:
Obtain the concrete numerical value of difference according to the frame per second of the frame per second of video player displaying video and former video file through test, just video data moves forward and retreats then, searches the image that video player and former video literary composition advance to overlap.
S205, obtain the current frame image of former video file:
According to obtaining two adjacent images after the difference smoothing processing, selecting from the nearest image of video data is current frame image, and from former video file, reads.
S206, obtain the consecutive frame image of former video file:
Through the current frame image that obtains, navigate to down some frames or go up some two field pictures according to the frame per second of former video file, the image setting of location is become current frame image so that operation.
In sum; The present invention is through obtaining the video data scope of current displaying video; And this video data of difference smoothing processing, obtain the former video file image of present frame, navigate to needed image according to current frame image then; Former video file is accurately operated, made clear picture and the effect obtained better.
Video player of the present invention can be in displaying video the cut-away view picture, said image is that the video data according to current broadcast obtains the image of corresponding former video file with it, its concrete operations are following:
S301, obtain the current video data scope:
Video according to the current broadcast of the omnidistance monitoring of client obtains video parameter, and with parameter substitution function operation, just obtains the video data scope at displaying video.
S302, obtain the current frame image that needs sectional drawing:
Above-mentioned video data is carried out the difference smoothing processing, obtain current frame image, said current frame image is near the former video file image of video data.
S303, carry out sectional drawing:
Current frame image is presented at video player, and this image is carried out sectional drawing.
S304, preservation image:
If image is preserved successfully, then get into step S305;
If image is preserved failure, then get into step S306;
After above-mentioned image was accomplished sectional drawing, prompting was preserved this image, made things convenient for the user to search or used this image.
S305, return and preserve the image successful information:
After preserving the sectional drawing success, will return preservation image successful information and be transferred to the user, and remind the user to operate successfully.
S306, return and preserve the image failure information:
The image of sectional drawing can't be preserved or other modes cause image to preserve failure, then returns preservation image failure information and is transferred to the user, reminds this operation failure of user, and the user according to circumstances by oneself.
Said method can carry out sectional drawing by the image to former video file in video playback, make the clear and better effects if of truncated picture, has made things convenient for the user simultaneously, has reduced time and the step of using outside sectional drawing aid.
Video player of the present invention can add remark information, and client is obtained after the remark information, through the HTTP request remark information is transferred to server; Server receives this HTTP request; Content according to request deposits said remark information in the database in, and the storage situation is turned back to client, and client is analyzed return information; Carry out corresponding operation response according to actual conditions, its concrete steps are following:
S401, obtain the remark information of interpolation:
When the user has certain idea to the video of playing; Will add some remark informations; For example the user will finish video for a certain reason now and prepares next time and watch, and just need carry out remarks to the time of current displaying video, according to user's oneself custom and idea; The convenient remark information of oneself understanding of input ejects the remarks frame that is used to obtain the interpolation remark information when client can respond this operation.
S402, transmission remark information are given server:
Client is obtained after the remark information, through sending the HTTP request, this remark information is transferred to server.
S403, obtain the return information of server:
Server receives the HTTP request, according to the content of HTTP request, described remark information is transferred to database also this remark information is deposited in the database, simultaneously the result of storage is transmitted so that client is obtained this return information through return information.
S404, analysis return information:
If analysis result video data storage failure then gets into step S405;
If the analysis result video data is stored successfully, then get into step S406;
Client receives return information, and this return information is analyzed, and carries out different operation according to the result who analyzes.
S405, prompting user:
The remark information failure is promptly added in storage failure, and client is reminded the user through sending means such as alarm, receive prompting after, whether the user returns the operation that step S401 perhaps abandons remarks according to own actual conditions decision.
The remark information success is added in S407, demonstration:
Client is stored successfully the analysis result video data of return information, representes that then this remark information adds successfully, and client will point out this remark information information of successful to be transferred to the user.
The said method client is through the HTTP request; The remarks letter is transferred to server; Server adds remark information according to request in database; Said remark information can be pointed out to the user in the displaying video the user once more, makes things convenient for the user that this video broadcast last time situation etc. is had detailed understanding, thereby provides convenience for the user.
Only be preferred implementation of the present invention below, should be pointed out that above-mentioned preferred implementation should not be regarded as limitation of the present invention, protection scope of the present invention should be as the criterion with claim institute restricted portion.For those skilled in the art, do not breaking away from the spirit and scope of the present invention, can also make some improvement and retouching, these improvement and retouching also should be regarded as protection scope of the present invention.

Claims (10)

1. one kind is accurately obtained the implementation method of former video file image based on video player, it is characterized in that, comprising:
Obtain the video data scope of current broadcast;
This video data is carried out the difference smoothing processing;
Obtain the current frame image of former video file.
2. accurately obtain the implementation method of former video file image according to claim 1 based on video player, it is characterized in that the frame per second of said video player displaying video is different with the frame per second of former video file.
3. video player single frames operation implementation method as claimed in claim 2 is characterized in that said difference is to confirm according to the frame per second of the frame per second of video player displaying video and former video file.
4. accurately obtain the implementation method of former video file image according to claim 1 based on video player, it is characterized in that the length of said video data scope is greater than the frame length of former video file image one frame.
5. accurately obtain the implementation method of former video file image according to claim 1 based on video player, it is characterized in that, said current frame image is near the former video file image of video data.
6. accurately obtain the implementation method of former video file image according to claim 1 based on video player; It is characterized in that; When a certain two field picture is carried out sectional drawing; Obtain corresponding former video file image through obtaining current playing video data scope and this video data being carried out the difference smoothing processing, to this image sectional drawing, picture was preserved in prompting after sectional drawing was accomplished.
7. accurately obtain the implementation method of former video file image according to claim 1 based on video player, it is characterized in that, when client was added remark information, client can respond and eject the remarks frame that is used to import remark information.
8. accurately obtain the implementation method of former video file image as claim 7 is said based on video player, it is characterized in that, after video player obtained remark information, client was sent the HTTP request this remark information is transferred to server.
9. like the said implementation method of accurately obtaining former video file image based on video player of claim 8; It is characterized in that; Server adds remark information to database after receiving the HTTP request of client transmission, then the storage situation is transferred to client through return information.
10. accurately obtain the implementation method of former video file image as claim 9 is said based on video player, it is characterized in that, be used to judge whether said remark information preserves success, carry out corresponding operation according to judged result through analyzing said return information.
CN201110459662.1A 2011-12-31 2011-12-31 Implementation method for accurately obtaining images of original video file on basis of video player Active CN102523513B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110459662.1A CN102523513B (en) 2011-12-31 2011-12-31 Implementation method for accurately obtaining images of original video file on basis of video player

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110459662.1A CN102523513B (en) 2011-12-31 2011-12-31 Implementation method for accurately obtaining images of original video file on basis of video player

Publications (2)

Publication Number Publication Date
CN102523513A true CN102523513A (en) 2012-06-27
CN102523513B CN102523513B (en) 2015-04-29

Family

ID=46294287

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110459662.1A Active CN102523513B (en) 2011-12-31 2011-12-31 Implementation method for accurately obtaining images of original video file on basis of video player

Country Status (1)

Country Link
CN (1) CN102523513B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107483860A (en) * 2014-12-10 2017-12-15 陈国栋 Suitable for improving the storage of safety monitoring video and the back method of efficiency of solving a case
CN110166795A (en) * 2018-07-19 2019-08-23 腾讯科技(深圳)有限公司 A kind of video interception method and device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1873820A (en) * 2006-05-18 2006-12-06 北京中星微电子有限公司 Method for processing video file, method for indexing video, and video indexing unit
CN101217638A (en) * 2007-12-28 2008-07-09 深圳市迅雷网络技术有限公司 A downloading method, system and device of video file fragmentation
US20090049186A1 (en) * 2007-08-16 2009-02-19 Sony Corporation, A Japanese Corporation Method to facilitate trick-modes for streaming video
CN101540881A (en) * 2008-03-19 2009-09-23 华为技术有限公司 Method, device and system for realizing positioning playing of streaming media
CN101702941A (en) * 2007-04-23 2010-05-05 数字源泉公司 Apparatus and method for low bandwidth play position previewing of video content
US20110150433A1 (en) * 2009-12-22 2011-06-23 Albert Alexandrov Systems and methods for video-aware screen capture and compression
CN102118539A (en) * 2009-12-30 2011-07-06 Tcl集团股份有限公司 Multimedia playing terminal as well as playing method and device for dragging multimedia files
CN102157183A (en) * 2011-01-13 2011-08-17 福州瑞芯微电子有限公司 Method for realizing video capturing on video player of portable electronic equipment
CN102547374A (en) * 2010-12-07 2012-07-04 华录文化产业有限公司 Video image preview method and device based on play time point

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1873820A (en) * 2006-05-18 2006-12-06 北京中星微电子有限公司 Method for processing video file, method for indexing video, and video indexing unit
CN101702941A (en) * 2007-04-23 2010-05-05 数字源泉公司 Apparatus and method for low bandwidth play position previewing of video content
US20090049186A1 (en) * 2007-08-16 2009-02-19 Sony Corporation, A Japanese Corporation Method to facilitate trick-modes for streaming video
CN101217638A (en) * 2007-12-28 2008-07-09 深圳市迅雷网络技术有限公司 A downloading method, system and device of video file fragmentation
CN101540881A (en) * 2008-03-19 2009-09-23 华为技术有限公司 Method, device and system for realizing positioning playing of streaming media
US20110150433A1 (en) * 2009-12-22 2011-06-23 Albert Alexandrov Systems and methods for video-aware screen capture and compression
CN102118539A (en) * 2009-12-30 2011-07-06 Tcl集团股份有限公司 Multimedia playing terminal as well as playing method and device for dragging multimedia files
CN102547374A (en) * 2010-12-07 2012-07-04 华录文化产业有限公司 Video image preview method and device based on play time point
CN102157183A (en) * 2011-01-13 2011-08-17 福州瑞芯微电子有限公司 Method for realizing video capturing on video player of portable electronic equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107483860A (en) * 2014-12-10 2017-12-15 陈国栋 Suitable for improving the storage of safety monitoring video and the back method of efficiency of solving a case
CN107483860B (en) * 2014-12-10 2020-12-22 四川蜀天信息技术有限公司 Security monitoring video storage and playback method suitable for improving case solving efficiency
CN110166795A (en) * 2018-07-19 2019-08-23 腾讯科技(深圳)有限公司 A kind of video interception method and device
CN110166795B (en) * 2018-07-19 2022-02-18 腾讯科技(深圳)有限公司 Video screenshot method and device

Also Published As

Publication number Publication date
CN102523513B (en) 2015-04-29

Similar Documents

Publication Publication Date Title
CN108737908B (en) Media playing method, device and storage medium
CN109168078B (en) Video definition switching method and device
WO2017107649A1 (en) Video transmission method and device
CN109936763B (en) Video processing and publishing method
CN103024561A (en) Method and device for displaying dragging progress bar
US10271105B2 (en) Method for playing video, client, and computer storage medium
US8984561B2 (en) Moving-image playing apparatus and method
US11694316B2 (en) Method and apparatus for determining experience quality of VR multimedia
CN103092467B (en) A kind of method and device of video preview
CN108737884B (en) Content recording method and equipment, storage medium and electronic equipment
CN110166795B (en) Video screenshot method and device
US10021433B1 (en) Video-production system with social-media features
CN105472471A (en) Smart television and method for displaying online video detail page of smart television
US20140255000A1 (en) Video playback system and method based on highlight information
CN105451098A (en) Method and device for providing multimedia file
CN111698261B (en) Video playing method, device, equipment and storage medium based on streaming media
CN102523513A (en) Implementation method for accurately obtaining images of original video file on basis of video player
EP1455360A2 (en) Disc apparatus, disc recording method, disc playback method, recording medium, and program
CN113422980A (en) Video data processing method and device, electronic equipment and storage medium
US20140369422A1 (en) Remultiplexing Bitstreams of Encoded Video for Video Playback
CN114245229B (en) Short video production method, device, equipment and storage medium
CN110856028B (en) Media data playing method, equipment and storage medium
CN114268847A (en) Video playing method and device, electronic equipment and storage medium
CN113051233A (en) Processing method and device
JP2008048113A (en) Dynamic image data distribution system, dynamic image data distribution method, dynamic image data providing method, dynamic image data distribution program, dynamic image data providing program, and computer-readable recording medium recorded with these programs

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20170410

Address after: 610031 Sichuan City, Chengdu Province, No. two North Ring Road, No. 111

Co-patentee after: Chengdu Lead Science & Technology Co., Ltd.

Patentee after: Southwest Jiaotong University

Co-patentee after: Wang Li

Co-patentee after: Gao Xiaorong

Co-patentee after: Wang Zeyong

Co-patentee after: Zhao Quanke

Address before: 610031 City, Chengdu Province, north section of the ring road, Sichuan

Co-patentee before: Chengdu Lead Science & Technology Co., Ltd.

Patentee before: Southwest Jiaotong University

TR01 Transfer of patent right
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20180507

Address after: Office building, modern industrial center, Southwest Jiao Tong University, 111 north section two ring road, Chengdu, Sichuan

Co-patentee after: Chengdu Lead Science & Technology Co., Ltd.

Patentee after: Chengdu Southwest Jiaotong University Tech Park Management Co., Ltd.

Co-patentee after: Wang Li

Co-patentee after: Gao Xiaorong

Co-patentee after: Wang Zeyong

Co-patentee after: Zhao Quanke

Address before: 610031 No. two, section 111, ring road, Chengdu, Sichuan, China

Co-patentee before: Chengdu Lead Science & Technology Co., Ltd.

Patentee before: Southwest Jiaotong University

Co-patentee before: Wang Li

Co-patentee before: Gao Xiaorong

Co-patentee before: Wang Zeyong

Co-patentee before: Zhao Quanke

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20181025

Address after: 610000 Sichuan Chengdu Shuangliu District Southwest Airport Economic Development Zone Southwest Jiao Tong University Research Institute

Co-patentee after: Chengdu Leading Technology Co., Ltd.

Patentee after: CHENGDU SOUTHWEST JIAOTONG UNIVERSITY RESEARCH INSTITUTE CO., LTD.

Co-patentee after: Wang Li

Co-patentee after: Gao Xiaorong

Co-patentee after: Wang Zeyong

Co-patentee after: Zhao Quanke

Address before: 610000 office building, modern industrial center, Southwest Jiao Tong University, 111 ring two North Road, Chengdu, Sichuan.

Co-patentee before: Chengdu Leading Technology Co., Ltd.

Patentee before: Chengdu Southwest Jiaotong University Tech Park Management Co., Ltd.

Co-patentee before: Wang Li

Co-patentee before: Gao Xiaorong

Co-patentee before: Wang Zeyong

Co-patentee before: Zhao Quanke

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20190211

Address after: 610000 block 45, zone A, high-tech zone, Jiao long industrial port, Qingyang District, Chengdu, Sichuan.

Co-patentee after: Wang Li

Patentee after: Chengdu Lead Science & Technology Co., Ltd.

Co-patentee after: Gao Xiaorong

Co-patentee after: Wang Zeyong

Co-patentee after: Zhao Quanke

Address before: 610000 Sichuan Chengdu Shuangliu District Southwest Airport Economic Development Zone Southwest Jiao Tong University Research Institute

Co-patentee before: Chengdu Leading Technology Co., Ltd.

Patentee before: CHENGDU SOUTHWEST JIAOTONG UNIVERSITY RESEARCH INSTITUTE CO., LTD.

Co-patentee before: Wang Li

Co-patentee before: Gao Xiaorong

Co-patentee before: Wang Zeyong

Co-patentee before: Zhao Quanke