CN106101820A - Process the method and system of video - Google Patents

Process the method and system of video Download PDF

Info

Publication number
CN106101820A
CN106101820A CN201610547639.0A CN201610547639A CN106101820A CN 106101820 A CN106101820 A CN 106101820A CN 201610547639 A CN201610547639 A CN 201610547639A CN 106101820 A CN106101820 A CN 106101820A
Authority
CN
China
Prior art keywords
video
website
mobile terminal
image
corrected
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
CN201610547639.0A
Other languages
Chinese (zh)
Inventor
项鸣
张抗抗
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHENZHEN TAT ELECTRONICS Co Ltd
Original Assignee
SHENZHEN TAT ELECTRONICS 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 SHENZHEN TAT ELECTRONICS Co Ltd filed Critical SHENZHEN TAT ELECTRONICS Co Ltd
Priority to CN201610547639.0A priority Critical patent/CN106101820A/en
Priority to PCT/CN2016/091742 priority patent/WO2018010212A1/en
Publication of CN106101820A publication Critical patent/CN106101820A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440218Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25866Management of end-user data
    • H04N21/25875Management of end-user data involving end-user authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/44012Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving rendering scenes according to scene graphs, e.g. MPEG-4 scene graphs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440263Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by altering the spatial resolution, e.g. for displaying on a connected PDA

Abstract

The invention discloses a kind of method and system processing video, including: video is downloaded on mobile terminal;Mobile terminal carries out OpenCV rectification to video;Video after correcting uploads on YouTube website.By the way, the present invention can generate 360 ° of shooting videos, and without by computer convert video formats, is uploaded directly on YouTube website.

Description

Process the method and system of video
Technical field
The present invention relates to technical field of video processing, especially relate to a kind of method and system processing video.
Background technology
Along with development and the rise of outdoor activity of video technique, motion DV product arises.Motion DV is by carrying Facilitate, use is simple, the feature of stand-by time length is liked by consumer deeply.User can use efficiently motion DV at any time, with The dribs and drabs of ground record life and many a good times.
Shooting visual angle main for motion DV now is 80 degree to 150 degree, and picture display mode is the rectangle of 16:9 or 4:3, Therefore the mode of its shooting and display is all greatly limited, and the video recorded can not directly be uploaded some social activities, share Website, such as YOUTUBE website, it is necessary to just can upload website after computer convert video formats.
Summary of the invention
The technical problem to be solved is: provide novel video processing schemes, can generate 360 degree of videos, And support that multi-mode shows, it is not required to achieve that video format is changed by computer, is uploaded directly on social activity, sharing website.
In order to solve above-mentioned technical problem, the technical solution used in the present invention is: provide a kind of method processing video, bag Include:
Video is downloaded on mobile terminal;
Mobile terminal carries out OpenCV rectification to video;
Video after correcting uploads on website.
For solving the problems referred to above, the present invention also provides for a kind of system processing video, including mobile terminal, wherein said shifting Dynamic terminal is for foradownloaded video, and video is carried out OpenCV rectification;
Video after correcting uploads on website.
The beneficial effects of the present invention is: be different from prior art, the present invention passes through locally-downloaded video to mobile terminal On, and after carrying out OpenCV rectification, upload on corresponding website.By the way, the present invention can obtain 360 ° of shootings and regards Frequently, and without by computer convert video formats, it is uploaded directly on social activity, sharing website.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of the inventive method embodiment one.
Detailed description of the invention
By describing the technology contents of the present invention in detail, being realized purpose and effect, below in conjunction with embodiment and coordinate attached Figure is explained.
The design of most critical of the present invention is: after video carries out local rectification, according to upper arq mode, uploads to need On social activity to be shared, sharing website.
Refer to Fig. 1, the embodiment of the present invention one provides a kind of method processing video, including:
S1: video is downloaded on mobile terminal;
S2: mobile terminal carries out OpenCV rectification to video;
S3: the video after correcting uploads on website.
Be different from prior art, the present invention by locally-downloaded video on mobile terminal, and after carrying out OpenCV rectification, According to upper arq mode, upload on corresponding website.By the way, the present invention can obtain 360 ° shooting videos, and without By computer convert video formats, it is uploaded directly on social activity, sharing website.
Wherein, after mobile terminal connects network, each two field picture of video is carried out OpenCV rectification;
Use FFmpeg that image and sound carry out H264 coding and aac coding respectively, and be packaged into MP4 form;
Video play mode is selected to play back the video of described MP4 form;
Wherein, described play mode includes that circular picture is play, rectangular frame plays and annular picture is play.
Described rectification includes that cylinder effect is corrected, 360 effects are corrected;Wherein,
Described cylinder effect is corrected and is darkened for the two rim portion equal proportions up and down at video image;
Described 360 effects are corrected and are darkened for the lower portion at video image, and image with the ratio darkening part is: mirror Brilliance degree: (360-angle lens).
According to YouTube website requests, using python language is that Google's api interface adds spherical parameter;
Embed python interpreter at mobile terminal, call python interpreter, the video after correcting is added spherical ginseng Number;
Obtain Google's account authorization, Website login;Specifically, obtain Google's account authorization, by OAuth2.0 agreement, obtain Take access token Website login;
YouTube website carries out user authentication by access token.
Arq mode in acquisition, and will correct after video upload on website.
Accordingly, the embodiment of the present invention two provides a kind of system processing video, including mobile terminal, described mobile terminal For foradownloaded video, and video is carried out OpenCV rectification;
Video after correcting uploads on YouTube website.
Wherein, after mobile terminal connects network, each two field picture of video is carried out OpenCV rectification;
Use FFmpeg that image and sound carry out H264 coding and aac coding respectively, and be packaged into MP4 form;
Video play mode is selected to play back the video of described MP4 form;
Wherein, described play mode includes that circular picture is play, rectangular frame plays and annular picture is play.
Described rectification includes that cylinder effect is corrected, 360 effects are corrected;Wherein,
Described cylinder effect is corrected and is darkened for the two rim portion equal proportions up and down at video image;
Described 360 effects are corrected and are darkened for the lower portion at video image, and image with the ratio darkening part is: mirror Brilliance degree: (360-angle lens).
Before uploading, using python language is that Google's api interface adds spherical parameter;
Embed python interpreter at mobile terminal, call python interpreter, the video after correcting is added spherical ginseng Number;
Obtain Google's account authorization, Website login;Specifically, acquisition for mobile terminal Google account authorization, pass through OAuth2.0 agreement, obtains access token Website login;
YouTube website carries out user authentication by access token.
Arq mode in acquisition, and will correct after video upload on website.
During implementing, the present invention is by opening Video processing APP in the terminal, and such as T360DV schemes Mark, enters corresponding APP and operates interface.
Log in the website needing to share at this APP, the present embodiment illustrates, the most such as a example by YouTube website Can click on to open and arrange interface (being usually located at the screen upper right corner), click on and log in option accordingly, YouTube Login selects , carry out YouTube account login.APP obtains the mandate of user account, uses this APP by logging in embedded Youtube's Web page logs in, and by the OAuth2.0 agreement of Google, APP gets access token as access token, so Can pass through certification when Youtube is initiated http request, Youtube carries out user authentication by checking accesstoken, So current APP observes Http host-host protocol in the case of public network by this account and carries out data exchange with Youtube. The content of data to this account, and is analyzed by Youtube by the attribution data that gets so that can in different classifications and Different displayings is carried out under form.
Then the video recorded, download in the machine APP, it is of course also possible to first foradownloaded video carrying out at video Reason, logs in the website needing to share the most again.The described video recorded can be general camera or DV or moving camera, DV records, such as 360 motion DV, it is also possible to obtain from the Internet.
After the complete video of mobile phone-downloaded, in order to avoid network conflict, mobile phone and camera or the connection of DV can be disconnected, allow mobile phone even Receive wireless network (such as: router, 3/4G network).
In APP, each frame to video carries out OpenCV rectification, correcting image effect.Wherein rectification effect includes:
Cylinder effect, needs the black part descending both sides plus geometric ratio size on the original image, so makes whole figure Rendering after 360 degree of models, last effect becomes cylinder effect from remote sight.
360 degree of effects, need in original image lower part plus black region, and artwork with the ratio of black region is:
Angle lens/(360-angle lens).Thus can be rendered to spherical 360 degree of effects.
Use FFmpeg that image and sound are carried out H264 and aac after rectification to recompile, and be packaged into MP4 form, this Sample is so that video volume diminishes, and convenient social activity, sharing website accept rapidly this uploaded format.
After video correction processes, need according to the requirement of website, such as, be that video adds ball by the requirement of Youtube website Shape parameter, Youtube will not be gone to process 360 degree of videos as processing ordinary video when playing this video, present invention uses The api interface that Google provides, uses python language to carry out on api interface and adds the spherical parameter of video, then in mobile terminal Embed python interpreter, python is called, it is achieved the interpolation to spherical parameter.
Then the video playback after can being corrected in mobile phone A PP, clicks on " Browse mov " and enters into playback mode, The wherein broadcasting of playback mode optional circle, rectangle broadcasting or annular play mode etc..
Then upper arq mode is entered by " Share " module.
Wherein, the present invention can provide 4 kinds of patterns to upload to Youtube website:
1, UPlaod to Youtube-----does not correct and uploads;
2, Add 360-------------rectification plane is uploaded;
3, Add 360and cylinder-----rectification column type is uploaded;
4, Add 360and sphere-----rectification panorama is uploaded;
Wherein, Clean 360Videos cache represents removing caching.
After having uploaded, it is possible to check, on Youtube official website, the video uploaded.Then carry out sharing use.
Being different from prior art, scheme of the present invention goes for any Android or the mobile phone of ISO system, flat board Deng on mobile terminal, specific APP software can be passed through, carry out Video processing.Being mainly characterized by of its Video processing is permissible Seeing image picture is stretched on mobile terminals, rotates, pulls, supports that 4:3 display video, 16:9 show video, circular aobvious Show video, cylinder display video image etc..
Additionally, in addition to the video of general mode shooting, the video of 360 degree of shootings can also be had well by the present invention Display and displaying function.The present invention can carry out two points of displays to 360 degree of full-view images, carries out stretching, rotates, the behaviour such as pulls Make.
Mobile phone of the prior art or tablet device directly can control capture apparatus (such as video camera etc.) by WIFI, and And can implement to obtain the video data of capture apparatus.
Mobile device can carry out OpenCV rectification to the video data received or download, and can be directly in mobile terminal Format transformation uploads community website and sharing website (such as YouTube website etc.).
The foregoing is only embodiments of the invention, not thereby limit the scope of the claims of the present invention, every utilize this The equivalents that bright description and accompanying drawing content are made, or directly or indirectly it is used in relevant technical field, the most in like manner include In the scope of patent protection of the present invention.

Claims (10)

1. the method processing video, it is characterised in that including:
Video is downloaded on mobile terminal;
Mobile terminal carries out OpenCV rectification to video;
Video after correcting uploads on website.
The method processing video the most according to claim 1, it is characterised in that each two field picture of video is entered by mobile terminal Row OpenCV corrects;
Use FFmpeg that image and sound carry out H264 coding and aac coding respectively, and be packaged into MP4 form;
Described MP4 form can be play by circular picture play mode, rectangular frame play mode or annular picture play mode.
The method processing video the most according to claim 2, it is characterised in that described rectification include cylinder effect correct, 360 Effect is corrected;Wherein,
Described cylinder effect is corrected and is darkened for the two rim portion equal proportions up and down at video image;
Described 360 effects are corrected and are darkened for the lower portion at video image, and image with the ratio darkening part is: camera lens angle Degree: (360-angle lens).
The method processing video the most according to claim 2, it is characterised in that the video after correcting uploads on website Step particularly as follows:
Using python language is that Google's api interface adds spherical parameter;
Embed python interpreter at mobile terminal, call python interpreter, the video after correcting is added spherical parameter;
Obtain Google's account authorization, Website login;
Arq mode in acquisition, and will correct after video upload on website.
The method processing video the most according to claim 4, it is characterised in that obtain Google's account authorization, pass through OAuth2.0 agreement, obtains access token Website login;
Website carries out user authentication by access token.
6. process a system for video, including mobile terminal, it is characterised in that
Described mobile terminal for foradownloaded video and carries out OpenCV rectification to video;
Video after correcting uploads on website.
Process the system of video the most according to claim 6, it is characterised in that each two field picture of video is entered by mobile terminal Row OpenCV corrects;
Use FFmpeg that image and sound carry out H264 coding and aac coding respectively, and be packaged into MP4 form;
Described MP4 form can be play by circular picture play mode, rectangular frame play mode and annular picture play mode.
Process the system of video the most according to claim 7, it is characterised in that described rectification include cylinder effect correct, 360 Effect is corrected;Wherein,
Described cylinder effect is corrected and is darkened for the two rim portion equal proportions up and down at video image;
Described 360 effects are corrected and are darkened for the lower portion at video image, and image with the ratio darkening part is: camera lens angle Degree: (360-angle lens).
Process the system of video the most according to claim 7, it is characterised in that
Using python language is that Google's api interface adds spherical parameter;
Embed python interpreter at mobile terminal, call python interpreter, the video after correcting is added spherical parameter;
Obtain Google's account authorization, Website login;
Arq mode in acquisition, and will correct after video upload on website.
Process the system of video the most according to claim 9, it is characterised in that acquisition for mobile terminal Google account authorization, logical Cross OAuth2.0 agreement, obtain access token Website login;
Website carries out user authentication by access token.
CN201610547639.0A 2016-07-12 2016-07-12 Process the method and system of video Pending CN106101820A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610547639.0A CN106101820A (en) 2016-07-12 2016-07-12 Process the method and system of video
PCT/CN2016/091742 WO2018010212A1 (en) 2016-07-12 2016-07-26 Method and system for processing video

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610547639.0A CN106101820A (en) 2016-07-12 2016-07-12 Process the method and system of video

Publications (1)

Publication Number Publication Date
CN106101820A true CN106101820A (en) 2016-11-09

Family

ID=57219946

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610547639.0A Pending CN106101820A (en) 2016-07-12 2016-07-12 Process the method and system of video

Country Status (2)

Country Link
CN (1) CN106101820A (en)
WO (1) WO2018010212A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110662084A (en) * 2019-10-15 2020-01-07 北京齐尔布莱特科技有限公司 MP4 file stream live broadcasting method, mobile terminal and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101534413A (en) * 2009-04-14 2009-09-16 深圳华为通信技术有限公司 System, method and apparatus for remote representation
CN101958891A (en) * 2010-09-01 2011-01-26 上海杰图房网信息科技有限公司 System and method for constructing house property panoramic exhibition by using portable shooting device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101958970A (en) * 2010-08-11 2011-01-26 优视科技有限公司 Method of uploading files based on terminal of mobile communication equipment, as well as device and system thereof
CN102790922B (en) * 2011-05-18 2015-12-16 腾讯科技(深圳)有限公司 Multimedia player and share multimedia method
CN102868923B (en) * 2012-09-13 2016-04-06 北京富年科技有限公司 Be applied to special-effect cloud processing method, the equipment and system of mobile terminal video
DE102014222190A1 (en) * 2014-10-30 2016-05-04 Volkswagen Aktiengesellschaft Device and method for connecting a mobile camera device
CN105631970B (en) * 2016-01-05 2018-04-03 盯盯拍(深圳)技术股份有限公司 One-touch information sharing method and system based on drive recorder
CN105763791A (en) * 2016-01-29 2016-07-13 珠海汇迪科技有限公司 Method for sharing videos in motion camera through handheld equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101534413A (en) * 2009-04-14 2009-09-16 深圳华为通信技术有限公司 System, method and apparatus for remote representation
CN101958891A (en) * 2010-09-01 2011-01-26 上海杰图房网信息科技有限公司 System and method for constructing house property panoramic exhibition by using portable shooting device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110662084A (en) * 2019-10-15 2020-01-07 北京齐尔布莱特科技有限公司 MP4 file stream live broadcasting method, mobile terminal and storage medium

Also Published As

Publication number Publication date
WO2018010212A1 (en) 2018-01-18

Similar Documents

Publication Publication Date Title
US10943502B2 (en) Manipulation of media content to overcome user impairments
US10334162B2 (en) Video processing apparatus for generating panoramic video and method thereof
CN104010225B (en) The method and system of display panoramic video
US10956766B2 (en) Bit depth remapping based on viewing parameters
US10382680B2 (en) Methods and systems for generating stitched video content from multiple overlapping and concurrently-generated video instances
KR102245366B1 (en) Digital device and method for controlling the same
KR20210000761A (en) Apparatus and method for providing and displaying content
US10021295B1 (en) Visual cues for managing image capture
CN104618739B (en) A kind of video program information shows playback method and system
CN108650542A (en) Generate vertical screen video flowing, the method for image procossing, electronic equipment and video system
US11069322B2 (en) Display method and display device, visible light communication transmission method and device
US20200302664A1 (en) Creating and displaying multi-layered augemented reality
CN102185878A (en) Method and system for obtaining television program information
US20150035993A1 (en) Systems, methods, and media for calibrating a display device
US10192297B2 (en) Method and apparatus for creating, streaming, and rendering HDR images
CN103561312A (en) Method and device for adjusting video playing interface
CN103051947A (en) Set-top-box-based electronic photo album sharing method and system
CN105721739B (en) Anti-shaking system and method for screen image
CN105827484A (en) Synchronous test image display method and system
CN107959849A (en) Live video quality assessment method, storage medium and terminal
CN104102421A (en) Method and system for replacing shooting content by using screenshot content
US20150047050A1 (en) Method and Apparatus for Configuring Privacy Settings for Publishing Electronic Images
CN112435244A (en) Live video quality evaluation method and device, computer equipment and storage medium
CN106101820A (en) Process the method and system of video
CN104811802A (en) Image playing method and apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination