CN114979776A - Video transcoding method applied to wifi visual automobile data recorder - Google Patents
Video transcoding method applied to wifi visual automobile data recorder Download PDFInfo
- Publication number
- CN114979776A CN114979776A CN202210570012.2A CN202210570012A CN114979776A CN 114979776 A CN114979776 A CN 114979776A CN 202210570012 A CN202210570012 A CN 202210570012A CN 114979776 A CN114979776 A CN 114979776A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- data recorder
- video
- app
- 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
Links
- 230000000007 visual effect Effects 0.000 title claims abstract description 23
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
- H04N21/4402—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
- H04N21/440218—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by transcoding between formats or standards, e.g. from MPEG-2 to MPEG-4
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C5/00—Registering or indicating the working of vehicles
- G07C5/008—Registering or indicating the working of vehicles communicating information to a remotely located station
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C5/00—Registering or indicating the working of vehicles
- G07C5/08—Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
- G07C5/0841—Registering performance data
- G07C5/085—Registering performance data using electronic data carriers
- G07C5/0866—Registering performance data using electronic data carriers the electronic data carrier being a digital video recorder in combination with video camera
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/07—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
- H04L51/10—Multimedia information
-
- 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/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- 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]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/40—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using video transcoding, i.e. partial or full decoding of a coded input stream followed by re-encoding of the decoded output stream
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention provides a video transcoding method applied to a wifi visual automobile data recorder, which comprises the following steps of: s1, creating an http server downloading server at a vehicle event data recorder equipment end; s2, the APP of the mobile terminal device downloads the video selected by the user from the automobile data recorder device to the mobile terminal device, and the video is stored as a temporary file; s3, transcoding the temporary file in the step S2 by the APP of the mobile terminal equipment end through ffmpeg, and storing the transcoded temporary file into an APP file directory of the mobile terminal equipment end; s4, the APP of the mobile terminal device side stores the file transcoded in the step S3 into a system album of the mobile terminal device side; the transcoded video file can be directly played by a player of the mobile terminal device, so that the compatibility is good, and meanwhile, the transcoded video file can be shared by conventional social software such as WeChat and the like, so that the method is more convenient.
Description
Technical Field
The invention relates to the technical field of automobile data recorders, in particular to a video transcoding method applied to a wifi visual automobile data recorder.
Background
The visual vehicle event data recorder of wifi is the wifi focus that the visual equipment of cell-phone connection released, has the camera on the visual equipment, through wifi, on transmitting cell-phone APP, the equipment of show image on the cell-phone with the image. Images shot by the equipment can be seen on the APP in real time. Meanwhile, an SD card is arranged in the wifi visual automobile data recorder, images collected by the camera can be generated, and videos are stored in the SD card.
The current part of equipment can only record the video of avi format because of the restriction of hardware resource, and the user generally can download some videos in the visual vehicle event data recorder of wifi to the cell-phone album when using, is convenient for look over or share, but the player of the video of avi format many cell-phones of taking can't play yet, can't share through conventional social software simultaneously.
Therefore, a video transcoding method applied to a wifi visual automobile data recorder is urgently needed, and the problems that an existing wifi visual automobile data recorder can only record videos in an avi format, a mobile phone player cannot play the videos, and sharing cannot be performed through conventional social software can be solved.
Disclosure of Invention
The invention aims to provide a video transcoding method applied to a wifi visual automobile data recorder, and aims to solve the problems that a mobile phone player cannot play and cannot share through conventional social software due to the fact that the existing wifi visual automobile data recorder can only record video in an avi format.
In order to achieve the purpose, the invention provides the following scheme:
the invention provides a video transcoding method applied to a wifi visual automobile data recorder, which comprises the following steps:
s1, creating an http server downloading server at a vehicle event data recorder equipment end;
s2, the APP of the mobile terminal device downloads the video selected by the user from the automobile data recorder device to the mobile terminal device, and the video is stored as a temporary file;
s3, transcoding the temporary file in the step S2 by the APP of the mobile terminal equipment end through ffmpeg, and storing the transcoded temporary file into an APP file directory of the mobile terminal equipment end;
and S4, the APP of the mobile terminal device end stores the file transcoded in the step S3 into a system album of the mobile terminal device end.
Preferably, step S1 is specifically: and the automobile data recorder equipment end creates an http server with the port number of 80, and stores the video files in a classified manner according to the mode of year, month, day and time.
Preferably, step S2 is specifically: the APP of the mobile terminal equipment terminal initiates a downloading request to the automobile data recorder equipment terminal, a temporary file is newly built in the cache, and the data stream read from the automobile data recorder equipment terminal is stored in the temporary file.
Preferably, in step S3, the transcoding is: converted from avi format to mp4 format.
Compared with the prior art, the invention has the following beneficial technical effects:
the invention provides a video transcoding method applied to a wifi visual automobile data recorder, which comprises the following steps: s1, creating an http server downloading server at a vehicle event data recorder equipment end; s2, the APP of the mobile terminal device downloads the video selected by the user from the automobile data recorder device to the mobile terminal device, and the video is stored as a temporary file; s3, transcoding the temporary file in the step S2 by the APP of the mobile terminal equipment end through ffmpeg, and storing the transcoded temporary file into an APP file directory of the mobile terminal equipment end; s4, the APP of the mobile terminal device side stores the file transcoded in the step S3 into a system album of the mobile terminal device side; the transcoded video file can be directly played by a player of the mobile terminal device, so that the compatibility is good, and meanwhile, the transcoded video file can be shared by conventional social software such as WeChat and the like, so that the method is more convenient.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without inventive exercise.
Fig. 1 is a flowchart of a video transcoding method applied to a wifi visual automobile data recorder according to the present invention;
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention aims to provide a video transcoding method applied to a wifi visual automobile data recorder, and aims to solve the problems that an existing wifi visual automobile data recorder can only record video in an avi format, a mobile phone player cannot play the video, and the video cannot be shared through conventional social software.
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
Example 1:
the embodiment provides a video transcoding method applied to a wifi visual automobile data recorder, as shown in fig. 1, including the following steps:
s1, creating an http server downloading server at a vehicle event data recorder equipment end;
the method comprises the steps that an automobile data recorder equipment end creates an http server with a port number of 80, a download path is http://192.168.169.1: 80/year/month/day/hour/file.avi, and video files are stored in a classified mode according to the year, month, day and time; wherein year represents year; month represents month; day represents day; hour for hour; avi represents a file name;
s2, the APP of the mobile terminal device downloads the video selected by the user from the automobile data recorder device to the mobile terminal device, and the video is stored as a temporary file;
the APP of the mobile terminal equipment terminal initiates a downloading request to the automobile data recorder equipment terminal, accesses http://192.168.169.1: 80/year/month/day/hour/file.avi, newly establishes a temporary file in a cache, and stores the data stream read from the automobile data recorder equipment terminal into the temporary file;
s3, transcoding the temporary file in the step S2 by the APP of the mobile terminal equipment end through ffmpeg, and storing the transcoded temporary file into an APP file directory of the mobile terminal equipment end;
converting the temporary file of the step S2 from the avi format to the mp4 format using the ffmpeg command tool;
the commands are as follows: ffmpeg-i inputfile-c v mpeg4-b v 800k-aspect 4:3-c a aac-b a128k outputfile; wherein, -i inputfile enters the file path; v mpeg4 re-encodes the video in the input file with mpeg 4; v 800k video code rate 800 kbit/s, video image 800 kbyte per second; -aspect 4:3 sets the image picture aspect ratio to 4: 3; a aac re-encodes the audio in the input file with the aac; a128k audio code rate 128 kbit/s, 128 kbyte audio per second; an output file path after the output file is recoded; the output file is stored in a private directory of the APP, so that the APP can be conveniently read and displayed;
s4, the APP of the mobile terminal device side stores the file transcoded in the step S3 into a system album of the mobile terminal device side;
the transcoded file generated in step S3 is stored in an APP private directory, and only the APP can access the file. In the system album or other APPs which cannot be accessed, in order to enable a user to check and access the transcoded file when using the system album or other APPs, if WeChat is used, the transcoded file is sent to friends. And (4) copying and storing the file generated in the step (3) into a system album, so that the user can conveniently check and use the file.
The principle and the implementation mode of the invention are explained by applying specific examples, and the description of the above examples is only used for helping understanding the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, the specific embodiments and the application range may be changed. In summary, this summary should not be construed to limit the present invention.
Claims (4)
1. The utility model provides a video transcoding method for wifi visual vehicle event data recorder which characterized in that: the method comprises the following steps:
s1, creating an http server downloading server at a vehicle event data recorder equipment end;
s2, the APP of the mobile terminal device downloads the video selected by the user from the automobile data recorder device to the mobile terminal device, and the video is stored as a temporary file;
s3, transcoding the temporary file in the step S2 by the APP of the mobile terminal equipment end through ffmpeg, and storing the transcoded temporary file into an APP file directory of the mobile terminal equipment end;
and S4, the APP of the mobile terminal device end stores the file transcoded in the step S3 into a system album of the mobile terminal device end.
2. The video transcoding method applied to the wifi visual automobile data recorder as claimed in claim 1, wherein: step S1 specifically includes: and (3) creating an http server with a port number of 80 at the automobile data recorder equipment end, and storing the video files in a classified manner according to the manner of year, month, day and time.
3. The video transcoding method applied to the wifi visual automobile data recorder as claimed in claim 1, wherein: step S2 specifically includes: the APP of the mobile terminal equipment terminal initiates a downloading request to the automobile data recorder equipment terminal, a temporary file is newly built in the cache, and the data stream read from the automobile data recorder equipment terminal is stored in the temporary file.
4. The video transcoding method applied to the wifi visual automobile data recorder as claimed in claim 1, wherein: in step S3, the transcoding is: converted from avi format to mp4 format.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210570012.2A CN114979776A (en) | 2022-05-24 | 2022-05-24 | Video transcoding method applied to wifi visual automobile data recorder |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210570012.2A CN114979776A (en) | 2022-05-24 | 2022-05-24 | Video transcoding method applied to wifi visual automobile data recorder |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114979776A true CN114979776A (en) | 2022-08-30 |
Family
ID=82956277
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210570012.2A Pending CN114979776A (en) | 2022-05-24 | 2022-05-24 | Video transcoding method applied to wifi visual automobile data recorder |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114979776A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080195698A1 (en) * | 2007-02-09 | 2008-08-14 | Novarra, Inc. | Method and System for Transforming and Delivering Video File Content for Mobile Devices |
CN103024491A (en) * | 2012-12-31 | 2013-04-03 | 传聚互动(北京)科技有限公司 | Video playing method and video playing system of mobile terminal |
CN103379362A (en) * | 2012-04-24 | 2013-10-30 | 腾讯科技(深圳)有限公司 | Video-on-demand method and system |
CN105812895A (en) * | 2016-03-17 | 2016-07-27 | 张俊莲 | Video on-demand data processing method and system |
CN113434594A (en) * | 2021-06-16 | 2021-09-24 | 济南驰昊电力科技有限公司 | Method for displaying video through conversion of distributed image storage and transcoding |
CN113689592A (en) * | 2021-08-31 | 2021-11-23 | 重庆长安汽车股份有限公司 | Short-range file transmission method and system based on WIFI network |
-
2022
- 2022-05-24 CN CN202210570012.2A patent/CN114979776A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080195698A1 (en) * | 2007-02-09 | 2008-08-14 | Novarra, Inc. | Method and System for Transforming and Delivering Video File Content for Mobile Devices |
CN103379362A (en) * | 2012-04-24 | 2013-10-30 | 腾讯科技(深圳)有限公司 | Video-on-demand method and system |
CN103024491A (en) * | 2012-12-31 | 2013-04-03 | 传聚互动(北京)科技有限公司 | Video playing method and video playing system of mobile terminal |
CN105812895A (en) * | 2016-03-17 | 2016-07-27 | 张俊莲 | Video on-demand data processing method and system |
CN113434594A (en) * | 2021-06-16 | 2021-09-24 | 济南驰昊电力科技有限公司 | Method for displaying video through conversion of distributed image storage and transcoding |
CN113689592A (en) * | 2021-08-31 | 2021-11-23 | 重庆长安汽车股份有限公司 | Short-range file transmission method and system based on WIFI network |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10497273B2 (en) | Method and system for recording and playback of web-based instructions | |
CN111930973B (en) | Multimedia data playing method and device, electronic equipment and storage medium | |
US10009643B2 (en) | Apparatus and method for processing media content | |
US20230093621A1 (en) | Search result display method, readable medium, and terminal device | |
CA2861067A1 (en) | Multimedia file support for media capture device position and location timed metadata | |
CN113055624B (en) | Course playback method, server, client and electronic equipment | |
CN110809189A (en) | Video playing method and device, electronic equipment and computer readable medium | |
CN111818383B (en) | Video data generation method, system, device, electronic equipment and storage medium | |
CN107396033A (en) | Video conferencing system and method | |
CN110557391B (en) | Multi-scene integration-oriented emergency mobile video interaction system | |
CN114979776A (en) | Video transcoding method applied to wifi visual automobile data recorder | |
CN106060609B (en) | Obtain the method and device of picture | |
CN102316298A (en) | Method for realizing audio and video recording | |
CN111918074A (en) | Live video fault early warning method and related equipment | |
CN110971943B (en) | Video code rate adjusting method, device, terminal and storage medium | |
CN109640023B (en) | Video recording method, device, server and storage medium | |
CN111385638B (en) | Video processing method and device | |
WO2015131700A1 (en) | File storage method and device | |
CN112565873A (en) | Screen recording method and device, equipment and storage medium | |
WO2013089310A1 (en) | Method, terminal, and recording medium for providing user interface for content service | |
WO2005081123A1 (en) | Method for editing moving picture using wire or wireless communication network and the system for the same | |
CN113225583B (en) | Cloud game progress processing method and device and electronic equipment | |
JP2014002616A (en) | Video retrieval system | |
CN107135087B (en) | Information interaction method and terminal and computer storage medium | |
WO2022156646A1 (en) | Video recording method and device, electronic device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |