CN110881031A - Video transfer method for road administration and traffic police system - Google Patents
Video transfer method for road administration and traffic police system Download PDFInfo
- Publication number
- CN110881031A CN110881031A CN201911069914.2A CN201911069914A CN110881031A CN 110881031 A CN110881031 A CN 110881031A CN 201911069914 A CN201911069914 A CN 201911069914A CN 110881031 A CN110881031 A CN 110881031A
- Authority
- CN
- China
- Prior art keywords
- video
- file
- transcoding
- ftp
- transfer method
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/75—Media network packet handling
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
Abstract
The invention relates to the field of video transcoding and system docking, and particularly discloses a video transfer method for a road administration and traffic police system, which comprises the following steps: automatically monitoring an FTP directory of an original video file stored by a traffic bureau through an FTP file monitoring program; video and information thereof are obtained, and the video format, the file name and the shooting time information of the original video file are read and identified; transcoding, storing and naming, and converting the original video file into a new video file with a specified format through a transcoding program corresponding to the video format; uploading the transcoded video, and automatically uploading a new video file to another server through the FTP after transcoding is finished; and displaying the transcoding and uploading conditions in real time by software. The invention automatically transcodes, names and sends the violation video file through the program, replaces the original manual sorting and transcoding work, saves a large amount of human resources, improves the data exchange efficiency between the road administration and the traffic police system, and accelerates the processing period of traffic violation.
Description
Technical Field
The invention relates to the field of video transcoding and system docking, and particularly discloses a video transfer method for a road administration and traffic police system.
Background
With the development and popularization of modern video monitoring technology, the application of road monitoring in China tends to be perfect in recent years, and more monitoring probes and intelligent cameras play a positive role in handling violation of regulations, restricting the behavior of drivers and improving driving safety for law enforcement departments.
However, most road equipment in China is constructed and managed by the road administration department, and is passed by the traffic bureau, while traffic violation and illegal processing belong to the management and triggering of the traffic police department and belong to the management and management of the public security bureau. In the initial construction, the traffic police system and the road administration system adopt different video data formats due to different management departments, and data channels are not opened among the systems. Therefore, illegal video which is shot by the road administration department needs to be manually packed and forwarded to the traffic police department, then is manually transcoded and then is input into the traffic police system, and then the illegal video which is across departments can be input, so that the operation is complex, and precious human resources are wasted. With the continuous construction of monitoring points, the video volume also increases dramatically day by day, so that the burden of video transcoding is heavier and heavier.
At least 4000 video files which do not meet the format requirement are required to be converted by a local transportation bureau every day, so that the video formats of the video files support direct playing on a google browser, the original manual practical transcoding conversion and uploading work is time-consuming and labor-consuming, and optimization is urgently needed.
Disclosure of Invention
In order to overcome the above problems, the present invention provides a video transfer method for a road administration and traffic police system.
The technical scheme adopted by the invention is as follows: a video transfer method for road administration and traffic police system includes the following steps:
s1, monitoring the specified directory: automatically monitoring an FTP directory of an original video file stored by a traffic bureau through an FTP file monitoring program;
s2, acquiring videos and information thereof, and reading and identifying the video format, the file name and the shooting time information of an original video file when an FTP file monitoring program monitors that the original video file is added into an FTP directory;
s3, transcoding, storing and naming, and converting the original video file into a new video file with a specified format through a transcoding program corresponding to the video format according to the identified video format;
s4, uploading the transcoded video, automatically uploading a new video file to another server through the FTP after transcoding is finished, and automatically generating, creating and storing the video file into a folder with the same name according to a video storage path before transcoding;
and S5, displaying the running condition, wherein in the transcoding process, the transcoding working condition is displayed on a program interface, and comprises a new file, a file needing transcoding, an uploading completed file and a failed file.
Preferably, the FTP monitoring program automatically reconnects when detecting that the FTP is disconnected.
Preferably, the number of the working threads can be manually set, parallel operation is carried out, and the multi-core performance is exerted.
Preferably, the new video file is converted into the specified format of MP4MPEG4 in step S3
Preferably, in step S3, the original video file is saved in the successful file transfer directory as a new video file with the same file name and shooting time as the original video file.
The invention has the beneficial effects that: the automatic transcoding naming and the illegal video file storing are realized through the program, the original work of manually arranging, transcoding and handing over videos is replaced, a large amount of human resources are saved, the data exchange efficiency between the road administration and the traffic police system is improved, and the traffic violation processing period is shortened.
Drawings
FIG. 1 is a schematic flow diagram of the present invention.
Detailed Description
Referring to fig. 1, the present invention is a video transfer method for a road administration and traffic police system, and the following is video transfer software for a road administration and traffic police system completed according to the method, and the steps of implementing the method of the present invention are as follows:
a1, setting operation, setting parameters such as FTP directory address of a traffic bureau, FTP directory address of a traffic police bureau, video transcoding format and the like in transfer software;
a2, monitoring the specified directory: automatically monitoring an FTP directory of an original video file stored in a traffic bureau by an FTP file monitoring program in transfer software;
a3, acquiring videos and information thereof, and reading and identifying information such as video formats, file names and shooting time of original video files when an FTP file monitoring program monitors that the original video files are added into an FTP directory;
a4, transcoding, storing and naming, and converting the original video file into a new video file with a specified format through a transcoding program corresponding to the video format according to the identified video format;
a5, uploading the transcoded video, automatically uploading a new video file to a server of a traffic police station through FTP after transcoding is finished, and automatically generating, creating and storing the video file into a folder with the same name according to a video storage path before transcoding;
and A6, displaying the running condition, wherein in the transcoding process, the transcoding working condition including a new file, a file needing transcoding, an uploading completed file and a failed file is displayed on a program interface.
And when the FTP monitoring program detects that the FTP is disconnected, the FTP monitoring program automatically reconnects.
The transfer software can manually set the number of working threads to perform parallel operation and exert the multi-core performance. The number of threads can be set appropriately according to the number of cores of the CPU, and the maximum number is-1.
In step a4, the new video file is converted into the specified format, which is MP4MPEG4 format, and the original video file is saved in the successful file transfer directory as a new video file with the same file name and shooting time as the original video file.
And when the transcoding uploading fails, the transfer software prompts the reason of the failure according to a preset error code. The parameters of the transfer software cannot be changed during operation, and the setting operation can be performed only after the program is stopped. And ending the program after all threads are ended.
Claims (5)
1. A video transfer method for road administration and traffic police system is characterized by comprising the following steps:
s1, monitoring the specified directory: automatically monitoring an FTP directory of an original video file stored by a traffic bureau through an FTP file monitoring program;
s2, acquiring videos and information thereof, and reading and identifying the video format, the file name and the shooting time information of an original video file when an FTP file monitoring program monitors that the original video file is added into an FTP directory;
s3, transcoding, storing and naming, and converting the original video file into a new video file with a specified format through a transcoding program corresponding to the video format according to the identified video format;
s4, uploading the transcoded video, automatically uploading a new video file to another server through the FTP after transcoding is finished, and automatically generating, creating and storing the video file into a folder with the same name according to a video storage path before transcoding;
and S5, displaying the running condition, wherein in the transcoding process, the transcoding working condition is displayed on a program interface, and comprises a new file, a file needing transcoding, an uploading completed file and a failed file.
2. The video transfer method for road administration and traffic police system as claimed in claim 1, wherein the video transfer method comprises: and the FTP monitoring program automatically reconnects when detecting that the FTP is disconnected.
3. The video transfer method for road administration and traffic police system as claimed in claim 1, wherein the video transfer method comprises: the number of working threads can be manually set, parallel operation is carried out, and the multi-core performance is exerted.
4. The video transfer method for road administration and traffic police system as claimed in claim 1, wherein the video transfer method comprises: the new video file converted into the designated format in the step S3 is the MP4MPEG4 format.
5. The video transfer method for road administration and traffic police system as claimed in claim 1, wherein the video transfer method comprises: in step S3, the original video file is saved in the successful file transfer directory as a new video file with the same file name and shooting time as the original video file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911069914.2A CN110881031A (en) | 2019-11-04 | 2019-11-04 | Video transfer method for road administration and traffic police system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911069914.2A CN110881031A (en) | 2019-11-04 | 2019-11-04 | Video transfer method for road administration and traffic police system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110881031A true CN110881031A (en) | 2020-03-13 |
Family
ID=69728996
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911069914.2A Pending CN110881031A (en) | 2019-11-04 | 2019-11-04 | Video transfer method for road administration and traffic police system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110881031A (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101163087A (en) * | 2006-10-13 | 2008-04-16 | 风网科技(北京)有限公司 | System and method for sharing mobile terminal video document |
US20080207182A1 (en) * | 2006-12-13 | 2008-08-28 | Quickplay Media Inc. | Encoding and Transcoding for Mobile Media |
CN102143144A (en) * | 2010-10-15 | 2011-08-03 | 华为终端有限公司 | Communication module, remote monitoring system and remote monitoring terminal |
CN105592081A (en) * | 2015-12-18 | 2016-05-18 | 内蒙古安达文化传媒有限责任公司 | Method for converting videos between terminal and server |
WO2016134719A1 (en) * | 2015-02-27 | 2016-09-01 | Xstream A/S | A method of controlling media assets and a video pre-ingestion system |
CN106375721A (en) * | 2016-09-14 | 2017-02-01 | 重庆邮电大学 | Smart video monitoring system based on cloud platform |
CN107888942A (en) * | 2017-11-24 | 2018-04-06 | 河南蓝信软件有限公司 | A kind of video data shared system and method |
-
2019
- 2019-11-04 CN CN201911069914.2A patent/CN110881031A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101163087A (en) * | 2006-10-13 | 2008-04-16 | 风网科技(北京)有限公司 | System and method for sharing mobile terminal video document |
US20080207182A1 (en) * | 2006-12-13 | 2008-08-28 | Quickplay Media Inc. | Encoding and Transcoding for Mobile Media |
CN102143144A (en) * | 2010-10-15 | 2011-08-03 | 华为终端有限公司 | Communication module, remote monitoring system and remote monitoring terminal |
WO2016134719A1 (en) * | 2015-02-27 | 2016-09-01 | Xstream A/S | A method of controlling media assets and a video pre-ingestion system |
CN105592081A (en) * | 2015-12-18 | 2016-05-18 | 内蒙古安达文化传媒有限责任公司 | Method for converting videos between terminal and server |
CN106375721A (en) * | 2016-09-14 | 2017-02-01 | 重庆邮电大学 | Smart video monitoring system based on cloud platform |
CN107888942A (en) * | 2017-11-24 | 2018-04-06 | 河南蓝信软件有限公司 | A kind of video data shared system and method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105574082A (en) | Storm based stream processing method and system | |
CN106649164A (en) | Hardware interface management method | |
US20180232388A1 (en) | Efficient similarity detection | |
CN106066849A (en) | A kind of template page editing system and method | |
CN111367994A (en) | Method and system for synchronously backing up incremental data of database | |
CN110134646B (en) | Knowledge platform service data storage and integration method and system | |
CN110650164A (en) | File uploading method and device, terminal and computer storage medium | |
CN106372160A (en) | Distributive database and management method | |
CN109218401A (en) | Log collection method, system, computer equipment and storage medium | |
CN110399345B (en) | File uploading and managing method | |
CN111611276A (en) | Data query method, device and storage medium | |
CN105308589A (en) | Compacting data based on data content | |
CN110881031A (en) | Video transfer method for road administration and traffic police system | |
CN111984196A (en) | File migration method, device, equipment and readable storage medium | |
CN111367982A (en) | Method and device for importing TRIRIGA basic data, computer equipment and storage medium | |
CN106791932A (en) | Distributed trans-coding system, method and its device | |
CN103475543A (en) | Abnormal system service call detection method and system | |
CN110471896A (en) | A kind of data processing method, system and server | |
CN110928860B (en) | Data migration method and device | |
CN111104187A (en) | Interface aggregation method and device based on interface aggregation server | |
CN112101810A (en) | Risk event control method, device and system | |
CN111541918A (en) | System and method for centralized management of video transcoding state | |
CN108206894B (en) | Service processing system, method and device | |
JP4983045B2 (en) | Database health check method, health check program, and health check device | |
CN113051332B (en) | Multi-source data integration method and system based on big data technology |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200313 |