CN106454180B - Method and device for recording, processing and transmitting video and terminal - Google Patents

Method and device for recording, processing and transmitting video and terminal Download PDF

Info

Publication number
CN106454180B
CN106454180B CN201610854540.5A CN201610854540A CN106454180B CN 106454180 B CN106454180 B CN 106454180B CN 201610854540 A CN201610854540 A CN 201610854540A CN 106454180 B CN106454180 B CN 106454180B
Authority
CN
China
Prior art keywords
video
sub
file
video file
segmentation
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.)
Active
Application number
CN201610854540.5A
Other languages
Chinese (zh)
Other versions
CN106454180A (en
Inventor
刘铁峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen 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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201610854540.5A priority Critical patent/CN106454180B/en
Publication of CN106454180A publication Critical patent/CN106454180A/en
Application granted granted Critical
Publication of CN106454180B publication Critical patent/CN106454180B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-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/10Multimedia information

Abstract

The invention provides a method for recording and transmitting video, a device for recording and transmitting video, a method for processing and transmitting video, a device for processing and transmitting video and a terminal, wherein the method for recording and transmitting video comprises the following steps: setting segmentation nodes according to a segmentation standard in the process of recording a video, and recording the video according to the segmentation nodes to generate a first video file; wherein the first video file contains a plurality of sub video files divided by the segmentation node; and sending the plurality of sub video files to other terminals so that the other terminals can integrate the plurality of sub video files into a second video file. By the technical scheme, the video file which cannot be sent by the communication application program originally can be transmitted without the limitation of the communication application program, so that a user can conveniently send a large video, and the user experience is improved.

Description

Method and device for recording, processing and transmitting video and terminal
Technical Field
The invention relates to the technical field of video processing, in particular to a method for recording and transmitting a video, a device for recording and transmitting the video, a method for processing and transmitting the video, a device for processing and transmitting the video and a terminal.
Background
In the related technology, a user can record and send a video by using a communication application program, for example, various existing real-time chat tools such as WeChat, QQ, strange and West letter support the sending of the video in a chat window, but most communication application programs have requirements on the size of the transmitted video, generally the size of the video cannot exceed 10M-20M, when the user records the video or selects the video to send to a friend, the user cannot successfully send the video after exceeding the limit, the user experience is greatly influenced, no proper tool is available in the current stage to help the user to conveniently convert or cut the video to a proper size, and if the application program prompts that the video cannot be sent, the user can only record or send the video by using a computer mail, which is very inconvenient.
Therefore, a new technology for recording, processing and transmitting video is needed, which is convenient for the user to transmit video in the information sending interface of the application program.
Disclosure of Invention
The present invention is directed to solving at least one of the problems of the prior art or the related art.
To this end, it is an object of the invention to propose a method for recording and transmitting video.
Another object of the invention is to propose a device for recording and transmitting video.
It is a further object of this invention to provide a method of processing and transmitting video.
It is a further object of this invention to provide an apparatus for processing and transmitting video.
It is yet another object of the present invention to provide a terminal.
According to a first aspect of the present invention, there is provided a method of recording and transmitting video, comprising: setting segmentation nodes according to a segmentation standard in the process of recording a video, and recording the video according to the segmentation nodes to generate a first video file; wherein the first video file contains a plurality of sub video files divided by the segmentation node; and sending the plurality of sub video files to other terminals so that the other terminals can integrate the plurality of sub video files into a second video file.
In the technical scheme, the recording process of the video file is optimized by setting the segmentation nodes, so that the recorded video (possibly exceeding the upper limit set by the application program) can be transmitted by avoiding the limit rule of the application program, and the condition that the transmission fails due to the overlarge video is avoided. Specifically, in the recording process, a segmentation node is set every other segmentation standard (the continuity of the video cannot be damaged), the recorded video is segmented, each segment of sub-video does not exceed the upper limit set by the communication tool, the subsequent transmission process is to send each sub-video file in batches, each segment of sub-video can be successfully sent, the sub-video is integrated into an integral file (a second video file) at a receiving end and is presented to a receiving end, the segmentation node cannot influence the playing of the video, and the video cannot be jammed and other abnormal conditions in the playing process. The video recording method and the video transmission method can help a user to avoid the limitation of a communication tool to record and transmit a large video, avoid the condition of video transmission failure, facilitate the user to directly transmit the video in a chat window, and improve the user experience.
In the above technical solution, preferably, the method further includes: and displaying the first video file as an integral file, and expanding and displaying a plurality of sub video files contained in the first video file when a trigger signal is received.
In the technical scheme, in the process of recording the video, the video file is subjected to node insertion processing, so that the first video file comprises a plurality of sub-video files and is still displayed in a single file form, if the segmentation condition needs to be checked, a trigger signal can be input, at this time, the first video file expands the plurality of sub-video files contained in the first video file, for example, after a user double-clicks the first video file, the contained sub-video files can be displayed. The setting can check the video segmentation result, so that a user can intuitively master the video recording condition, and meanwhile, the follow-up operation can be conveniently carried out on the sub-video file.
In the above-described aspect, preferably, the segmentation criterion is determined in units of one of a number of bytes, a number of picture frames, and time, and the specific value can be automatically set according to a restriction rule of the application.
In the technical scheme, diversified video segmentation rules can be customized to adapt to different application programs. Specifically, different communication tools have different video transmission limit rules, and generally, a video transmission upper limit is set according to the size of byte number, and if the video transmission upper limit is exceeded, the video transmission fails, so that the upper limit value (or a value lower than the upper limit) is used as a segmentation standard, each section of sub-video can not exceed the size limit, and each section of sub-video in the first video file is ensured to meet the regulation of an application program, and further, the limit rule of the application program is public and can be acquired and automatically used as the segmentation standard. In addition, if the application program limits the video transmission in units of time or in units of video frame number, the application program can be used as the segmentation standard provided by the invention to segment the video.
In the above technical solution, preferably, the second video file may or may not include a segment node.
In the technical scheme, the second video file is formed by automatically integrating the sub-video files in the first video file at the receiving end, can continue to be provided with the segmentation nodes and can also eliminate the segmentation nodes so as to meet different receiving requirements and/or the limitation of the receiving end, so that the processed video has stronger adaptability. Specifically, if the second video file continues to have the segment node, it has all the characteristics of the first video file (including the segment file, being viewable, being forwarded without being determined to exceed the upper limit, etc.), and if the second video file no longer contains the segment node, it becomes a normal continuous video file, and the universality is better.
In the above technical solution, preferably, the trigger signal includes: inputting a click signal and a touch signal of the equipment.
In the technical scheme, the trigger signal is an instruction for initiating the viewing of the sub-video file, can be sent by the input device, and can also be sent by the touch of the user on the touch screen, so that the user can conveniently initiate the viewing of the sub-video file. For example, the user can expand the first video file by double-clicking the mouse to view a plurality of sub video files contained therein, and can also expand the first video file by long-pressing the icon of the first video file.
In the foregoing technical solution, preferably, when the trigger signal is received, the expanding and displaying of the plurality of sub video files included in the first video file specifically includes: and displaying the plurality of sub-video files according to any one form of list, paging, stacking, chain, ring, fan and pie chart.
In the technical scheme, the expansion form of the sub video file can be any one of list, paging, stack, chain, ring, fan and pie chart, and can also be other more intuitive and clear display methods. For example, the sub-video files are arranged around the first video file (while the first video file is hidden) to form an annular display, so that a small screen can be displayed conveniently, the sub-video files can be arranged in a vertical column manner, thumbnails are displayed behind each file in the transverse direction, so that a large screen can be displayed conveniently, and more information can be displayed.
In the above technical solution, preferably, the application program includes: real-time communication applications and non-real-time communication applications.
In the technical scheme, the communication tool is provided in an application program mode, and the video recording and transmission method provided by the invention can obtain a better video sending effect. For example, the real-time communication application can be QQ, MSN, YY, cybercai CC, WeChat, strange, West letter, friend search, etc., and the non-real-time communication application can be e-mail, microblog client, multimedia message, in-site letter of various websites, etc.
In the above technical solution, preferably, according to the received sub video file sending instruction, one or more sub video files are selected on the display interfaces of the plurality of sub video files to be sent.
In the technical scheme, the sub-video files contained in the first video file are sent in a single-selection or check mode, so that a user can conveniently select a proper video file to send according to the requirement without sending all the sub-videos contained in the first video.
In the above technical solution, preferably, the sub video files are selected to be played on the display interfaces of the plurality of sub video files according to the received sub video file playing instruction.
According to the technical scheme, the sub-video files are independently played, and a user can conveniently check each sub-video.
By the technical scheme, the segmentation node can be inserted in the process of recording the video, the recorded video is segmented and sent, and the video file which cannot be sent by the communication application program originally is transmitted without the limitation of the communication application program, so that a user can conveniently send a large video, and the user experience is improved.
According to the second aspect of the present invention, there is also provided an apparatus for recording and transmitting video, comprising: the video recording unit is used for setting segmentation nodes according to a segmentation standard in the process of recording a video, and generating a first video file according to the video recorded by the segmentation nodes; wherein the first video file contains a plurality of sub video files divided by the segmentation node; and the video sending unit is used for sending the plurality of sub video files to other terminals so that the other terminals can integrate the plurality of sub video files into a second video file.
In the technical scheme, the video recording unit optimizes the recording process of the video file by setting the segmentation nodes, so that the recorded video (possibly exceeding the upper limit set by the application program) can be transmitted by avoiding the limitation rule of the application program, and the condition of transmission failure caused by overlarge video is avoided. Specifically, in the recording process, a segmentation node is set every other segmentation standard (without destroying the continuity of the video), the recorded video is segmented, so that each segment of sub-video does not exceed the upper limit set by the communication tool, the subsequent transmission process is that the video sending unit sends each sub-video file in batches, so that each segment of sub-video can be successfully sent, and the sub-video is integrated into an integral file (a second video file) at the receiving end and presented to the receiving end, the segmentation node does not influence the playing of the video, and abnormal situations such as pause and the like of the video in the playing process can be avoided. The device for recording and transmitting the video can help a user to avoid the limitation of a communication tool to record and transmit the large video, the condition that the video is failed to be sent is avoided, the user can conveniently and directly send the video in a chat window, and the user experience is improved.
In the above technical solution, preferably, the method further includes: and the recording result viewing unit displays the first video file as an integral file, and expands and displays a plurality of sub video files contained in the first video file when receiving the trigger signal.
In the technical scheme, in the process of recording the video, the video file is subjected to node insertion processing, so that the first video file comprises a plurality of sub-video files, the recording result viewing unit still displays the sub-video files in a single file form, if the segmentation condition needs to be viewed, a trigger signal can be input, at this time, the recording result viewing unit enables the first video file to expand a plurality of sub-video files contained in the first video file, for example, after a user double-clicks the first video file, the sub-video files contained in the first video file can be displayed. The setting can check the video segmentation result, so that a user can intuitively master the video recording condition, and meanwhile, the follow-up operation can be conveniently carried out on the sub-video file.
In the above technical solution, preferably, the method further includes: and the segmentation standard setting unit determines the segmentation standard by taking one of byte number, frame number of pictures and time as a unit, and can automatically set a specific numerical value according to the restriction rule of an application program.
In the technical scheme, the segmentation standard setting unit can customize diversified video segmentation rules to adapt to different application programs. Specifically, different communication tools have different video transmission limit rules, generally, a video transmission upper limit is set according to the size of the byte number, and if the video transmission upper limit exceeds the video transmission upper limit, the video transmission fails, so that the segmentation standard setting unit uses the upper limit (or a value lower than the upper limit) as the segmentation standard, each segment of sub-video can not exceed the size limit, and each segment of sub-video in the first video file is ensured to meet the regulations of the application program. In addition, if the application program limits the video transmission in units of time or in units of video frame number, the application program can be used as the segmentation standard provided by the invention to segment the video.
In the above technical solution, preferably, the second video file may or may not include a segment node.
In the technical scheme, the second video file is formed by automatically integrating the sub-video files in the first video file at the receiving end, can continue to be provided with the segmentation nodes and can also eliminate the segmentation nodes so as to meet different receiving requirements and/or the limitation of the receiving end, so that the processed video has stronger adaptability. Specifically, if the second video file continues to have the segment node, it has all the characteristics of the first video file (including the segment file, being viewable, being forwarded without being determined to exceed the upper limit, etc.), and if the second video file no longer contains the segment node, it becomes a normal continuous video file, and the universality is better.
In the above technical solution, preferably, the trigger signal includes: inputting a click signal and a touch signal of the equipment.
In the technical scheme, the trigger signal is an instruction for initiating the viewing of the sub-video file, can be sent by the input device, and can also be sent by the touch of the user on the touch screen, so that the user can conveniently initiate the viewing of the sub-video file. For example, the user can expand the first video file by double-clicking the mouse to view a plurality of sub video files contained therein, and can also expand the first video file by long-pressing the icon of the first video file.
In the above technical solution, preferably, the recording result viewing unit is specifically configured to: and displaying the plurality of sub-video files according to any one form of list, paging, stacking, chain, ring, fan and pie chart.
In the technical scheme, the expansion form of the sub video files in the recording result viewing unit can be any one of a list, a page, a stack, a chain, a ring, a fan and a pie chart, and can also be other more intuitive and clear display modes. For example, the recording result viewing unit can arrange the sub-video files around the first video file (while hiding the first video file) to form an annular display for displaying on a small screen, and can also arrange the sub-video files in a vertical column form, and display thumbnails at the transverse rear of each file, thereby facilitating the display on a large screen and displaying more information.
In the above technical solution, preferably, the application program includes: real-time communication applications and non-real-time communication applications.
In the technical scheme, the communication tool is provided in an application program mode, and the video recording and transmitting device provided by the invention can obtain a better video transmitting effect. For example, the real-time communication application can be QQ, MSN, YY, cybercai CC, WeChat, strange, West letter, friend search, etc., and the non-real-time communication application can be e-mail, microblog client, multimedia message, in-site letter of various websites, etc.
In the above technical solution, preferably, the method further includes: and the sub video sending unit selects one or more sub video files to send on the display interfaces of the plurality of sub video files according to the received sub video file sending instruction.
In the technical scheme, the sub-video sending unit realizes the sending of the sub-video files contained in the first video file in a single-selection or check mode, so that a user can conveniently select a proper video file to send according to the requirement without sending all the sub-videos contained in the first video.
In the above technical solution, preferably, the method further includes: and the sub video playing unit is used for selecting the sub video files to play on the display interfaces of the plurality of sub video files according to the received sub video file playing instruction.
In the technical scheme, the sub-video playing unit realizes the independent playing of the sub-video files, and is convenient for a user to check each section of sub-video.
By the technical scheme, the segmentation node can be inserted in the process of recording the video, the recorded video is segmented and sent, and the video file which cannot be sent by the communication application program originally is transmitted without the limitation of the communication application program, so that a user can conveniently send a large video, and the user experience is improved.
According to a third aspect of the present invention, there is provided a method of processing and transmitting video, comprising: inserting segmentation nodes according to a segmentation standard in the process of processing the stored video, and dividing the stored video according to the segmentation nodes to generate a first video file; wherein the first video file contains a plurality of sub video files divided by the segmentation node; and sending the plurality of sub video files to other terminals so that the other terminals can integrate the plurality of sub video files into a second video file.
In the technical scheme, the stored video is processed and transmitted, so that the stored video can be transmitted by avoiding the limit rule of an application program. Specifically, the stored video is segmented by setting the segmentation nodes, so that the condition that the transmission fails due to the fact that the video is too large is avoided. In particular, the recorded video is analyzed, a segmentation node is set at every other segmentation standard in the process of processing the recorded video (the continuity of the video is not damaged), segmenting the stored video to ensure that each segment of sub-video does not exceed the upper limit set by the communication tool, setting segmentation nodes can be synchronously carried out with the analysis process, the segmentation nodes can be firstly analyzed and then set according to the analysis condition, video segmentation can be carried out according to the sequence and the segmentation can be carried out according to the average distribution mode, the subsequent transmission process is to send each sub-video file in batches to ensure that each segment of sub-video can be successfully sent, and the video file is integrated into an integral file (a second video file) at a receiving end and is presented to a receiving party, and the segmented nodes can not influence the playing of the video and can not cause abnormal conditions such as blocking and the like in the playing process of the video. The method for processing and transmitting the video can help the user to avoid the limitation of a communication tool to process and transmit the large video, avoid the condition of video transmission failure, facilitate the user to directly transmit the video in the chat window, and improve the user experience.
In the above technical solution, preferably, the method further includes: and displaying the first video file as an integral file, and expanding and displaying a plurality of sub video files contained in the first video file when a trigger signal is received.
In the technical scheme, in the process of processing the video, the video file is processed by inserting the nodes, so that the first video file comprises a plurality of sub-video files and is still displayed in the form of a single file, if the segmentation condition needs to be checked, a trigger signal can be input, at this time, the first video file expands the plurality of sub-video files contained in the first video file, for example, after a user double-clicks the first video file, the sub-video files contained in the first video file can be displayed. The setting can check the video segmentation result, so that a user can intuitively master the processing result of the video, and meanwhile, the subsequent operation can be conveniently carried out on the sub-video file.
In the above-described aspect, preferably, the segmentation criterion is determined in units of one of a number of bytes, a number of picture frames, and time, and the specific value can be automatically set according to a restriction rule of the application.
In the technical scheme, diversified video segmentation rules can be customized to adapt to different application programs. Specifically, different communication tools have different video transmission limit rules, and generally, a video transmission upper limit is set according to the size of byte number, and if the video transmission upper limit is exceeded, the video transmission fails, so that the upper limit value (or a value lower than the upper limit) is used as a segmentation standard, each section of sub-video can not exceed the size limit, and each section of sub-video in the first video file is ensured to meet the regulation of an application program, and further, the limit rule of the application program is public and can be acquired and automatically used as the segmentation standard. In addition, if the application program limits the video transmission in units of time or in units of video frame number, the application program can be used as the segmentation standard provided by the invention to segment the video.
In the above technical solution, preferably, the second video file may or may not include a segment node.
In the technical scheme, the second video file is formed by automatically integrating the sub-video files in the first video file at the receiving end, can continue to be provided with the segmentation nodes and can also eliminate the segmentation nodes so as to meet different receiving requirements and/or the limitation of the receiving end, so that the processed video has stronger adaptability. Specifically, if the second video file continues to have the segment node, it has all the characteristics of the first video file (including the segment file, being viewable, being forwarded without being determined to exceed the upper limit, etc.), and if the second video file no longer contains the segment node, it becomes a normal continuous video file, and the universality is better.
In the above technical solution, preferably, the trigger signal includes: inputting a click signal and a touch signal of the equipment.
In the technical scheme, the trigger signal is an instruction for initiating the viewing of the sub-video file, can be sent by the input device, and can also be sent by the touch of the user on the touch screen, so that the user can conveniently initiate the viewing of the sub-video file. For example, the user can expand the first video file by double-clicking the mouse to view a plurality of sub video files contained therein, and can also expand the first video file by long-pressing the icon of the first video file.
In the foregoing technical solution, preferably, when the trigger signal is received, the expanding and displaying of the plurality of sub video files included in the first video file specifically includes: and displaying the plurality of sub-video files according to any one form of list, paging, stacking, chain, ring, fan and pie chart.
In the technical scheme, the expansion form of the sub video file can be any one of list, paging, stack, chain, ring, fan and pie chart, and can also be other more intuitive and clear display methods. For example, the sub-video files are arranged around the first video file (while the first video file is hidden) to form an annular display, so that a small screen can be displayed conveniently, the sub-video files can be arranged in a vertical column manner, thumbnails are displayed behind each file in the transverse direction, so that a large screen can be displayed conveniently, and more information can be displayed.
In the above technical solution, preferably, the application program includes: real-time communication applications and non-real-time communication applications.
In the technical scheme, the communication tool is provided in an application program mode, and the video processing and transmission method provided by the invention can obtain a better video sending effect. For example, the real-time communication application can be QQ, MSN, YY, cybercai CC, WeChat, strange, West letter, friend search, etc., and the non-real-time communication application can be e-mail, microblog client, multimedia message, in-site letter of various websites, etc.
In the above technical solution, preferably, according to the received sub video file sending instruction, one or more sub video files are selected on the display interfaces of the plurality of sub video files to be sent.
In the technical scheme, the sub-video files contained in the first video file are sent in a single-selection or check mode, so that a user can conveniently select a proper video file to send according to the requirement without sending all the sub-videos contained in the first video.
In the above technical solution, preferably, the sub video files are selected to be played on the display interfaces of the plurality of sub video files according to the received sub video file playing instruction.
According to the technical scheme, the sub-video files are independently played, and a user can conveniently check each sub-video.
By the technical scheme, the segmentation node can be inserted into the stored video, and the stored video can be segmented and transmitted, so that the video file which cannot be transmitted through the communication application program originally can be transmitted without the limitation of the communication application program, a user can conveniently transmit the large video, and the user experience is improved.
According to a fourth aspect of the present invention, there is provided an apparatus for processing and transmitting video, comprising: the video processing unit is used for inserting segmentation nodes according to a segmentation standard in the process of processing the stored video, dividing the stored video according to the segmentation nodes and generating a first video file; wherein the first video file contains a plurality of sub video files divided by the segmentation node; and the video sending unit is used for sending the plurality of sub video files to other terminals so that the other terminals can integrate the plurality of sub video files into a second video file.
In the technical scheme, the video processing unit processes and transmits the stored video, so that the stored video can be transmitted by avoiding the limit rule of the application program. Specifically, the stored video is segmented by setting the segmentation nodes, so that the condition that the transmission fails due to the fact that the video is too large is avoided. In particular, the recorded video is analyzed, a segmentation node is set at every other segmentation standard in the process of processing the recorded video (the continuity of the video is not damaged), segmenting the stored video to ensure that each segment of sub-video does not exceed the upper limit set by the communication tool, setting segmentation nodes can be synchronously carried out with the analysis process, the segmentation nodes can be firstly analyzed and then set according to the analysis condition, video segmentation can be carried out according to the sequence and the average distribution mode, the subsequent transmission process is that the video sending unit sends each sub-video file in batches to ensure that each segment of sub-video can be successfully sent, and the video file is integrated into an integral file (a second video file) at a receiving end and is presented to a receiving party, and the segmented nodes can not influence the playing of the video and can not cause abnormal conditions such as blocking and the like in the playing process of the video. The device for processing and transmitting the video can help a user to avoid the limitation of a communication tool to process and transmit the large video, the condition that the video is failed to be sent is avoided, the user can conveniently and directly send the video in a chat window, and the use experience of the user is improved.
In the above technical solution, preferably, the method further includes: and the processing result viewing unit displays the first video file as an integral file, and expands and displays a plurality of sub video files contained in the first video file when receiving the trigger signal.
In the technical scheme, in the process of processing the video, the video file is processed by inserting the nodes, so that the first video file comprises a plurality of sub-video files, the processing result viewing unit still displays the sub-video files in a single file form, if the segmentation condition needs to be viewed, a trigger signal can be input, at this time, the first video file expands the plurality of sub-video files contained in the first video file, for example, after a user double clicks the first video file, the sub-video files contained in the first video file can be displayed by the processing result viewing unit. The setting can check the video segmentation result, so that a user can intuitively master the processing result of the video, and meanwhile, the subsequent operation can be conveniently carried out on the sub-video file.
In the above technical solution, preferably, the method further includes: and the segmentation standard setting unit determines the segmentation standard by taking one of byte number, frame number of pictures and time as a unit, and can automatically set a specific numerical value according to the restriction rule of an application program.
In the technical scheme, the segmentation standard setting unit can customize diversified video segmentation rules to adapt to different application programs. Specifically, different communication tools have different video transmission limit rules, generally, a video transmission upper limit is set according to the size of the byte number, and if the video transmission upper limit exceeds the video transmission upper limit, the video transmission fails, so that the segmentation standard setting unit uses the upper limit (or a value lower than the upper limit) as the segmentation standard, and can enable each segment of sub-video not to exceed the size limit, and ensure that each segment of sub-video in the first video file conforms to the specification of the application program, and further, the limit rule of the application program is public and can be acquired and automatically used as the segmentation standard. In addition, if the application program limits the video transmission in units of time or in units of video frame number, the application program can be used as the segmentation standard provided by the invention to segment the video.
In the above technical solution, preferably, the second video file may or may not include a segment node.
In the technical scheme, the second video file is formed by automatically integrating the sub-video files in the first video file at the receiving end, can continue to be provided with the segmentation nodes and can also eliminate the segmentation nodes so as to meet different receiving requirements and/or the limitation of the receiving end, so that the processed video has stronger adaptability. Specifically, if the second video file continues to have the segment node, it has all the characteristics of the first video file (including the segment file, being viewable, being forwarded without being determined to exceed the upper limit, etc.), and if the second video file no longer contains the segment node, it becomes a normal continuous video file, and the universality is better.
In the above technical solution, preferably, the trigger signal includes: inputting a click signal and a touch signal of the equipment.
In the technical scheme, the trigger signal is an instruction for initiating the viewing of the sub-video file, can be sent by the input device, and can also be sent by the touch of the user on the touch screen, so that the user can conveniently initiate the viewing of the sub-video file. For example, the user can expand the first video file by double-clicking the mouse to view a plurality of sub video files contained therein, and can also expand the first video file by long-pressing the icon of the first video file.
In the above technical solution, preferably, the processing result viewing unit is specifically configured to: when a trigger signal is received, a plurality of sub video files contained in a first video file are expanded and displayed, and the method specifically comprises the following steps: and displaying the plurality of sub-video files according to any one form of list, paging, stacking, chain, ring, fan and pie chart.
In the technical scheme, the expansion form of the sub video file can be any one of list, paging, stack, chain, ring, fan and pie chart, and can also be other more intuitive and clear display forms. For example, the sub-video files are arranged around the first video file (while the first video file is hidden) to form an annular display, so that a small screen can be displayed conveniently, the sub-video files can be arranged in a vertical column manner, thumbnails are displayed behind each file in the transverse direction, so that a large screen can be displayed conveniently, and more information can be displayed.
In the above technical solution, preferably, the application program includes: real-time communication applications and non-real-time communication applications.
In the technical scheme, the communication tool is provided in an application program mode, and the video processing and transmitting device provided by the invention can obtain a better video transmitting effect. For example, the real-time communication application can be QQ, MSN, YY, cybercai CC, WeChat, strange, West letter, friend search, etc., and the non-real-time communication application can be e-mail, microblog client, multimedia message, in-site letter of various websites, etc.
In the above technical solution, preferably, the method further includes: and the sub video sending unit selects one or more sub video files to send on the display interfaces of the plurality of sub video files according to the received sub video file sending instruction.
In the technical scheme, the sub-video sending unit realizes the sending of the sub-video files contained in the first video file in a single-selection or check mode, so that a user can conveniently select a proper video file to send according to the requirement without sending all the sub-videos contained in the first video.
In the above technical solution, preferably, the method further includes: and the sub video playing unit is used for selecting the sub video files to play on the display interfaces of the plurality of sub video files according to the received sub video file playing instruction.
In the technical scheme, the sub-video playing unit realizes the independent playing of the sub-video files, and is convenient for a user to check each section of sub-video.
By the technical scheme, the segmentation node can be inserted into the stored video, and the stored video can be segmented and transmitted, so that the video file which cannot be transmitted through the communication application program originally can be transmitted without the limitation of the communication application program, a user can conveniently transmit the large video, and the user experience is improved.
According to the fifth aspect of the present invention, there is also provided a terminal, including: the device for recording and transmitting the video according to the technical scheme; and/or a device for processing and transmitting video as described in the above technical solution.
In the technical scheme, the video recording unit optimizes the recording process of the video file by setting the segmentation nodes, so that the recorded video (possibly exceeding the upper limit set by the application program) can be transmitted by avoiding the limitation rule of the application program, and the condition of transmission failure caused by overlarge video is avoided. Specifically, in the recording process, a segmentation node is set every other segmentation standard (without destroying the continuity of the video), the recorded video is segmented, so that each segment of sub-video does not exceed the upper limit set by the communication tool, the subsequent transmission process is that the video sending unit sends each sub-video file in batches, so that each segment of sub-video can be successfully sent, and the sub-video is integrated into an integral file (a second video file) at the receiving end and presented to the receiving end, the segmentation node does not influence the playing of the video, and abnormal situations such as pause and the like of the video in the playing process can be avoided. The device for recording and transmitting the video can help a user to avoid the limitation of a communication tool to record and transmit the large video, the condition that the video is failed to be sent is avoided, the user can conveniently and directly send the video in a chat window, and the user experience is improved.
In the above technical solution, preferably, the method further includes: and the recording result viewing unit displays the first video file as an integral file, and expands and displays a plurality of sub video files contained in the first video file when receiving the trigger signal.
In the technical scheme, in the process of recording the video, the video file is subjected to node insertion processing, so that the first video file comprises a plurality of sub-video files, the recording result viewing unit still displays the sub-video files in a single file form, if the segmentation condition needs to be viewed, a trigger signal can be input, at this time, the recording result viewing unit enables the first video file to expand a plurality of sub-video files contained in the first video file, for example, after a user double-clicks the first video file, the sub-video files contained in the first video file can be displayed. The setting can check the video segmentation result, so that a user can intuitively master the video recording condition, and meanwhile, the follow-up operation can be conveniently carried out on the sub-video file.
In the above technical solution, preferably, the method further includes: and the segmentation standard setting unit determines the segmentation standard by taking one of byte number, frame number of pictures and time as a unit, and can automatically set a specific numerical value according to the restriction rule of an application program.
In the technical scheme, the segmentation standard setting unit can customize diversified video segmentation rules to adapt to different application programs. Specifically, different communication tools have different video transmission limit rules, generally, a video transmission upper limit is set according to the size of the byte number, and if the video transmission upper limit exceeds the video transmission upper limit, the video transmission fails, so that the segmentation standard setting unit uses the upper limit (or a value lower than the upper limit) as the segmentation standard, each segment of sub-video can not exceed the size limit, and each segment of sub-video in the first video file is ensured to meet the regulations of the application program. In addition, if the application program limits the video transmission in units of time or in units of video frame number, the application program can be used as the segmentation standard provided by the invention to segment the video.
In the above technical solution, preferably, the second video file may or may not include a segment node.
In the technical scheme, the second video file is formed by automatically integrating the sub-video files in the first video file at the receiving end, can continue to be provided with the segmentation nodes and can also eliminate the segmentation nodes so as to meet different receiving requirements and/or the limitation of the receiving end, so that the processed video has stronger adaptability. Specifically, if the second video file continues to have the segment node, it has all the characteristics of the first video file (including the segment file, being viewable, being forwarded without being determined to exceed the upper limit, etc.), and if the second video file no longer contains the segment node, it becomes a normal continuous video file, and the universality is better.
In the above technical solution, preferably, the trigger signal includes: inputting a click signal and a touch signal of the equipment.
In the technical scheme, the trigger signal is an instruction for initiating the viewing of the sub-video file, can be sent by the input device, and can also be sent by the touch of the user on the touch screen, so that the user can conveniently initiate the viewing of the sub-video file. For example, the user can expand the first video file by double-clicking the mouse to view a plurality of sub video files contained therein, and can also expand the first video file by long-pressing the icon of the first video file.
In the above technical solution, preferably, the recording result viewing unit is specifically configured to: and displaying the plurality of sub-video files according to any one form of list, paging, stacking, chain, ring, fan and pie chart.
In the technical scheme, the expansion form of the sub video files in the recording result viewing unit can be any one of a list, a page, a stack, a chain, a ring, a fan and a pie chart, and can also be other more intuitive and clear display modes. For example, the recording result viewing unit can arrange the sub-video files around the first video file (while hiding the first video file) to form an annular display for displaying on a small screen, and can also arrange the sub-video files in a vertical column form, and display thumbnails at the transverse rear of each file, thereby facilitating the display on a large screen and displaying more information.
In the above technical solution, preferably, the application program includes: real-time communication applications and non-real-time communication applications.
In the technical scheme, the communication tool is provided in an application program mode, and the video recording and transmitting device provided by the invention can obtain a better video transmitting effect. For example, the real-time communication application can be QQ, MSN, YY, cybercai CC, WeChat, strange, West letter, friend search, etc., and the non-real-time communication application can be e-mail, microblog client, multimedia message, in-site letter of various websites, etc.
In the above technical solution, preferably, the method further includes: and the sub video sending unit selects one or more sub video files to send on the display interfaces of the plurality of sub video files according to the received sub video file sending instruction.
In the technical scheme, the sub-video sending unit realizes the sending of the sub-video files contained in the first video file in a single-selection or check mode, so that a user can conveniently select a proper video file to send according to the requirement without sending all the sub-videos contained in the first video.
In the above technical solution, preferably, the method further includes: and the sub video playing unit is used for selecting the sub video files to play on the display interfaces of the plurality of sub video files according to the received sub video file playing instruction.
In the technical scheme, the sub-video playing unit realizes the independent playing of the sub-video files, and is convenient for a user to check each section of sub-video.
In the technical scheme, the video processing unit processes and transmits the stored video, so that the stored video can be transmitted by avoiding the limit rule of the application program. Specifically, the stored video is segmented by setting the segmentation nodes, so that the condition that the transmission fails due to the fact that the video is too large is avoided. In particular, the recorded video is analyzed, a segmentation node is set at every other segmentation standard in the process of processing the recorded video (the continuity of the video is not damaged), segmenting the stored video to ensure that each segment of sub-video does not exceed the upper limit set by the communication tool, setting segmentation nodes can be synchronously carried out with the analysis process, the segmentation nodes can be firstly analyzed and then set according to the analysis condition, video segmentation can be carried out according to the sequence and the average distribution mode, the subsequent transmission process is that the video sending unit sends each sub-video file in batches to ensure that each segment of sub-video can be successfully sent, and the video file is integrated into an integral file (a second video file) at a receiving end and is presented to a receiving party, and the segmented nodes can not influence the playing of the video and can not cause abnormal conditions such as blocking and the like in the playing process of the video. The device for processing and transmitting the video can help a user to avoid the limitation of a communication tool to process and transmit the large video, the condition that the video is failed to be sent is avoided, the user can conveniently and directly send the video in a chat window, and the use experience of the user is improved.
In the above technical solution, preferably, the method further includes: and the processing result viewing unit displays the first video file as an integral file, and expands and displays a plurality of sub video files contained in the first video file when receiving the trigger signal.
In the technical scheme, in the process of processing the video, the video file is processed by inserting the nodes, so that the first video file comprises a plurality of sub-video files, the processing result viewing unit still displays the sub-video files in a single file form, if the segmentation condition needs to be viewed, a trigger signal can be input, at this time, the first video file expands the plurality of sub-video files contained in the first video file, for example, after a user double clicks the first video file, the sub-video files contained in the first video file can be displayed by the processing result viewing unit. The setting can check the video segmentation result, so that a user can intuitively master the processing result of the video, and meanwhile, the subsequent operation can be conveniently carried out on the sub-video file.
In the above technical solution, preferably, the method further includes: and the segmentation standard setting unit determines the segmentation standard by taking one of byte number, frame number of pictures and time as a unit, and can automatically set a specific numerical value according to the restriction rule of an application program.
In the technical scheme, the segmentation standard setting unit can customize diversified video segmentation rules to adapt to different application programs. Specifically, different communication tools have different video transmission limit rules, generally, a video transmission upper limit is set according to the size of the byte number, and if the video transmission upper limit exceeds the video transmission upper limit, the video transmission fails, so that the segmentation standard setting unit uses the upper limit (or a value lower than the upper limit) as the segmentation standard, and can enable each segment of sub-video not to exceed the size limit, and ensure that each segment of sub-video in the first video file conforms to the specification of the application program, and further, the limit rule of the application program is public and can be acquired and automatically used as the segmentation standard. In addition, if the application program limits the video transmission in units of time or in units of video frame number, the application program can be used as the segmentation standard provided by the invention to segment the video.
In the above technical solution, preferably, the second video file may or may not include a segment node.
In the technical scheme, the second video file is formed by automatically integrating the sub-video files in the first video file at the receiving end, can continue to be provided with the segmentation nodes and can also eliminate the segmentation nodes so as to meet different receiving requirements and/or the limitation of the receiving end, so that the processed video has stronger adaptability. Specifically, if the second video file continues to have the segment node, it has all the characteristics of the first video file (including the segment file, being viewable, being forwarded without being determined to exceed the upper limit, etc.), and if the second video file no longer contains the segment node, it becomes a normal continuous video file, and the universality is better.
In the above technical solution, preferably, the trigger signal includes: inputting a click signal and a touch signal of the equipment.
In the technical scheme, the trigger signal is an instruction for initiating the viewing of the sub-video file, can be sent by the input device, and can also be sent by the touch of the user on the touch screen, so that the user can conveniently initiate the viewing of the sub-video file. For example, the user can expand the first video file by double-clicking the mouse to view a plurality of sub video files contained therein, and can also expand the first video file by long-pressing the icon of the first video file.
In the above technical solution, preferably, the processing result viewing unit is specifically configured to: when a trigger signal is received, a plurality of sub video files contained in a first video file are expanded and displayed, and the method specifically comprises the following steps: and displaying the plurality of sub-video files according to any one form of list, paging, stacking, chain, ring, fan and pie chart.
In the technical scheme, the expansion form of the sub video file can be any one of list, paging, stack, chain, ring, fan and pie chart, and can also be other more intuitive and clear display forms. For example, the sub-video files are arranged around the first video file (while the first video file is hidden) to form an annular display, so that a small screen can be displayed conveniently, the sub-video files can be arranged in a vertical column manner, thumbnails are displayed behind each file in the transverse direction, so that a large screen can be displayed conveniently, and more information can be displayed.
In the above technical solution, preferably, the application program includes: real-time communication applications and non-real-time communication applications.
In the technical scheme, the communication tool is provided in an application program mode, and the video processing and transmitting device provided by the invention can obtain a better video transmitting effect. For example, the real-time communication application can be QQ, MSN, YY, cybercai CC, WeChat, strange, West letter, friend search, etc., and the non-real-time communication application can be e-mail, microblog client, multimedia message, in-site letter of various websites, etc.
In the above technical solution, preferably, the method further includes: and the sub video sending unit selects one or more sub video files to send on the display interfaces of the plurality of sub video files according to the received sub video file sending instruction.
In the technical scheme, the sub-video sending unit realizes the sending of the sub-video files contained in the first video file in a single-selection or check mode, so that a user can conveniently select a proper video file to send according to the requirement without sending all the sub-videos contained in the first video.
In the above technical solution, preferably, the method further includes: and the sub video playing unit is used for selecting the sub video files to play on the display interfaces of the plurality of sub video files according to the received sub video file playing instruction.
In the technical scheme, the sub-video playing unit realizes the independent playing of the sub-video files, and is convenient for a user to check each section of sub-video.
Through the technical scheme, the segmentation node can be inserted in the process of recording the video or transmitting the stored video, the recorded video or the stored video is segmented and transmitted, the video file which cannot be transmitted through the communication application program originally is transmitted without the limitation of the communication application program, a user can conveniently transmit the large video, and the user experience is improved.
Drawings
Fig. 1 shows a flow diagram of a method of recording and transmitting video according to an embodiment of the invention;
fig. 2 shows a block diagram of an apparatus for recording and transmitting video according to an embodiment of the present invention;
FIG. 3 shows a flow diagram of a method of processing and transmitting video according to an embodiment of the invention;
FIG. 4 shows a block diagram of an apparatus for processing and transmitting video according to an embodiment of the invention;
fig. 5 shows a block diagram of a terminal according to an embodiment of the invention;
FIG. 6 shows a sub-video file viewing schematic in accordance with an embodiment of the present invention.
Detailed Description
In order that the above objects, features and advantages of the present invention can be more clearly understood, a more particular description of the invention will be rendered by reference to the appended drawings.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, however, the present invention may be practiced in other ways than those specifically described herein, and thus the present invention is not limited to the specific embodiments disclosed below.
Fig. 1 shows a flow chart of a method of recording and transmitting video according to an embodiment of the invention.
As shown in fig. 1, a method for recording and transmitting a video according to an embodiment of the present invention includes: 102, setting segmentation nodes according to a segmentation standard in the process of recording a video, and 104, recording the video according to the segmentation nodes to generate a first video file; wherein the first video file contains a plurality of sub video files divided by the segmentation node; and 106, sending the plurality of sub video files to other terminals so that the other terminals can integrate the plurality of sub video files into a second video file.
In the technical scheme, the recording process of the video file is optimized by setting the segmentation nodes, so that the recorded video (possibly exceeding the upper limit set by the application program) can be transmitted by avoiding the limit rule of the application program, and the condition that the transmission fails due to the overlarge video is avoided. Specifically, in the recording process, a segmentation standard is set in step 102 as a segmentation basis of a segmentation node, in step 104, a segmentation node (which does not damage the continuity of a video) is set at every other segmentation standard (which is set according to specific restriction rules of related application programs), the recorded video is segmented, so that each segment of sub-video does not exceed an upper limit set by a communication tool, in subsequent transmission process step 106, each sub-video file is sent in batches, so that each segment of sub-video can be sent successfully, and is integrated into an integral file (a second video file) at a receiving end to be presented to a receiving end, the segmentation node does not affect the playing of the video, and abnormal situations such as video blocking and the like in the playing process are avoided. The video recording method and the video transmission method can help a user to avoid the limitation of a communication tool to record and transmit a large video, avoid the condition of video transmission failure, facilitate the user to directly transmit the video in a chat window, and improve the user experience.
In the above technical solution, after step 104, it is preferable to further include: and displaying the first video file as an integral file, and expanding and displaying a plurality of sub video files contained in the first video file when a trigger signal is received.
In the technical solution, step 104 performs node insertion processing on a video file in the process of recording a video, so that a first video file includes multiple sub-video files, and is still displayed in the form of a single file, and if the segmentation condition needs to be checked, a trigger signal can be input, at this time, the first video file expands multiple sub-video files included therein, for example, after a user double-clicks the first video file, the sub-video files included therein are displayed. The setting can check the video segmentation result, so that a user can intuitively master the video recording condition, and meanwhile, the follow-up operation can be conveniently carried out on the sub-video file.
In the above technical solution, preferably, in step 102, the segmentation criteria is determined in units of one of byte number, frame number of picture and time, and a specific value can be automatically set according to a restriction rule of an application.
In this embodiment, step 102 can have diversified video segmentation rules to adapt to different applications. Specifically, different communication tools may have different video transmission limiting rules, and generally, a video transmission upper limit is set according to the size of the byte number, and if the video transmission upper limit is exceeded, the video transmission fails, so that step 102 uses the upper limit (or a value lower than the upper limit) as a segmentation standard, so that each segment of sub-video does not exceed the size limit, and each segment of sub-video in the first video file is ensured to meet the specification of the application program, and further, the limiting rule of the application program is public and can be acquired and automatically used as the segmentation standard. In addition, if the application program limits the video transmission in units of time or in units of video frame number, the application program can be used as the segmentation standard provided by the invention to segment the video.
In the above technical solution, preferably, the second video file generated after the step 106 is completed may or may not include a segment node.
In the technical scheme, the second video file is formed by automatically integrating the sub-video files in the first video file at the receiving end, can continue to be provided with the segmentation nodes and can also eliminate the segmentation nodes so as to meet different receiving requirements and/or the limitation of the receiving end, so that the processed video has stronger adaptability. Specifically, if the second video file continues to have the segment node, it has all the characteristics of the first video file (including the segment file, being viewable, being forwarded without being determined to exceed the upper limit, etc.), and if the second video file no longer contains the segment node, it becomes a normal continuous video file, and the universality is better.
In the above technical solution, preferably, the trigger signal includes: inputting a click signal and a touch signal of the equipment.
In the technical scheme, the trigger signal is an instruction for initiating the viewing of the sub-video file, can be sent by the input device, and can also be sent by the touch of the user on the touch screen, so that the user can conveniently initiate the viewing of the sub-video file. For example, the user can expand the first video file by double-clicking the mouse to view a plurality of sub video files contained therein, and can also expand the first video file by long-pressing the icon of the first video file.
In the foregoing technical solution, preferably, the step 104 generates a plurality of sub video files, and when a trigger signal is received, the expanding and displaying the plurality of sub video files included in the first video file specifically includes: and displaying the plurality of sub-video files according to any one form of list, paging, stacking, chain, ring, fan and pie chart.
In the technical scheme, the expansion form of the sub video file can be any one of list, paging, stack, chain, ring, fan and pie chart, and can also be other more intuitive and clear display methods. For example, the sub-video files are arranged around the first video file (while the first video file is hidden) to form an annular display, so that a small screen can be displayed conveniently, the sub-video files can be arranged in a vertical column manner, thumbnails are displayed behind each file in the transverse direction, so that a large screen can be displayed conveniently, and more information can be displayed.
In the above technical solution, preferably, the application program includes: real-time communication applications and non-real-time communication applications.
In the technical scheme, the communication tool is provided in an application program mode, and the video recording and transmission method provided by the invention can obtain a better video sending effect. For example, the real-time communication application can be QQ, MSN, YY, cybercai CC, WeChat, strange, West letter, friend search, etc., and the non-real-time communication application can be e-mail, microblog client, multimedia message, in-site letter of various websites, etc.
In the above technical solution, preferably, according to the received sub video file sending instruction, one or more sub video files are selected on the display interfaces of the plurality of sub video files to be sent.
In the technical scheme, the sub-video files contained in the first video file are sent in a single-selection or check mode, so that a user can conveniently select a proper video file to send according to the requirement without sending all the sub-videos contained in the first video.
In the above technical solution, preferably, the sub video files are selected to be played on the display interfaces of the plurality of sub video files according to the received sub video file playing instruction.
According to the technical scheme, the sub-video files are independently played, and a user can conveniently check each sub-video.
Fig. 2 shows a block diagram of an apparatus for recording and transmitting video according to an embodiment of the present invention.
As shown in fig. 2, an apparatus 200 for recording and transmitting video according to an embodiment of the present invention includes: the video recording unit 202 is used for setting segmentation nodes according to a segmentation standard in the process of recording a video, recording the video according to the segmentation nodes and generating a first video file; wherein the first video file contains a plurality of sub video files divided by the segmentation node; the video sending unit 204 sends the plurality of sub-video files to other terminals, so that the other terminals integrate the plurality of sub-video files into a second video file.
In this technical solution, the video recording unit 202 optimizes the recording process of the video file by setting the segment nodes, so that the recorded video (which may exceed the upper limit set by the application program) can be transmitted without the restriction rule of the application program, and the occurrence of a transmission failure due to an excessively large video is avoided. Specifically, in the recording process, a segment node (which does not damage the continuity of the video) is set every other segment standard (which is set according to specific limiting rules of related application programs), the recorded video is segmented, so that each segment of sub-video does not exceed the upper limit set by the communication tool, the subsequent transmission process is that the video sending unit 204 sends each sub-video file in batches, so that each segment of sub-video can be sent successfully, and the sub-video files are integrated into an integral file (a second video file) at the receiving end and presented to the receiving end, the segment node does not affect the playing of the video, and abnormal situations such as blocking and the like of the video in the playing process are avoided. The device 200 for recording and transmitting the video can help a user to avoid the limitation of a communication tool to record and transmit the large video, avoid the condition of video transmission failure, facilitate the user to directly transmit the video in a chat window, and improve the user experience.
In the above technical solution, preferably, the method further includes: the recording result viewing unit 206 displays the first video file as an integral file, and when receiving the trigger signal, expands and displays a plurality of sub video files included in the first video file.
In the technical scheme, in the process of recording a video, a node is inserted into a video file to enable a first video file to include a plurality of sub-video files, the recording result viewing unit 206 still displays the sub-video files in a single file form, if the segmentation condition needs to be viewed, a trigger signal can be input, at this time, the recording result viewing unit 206 enables the first video file to expand a plurality of sub-video files included in the first video file, for example, after a user double-clicks the first video file, the sub-video files included in the first video file can be displayed. The setting can check the video segmentation result, so that a user can intuitively master the video recording condition, and meanwhile, the follow-up operation can be conveniently carried out on the sub-video file.
In the above technical solution, preferably, the method further includes: the segmentation criterion setting unit 208 determines a segmentation criterion in units of one of the number of bytes, the number of picture frames, and time, and can automatically set a specific numerical value according to a restriction rule of an application.
In this embodiment, the segmentation standard setting unit 208 can customize diversified video segmentation rules to adapt to different applications. Specifically, different communication tools may have different video transmission limit rules, generally, a video transmission upper limit is set according to the size of the byte number, and if the video transmission upper limit is exceeded, the video transmission fails, so the segmentation standard setting unit 208 uses the upper limit (or a value lower than the upper limit) as the segmentation standard, and can enable each segment of sub-video not to exceed the size limit, and ensure that each segment of sub-video in the first video file conforms to the specification of the application program, and further, the limit rule of the application program is public and can be acquired by the segmentation standard setting unit 208 and automatically used as the segmentation standard. In addition, if the application program limits the video transmission in units of time or in units of video frame number, the application program can be used as the segmentation standard provided by the invention to segment the video.
In the above technical solution, preferably, the second video file generated by the video recording unit 202 may or may not include a segment node.
In the technical solution, the second video file generated by the video recording unit 202 is formed by automatically integrating the sub-video files in the first video file at the receiving end, and can continue to have the segment nodes and also eliminate the segment nodes, so as to meet different receiving requirements and/or limitations of the receiving end, and thus the adaptability of the processed video is stronger. Specifically, if the second video file continues to have the segment node, it has all the characteristics of the first video file (including the segment file, being viewable, being forwarded without being determined to exceed the upper limit, etc.), and if the second video file no longer contains the segment node, it becomes a normal continuous video file, and the universality is better.
In the foregoing technical solution, preferably, the trigger signal received by the recording result viewing unit 206 includes: inputting a click signal and a touch signal of the equipment.
In this technical solution, the trigger signal received by the recording result viewing unit 206 is an instruction for initiating viewing of the sub-video file, and can be sent by the input device or by the user touching the touch screen, so that the user can initiate viewing of the sub-video file conveniently. For example, the user can expand the first video file by double-clicking the mouse to view a plurality of sub video files contained therein, and can also expand the first video file by long-pressing the icon of the first video file.
In the foregoing technical solution, preferably, the recording result viewing unit 206 is specifically configured to: and displaying the plurality of sub-video files according to any one form of list, paging, stacking, chain, ring, fan and pie chart.
In this technical solution, the expansion form of the sub video file in the recording result viewing unit 206 can be any one of a list, a page, a stack, a chain, a ring, a sector, and a pie chart, and can also be other more intuitive and clear display manners. For example, the recording result viewing unit 206 can arrange the sub-video files around the first video file (while hiding the first video file) to form an annular display for displaying on a small screen, and can also arrange the sub-video files in a vertical column, and display a thumbnail at the lateral rear of each file for displaying on a large screen and displaying more information.
In the above technical solution, preferably, the application program includes: real-time communication applications and non-real-time communication applications.
In the technical solution, the communication tool is provided in the form of an application program, and the device 200 for recording and transmitting video provided by the present invention can obtain a better video transmission effect. For example, the real-time communication application can be QQ, MSN, YY, cybercai CC, WeChat, strange, West letter, friend search, etc., and the non-real-time communication application can be e-mail, microblog client, multimedia message, in-site letter of various websites, etc.
In the above technical solution, preferably, the method further includes: the sub video sending unit 210 selects one or more sub video files on the display interfaces of the plurality of sub video files to send according to the received sub video file sending instruction.
In this technical solution, the sub video sending unit 210 implements sending of the sub video files included in the first video file in a single-check or check form, so that a user can conveniently select a suitable video file to send according to a requirement without sending all sub videos included in the first video.
In the above technical solution, preferably, the method further includes: the sub video playing unit 212 selects a sub video file to play on the display interface of the plurality of sub video files according to the received sub video file playing instruction.
In this technical solution, the sub video playing unit 212 realizes the independent playing of the sub video file, and is convenient for the user to view each segment of the sub video.
Fig. 3 shows a flow diagram of a method of processing and transmitting video according to an embodiment of the invention.
As shown in fig. 3, a method of processing and transmitting video according to an embodiment of the present invention includes: step 302, inserting segmentation nodes according to a segmentation standard in the process of processing the stored video, and step 304, dividing the stored video according to the segmentation nodes to generate a first video file; wherein the first video file contains a plurality of sub video files divided by the segmentation node; and step 306, sending the plurality of sub video files to other terminals so that the other terminals can integrate the plurality of sub video files into a second video file.
In the technical scheme, the stored video is processed and transmitted, so that the stored video can be transmitted by avoiding the limit rule of an application program. Step 302 determines a segmentation criteria, whereby the segmentation criteria specifies the size of the segment to avoid transmission failures due to an excessively large video. Step 304, analyzing the recorded video, setting a segmentation node (without damaging the continuity of the video) at intervals of a segmentation standard (set according to specific limiting rules of related application programs) in the process of processing the recorded video, segmenting the recorded video so that each segment of sub-video does not exceed the upper limit set by a communication tool, setting the segmentation node synchronously with the analysis process, analyzing the segmentation node first, setting the segmentation node according to the analysis condition, segmenting the video according to the sequence, and segmenting the video according to an average distribution mode, wherein the transmission process of step 306 is to transmit each sub-video file in batches so that each segment of sub-video can be successfully transmitted, integrate the sub-video files into an integral file (a second video file) at a receiving end and present the integral file to the receiving end, and the segmentation node does not influence the playing of the video, the video is not blocked and the like in the playing process. The method for processing and transmitting the video can help the user to avoid the limitation of a communication tool to process and transmit the large video, avoid the condition of video transmission failure, facilitate the user to directly transmit the video in the chat window, and improve the user experience.
In the above technical solution, preferably, step 304 further includes: and displaying the first video file as an integral file, and expanding and displaying a plurality of sub video files contained in the first video file when a trigger signal is received.
In this technical solution, step 304 performs processing of inserting nodes into a video file in a process of processing a video, so that a first video file includes multiple sub-video files, and is still displayed in a single file, if a segmentation condition needs to be checked, a trigger signal can be input, at this time, the first video file expands multiple sub-video files included therein, for example, after a user double-clicks the first video file, the sub-video files included therein are displayed. The setting can check the video segmentation result, so that a user can intuitively master the processing result of the video, and meanwhile, the subsequent operation can be conveniently carried out on the sub-video file.
In the above technical solution, preferably, in step 302, the segmentation criteria is determined in units of one of byte number, frame number of picture and time, and a specific value can be automatically set according to a restriction rule of an application.
In this embodiment, step 302 can have diversified video segmentation rules to adapt to different applications. Specifically, different communication tools have different video transmission limit rules, and generally, a video transmission upper limit is set according to the size of byte number, and if the video transmission upper limit is exceeded, the video transmission fails, so that the upper limit value (or a value lower than the upper limit) is used as a segmentation standard, each section of sub-video can not exceed the size limit, and each section of sub-video in the first video file is ensured to meet the regulation of an application program, and further, the limit rule of the application program is public and can be acquired and automatically used as the segmentation standard. In addition, if the application program limits the video transmission in units of time or in units of video frame number, the application program can be used as the segmentation standard provided by the invention to segment the video.
In the above technical solution, preferably, the second video file may or may not include the segmentation node after step 306.
In the technical scheme, the second video file is formed by automatically integrating the sub-video files in the first video file at the receiving end, can continue to be provided with the segmentation nodes and can also eliminate the segmentation nodes so as to meet different receiving requirements and/or the limitation of the receiving end, so that the processed video has stronger adaptability. Specifically, if the second video file continues to have the segment node, it has all the characteristics of the first video file (including the segment file, being viewable, being forwarded without being determined to exceed the upper limit, etc.), and if the second video file no longer contains the segment node, it becomes a normal continuous video file, and the universality is better.
In the above technical solution, preferably, the trigger signal includes: inputting a click signal and a touch signal of the equipment.
In the technical scheme, the trigger signal is an instruction for initiating the viewing of the sub-video file, can be sent by the input device, and can also be sent by the touch of the user on the touch screen, so that the user can conveniently initiate the viewing of the sub-video file. For example, the user can expand the first video file by double-clicking the mouse to view a plurality of sub video files contained therein, and can also expand the first video file by long-pressing the icon of the first video file.
In the foregoing technical solution, preferably, when the trigger signal is received, the expanding and displaying of the plurality of sub video files included in the first video file specifically includes: and displaying the plurality of sub-video files according to any one form of list, paging, stacking, chain, ring, fan and pie chart.
In this embodiment, the expanded form of the sub-video file generated in step 304 can be any one of list, page, stack, chain, ring, sector, and pie, or other more intuitive and clear display methods. For example, the sub-video files are arranged around the first video file (while the first video file is hidden) to form an annular display, so that a small screen can be displayed conveniently, the sub-video files can be arranged in a vertical column manner, thumbnails are displayed behind each file in the transverse direction, so that a large screen can be displayed conveniently, and more information can be displayed.
In the above technical solution, preferably, the application program includes: real-time communication applications and non-real-time communication applications.
In the technical scheme, the communication tool is provided in an application program mode, and the video processing and transmission method provided by the invention can obtain a better video sending effect. For example, the real-time communication application can be QQ, MSN, YY, cybercai CC, WeChat, strange, West letter, friend search, etc., and the non-real-time communication application can be e-mail, microblog client, multimedia message, in-site letter of various websites, etc.
In the above technical solution, preferably, according to the received sub video file sending instruction, one or more sub video files are selected on the display interfaces of the plurality of sub video files to be sent.
In the technical scheme, the sub-video files contained in the first video file are sent in a single-selection or check mode, so that a user can conveniently select a proper video file to send according to the requirement without sending all the sub-videos contained in the first video.
In the above technical solution, preferably, the sub video files are selected to be played on the display interfaces of the plurality of sub video files according to the received sub video file playing instruction.
According to the technical scheme, the sub-video files are independently played, and a user can conveniently check each sub-video.
Fig. 4 shows a block diagram of an apparatus for processing and transmitting video according to an embodiment of the present invention.
As shown in fig. 4, an apparatus 400 for processing and transmitting video according to an embodiment of the present invention includes: the video processing unit 402 inserts a segmentation node according to a segmentation standard in the process of processing the stored video, divides the stored video according to the segmentation node, and generates a first video file; wherein the first video file contains a plurality of sub video files divided by the segmentation node; the video sending unit 404 sends the plurality of sub-video files to other terminals, so that the other terminals integrate the plurality of sub-video files into a second video file.
In this technical solution, the video processing unit 402 processes and transmits the stored video, so that the stored video can be transmitted without the restriction rule of the application program. Specifically, the stored video is segmented by setting the segmentation nodes, so that the condition that the transmission fails due to the fact that the video is too large is avoided. Specifically, the recorded video is analyzed, a segmentation node (without damaging the continuity of the video) is set at every other segmentation standard (set according to specific limiting rules of related application programs) in the process of processing the recorded video, the recorded video is segmented, so that each segment of sub-video does not exceed the upper limit set by a communication tool, the setting of the segmentation node can be synchronous with the analysis process, the analysis can be performed first, then the setting of the segmentation node is performed according to the analysis condition, the video segmentation can be performed according to the sequence, the segmentation can be performed according to an average distribution mode, the subsequent transmission process is that the video sending unit 404 sends each sub-video file in batches, so that each segment of sub-video can be sent successfully, and is integrated into an integral file (a second video file) at the receiving end to be presented to the receiving end, and the segmentation node does not influence the playing of the video, the video is not blocked and the like in the playing process. The device 400 for processing and transmitting the video can help a user to avoid the limitation of a communication tool to process and transmit the large video, avoid the condition of video transmission failure, facilitate the user to directly transmit the video in a chat window, and improve the user experience.
In the above technical solution, preferably, the apparatus 400 for processing and transmitting video further includes: the processing result viewing unit 406 displays the first video file as an integral file, and when receiving the trigger signal, expands and displays a plurality of sub video files included in the first video file.
In this technical solution, the video processing unit 402 performs processing of inserting nodes into a video file in a process of processing a video, so that the first video file includes multiple sub-video files, the processing result viewing unit 406 still displays the sub-video files in a single file, if a segmentation condition needs to be viewed, a trigger signal can be input, at this time, the first video file expands the multiple sub-video files included therein, for example, after a user double-clicks the first video file, the sub-video files included therein are displayed by the processing result viewing unit 406. The setting can check the video segmentation result, so that a user can intuitively master the processing result of the video, and meanwhile, the subsequent operation can be conveniently carried out on the sub-video file.
In the above technical solution, preferably, the apparatus 400 for processing and transmitting video further includes: the segmentation criterion setting unit 408 determines a segmentation criterion in units of one of the number of bytes, the number of picture frames, and time, and can automatically set a specific numerical value according to a restriction rule of an application.
In this embodiment, the segmentation criteria setting unit 408 can customize various video segmentation rules to adapt to different applications. Specifically, different communication tools may have different video transmission restriction rules, and generally, a video transmission upper limit is set according to the size of the byte number, and if the video transmission upper limit is exceeded, the video transmission fails, so the segmentation standard setting unit 408 uses the upper limit (or a value lower than the upper limit) as the segmentation standard, and can enable each segment of sub-video not to exceed the size restriction, and ensure that each segment of sub-video in the first video file conforms to the specification of the application program, and further, the restriction rule of the application program is public and can be acquired and automatically used as the segmentation standard. In addition, if the application program limits the video transmission in units of time or in units of video frame number, the application program can be used as the segmentation standard provided by the invention to segment the video.
In the above technical solution, preferably, the second video file generated by the video processing unit 202 may or may not include a segment node.
In this technical solution, the second video file generated by the video processing unit 202 is formed by automatically integrating the sub-video files in the first video file at the receiving end, and can continue to have the segmentation nodes and also can eliminate the segmentation nodes, so as to meet different receiving requirements and/or limitations of the receiving end, and thus the adaptability of the processed video is stronger. Specifically, if the second video file continues to have the segment node, it has all the characteristics of the first video file (including the segment file, being viewable, being forwarded without being determined to exceed the upper limit, etc.), and if the second video file no longer contains the segment node, it becomes a normal continuous video file, and the universality is better.
In the above technical solution, preferably, the trigger signal in the processing result viewing unit 406 includes: inputting a click signal and a touch signal of the equipment.
In the technical scheme, the trigger signal is an instruction for initiating the viewing of the sub-video file, can be sent by the input device, and can also be sent by the touch of the user on the touch screen, so that the user can conveniently initiate the viewing of the sub-video file. For example, the user can expand the first video file by double-clicking the mouse to view a plurality of sub video files contained therein, and can also expand the first video file by long-pressing the icon of the first video file.
In the foregoing technical solution, preferably, the processing result viewing unit 406 is specifically configured to: when a trigger signal is received, a plurality of sub video files contained in a first video file are expanded and displayed, and the method specifically comprises the following steps: and displaying the plurality of sub-video files according to any one form of list, paging, stacking, chain, ring, fan and pie chart.
In this technical solution, the expansion form of the sub video file in the processing result viewing unit 406 can be any one of a list, a page, a stack, a chain, a ring, a sector, and a pie chart, and can also be other more intuitive and clear display manners. For example, the sub-video files are arranged around the first video file (while the first video file is hidden) to form an annular display, so that a small screen can be displayed conveniently, the sub-video files can be arranged in a vertical column manner, thumbnails are displayed behind each file in the transverse direction, so that a large screen can be displayed conveniently, and more information can be displayed.
In the above technical solution, preferably, the application program includes: real-time communication applications and non-real-time communication applications.
In the technical solution, the communication tool is provided in the form of an application program, and the device 400 for processing and transmitting video provided by the present invention can obtain a better video transmission effect. For example, the real-time communication application can be QQ, MSN, YY, cybercai CC, WeChat, strange, West letter, friend search, etc., and the non-real-time communication application can be e-mail, microblog client, multimedia message, in-site letter of various websites, etc.
In the above technical solution, preferably, the apparatus 400 for processing and transmitting video further includes: the sub video sending unit 410 selects one or more sub video files to send on the display interfaces of the plurality of sub video files according to the received sub video file sending instruction.
In this technical solution, the sub video sending unit 410 implements sending of the sub video files included in the first video file in a single-check or check form, so that a user can conveniently select a suitable video file to send according to a requirement without sending all the sub videos included in the first video.
In the above technical solution, preferably, the apparatus 400 for processing and transmitting video further includes: the sub-video playing unit 412 selects a sub-video file to play on the display interfaces of the plurality of sub-video files according to the received sub-video file playing instruction.
In this technical solution, the sub video playing unit 412 realizes the independent playing of the sub video file, which is convenient for the user to view each sub video.
Fig. 5 shows a block diagram of a terminal according to an embodiment of the invention;
as shown in fig. 5, a terminal 500 according to an embodiment of the present invention includes the apparatus 200 for recording and transmitting video as shown in fig. 2, and/or the apparatus 400 for processing and transmitting video as shown in fig. 4.
In this technical solution, the video recording unit 202 optimizes the recording process of the video file by setting the segment nodes, so that the recorded video (which may exceed the upper limit set by the application program) can be transmitted without the restriction rule of the application program, and the occurrence of a transmission failure due to an excessively large video is avoided. Specifically, in the recording process, a segment node (which does not damage the continuity of the video) is set every other segment standard (which is set according to specific limiting rules of related application programs), the recorded video is segmented, so that each segment of sub-video does not exceed the upper limit set by the communication tool, the subsequent transmission process is that the video sending unit 204 sends each sub-video file in batches, so that each segment of sub-video can be sent successfully, and the sub-video files are integrated into an integral file (a second video file) at the receiving end and presented to the receiving end, the segment node does not affect the playing of the video, and abnormal situations such as blocking and the like of the video in the playing process are avoided. The device 200 for recording and transmitting the video can help a user to avoid the limitation of a communication tool to record and transmit the large video, avoid the condition of video transmission failure, facilitate the user to directly transmit the video in a chat window, and improve the user experience.
In the above technical solution, preferably, the method further includes: the recording result viewing unit 206 displays the first video file as an integral file, and when receiving the trigger signal, expands and displays a plurality of sub video files included in the first video file.
In the technical scheme, in the process of recording a video, a node is inserted into a video file to enable a first video file to include a plurality of sub-video files, the recording result viewing unit 206 still displays the sub-video files in a single file form, if the segmentation condition needs to be viewed, a trigger signal can be input, at this time, the recording result viewing unit 206 enables the first video file to expand a plurality of sub-video files included in the first video file, for example, after a user double-clicks the first video file, the sub-video files included in the first video file can be displayed. The setting can check the video segmentation result, so that a user can intuitively master the video recording condition, and meanwhile, the follow-up operation can be conveniently carried out on the sub-video file.
In the above technical solution, preferably, the method further includes: the segmentation criterion setting unit 208 determines a segmentation criterion in units of one of the number of bytes, the number of picture frames, and time, and can automatically set a specific numerical value according to a restriction rule of an application.
In this embodiment, the segmentation standard setting unit 208 can customize diversified video segmentation rules to adapt to different applications. Specifically, different communication tools may have different video transmission limit rules, generally, a video transmission upper limit is set according to the size of the byte number, and if the video transmission upper limit is exceeded, the video transmission fails, so the segmentation standard setting unit 208 uses the upper limit (or a value lower than the upper limit) as the segmentation standard, and can enable each segment of sub-video not to exceed the size limit, and ensure that each segment of sub-video in the first video file conforms to the specification of the application program, and further, the limit rule of the application program is public and can be acquired by the segmentation standard setting unit 208 and automatically used as the segmentation standard. In addition, if the application program limits the video transmission in units of time or in units of video frame number, the application program can be used as the segmentation standard provided by the invention to segment the video.
In the above technical solution, preferably, the second video file generated by the video recording unit 202 may or may not include a segment node.
In the technical solution, the second video file generated by the video recording unit 202 is formed by automatically integrating the sub-video files in the first video file at the receiving end, and can continue to have the segment nodes and also eliminate the segment nodes, so as to meet different receiving requirements and/or limitations of the receiving end, and thus the adaptability of the processed video is stronger. Specifically, if the second video file continues to have the segment node, it has all the characteristics of the first video file (including the segment file, being viewable, being forwarded without being determined to exceed the upper limit, etc.), and if the second video file no longer contains the segment node, it becomes a normal continuous video file, and the universality is better.
In the foregoing technical solution, preferably, the trigger signal received by the recording result viewing unit 206 includes: inputting a click signal and a touch signal of the equipment.
In this technical solution, the trigger signal received by the recording result viewing unit 206 is an instruction for initiating viewing of the sub-video file, and can be sent by the input device or by the user touching the touch screen, so that the user can initiate viewing of the sub-video file conveniently. For example, the user can expand the first video file by double-clicking the mouse to view a plurality of sub video files contained therein, and can also expand the first video file by long-pressing the icon of the first video file.
In the foregoing technical solution, preferably, the recording result viewing unit 206 is specifically configured to: and displaying the plurality of sub-video files according to any one form of list, paging, stacking, chain, ring, fan and pie chart.
In this technical solution, the expansion form of the sub video file in the recording result viewing unit 206 can be any one of a list, a page, a stack, a chain, a ring, a sector, and a pie chart, and can also be other more intuitive and clear display manners. For example, the recording result viewing unit 206 can arrange the sub-video files around the first video file (while hiding the first video file) to form an annular display for displaying on a small screen, and can also arrange the sub-video files in a vertical column, and display a thumbnail at the lateral rear of each file for displaying on a large screen and displaying more information.
In the above technical solution, preferably, the application program includes: real-time communication applications and non-real-time communication applications.
In the technical solution, the communication tool is provided in the form of an application program, and the device 200 for recording and transmitting video provided by the present invention can obtain a better video transmission effect. For example, the real-time communication application can be QQ, MSN, YY, cybercai CC, WeChat, strange, West letter, friend search, etc., and the non-real-time communication application can be e-mail, microblog client, multimedia message, in-site letter of various websites, etc.
In the above technical solution, preferably, the method further includes: the sub video sending unit 210 selects one or more sub video files on the display interfaces of the plurality of sub video files to send according to the received sub video file sending instruction.
In this technical solution, the sub video sending unit 210 implements sending of the sub video files included in the first video file in a single-check or check form, so that a user can conveniently select a suitable video file to send according to a requirement without sending all sub videos included in the first video.
In the above technical solution, preferably, the method further includes: the sub video playing unit 212 selects a sub video file to play on the display interface of the plurality of sub video files according to the received sub video file playing instruction.
In this technical solution, the sub video playing unit 212 realizes the independent playing of the sub video file, and is convenient for the user to view each segment of the sub video.
The video processing unit 402 processes and transmits the stored video so that the stored video can be transmitted avoiding the restriction rules of the application. Specifically, the stored video is segmented by setting the segmentation nodes, so that the condition that the transmission fails due to the fact that the video is too large is avoided. Specifically, the recorded video is analyzed, a segmentation node (without damaging the continuity of the video) is set at every other segmentation standard (set according to specific limiting rules of related application programs) in the process of processing the recorded video, the recorded video is segmented, so that each segment of sub-video does not exceed the upper limit set by a communication tool, the setting of the segmentation node can be synchronous with the analysis process, the analysis can be performed first, then the setting of the segmentation node is performed according to the analysis condition, the video segmentation can be performed according to the sequence, the segmentation can be performed according to an average distribution mode, the subsequent transmission process is that the video sending unit 404 sends each sub-video file in batches, so that each segment of sub-video can be sent successfully, and is integrated into an integral file (a second video file) at the receiving end to be presented to the receiving end, and the segmentation node does not influence the playing of the video, the video is not blocked and the like in the playing process. The device 400 for processing and transmitting the video can help a user to avoid the limitation of a communication tool to process and transmit the large video, avoid the condition of video transmission failure, facilitate the user to directly transmit the video in a chat window, and improve the user experience.
In the above technical solution, preferably, the apparatus 400 for processing and transmitting video further includes: the processing result viewing unit 406 displays the first video file as an integral file, and when receiving the trigger signal, expands and displays a plurality of sub video files included in the first video file.
In this technical solution, the video processing unit 402 performs processing of inserting nodes into a video file in a process of processing a video, so that the first video file includes multiple sub-video files, the processing result viewing unit 406 still displays the sub-video files in a single file, if a segmentation condition needs to be viewed, a trigger signal can be input, at this time, the first video file expands the multiple sub-video files included therein, for example, after a user double-clicks the first video file, the sub-video files included therein are displayed by the processing result viewing unit 406. The setting can check the video segmentation result, so that a user can intuitively master the processing result of the video, and meanwhile, the subsequent operation can be conveniently carried out on the sub-video file.
In the above technical solution, preferably, the apparatus 400 for processing and transmitting video further includes: the segmentation criterion setting unit 408 determines a segmentation criterion in units of one of the number of bytes, the number of picture frames, and time, and can automatically set a specific numerical value according to a restriction rule of an application.
In this embodiment, the segmentation criteria setting unit 408 can customize various video segmentation rules to adapt to different applications. Specifically, different communication tools may have different video transmission restriction rules, and generally, a video transmission upper limit is set according to the size of the byte number, and if the video transmission upper limit is exceeded, the video transmission fails, so the segmentation standard setting unit 408 uses the upper limit (or a value lower than the upper limit) as the segmentation standard, and can enable each segment of sub-video not to exceed the size restriction, and ensure that each segment of sub-video in the first video file conforms to the specification of the application program, and further, the restriction rule of the application program is public and can be acquired and automatically used as the segmentation standard. In addition, if the application program limits the video transmission in units of time or in units of video frame number, the application program can be used as the segmentation standard provided by the invention to segment the video.
In the above technical solution, preferably, the second video file generated by the video processing unit 202 may or may not include a segment node.
In this technical solution, the second video file generated by the video processing unit 202 is formed by automatically integrating the sub-video files in the first video file at the receiving end, and can continue to have the segmentation nodes and also can eliminate the segmentation nodes, so as to meet different receiving requirements and/or limitations of the receiving end, and thus the adaptability of the processed video is stronger. Specifically, if the second video file continues to have the segment node, it has all the characteristics of the first video file (including the segment file, being viewable, being forwarded without being determined to exceed the upper limit, etc.), and if the second video file no longer contains the segment node, it becomes a normal continuous video file, and the universality is better.
In the above technical solution, preferably, the trigger signal in the processing result viewing unit 406 includes: inputting a click signal and a touch signal of the equipment.
In the technical scheme, the trigger signal is an instruction for initiating the viewing of the sub-video file, can be sent by the input device, and can also be sent by the touch of the user on the touch screen, so that the user can conveniently initiate the viewing of the sub-video file. For example, the user can expand the first video file by double-clicking the mouse to view a plurality of sub video files contained therein, and can also expand the first video file by long-pressing the icon of the first video file.
In the foregoing technical solution, preferably, the processing result viewing unit 406 is specifically configured to: when a trigger signal is received, a plurality of sub video files contained in a first video file are expanded and displayed, and the method specifically comprises the following steps: and displaying the plurality of sub-video files according to any one form of list, paging, stacking, chain, ring, fan and pie chart.
In this technical solution, the expansion form of the sub video file in the processing result viewing unit 406 can be any one of a list, a page, a stack, a chain, a ring, a sector, and a pie chart, and can also be other more intuitive and clear display manners. For example, the sub-video files are arranged around the first video file (while the first video file is hidden) to form an annular display, so that a small screen can be displayed conveniently, the sub-video files can be arranged in a vertical column manner, thumbnails are displayed behind each file in the transverse direction, so that a large screen can be displayed conveniently, and more information can be displayed.
In the above technical solution, preferably, the application program includes: real-time communication applications and non-real-time communication applications.
In the technical solution, the communication tool is provided in the form of an application program, and the device 400 for processing and transmitting video provided by the present invention can obtain a better video transmission effect. For example, the real-time communication application can be QQ, MSN, YY, cybercai CC, WeChat, strange, West letter, friend search, etc., and the non-real-time communication application can be e-mail, microblog client, multimedia message, in-site letter of various websites, etc.
In the above technical solution, preferably, the apparatus 400 for processing and transmitting video further includes: the sub video sending unit 410 selects one or more sub video files to send on the display interfaces of the plurality of sub video files according to the received sub video file sending instruction.
In this technical solution, the sub video sending unit 410 implements sending of the sub video files included in the first video file in a single-check or check form, so that a user can conveniently select a suitable video file to send according to a requirement without sending all the sub videos included in the first video.
In the above technical solution, preferably, the apparatus 400 for processing and transmitting video further includes: the sub-video playing unit 412 selects a sub-video file to play on the display interfaces of the plurality of sub-video files according to the received sub-video file playing instruction.
In this technical solution, the sub video playing unit 412 realizes the independent playing of the sub video file, which is convenient for the user to view each sub video.
FIG. 6 shows a sub-video file viewing schematic in accordance with an embodiment of the present invention.
As shown in fig. 6, a user can select a segment mode when recording a video, after the segment mode is selected, the user records a video with one node every 10M until the recording is finished, the recorded video display icon is a complete icon such as 618 in fig. 6, when the user sends a long press signal 616, each video node such as the video 618 recorded by the user 70M is displayed above the video 618 like a book page, the long press video 618, 7 small videos (video 602, video 604, …, …, video 614) arranged like book pages appear above the interface of the video 618, each video is 10M in size, the user can select to play or transmit any video among others through a chat tool, the whole video can also be transmitted to others together, the videos are transmitted according to the size of each 10M when the videos are transmitted by the chat tool, when received by the other party, a complete video 618 is displayed in the other party's intelligent terminal instead of the individual videos 602, 604, …, …, 614, etc.
The technical scheme of the present invention is described in detail above with reference to the accompanying drawings, and in view of that in the related art, transmission of a video file in a communication application program is limited to cause a transmission failure, the present invention provides a method for recording and transmitting a video, a video recording and transmitting device, a method for processing and transmitting a video, a video processing and transmitting device, and a terminal, which can enable transmission of a video to be transmitted without limitation set by an application program, facilitate video transmission for a user, and improve user experience.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs, and the units in the device and the terminal of the embodiment of the invention can be combined, divided and deleted according to actual needs. In the present invention, the terms "first", "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance; the term "plurality" means two or more. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (29)

1. A method for recording and transmitting video for a terminal, comprising:
setting segmentation nodes according to a segmentation standard in the process of recording a video, and recording the video according to the segmentation nodes to generate a first video file; the first video file comprises a plurality of sub video files divided by the segmentation nodes, and each segment of sub video does not exceed the upper limit set by a communication tool; sending the plurality of sub video files to other terminals so that the other terminals can integrate the plurality of sub video files into a second video file;
further comprising:
displaying the first video file as an integral file, and expanding and displaying the plurality of sub video files contained in the first video file when a trigger signal is received;
and selecting one or more sub-video files to be transmitted on the display interfaces of the plurality of sub-video files according to the received sub-video file transmitting instruction.
2. The method for recording and transmitting video according to claim 1, wherein the segmentation criteria is determined in units of one of number of bytes, number of picture frames, and time, and a specific value can be automatically set according to a restriction rule of an application.
3. The method of claim 1, wherein the second video file may or may not contain the segmentation node.
4. The method of recording and transmitting video of claim 1, wherein the trigger signal comprises: inputting a click signal and a touch signal of the equipment.
5. The method for recording and transmitting video according to claim 1, wherein the expanding and displaying the plurality of sub-video files included in the first video file when the trigger signal is received specifically comprises:
and displaying the plurality of sub-video files according to any one form of a list, a page, a stack, a chain, a ring, a fan and a pie chart.
6. The method for recording and transmitting video of claim 2, wherein the application program comprises: real-time communication applications and non-real-time communication applications.
7. The method for recording and transmitting video according to any of claims 1 to 6, wherein the sub video file is selected for playing on the display interface of the plurality of sub video files according to the received sub video file playing instruction.
8. An apparatus for recording and transmitting video for a terminal, comprising:
the video recording unit is used for setting segmentation nodes according to a segmentation standard in the process of recording a video, and generating a first video file according to the video recorded by the segmentation nodes; the first video file comprises a plurality of sub video files divided by the segmentation nodes, and each segment of sub video does not exceed the upper limit set by a communication tool;
the video sending unit is used for sending the plurality of sub video files to other terminals so that the other terminals can integrate the plurality of sub video files into a second video file;
further comprising:
the recording result viewing unit displays the first video file as an integral file, and when a trigger signal is received, the recording result viewing unit expands and displays the plurality of sub-video files contained in the first video file;
further comprising:
and the sub video sending unit is used for selecting one or more sub video files to send on the display interfaces of the plurality of sub video files according to the received sub video file sending instruction.
9. The apparatus for recording and transmitting video of claim 8, further comprising:
and the segmentation standard setting unit determines the segmentation standard by taking one of byte number, frame number of pictures and time as a unit, and can automatically set a specific numerical value according to a restriction rule of an application program.
10. The apparatus for recording and transmitting video of claim 8, wherein the second video file may or may not contain the segmentation node.
11. The apparatus for recording and transmitting video of claim 8, wherein the trigger signal comprises: inputting a click signal and a touch signal of the equipment.
12. The apparatus for recording and transmitting video of claim 8, wherein the recording result viewing unit is specifically configured to:
and displaying the plurality of sub-video files according to any one form of a list, a page, a stack, a chain, a ring, a fan and a pie chart.
13. The apparatus for recording and transmitting video of claim 9, wherein the application program comprises: real-time communication applications and non-real-time communication applications.
14. The apparatus for recording and transmitting video according to any of claims 8 to 13, further comprising:
and the sub video playing unit is used for selecting the sub video files to play on the display interfaces of the plurality of sub video files according to the received sub video file playing instruction.
15. A method for processing and transmitting video for a terminal, comprising:
inserting segmentation nodes according to a segmentation standard in the process of processing a stored video, and dividing the stored video according to the segmentation nodes to generate a first video file; the first video file comprises a plurality of sub video files divided by the segmentation nodes, and each segment of sub video does not exceed the upper limit set by a communication tool;
sending the plurality of sub video files to other terminals so that the other terminals can integrate the plurality of sub video files into a second video file;
further comprising:
displaying the first video file as an integral file, and expanding and displaying the plurality of sub video files contained in the first video file when a trigger signal is received;
and selecting one or more sub-video files to be transmitted on the display interfaces of the plurality of sub-video files according to the received sub-video file transmitting instruction.
16. The method for processing and transmitting video according to claim 15, wherein the segmentation criteria is determined in units of one of number of bytes, number of picture frames, and time, and the specific value can be automatically set according to a restriction rule of an application.
17. The method of claim 15, wherein the second video file may or may not contain the segmentation node.
18. The method of processing and transmitting video of claim 15, wherein the trigger signal comprises: inputting a click signal and a touch signal of the equipment.
19. The method for processing and transmitting video according to claim 15, wherein the expanding and displaying the plurality of sub-video files included in the first video file when the trigger signal is received specifically comprises:
and displaying the plurality of sub-video files according to any one form of a list, a page, a stack, a chain, a ring, a fan and a pie chart.
20. The method of processing and transmitting video of claim 16, wherein the application program comprises: real-time communication applications and non-real-time communication applications.
21. The method for processing and transmitting video of any of claims 15 to 20, wherein the sub video file is selected for playing on the display interface of the plurality of sub video files according to the received sub video file playing instruction.
22. An apparatus for processing and transmitting video for a terminal, comprising:
the video processing unit is used for inserting segmentation nodes according to a segmentation standard in the process of processing the stored video, dividing the stored video according to the segmentation nodes and generating a first video file; the first video file comprises a plurality of sub video files divided by the segmentation nodes, and each segment of sub video does not exceed the upper limit set by a communication tool;
the video sending unit is used for sending the plurality of sub video files to other terminals so that the other terminals can integrate the plurality of sub video files into a second video file;
further comprising:
the processing result viewing unit is used for displaying the first video file as an integral file and expanding and displaying the plurality of sub video files contained in the first video file when a trigger signal is received;
further comprising:
and the sub video sending unit is used for selecting one or more sub video files to send on the display interfaces of the plurality of sub video files according to the received sub video file sending instruction.
23. The apparatus for processing and transmitting video according to claim 22, further comprising:
and the segmentation standard setting unit determines the segmentation standard by taking one of byte number, frame number of pictures and time as a unit, and can automatically set a specific numerical value according to a restriction rule of an application program.
24. The apparatus for processing and transmitting video of claim 22, wherein the second video file may or may not contain the segmentation node.
25. The apparatus for processing and transmitting video of claim 22, wherein the trigger signal comprises: inputting a click signal and a touch signal of the equipment.
26. The apparatus for processing and transmitting video according to claim 22, wherein the processing result viewing unit is specifically configured to:
and displaying the plurality of sub-video files according to any one form of a list, a page, a stack, a chain, a ring, a fan and a pie chart.
27. The apparatus for processing and transmitting video according to claim 23, wherein the application program comprises: real-time communication applications and non-real-time communication applications.
28. The apparatus for processing and transmitting video according to any of claims 22 to 27, further comprising:
and the sub video playing unit is used for selecting the sub video files to play on the display interfaces of the plurality of sub video files according to the received sub video file playing instruction.
29. A terminal, comprising:
apparatus for recording and transmitting video according to any of claims 8 to 14, and/or
Apparatus for processing and transmitting video according to any of claims 22 to 28.
CN201610854540.5A 2016-09-27 2016-09-27 Method and device for recording, processing and transmitting video and terminal Active CN106454180B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610854540.5A CN106454180B (en) 2016-09-27 2016-09-27 Method and device for recording, processing and transmitting video and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610854540.5A CN106454180B (en) 2016-09-27 2016-09-27 Method and device for recording, processing and transmitting video and terminal

Publications (2)

Publication Number Publication Date
CN106454180A CN106454180A (en) 2017-02-22
CN106454180B true CN106454180B (en) 2022-03-18

Family

ID=58170471

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610854540.5A Active CN106454180B (en) 2016-09-27 2016-09-27 Method and device for recording, processing and transmitting video and terminal

Country Status (1)

Country Link
CN (1) CN106454180B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101646076A (en) * 2008-08-08 2010-02-10 厦门时迅信息科技有限公司 Video transmission method in wireless network
CN102055965A (en) * 2009-10-28 2011-05-11 腾讯科技(深圳)有限公司 Media file transcoding system and method
CN102572072A (en) * 2010-12-17 2012-07-11 沈阳新邮通信设备有限公司 Mobile phone video preview method, video preview control device, and mobile phone with device
CN103051556A (en) * 2012-12-28 2013-04-17 青岛爱维互动信息技术有限公司 Stream media data control system and method thereof
CN105338424A (en) * 2015-10-29 2016-02-17 努比亚技术有限公司 Video processing method and system
CN105357593A (en) * 2015-10-30 2016-02-24 努比亚技术有限公司 Method, device and system for uploading video

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7286761B2 (en) * 2000-08-03 2007-10-23 At&T Corp. Method of flexible multiple broadcast service delivery over a WDM passive optical network based on RF Block-conversion of RF service bands within wavelength bands
US7203380B2 (en) * 2001-11-16 2007-04-10 Fuji Xerox Co., Ltd. Video production and compaction with collage picture frame user interface
JP4891809B2 (en) * 2007-02-28 2012-03-07 シャープ株式会社 Content playback apparatus, preview list generation method, program, and recording medium
US20150281305A1 (en) * 2014-03-31 2015-10-01 Gopro, Inc. Selectively uploading videos to a cloud environment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101646076A (en) * 2008-08-08 2010-02-10 厦门时迅信息科技有限公司 Video transmission method in wireless network
CN102055965A (en) * 2009-10-28 2011-05-11 腾讯科技(深圳)有限公司 Media file transcoding system and method
CN102572072A (en) * 2010-12-17 2012-07-11 沈阳新邮通信设备有限公司 Mobile phone video preview method, video preview control device, and mobile phone with device
CN103051556A (en) * 2012-12-28 2013-04-17 青岛爱维互动信息技术有限公司 Stream media data control system and method thereof
CN105338424A (en) * 2015-10-29 2016-02-17 努比亚技术有限公司 Video processing method and system
CN105357593A (en) * 2015-10-30 2016-02-24 努比亚技术有限公司 Method, device and system for uploading video

Also Published As

Publication number Publication date
CN106454180A (en) 2017-02-22

Similar Documents

Publication Publication Date Title
CN107784516B (en) Advertisement putting method and device
US9641471B2 (en) Electronic device, and method and computer-readable recording medium for displaying message in electronic device
US8463303B2 (en) Mobile communication terminal and method of the same for outputting short message
CN105871690B (en) Method and device for realizing instant messaging
US11606532B2 (en) Video reformatting system
US20150350142A1 (en) Method and system for marking email threads
CN103440247A (en) Method and device for sending photos
CN107102786B (en) Information processing method and client
CN105933783A (en) Bullet screen play method and device and terminal equipment
CN107071512B (en) A kind of dubbing method, apparatus and system
CN105630849A (en) Expression image recommendation system and method
CN107547922B (en) Information processing method, device, system and computer readable storage medium
CN111182359A (en) Video preview method, video frame extraction method, video processing device and storage medium
CN113300938A (en) Message sending method and device and electronic equipment
CN105607800A (en) Method and device for input display of terminal screen
CN111290722A (en) Screen sharing method, device and system, electronic equipment and storage medium
US9906485B1 (en) Apparatus and method for coordinating live computer network events
US10452917B2 (en) Attention object-related information providing system and information providing method
CN105487769B (en) Media file display method and device and electronic equipment
CN111131002B (en) Method, system and storage medium for tracing chat records
CN106454180B (en) Method and device for recording, processing and transmitting video and terminal
CN102487362A (en) Instant messaging (IM) message display method and device
CN109688041B (en) Information processing method and device, server, intelligent terminal and storage medium
CN104636055A (en) Display method and device of dynamic information of contacts
US9342813B2 (en) Apparatus and method for displaying log information associated with a plurality of displayed contents

Legal Events

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