[go: up one dir, main page]

CN103701859A - Method and system for tracing video file source - Google Patents

Method and system for tracing video file source Download PDF

Info

Publication number
CN103701859A
CN103701859A CN201310651671.XA CN201310651671A CN103701859A CN 103701859 A CN103701859 A CN 103701859A CN 201310651671 A CN201310651671 A CN 201310651671A CN 103701859 A CN103701859 A CN 103701859A
Authority
CN
China
Prior art keywords
video
source
video file
sequence information
file
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
CN201310651671.XA
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.)
China Security and Fire Technology Co Ltd
Original Assignee
China Security and Fire 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 China Security and Fire Technology Co Ltd filed Critical China Security and Fire Technology Co Ltd
Priority to CN201310651671.XA priority Critical patent/CN103701859A/en
Publication of CN103701859A publication Critical patent/CN103701859A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Television Signal Processing For Recording (AREA)

Abstract

The invention discloses a method and a system for tracing a video file source, which belongs to the field of video monitoring. The method comprises the following steps that when a video file is downloaded, video source information and the video file transmitted from a video monitoring platform are received, and the video source information is written into the end of the video file; when the video file is used, the video source information at the end of the video file is acquired for later service logic use. According to the method and the system, when the file is acquired from the video monitoring platform, the source information is added to the video file, when the video is used, the source information is extracted from the video file, geographic space and time information is provided for users to analyze the video, the purpose that the source information of the video is constantly automatically recoded in the video dispatching and transfer process is achieved, and the users do not need to artificially judge and maintain the video source information each time when the video file is used.

Description

A kind of method and system of reviewing video file source
Technical field
The present invention relates to field of video monitoring, relate in particular to a kind of method and system of reviewing video file source.
Background technology
Along with universal at safety-security area of video monitoring platform, video monitoring platform is being brought into play increasing effect in king's peace field.People's police are when investigating the case, need to be from each large-scale video monitoring platform or small-sized supervisory control system copy, montage video clip the evidence as case, people's police are when using video recording clue to analyze merit, and the temporal information of video recording and geospatial information are very important information.Existing supervisory control system mainly relies on frequently source-information of video visual watermark information photopic vision, also i.e. the recording time of display video, camera title (conventionally naming with geographical position, such as crossing, the Lu Qingchun of martial arts circles road) etc. on each frame of video.These watermark informations are on recording when video recording and be superimposed upon the picture frame of video, user can observe these watermark informations by player and understand video record place (camera title, camera place longitude and latitude) and recording time, but cannot be by the system when and where that identification is recorded automatically.User, in copying, share, file the process of video recording, needs the manual source video sequence information of safeguarding of result of observing, analyzing according to oneself.
Summary of the invention
In view of this, the technical problem to be solved in the present invention is to provide a kind of method and system of reviewing video file source, automatically to record all the time the source-information of this video in video distribution and circulation process, without user in each artificial judgment and safeguard source video sequence information while using video file.
It is as follows that the present invention solves the problems of the technologies described above adopted technical scheme:
According to an aspect of the present invention, a kind of method of reviewing video file source providing comprises:
When downloading video files, source video sequence information and video file that receiver, video monitor supervision platform sends, and source video sequence information is written to video file end;
When application video file, obtain the source video sequence information at video file end for follow-up business logic.
Preferably, source video sequence information and video file that above-mentioned receiver, video monitor supervision platform sends, and source video sequence information is written to video file end further comprises:
The download parameters that receiver, video monitor supervision platform sends, and according to download parameters downloading video files; Wherein, download parameters comprises source video sequence information;
Convert each field of source video sequence information to byte arrays;
Each byte arrays is spliced into byte serial, before byte serial, increases origin identification, after byte serial, increase and finish sign, obtain source-information byte serial;
Source-information byte serial is appended to the video file end of download.
Preferably, the above-mentioned source video sequence information of obtaining video file end further comprises:
File access pointer is navigated to video file end, read from back to front source video sequence information origin identification;
From origin identification byte, read successively each field in source video sequence information.
Preferably, for follow-up business logic, comprise: according to application demand, source video sequence information is saved in video relative recording, with mode word, is presented on video and/or on map and marks.
Preferably, for follow-up business logic, comprise: when video file is carried out to montage, source video sequence information is written to the end of the video file of new montage.
Preferably, above-mentioned source video sequence information comprises: control point ID, control point longitude and latitude, video initial time, video duration and/or control point title.
According to another aspect of the present invention, a kind of system of reviewing video file source providing comprises:
Download client, for when the downloading video files, source video sequence information and video file that receiver, video monitor supervision platform sends, and source video sequence information is written to video file end;
Extraction element, for when applying video file, reads the source video sequence information at video file end for follow-up business logic.
Preferably, download client further comprises:
Receiver module, the download parameters sending for receiver, video monitor supervision platform, and according to download parameters downloading video files; Wherein, download parameters comprises source video sequence information;
Concatenation module, for converting each field of source video sequence information to byte arrays, and is spliced into byte serial by each byte arrays, increases origin identification before byte serial, after byte serial, increases and finishes sign, obtains source-information byte serial;
Writing module, for appending to source-information byte serial at the video file end of download.
Preferably, extraction element further comprises:
Locating module, for file access pointer is navigated to video file end, reads source video sequence information origin identification from back to front;
Read module, for reading successively each field of source video sequence information from origin identification byte.Preferably, this system also comprises application apparatus, and application apparatus further comprises:
Labeling module, for according to application demand, is saved in source video sequence information in video relative recording, with mode word, is presented on video and/or on map and marks;
Montage module, for when video file is carried out to montage, is written to source video sequence information at the end of the video file of new montage.
Preferably, upper source video sequence information comprises: control point ID, control point longitude and latitude, video initial time, video duration and/or control point title.The method and system of reviewing video file source that the embodiment of the present invention provides, when obtaining file from video monitoring platform, source-information is appended in video file, when application video, from video file, extract source-information, automatically for customer analysis video provides geographical space and temporal information, realize and in video distribution and circulation process, automatically record all the time the source-information of this video, without user in each artificial judgment and safeguard source video sequence information while using video file.
Accompanying drawing explanation
Fig. 1 is a kind of method flow diagram of reviewing video file source that the embodiment of the present invention provides.
Fig. 2 is the method flow diagram of a kind of downloading video files of providing of the preferred embodiment of the present invention.
Fig. 3 is a kind of method flow diagram that extracts source video sequence information that the preferred embodiment of the present invention provides.
Fig. 4 is a kind of system construction drawing of reviewing video file source that the embodiment of the present invention provides.
Embodiment
In order to make technical problem to be solved by this invention, technical scheme and beneficial effect clearer, clear, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
Be a kind of method of reviewing video file source that the embodiment of the present invention provides as shown in Figure 1, the method comprises:
S102, when downloading video files, source video sequence information and video file that receiver, video monitor supervision platform sends, and source video sequence information is written to video file end.
Wherein, source video sequence information includes but not limited to: a kind of or any multiple combination in control point ID, control point longitude and latitude, video initial time, video duration and control point title.
S104, in application, during video file, obtain the source video sequence information at video file end for follow-up business logic.
Another kind of preferred version as the present embodiment, follow-up business logic is used the combination in any that includes but not limited to following several modes: according to application demand, source video sequence information is saved in video relative recording, with mode word, is presented on video or on map and marks.According to application demand, source-information is saved in video recording relative recording.When user uses these files, application system can show source-information with mode word, or directly on map, marks source-information.
Another kind of preferred version as the present embodiment, the source video sequence information of obtaining video file end also comprises for follow-up business logic: when video file is carried out to montage, from video file, read source video sequence information, source video sequence information is written to the end of the video file of new montage.That is to say, to comprising of downloading by the embodiment of the present invention any one section of video file in the video file of source-information carry out montage and save as after new video file, source-information is further saved in to the end of the video file of new montage, thereby guarantees to record all the time in the distribution afterwards of this video file and circulation process the source-information of this video file.The method of reviewing video file source that the embodiment of the present invention provides, when obtaining file from video monitoring platform, source-information is appended in video file, during application video, from video file, extract source-information, automatically for customer analysis video provides geographical space and temporal information, realize and in video distribution and circulation process, automatically record all the time the source-information of this video, without user in each artificial judgment and safeguard source video sequence information while using video file.
Refer to Fig. 2, the method for a kind of downloading video files that the preferred embodiment of the present invention provides comprises:
The download parameters that S1022, receiver, video monitor supervision platform send, and according to download parameters downloading video files.
Wherein, download parameters comprises source video sequence information.
Specifically, download and download after video clip to large-scale video monitoring networking platform or small-sized supervisory control system request, video monitoring networking platform is to the transmission series of parameters that downloads, such as: control point ID, need the initial time, video recording duration, control point title, control point longitude and latitude of the video recording downloaded etc.Receive after these parameters, start to carry out downloading task according to download parameters.
S1024, convert each field of source video sequence information to byte arrays, each byte arrays is spliced into byte serial, before byte serial, increase origin identification, after byte serial, increase and finish sign, obtain source-information byte serial.
Specifically, download parameter relevant to source video sequence in download parameters, such as video time started, video duration, control point ID, control point title, control point longitude and latitude etc. are encapsulated in a byte serial, this byte serial comprises following components:
Origin identification: 55AAAA55 (four bytes represent to come segments of source data to start)
Control point ID:00000101 (four bytes represent control point ID=257)
Tetra-bytes of control point longitude: 33e3143(, represent that control point longitude is 129.8875)
Control point latitude: fb dc442 (four bytes represent that control point latitude is 33.2158)
Video recording initial time: 000001423702f4c0 (eight bytes represent the date)
Video recording duration: 001b7740 (four bytes, represent time span, and unit is millisecond)
Control point title: ... (bytecode of the character string of the utf8 coding of indefinite length)
Finish sign: 55AAAA55 (four bytes represent to come segments of source data to finish)
It should be noted that, above-mentioned byte serial is only to illustrate, and in actual use, the field comprising of byte serial and the rule of each field can increase and decrease according to actual needs and define.Such as, the simplest mode can only be write a control point ID, now, after extracting source video sequence information, also needs to go video monitoring platform query monitor to put corresponding title and coordinate according to control point ID.
S1026, source-information byte serial is appended to the video file end of download.
The method of the downloading video files that the embodiment of the present invention provides, when obtaining file from video monitoring platform, appends to source-information in video file, and during for application video, automatic acquisition source-information is prepared.
As shown in Figure 3, a kind of method of extracting source video sequence information that the preferred embodiment of the present invention provides comprises:
S1042, file access pointer is navigated to video file end, read from back to front source video sequence information origin identification.
For instance, obtain after video file, program navigates to video file end automatically.Read 4, end byte, if byte content is 55AAAA55(, finish sign), represent that this video contains source-information, continue to travel through forward the byte in file reading, find source-information origin identification byte (55AAAA55); Otherwise represent that this video does not include source-information, stop reading source-information.
S1044, from origin identification byte, read successively each field in source video sequence information.
For instance, from origin identification byte section, first byte starts to read successively each field in source video sequence information.Read successively following content: 32 integers of tetra-bytes of control point ID(), control point longitude (floating numbers of four bytes), control point latitude (floating numbers of four bytes), video recording initial time (64 integers of eight bytes), video recording duration (32 integers of four bytes), control point title.All as the composition of control point title, character code mode is utf8 to remainder bytes (last four directly except)).
S1046, source-information is saved in relative recording.
Specifically, according to application demand, source-information is saved in relative recording.When user uses these files, application system can show source-information with mode word, or directly on map, marks source-information.
The method of the extraction source video sequence information that the embodiment of the present invention provides, when application video, from video file, extract source-information, automatically for customer analysis video provides geographical space and temporal information, the source-information of this video is automatically recorded all the time in realization in video distribution and circulation process, without user in each artificial judgment and safeguard source video sequence information while using video file.
As shown in Figure 4, a kind of system of reviewing video file source that the embodiment of the present invention provides comprises:
Download client 10, for when the downloading video files, source video sequence information and video file that receiver, video monitor supervision platform sends, and source video sequence information is written to video file end.
As a kind of preferred version of the present embodiment, download client 10 further comprises:
Receiver module 101, the download parameters sending for receiver, video monitor supervision platform, and according to download parameters downloading video files; Wherein, download parameters comprises source video sequence information; This source video sequence information comprises: any one in control point ID, control point longitude and latitude, video initial time, video duration, control point title or multiple combination.
Concatenation module 102, for converting each field of source video sequence information to byte arrays, and is spliced into byte serial by each byte arrays, increases origin identification before byte serial, after byte serial, increases and finishes sign, obtains source-information byte serial;
Writing module 103, for appending to source-information byte serial at the video file end of download.
Extraction element 20, for when applying video file, obtains the source video sequence information at video file end for follow-up business logic.
As a kind of preferred version of the present embodiment, extraction element 20 further comprises:
Locating module 201, for file access pointer is navigated to video file end, reads source video sequence information origin identification from back to front;
Read module 202, for reading successively each field of source video sequence information from origin identification byte.
As the another kind of preferred version of the present embodiment, this system can also comprise application apparatus 30, and for use described source-information according to application demand, application apparatus 30 further comprises:
Labeling module 301, for being saved in source video sequence information video relative recording, being presented at video and/or marking on map with mode word;
Montage module 302 for when video file is carried out to montage, reads source video sequence information from video file, source video sequence information is written to the end of the video file of new montage.Specifically, to comprising of downloading by the embodiment of the present invention any one section of video file in the video file of source-information carry out montage and save as after new video file, source-information is further saved in to the end of the video file of new montage, thereby guarantees to record all the time in the distribution afterwards of this video file and circulation process the source-information of this video file.
It should be noted that, all technical characterictics in said method embodiment are applicable equally in native system, no longer repeat here.
The system of reviewing video file source that the embodiment of the present invention provides, when download client obtains file from video monitoring platform, source-information is appended in video file, extraction element extracts source-information from video file, automatically for customer analysis video provides geographical space and temporal information, the source-information of this video is automatically recorded all the time in realization in video distribution and circulation process, without user in each artificial judgment and safeguard source video sequence information while using video file.
With reference to the accompanying drawings of the preferred embodiments of the present invention, not thereby limit to interest field of the present invention above.Those skilled in the art do not depart from the scope and spirit of the present invention, and can have multiple flexible program to realize the present invention, such as the feature as an embodiment can be used for another embodiment, obtain another embodiment.Allly using any modification of doing within technical conceive of the present invention, be equal to and replace and improve, all should be within interest field of the present invention.

Claims (10)

1. a method of reviewing video file source, is characterized in that, the method comprises:
When downloading video files, source video sequence information and video file that receiver, video monitor supervision platform sends, and described source video sequence information is written to video file end;
When application video file, read the source video sequence information at described video file end for follow-up business logic.
2. method of reviewing video file source according to claim 1, is characterized in that, source video sequence information and video file that described receiver, video monitor supervision platform sends, and described source video sequence information is written to video file end further comprises:
The download parameters that receiver, video monitor supervision platform sends, and according to described download parameters downloading video files; Wherein, described download parameters comprises source video sequence information;
Convert each field of described source video sequence information to byte arrays, and each byte arrays is spliced into byte serial, before described byte serial, increase origin identification, after described byte serial, increase and finish sign, obtain source-information byte serial;
Described source-information byte serial is appended to the video file end of download.
3. method of reviewing video file source according to claim 2, is characterized in that, described in read described video file end source video sequence information further comprise:
File access pointer is navigated to video file end, read from back to front source video sequence information origin identification;
From described origin identification byte section, first byte starts to read successively each field in source video sequence information.
4. method of reviewing video file source according to claim 1, is characterized in that, describedly for follow-up business logic, further comprises:
According to application demand, source video sequence information is saved in video relative recording, with mode word, is presented on video and/or on map and marks; And/or
When described video file is carried out to montage, described source video sequence information is written to the end of the video file of new montage.
5. according to the method for reviewing video file source described in claim 1-4 any one claim, it is characterized in that, described source video sequence information comprises: control point ID, control point longitude and latitude, video initial time, video duration and/or control point title.
6. a system of reviewing video file source, is characterized in that, this system comprises:
Download client, for when the downloading video files, source video sequence information and video file that receiver, video monitor supervision platform sends, and described source video sequence information is written to video file end;
Extraction element, for when applying video file, reads the source video sequence information at described video file end for follow-up business logic.
7. system of reviewing video file source according to claim 6, is characterized in that, described download client further comprises:
Receiver module, the download parameters sending for receiver, video monitor supervision platform, and according to described download parameters downloading video files; Wherein, described download parameters comprises source video sequence information;
Concatenation module, for converting each field of described source video sequence information to byte arrays, and each byte arrays is spliced into byte serial, before described byte serial, increases origin identification, after described byte serial, increase and finish sign, obtain source-information byte serial;
Writing module, for appending to described source-information byte serial at the video file end of download.
8. system of reviewing video file source according to claim 7, is characterized in that, described extraction element further comprises:
Locating module, for file access pointer is navigated to video file end, reads source video sequence information origin identification from back to front;
Read module, for reading successively each field of source video sequence information from origin identification byte.
9. system of reviewing video file source according to claim 6, is characterized in that, this system also comprises application apparatus, and described application apparatus further comprises:
Labeling module, for according to application demand, is saved in source video sequence information in video relative recording, with mode word, is presented on video and/or on map and marks;
Montage module, for when described video file is carried out to montage, is written to described source video sequence information at the end of the video file of new montage.
10. according to the system of reviewing video file source described in claim 6-9 any one claim, it is characterized in that, described source video sequence information comprises: control point ID, control point longitude and latitude, video initial time, video duration and/or control point title.
CN201310651671.XA 2013-12-04 2013-12-04 Method and system for tracing video file source Pending CN103701859A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310651671.XA CN103701859A (en) 2013-12-04 2013-12-04 Method and system for tracing video file source

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310651671.XA CN103701859A (en) 2013-12-04 2013-12-04 Method and system for tracing video file source

Publications (1)

Publication Number Publication Date
CN103701859A true CN103701859A (en) 2014-04-02

Family

ID=50363253

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310651671.XA Pending CN103701859A (en) 2013-12-04 2013-12-04 Method and system for tracing video file source

Country Status (1)

Country Link
CN (1) CN103701859A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106850564A (en) * 2016-12-29 2017-06-13 北京安天网络安全技术有限公司 A kind of method and system for positioning file transverse shifting path
CN109525663A (en) * 2018-11-15 2019-03-26 视联动力信息技术股份有限公司 A kind of methods of exhibiting and system of video data
CN111147875A (en) * 2019-12-25 2020-05-12 视联动力信息技术股份有限公司 Service duration display method and device
CN113076547A (en) * 2021-03-31 2021-07-06 重庆风云际会智慧科技有限公司 Illegal evidence tracing system based on block chain

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1757032A (en) * 2003-03-06 2006-04-05 汤姆森特许公司 Simplify Search Media Operations with Control Devices
US20060120693A1 (en) * 2004-12-06 2006-06-08 Shinichi Kikuchi Information storage medium, Information recording method, Information playback method, Information recording apparatus, and Information playback apparatus
CN101472135A (en) * 2007-12-27 2009-07-01 苏州新际多媒体技术有限公司 Interactive processing method and device for multimedia information
CN102222099A (en) * 2011-06-21 2011-10-19 中兴通讯股份有限公司 Methods and devices for storing and searching data
CN102881306A (en) * 2012-09-06 2013-01-16 安科智慧城市技术(中国)有限公司 Method and device for transcoding video files

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1757032A (en) * 2003-03-06 2006-04-05 汤姆森特许公司 Simplify Search Media Operations with Control Devices
US20060120693A1 (en) * 2004-12-06 2006-06-08 Shinichi Kikuchi Information storage medium, Information recording method, Information playback method, Information recording apparatus, and Information playback apparatus
CN101472135A (en) * 2007-12-27 2009-07-01 苏州新际多媒体技术有限公司 Interactive processing method and device for multimedia information
CN102222099A (en) * 2011-06-21 2011-10-19 中兴通讯股份有限公司 Methods and devices for storing and searching data
CN102881306A (en) * 2012-09-06 2013-01-16 安科智慧城市技术(中国)有限公司 Method and device for transcoding video files

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106850564A (en) * 2016-12-29 2017-06-13 北京安天网络安全技术有限公司 A kind of method and system for positioning file transverse shifting path
CN106850564B (en) * 2016-12-29 2020-07-28 北京安天网络安全技术有限公司 Method and system for positioning transverse moving path of file
CN109525663A (en) * 2018-11-15 2019-03-26 视联动力信息技术股份有限公司 A kind of methods of exhibiting and system of video data
CN111147875A (en) * 2019-12-25 2020-05-12 视联动力信息技术股份有限公司 Service duration display method and device
CN111147875B (en) * 2019-12-25 2022-07-08 视联动力信息技术股份有限公司 Method and device for displaying business duration
CN113076547A (en) * 2021-03-31 2021-07-06 重庆风云际会智慧科技有限公司 Illegal evidence tracing system based on block chain

Similar Documents

Publication Publication Date Title
CN110351578B (en) Method and system for automatic production of video programs from scripts
CN108108996B (en) Method and device for delivering advertisements in video, computer equipment and readable medium
AU2017204338B2 (en) Industry first method that uses users search query to show highly relevant poster frames for stock videos thereby resulting in great experience and more sales among users of stock video service
CN101631237B (en) Video monitoring data storing and managing system
JP5681495B2 (en) High performance slate
US20160203137A1 (en) Imputing knowledge graph attributes to digital multimedia based on image and video metadata
JP2016515698A (en) Visual audiovisual annotation on infrared images using a separate wireless mobile device
CN105825083A (en) Picture copyright protecting method and recognizing method and related method and system
CN104951515A (en) Method for extracting and analyzing Android mobile phone track
CN101404080A (en) Advertisement imbedding and indication method and apparatus
CN103701859A (en) Method and system for tracing video file source
CN109756760A (en) Video tag generation method, device and server
CN113515997A (en) Video data processing method and device and readable storage medium
JP2005182364A (en) Www relay server and information browsing time measurement method and program and recording medium
CN105654575A (en) Method, device and equipment for managing driving video information
TW201520892A (en) System, method and computer readable medium for inserting operation collecting element into application program of mobile device automatically
CN112328830B (en) A deep learning-based information positioning method and related equipment
CN112860660A (en) Unified management method for Rosbag file information
US8896708B2 (en) Systems and methods for determining, storing, and using metadata for video media content
CN105573921A (en) File storage method and device
CN114157881A (en) Multimedia processing method, device, electronic equipment and storage medium
CN105450698A (en) Exposure log acquisition system and method
JPWO2015052968A1 (en) Server apparatus, client apparatus, information processing method, and recording medium
US9979787B2 (en) Information processing system, network storage device, and non-transitory recording medium
CN114706817A (en) Data marking method, acquisition method, data marking device and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20140402

WD01 Invention patent application deemed withdrawn after publication