CN107743264B - Video recording method and device - Google Patents
Video recording method and device Download PDFInfo
- Publication number
- CN107743264B CN107743264B CN201711013994.0A CN201711013994A CN107743264B CN 107743264 B CN107743264 B CN 107743264B CN 201711013994 A CN201711013994 A CN 201711013994A CN 107743264 B CN107743264 B CN 107743264B
- Authority
- CN
- China
- Prior art keywords
- video
- recording
- gif
- bullet screen
- barrage
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/433—Content storage operation, e.g. storage operation in response to a pause request, caching operations
- H04N21/4334—Recording operations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
- H04N21/47202—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting content on demand, e.g. video on demand
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/488—Data services, e.g. news ticker
- H04N21/4884—Data services, e.g. news ticker for displaying subtitles
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
Abstract
The invention provides a video recording method and equipment, which can record GIF or video pictures and a bullet screen by recording the GIF or video with the bullet screen and the GIF or video without the bullet screen and judging whether to switch on the bullet screen or off the bullet screen, can meet the recording requirements of a user on the video pictures and the bullet screen when recording the GIF or the video, is convenient for the user to flexibly switch whether the bullet screen displays when recording the GIF or the video, increases the supplement of a plurality of scenes, can respectively record different GIF or videos under different scenes of bullet screen setting, double-speed playing, picture proportion and mirror image turning, and can obtain wider coverage use scenes when seeing the result, and improve the usability and the interestingness of functions while improving the user experience.
Description
Technical Field
The invention relates to a video recording method and video recording equipment.
Background
The video recording function of the player in the current market can only record video pictures, the function is single, and especially, whether a bullet screen is recorded or not can not be freely selected when the video is recorded, so that the user experience is influenced.
Disclosure of Invention
The invention aims to provide a method for recording a bullet screen, which can solve the problem that whether the bullet screen is recorded or not can not be freely selected when a video is recorded.
In order to solve the above problem, the present invention provides a video recording method, including:
acquiring a recording starting instruction, and recording the GIF or the video with the barrage and the GIF or the video without the barrage based on the recording starting instruction;
acquiring a recording ending instruction, and ending the recording of the GIF or the video with the bullet screen and the GIF or the video without the bullet screen based on the recording ending instruction;
judging whether the current setting is to open the bullet screen,
if yes, after the recorded GIF or video preview with the bullet screen is generated, judging whether the setting is obtained to be switched to close the bullet screen, and if yes, storing or forwarding the recorded GIF or video without the bullet screen; if the bullet screen is kept opened, the recorded GIF or video with the bullet screen is saved or forwarded;
if the bullet screen is not opened, after the recorded GIF or video preview without the bullet screen is generated, whether the setting is acquired to be switched to the opening of the bullet screen is judged, if the setting is switched to the opening of the bullet screen, the recorded GIF or video with the bullet screen is saved or forwarded, and if the bullet screen is kept closed, the recorded GIF or video without the bullet screen is saved or forwarded.
Further, in the above method, before the obtaining of the recording start instruction, the method further includes:
acquiring a setting for adjusting the playing speed of the video;
based on the recording starting instruction, recording the GIF or the video with the barrage and the GIF or the video without the barrage, wherein the recording starting instruction comprises the following steps:
recording GIF or video with a bullet screen and GIF or video without the bullet screen corresponding to the playing speed based on the recording starting instruction;
based on the recording ending instruction, ending the recording of the GIF or the video with the barrage and the GIF or the video without the barrage, comprising the following steps:
and finishing the recording of the GIF or the video with the barrage and the GIF or the video without the barrage corresponding to the playing speed based on the recording finishing instruction.
Further, in the above method, before the obtaining of the recording start instruction, the method further includes:
acquiring the setting of adjusting the parameters of the bullet screen;
based on the recording starting instruction, recording the GIF or the video with the barrage and the GIF or the video without the barrage, wherein the recording starting instruction comprises the following steps:
recording GIFs or videos with bullet screens and GIFs or videos without bullet screens corresponding to the bullet screen parameters based on the recording starting instruction;
based on the recording ending instruction, ending the recording of the GIF or the video with the barrage and the GIF or the video without the barrage, comprising the following steps:
and finishing the recording of the GIF or the video with the bullet screen and the GIF or the video without the bullet screen corresponding to the bullet screen parameters based on the recording finishing instruction.
Further, in the above method, before the obtaining of the recording start instruction, the method further includes:
acquiring video mirror image turning setting;
based on the recording starting instruction, recording the GIF or the video with the barrage and the GIF or the video without the barrage, wherein the recording starting instruction comprises the following steps:
recording GIFs or videos with barrage and GIFs or videos without barrage which are arranged corresponding to the video mirror image turning based on the recording starting instruction;
based on the recording ending instruction, ending the recording of the GIF or the video with the barrage and the GIF or the video without the barrage, comprising the following steps:
and finishing the recording of the GIF or the video with the bullet screen and the GIF or the video without the bullet screen which are arranged corresponding to the turning of the video mirror image based on the recording finishing instruction.
Further, in the above method, before the obtaining of the recording start instruction, the method further includes:
acquiring parameters for adjusting the video proportion;
based on the recording starting instruction, recording the GIF or the video with the barrage and the GIF or the video without the barrage, wherein the recording starting instruction comprises the following steps:
based on the recording starting instruction, recording GIFs or videos with barrage and GIFs or videos without barrage corresponding to the parameters for adjusting the video proportion;
based on the recording ending instruction, ending the recording of the GIF or the video with the barrage and the GIF or the video without the barrage, comprising the following steps:
and finishing the recording of the GIF or the video with the barrage and the GIF or the video without the barrage corresponding to the parameter for adjusting the video proportion based on the recording finishing instruction.
According to another aspect of the present invention, there is provided a video recording apparatus comprising:
the recording module is used for acquiring a recording starting instruction and recording the GIF or the video with the barrage and the GIF or the video without the barrage corresponding to the playing speed based on the recording starting instruction; acquiring a recording ending instruction, and ending the recording of the GIF or the video with the barrage and the GIF or the video without the barrage based on the recording ending instruction;
the storage module is used for judging whether the current setting is to open a bullet screen, if so, generating the recorded GIF or video preview with the bullet screen, judging whether the setting is switched to close the bullet screen, and if so, storing or forwarding the recorded GIF or video without the bullet screen; if the bullet screen is kept opened, the recorded GIF or video with the bullet screen is saved or forwarded; if the bullet screen is not opened, after the recorded GIF or video preview without the bullet screen is generated, whether the setting is acquired to be switched to the opening of the bullet screen is judged, if the setting is switched to the opening of the bullet screen, the recorded GIF or video with the bullet screen is saved or forwarded, and if the bullet screen is kept closed, the recorded GIF or video without the bullet screen is saved or forwarded.
Further, in the above device, the recording module is further configured to obtain a setting for adjusting a playing speed of the video before obtaining the instruction for starting recording; recording GIF or video with a bullet screen and GIF or video without the bullet screen corresponding to the playing speed based on the recording starting instruction; and finishing the recording of the GIF or the video with the barrage and the GIF or the video without the barrage corresponding to the playing speed based on the recording finishing instruction.
Further, in the above device, the recording module is further configured to obtain a setting for adjusting parameters of the bullet screen before obtaining the recording start instruction; recording GIFs or videos with bullet screens and GIFs or videos without bullet screens corresponding to the bullet screen parameters based on the recording starting instruction; and finishing the recording of the GIF or the video with the bullet screen and the GIF or the video without the bullet screen corresponding to the bullet screen parameters based on the recording finishing instruction.
Further, in the above device, the recording module is further configured to obtain a video mirror image flip setting before obtaining the recording start instruction; recording GIFs or videos with barrage and GIFs or videos without barrage which are arranged corresponding to the video mirror image turning based on the recording starting instruction; and finishing the recording of the GIF or the video with the bullet screen and the GIF or the video without the bullet screen which are arranged corresponding to the turning of the video mirror image based on the recording finishing instruction.
Further, in the above device, the recording module is further configured to obtain a parameter for adjusting a video ratio before obtaining the instruction for starting recording; based on the recording starting instruction, recording GIFs or videos with barrage and GIFs or videos without barrage corresponding to the parameters for adjusting the video proportion; and finishing the recording of the GIF or the video with the barrage and the GIF or the video without the barrage corresponding to the parameter for adjusting the video proportion based on the recording finishing instruction.
According to another aspect of the present invention, there is also provided a computer-readable storage medium having stored thereon computer-executable instructions, wherein the computer-executable instructions, when executed by a processor, cause the processor to:
acquiring a recording starting instruction, and recording the GIF or the video with the barrage and the GIF or the video without the barrage based on the recording starting instruction;
acquiring a recording ending instruction, and ending the recording of the GIF or the video with the bullet screen and the GIF or the video without the bullet screen based on the recording ending instruction;
judging whether the current setting is to open the bullet screen,
if yes, after the recorded GIF or video preview with the bullet screen is generated, judging whether the setting is obtained to be switched to close the bullet screen, and if yes, storing or forwarding the recorded GIF or video without the bullet screen; if the bullet screen is kept opened, the recorded GIF or video with the bullet screen is saved or forwarded;
if the bullet screen is not opened, after the recorded GIF or video preview without the bullet screen is generated, whether the setting is acquired to be switched to the opening of the bullet screen is judged, if the setting is switched to the opening of the bullet screen, the recorded GIF or video with the bullet screen is saved or forwarded, and if the bullet screen is kept closed, the recorded GIF or video without the bullet screen is saved or forwarded.
According to another aspect of the present invention, there is also provided a calculator apparatus, including:
a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to:
acquiring a recording starting instruction, and recording the GIF or the video with the barrage and the GIF or the video without the barrage based on the recording starting instruction;
acquiring a recording ending instruction, and ending the recording of the GIF or the video with the bullet screen and the GIF or the video without the bullet screen based on the recording ending instruction;
judging whether the current setting is to open the bullet screen,
if yes, after the recorded GIF or video preview with the bullet screen is generated, judging whether the setting is obtained to be switched to close the bullet screen, and if yes, storing or forwarding the recorded GIF or video without the bullet screen; if the bullet screen is kept opened, the recorded GIF or video with the bullet screen is saved or forwarded;
if the bullet screen is not opened, after the recorded GIF or video preview without the bullet screen is generated, whether the setting is acquired to be switched to the opening of the bullet screen is judged, if the setting is switched to the opening of the bullet screen, the recorded GIF or video with the bullet screen is saved or forwarded, and if the bullet screen is kept closed, the recorded GIF or video without the bullet screen is saved or forwarded.
Compared with the prior art, the method can record the GIF or the video and the barrage through recording the GIF or the video with the barrage and the GIF or the video without the barrage and judging whether to switch on the barrage or off the barrage setting, can record the GIF or the video picture and the barrage, can meet the recording requirements of a user on the video picture and the barrage when recording the GIF or the video, is convenient for the user to flexibly switch whether the barrage is displayed when recording the GIF or the video and increases the supplement of a plurality of scenes, and increases the effect that the GIF records the place when other settings of the player take effect, and comprises the following steps: when the video is played in multiple, the GIF or the video with a certain duration and a certain frame rate is recorded on a screen, and the variable-speed GIF or the variable-speed video is obtained; when the parameters such as the size, the transparency, the speed and the like of the video barrage are adjusted, recording a GIF or a video with a certain duration and a frame rate to obtain the GIF or the video with the display effect after the parameters of the barrage are adjusted; when the video setting picture is mirror image turning, recording a GIF or video with a certain duration and frame rate to obtain the GIF or video with a mirror image display effect; after the video proportion is adjusted, the GIF or the video with a certain duration and a frame rate is recorded, the GIF or the video with the display effect after the proportion is adjusted is obtained, the use scene coverage is wider, and the usability and the interestingness of functions are increased while the user experience is improved.
Drawings
Fig. 1 is a flowchart of a video recording method according to a first embodiment of the present invention;
fig. 2 is a flowchart of a video recording method according to a second embodiment of the present invention;
fig. 3 is a flowchart of a video recording method according to a third embodiment of the present invention;
fig. 4 is a flowchart of a video recording method according to a fourth embodiment of the present invention;
fig. 5 is a flowchart of a video recording method according to a fifth embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
As shown in fig. 1, the present invention provides a video recording method, including:
step S1, acquiring a recording starting instruction;
step S2, recording the GIF or the video with the barrage and the GIF or the video without the barrage based on the recording starting instruction;
here, based on the start recording instruction, it is possible to record GIF or video in a general format such as MPEG-1, MPEG-2, and MPEG4 formats, AVI formats, RM formats, ASF and WMV formats, MOV formats, and the like.
The data of a GIF (graphics Interchange Format) file is a continuous tone lossless compression format based on an LZW algorithm, the compression rate of the GIF file is generally about 50%, the GIF file does not belong to any application program, a plurality of color images can be stored in the GIF format, if a plurality of image data stored in one file are read out one by one and displayed on a screen, the simplest animation can be formed, and the GIF file is small in size and relatively clear in imaging and is suitable for being rapidly transmitted on the network, for example, a user can forward the recorded GIF file through a social network site or a social APP, so that the user can rapidly communicate information;
step S3, acquiring a recording ending instruction;
step S4, recording of the GIF or the video with the bullet screen and the GIF or the video without the bullet screen is finished based on the recording finishing instruction;
here, the recording duration of the GIF or the video may be determined according to the interval duration of the obtained start recording instruction and the end recording instruction;
step S5, determining whether the current setting is to open the pop-up screen, if yes, going to step S611, and if not, going to step S621;
step S611, after the recorded GIF or video preview with the bullet screen is generated, the step S612 is switched to;
step S612, judging whether the setting is switched to close the bullet screen, if the setting is switched to close the bullet screen, turning to step S7, if the bullet screen is kept open, turning to step S8,
step S621, after generating the recorded GIF without the bullet screen or the video preview, turning to step S622;
step S622, determining whether the setting is switched to the opening of the pop-up screen, if so, going to step S8, if the setting is kept closed, going to step S7,
step S7, saving or forwarding the recorded GIF or video without the bullet screen;
and step S8, saving or forwarding the recorded GIF or video with the bullet screen.
Here, the user can trigger to start recording the GIF or the video command by pressing the recording GIF or the video button for a long time, trigger to stop recording the GIF or the video command by releasing the hand, and record the GIF or the video with the bullet screen and the GIF or the video without the bullet screen within a certain frame rate from the start to the end of recording respectively. If the bullet screen is set to be closed, the preview image is a GIF or a video without the bullet screen; if the bullet screen is set to be opened, the preview image is a GIF or a video with the bullet screen. At the moment, the user can switch the bullet screen switch to control and select the GIF or the video with the bullet screen or the GIF or the video without the bullet screen on the recording GIF or the video preview interface, and then the GIF or the video is stored or shared, so that the user experience is improved.
This embodiment can be applied to among the video player etc, through the GIF or the video of taking the bullet screen and the GIF or the video of not taking the bullet screen record, and judge whether to switch and open the bullet screen or close the setting of bullet screen, can satisfy the user when recording GIF or video, to the video picture with the demand of recording of bullet screen, the function that the bullet screen was recorded has been increased on the one hand, on the other hand can freely select the bullet screen switch, convenience of customers shows the bullet screen when recording GIF or video and whether switches in a flexible way, when improving user experience, increase video playback function's usability and interest.
As shown in fig. 2, in an embodiment of the video recording method of the present invention, before the step S1, before the step of obtaining the recording start instruction, the method further includes: step S01, acquiring the setting of the playing speed of the adjusted video;
accordingly, after step S01, the method includes:
step S1, acquiring a recording starting instruction;
step S2, recording the GIF or video with the barrage and the GIF or video without the barrage corresponding to the playing speed based on the recording starting instruction;
step S3, acquiring a recording ending instruction;
and step S4, based on the recording ending instruction, ending the recording of the GIF or video with the barrage and the GIF or video without the barrage corresponding to the playing speed.
Here, the play speed modified by the user in the player setting may be obtained, where the play speed may be 0.5 to 1.5 times of the normal play speed, and then the start of recording the GIF or the video instruction may be triggered by pressing the recording GIF or the video button for a long time, the stop of recording the GIF or the video instruction may be triggered by releasing one's hand, and the GIF or the video with a certain duration and frame rate within the time from the start to the end of recording may be recorded, so as to obtain a variable speed GIF or video, and improve the interest of recording the GIF or the video.
As shown in fig. 3, in an embodiment of the video recording method of the present invention, before the step S1, before the step of obtaining the recording start instruction, the method further includes: step S02, acquiring the setting of adjusting the barrage parameters;
accordingly, after step S02, the method includes:
step S1, acquiring a recording starting instruction;
step S2, recording the GIF or video with the bullet screen and the GIF or video without the bullet screen corresponding to the bullet screen parameters based on the recording starting instruction;
step S3, acquiring a recording ending instruction;
and step S4, based on the recording ending instruction, ending the recording of the GIF or video with the bullet screen and the GIF or video without the bullet screen corresponding to the bullet screen parameters.
The bullet screen parameters comprise one or any combination of bullet screen transparency, bullet screen on-screen density, bullet screen speed, bullet screen font size and bullet screen stroke width.
In this embodiment, a user modifies bullet screen parameters such as size, transparency, on-screen density, speed, stroke width and the like in bullet screen setting, then triggers to start recording the GIF or video instruction by pressing the recording GIF or video button with a long press, triggers to stop recording the GIF or video instruction by a loose hand, records the GIF or video within the recording time from start to end, and obtains the GIF or video with the bullet screen setting parameters in effect.
As shown in fig. 4, in an embodiment of the video recording method of the present invention, before the step S1, before the step of obtaining the recording start instruction, the method further includes: step S03, acquiring video mirror image turning setting;
accordingly, after step S03, the method includes:
step S1, acquiring a recording starting instruction;
step S2, recording the GIF or video with the barrage and the GIF or video without the barrage which are arranged corresponding to the video mirror image turning based on the recording starting instruction;
step S3, acquiring a recording ending instruction;
and step S4, based on the recording ending instruction, ending the recording of the GIF or video with the bullet screen and the GIF or video without the bullet screen which are arranged corresponding to the video mirror image turning.
Here, the user may start the mirror image flipping effect in the player setting, and then trigger to start recording the GIF or the video instruction by pressing the recording GIF or the video button with a long press, trigger to stop recording the GIF or the video instruction by releasing the hand, and record the GIF or the video within the time from start to end of recording, so as to obtain the GIF or the video with the mirror image display effect.
In the embodiment, the GIF or the video is recorded when the video mirror image overturning setting is effective, so that the GIF or the video with a certain time length and a certain frame rate can be recorded when the video setting picture is mirror image overturning, the GIF or the video with a mirror image display effect is obtained, and the functional interest is greatly improved.
As shown in fig. 5, in an embodiment of the video recording method of the present invention, before the step S1, before the step of obtaining the recording start instruction, the method further includes: step S04, acquiring parameters for adjusting the video proportion;
accordingly, after step S04, the method includes:
step S1, acquiring a recording starting instruction;
step S2, recording the GIF or video with the barrage and the GIF or video without the barrage corresponding to the parameter for adjusting the video proportion based on the recording starting instruction;
step S3, acquiring a recording ending instruction;
and step S4, based on the recording ending instruction, ending the recording of the GIF or video with the barrage and the GIF or video without the barrage corresponding to the parameter for adjusting the video proportion.
Here, the user modifies the video scale parameter in the player settings, which may be a display aspect ratio, which may include default, full screen, 16: 9. 4: and 3, triggering a GIF or video recording starting instruction by long pressing a GIF or video recording button, triggering a GIF or video recording stopping instruction by releasing the hands, and recording the GIF or video within the time from the beginning to the end of recording to obtain the GIF or video with a certain video proportion.
In this embodiment, after the video proportion is adjusted, the GIF or the video with a certain duration and a certain frame rate is recorded, the GIF or the video with the display effect after the proportion adjustment is obtained, and the GIF display effect of the videos with different sizes is improved.
According to another aspect of the present invention, there is provided a video recording apparatus comprising:
the recording module is used for acquiring a recording starting instruction and recording the GIF or the video with the barrage and the GIF or the video without the barrage corresponding to the playing speed based on the recording starting instruction; acquiring a recording ending instruction, and ending the recording of the GIF or the video with the barrage and the GIF or the video without the barrage based on the recording ending instruction;
here, based on the start recording instruction, it is possible to record GIF or video in a general format such as MPEG-1, MPEG-2, and MPEG4 formats, AVI formats, RM formats, ASF and WMV formats, MOV formats, and the like.
The data of a GIF (graphics Interchange Format) file is a continuous tone lossless compression format based on an LZW algorithm, the compression rate of the GIF file is generally about 50%, the GIF file does not belong to any application program, a plurality of color images can be stored in the GIF format, if a plurality of image data stored in one file are read out one by one and displayed on a screen, the simplest animation can be formed, and the GIF file is small in size and relatively clear in imaging and is suitable for being rapidly transmitted on the network, for example, a user can forward the recorded GIF file through a social network site or a social APP, so that the user can rapidly communicate information;
the storage module is used for judging whether the current setting is to open a bullet screen, if so, generating the recorded GIF or video preview with the bullet screen, judging whether the setting is switched to close the bullet screen, and if so, storing or forwarding the recorded GIF or video without the bullet screen; if the bullet screen is kept opened, the recorded GIF or video with the bullet screen is saved or forwarded; if the bullet screen is not opened, after the recorded GIF or video preview without the bullet screen is generated, whether the setting is acquired to be switched to the opening of the bullet screen is judged, if the setting is switched to the opening of the bullet screen, the recorded GIF or video with the bullet screen is saved or forwarded, and if the bullet screen is kept closed, the recorded GIF or video without the bullet screen is saved or forwarded.
Here, the user can trigger to start recording the GIF or the video command by pressing the recording GIF or the video button for a long time, trigger to stop recording the GIF or the video command by releasing the hand, and record the GIF or the video with the bullet screen and the GIF or the video without the bullet screen within a certain frame rate from the start to the end of recording respectively. If the bullet screen is set to be closed, the preview image is a GIF or a video without the bullet screen; if the bullet screen is set to be opened, the preview image is a GIF or a video with the bullet screen. At the moment, the user can switch the bullet screen switch to control and select the GIF or the video with the bullet screen or the GIF or the video without the bullet screen on the recording GIF or the video preview interface, and then the GIF or the video is stored or shared, so that the user experience is improved.
This embodiment can be applied to among the video player etc, through the GIF or the video of taking the bullet screen and the GIF or the video of not taking the bullet screen record, and judge whether to switch and open the bullet screen or close the setting of bullet screen, can satisfy the user when recording GIF or video, to the video picture with the demand of recording of bullet screen, the function that the bullet screen was recorded has been increased on the one hand, on the other hand can freely select the bullet screen switch, convenience of customers shows the bullet screen when recording GIF or video and whether switches in a flexible way, when improving user experience, increase video playback function's usability and interest.
In the video recording device according to an embodiment of the present invention, the recording module is further configured to obtain a setting for adjusting a playing speed of a video before obtaining a recording start instruction; recording GIF or video with a bullet screen and GIF or video without the bullet screen corresponding to the playing speed based on the recording starting instruction; and finishing the recording of the GIF or the video with the barrage and the GIF or the video without the barrage corresponding to the playing speed based on the recording finishing instruction.
Here, the play speed modified by the user in the player setting may be obtained, where the play speed may be 0.5 to 1.5 times of the normal play speed, and then the start of recording the GIF or the video instruction may be triggered by pressing the recording GIF or the video button for a long time, the stop of recording the GIF or the video instruction may be triggered by releasing one's hand, and the GIF or the video with a certain duration and frame rate within the time from the start to the end of recording may be recorded, so as to obtain a variable speed GIF or video, and improve the interest of recording the GIF or the video.
In the video recording device according to an embodiment of the present invention, the recording module is further configured to obtain a setting for adjusting a barrage parameter before obtaining a recording start instruction; recording GIFs or videos with bullet screens and GIFs or videos without bullet screens corresponding to the bullet screen parameters based on the recording starting instruction; and finishing the recording of the GIF or the video with the bullet screen and the GIF or the video without the bullet screen corresponding to the bullet screen parameters based on the recording finishing instruction.
The bullet screen parameters comprise one or any combination of bullet screen transparency, bullet screen on-screen density, bullet screen speed, bullet screen font size and bullet screen stroke width.
In this embodiment, a user modifies bullet screen parameters such as size, transparency, on-screen density, speed, stroke width and the like in bullet screen setting, then triggers to start recording the GIF or video instruction by pressing the recording GIF or video button with a long press, triggers to stop recording the GIF or video instruction by a loose hand, records the GIF or video within the recording time from start to end, and obtains the GIF or video with the bullet screen setting parameters in effect.
In the video recording device according to an embodiment of the present invention, the recording module is further configured to obtain a video image flipping setting before obtaining a recording start instruction; recording GIFs or videos with barrage and GIFs or videos without barrage which are arranged corresponding to the video mirror image turning based on the recording starting instruction; and finishing the recording of the GIF or the video with the bullet screen and the GIF or the video without the bullet screen which are arranged corresponding to the turning of the video mirror image based on the recording finishing instruction.
Here, the user may start the mirror image flipping effect in the player setting, and then trigger to start recording the GIF or the video instruction by pressing the recording GIF or the video button with a long press, trigger to stop recording the GIF or the video instruction by releasing the hand, and record the GIF or the video within the time from start to end of recording, so as to obtain the GIF or the video with the mirror image display effect.
In the embodiment, the GIF or the video is recorded when the video mirror image overturning setting is effective, so that the GIF or the video with a certain time length and a certain frame rate can be recorded when the video setting picture is mirror image overturning, the GIF or the video with a mirror image display effect is obtained, and the functional interest is greatly improved.
In the video recording device according to an embodiment of the present invention, the recording module is further configured to obtain a parameter for adjusting a video ratio before obtaining the recording start instruction; based on the recording starting instruction, recording GIFs or videos with barrage and GIFs or videos without barrage corresponding to the parameters for adjusting the video proportion; and finishing the recording of the GIF or the video with the barrage and the GIF or the video without the barrage corresponding to the parameter for adjusting the video proportion based on the recording finishing instruction.
Here, the user modifies the video scale parameter in the player settings, which may be a display aspect ratio, which may include default, full screen, 16: 9. 4: and 3, triggering a GIF or video recording starting instruction by long pressing a GIF or video recording button, triggering a GIF or video recording stopping instruction by releasing the hands, and recording the GIF or video within the time from the beginning to the end of recording to obtain the GIF or video with a certain video proportion.
In this embodiment, after the video proportion is adjusted, the GIF or the video with a certain duration and a certain frame rate is recorded, the GIF or the video with the display effect after the proportion adjustment is obtained, and the GIF display effect of the videos with different sizes is improved.
According to another aspect of the present invention, there is also provided a computer-readable storage medium having stored thereon computer-executable instructions, wherein the computer-executable instructions, when executed by a processor, cause the processor to:
acquiring a recording starting instruction, and recording the GIF or the video with the barrage and the GIF or the video without the barrage based on the recording starting instruction;
acquiring a recording ending instruction, and ending the recording of the GIF or the video with the bullet screen and the GIF or the video without the bullet screen based on the recording ending instruction;
judging whether the current setting is to open the bullet screen,
if yes, after the recorded GIF or video preview with the bullet screen is generated, judging whether the setting is obtained to be switched to close the bullet screen, and if yes, storing or forwarding the recorded GIF or video without the bullet screen; if the bullet screen is kept opened, the recorded GIF or video with the bullet screen is saved or forwarded;
if the bullet screen is not opened, after the recorded GIF or video preview without the bullet screen is generated, whether the setting is acquired to be switched to the opening of the bullet screen is judged, if the setting is switched to the opening of the bullet screen, the recorded GIF or video with the bullet screen is saved or forwarded, and if the bullet screen is kept closed, the recorded GIF or video without the bullet screen is saved or forwarded.
According to another aspect of the present invention, there is also provided a calculator apparatus, including:
a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to:
acquiring a recording starting instruction, and recording the GIF or the video with the barrage and the GIF or the video without the barrage based on the recording starting instruction;
acquiring a recording ending instruction, and ending the recording of the GIF or the video with the bullet screen and the GIF or the video without the bullet screen based on the recording ending instruction;
judging whether the current setting is to open the bullet screen,
if yes, after the recorded GIF or video preview with the bullet screen is generated, judging whether the setting is obtained to be switched to close the bullet screen, and if yes, storing or forwarding the recorded GIF or video without the bullet screen; if the bullet screen is kept opened, the recorded GIF or video with the bullet screen is saved or forwarded;
if the bullet screen is not opened, after the recorded GIF or video preview without the bullet screen is generated, whether the setting is acquired to be switched to the opening of the bullet screen is judged, if the setting is switched to the opening of the bullet screen, the recorded GIF or video with the bullet screen is saved or forwarded, and if the bullet screen is kept closed, the recorded GIF or video without the bullet screen is saved or forwarded.
In summary, the present invention can record GIF or video pictures and barrage by recording GIF or video with barrage and determining whether to switch on barrage or off barrage setting, and can meet the recording requirements of users on video pictures and barrage when recording GIF or video, which is convenient for users to flexibly switch whether barrage is displayed when recording GIF or video, and increase the supplement of multiple scenes, and when other settings of the player take effect, GIF recording what you see is what you get is increased, including: when the video is played in multiple, the GIF or the video with a certain duration and a certain frame rate is recorded on a screen, and the variable-speed GIF or the variable-speed video is obtained; when the parameters such as the size, the transparency, the speed and the like of the video barrage are adjusted, recording a GIF or a video with a certain duration and a frame rate to obtain the GIF or the video with the display effect after the parameters of the barrage are adjusted; when the video setting picture is mirror image turning, recording a GIF or video with a certain duration and frame rate to obtain the GIF or video with a mirror image display effect; after the video proportion is adjusted, the GIF or the video with a certain duration and a frame rate is recorded, the GIF or the video with the display effect after the proportion is adjusted is obtained, the use scene coverage is wider, and the usability and the interestingness of functions are increased while the user experience is improved.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.
Claims (12)
1. A method for video recording, comprising:
acquiring a recording starting instruction, and recording the GIF or the video with the barrage and the GIF or the video without the barrage respectively based on the recording starting instruction;
acquiring a recording ending instruction, and respectively ending the recording of the GIF or the video with the barrage and the recording of the GIF or the video without the barrage based on the recording ending instruction;
judging whether the current setting is to open the bullet screen,
if yes, after the recorded GIF or video preview with the bullet screen is generated, judging whether the setting is obtained to be switched to close the bullet screen, and if yes, storing or forwarding the recorded GIF or video without the bullet screen; if the bullet screen is kept opened, the recorded GIF or video with the bullet screen is saved or forwarded;
if the bullet screen is not opened, after the recorded GIF or video preview without the bullet screen is generated, whether the setting is acquired to be switched to the opening of the bullet screen is judged, if the setting is switched to the opening of the bullet screen, the recorded GIF or video with the bullet screen is saved or forwarded, and if the bullet screen is kept closed, the recorded GIF or video without the bullet screen is saved or forwarded.
2. The method of claim 1, wherein prior to obtaining the instruction to start recording, further comprising:
acquiring a setting for adjusting the playing speed of the video;
based on the recording starting instruction, recording the GIF or the video with the barrage and the GIF or the video without the barrage, wherein the recording starting instruction comprises the following steps:
recording GIF or video with a bullet screen and GIF or video without the bullet screen corresponding to the playing speed based on the recording starting instruction;
based on the recording ending instruction, ending the recording of the GIF or the video with the barrage and the GIF or the video without the barrage, comprising the following steps:
and finishing the recording of the GIF or the video with the barrage and the GIF or the video without the barrage corresponding to the playing speed based on the recording finishing instruction.
3. The method of claim 1, wherein prior to obtaining the instruction to start recording, further comprising:
acquiring the setting of adjusting the parameters of the bullet screen;
based on the recording starting instruction, recording the GIF or the video with the barrage and the GIF or the video without the barrage, wherein the recording starting instruction comprises the following steps:
recording GIFs or videos with bullet screens and GIFs or videos without bullet screens corresponding to the bullet screen parameters based on the recording starting instruction;
based on the recording ending instruction, ending the recording of the GIF or the video with the barrage and the GIF or the video without the barrage, comprising the following steps:
and finishing the recording of the GIF or the video with the bullet screen and the GIF or the video without the bullet screen corresponding to the bullet screen parameters based on the recording finishing instruction.
4. The method of claim 1, wherein prior to obtaining the instruction to start recording, further comprising:
acquiring video mirror image turning setting;
based on the recording starting instruction, recording the GIF or the video with the barrage and the GIF or the video without the barrage, wherein the recording starting instruction comprises the following steps:
recording GIFs or videos with barrage and GIFs or videos without barrage which are arranged corresponding to the video mirror image turning based on the recording starting instruction;
based on the recording ending instruction, ending the recording of the GIF or the video with the barrage and the GIF or the video without the barrage, comprising the following steps:
and finishing the recording of the GIF or the video with the bullet screen and the GIF or the video without the bullet screen which are arranged corresponding to the turning of the video mirror image based on the recording finishing instruction.
5. The method of any of claims 1 to 4, wherein prior to obtaining the instruction to start recording, further comprising:
acquiring parameters for adjusting the video proportion;
based on the recording starting instruction, recording the GIF or the video with the barrage and the GIF or the video without the barrage, wherein the recording starting instruction comprises the following steps:
based on the recording starting instruction, recording GIFs or videos with barrage and GIFs or videos without barrage corresponding to the parameters for adjusting the video proportion;
based on the recording ending instruction, ending the recording of the GIF or the video with the barrage and the GIF or the video without the barrage, comprising the following steps:
and finishing the recording of the GIF or the video with the barrage and the GIF or the video without the barrage corresponding to the parameter for adjusting the video proportion based on the recording finishing instruction.
6. A video recording device, comprising:
the recording module is used for acquiring a recording starting instruction and recording the corresponding GIF or video with the barrage and the GIF or video without the barrage respectively based on the recording starting instruction; acquiring a recording ending instruction, and respectively ending the recording of the GIF or the video with the barrage and the recording of the GIF or the video without the barrage based on the recording ending instruction;
the storage module is used for judging whether the current setting is to open a bullet screen, if so, generating the recorded GIF or video preview with the bullet screen, judging whether the setting is switched to close the bullet screen, and if so, storing or forwarding the recorded GIF or video without the bullet screen; if the bullet screen is kept opened, the recorded GIF or video with the bullet screen is saved or forwarded; if the bullet screen is not opened, after the recorded GIF or video preview without the bullet screen is generated, whether the setting is acquired to be switched to the opening of the bullet screen is judged, if the setting is switched to the opening of the bullet screen, the recorded GIF or video with the bullet screen is saved or forwarded, and if the bullet screen is kept closed, the recorded GIF or video without the bullet screen is saved or forwarded.
7. The apparatus of claim 6, wherein the recording module is further configured to obtain a setting for adjusting a playback speed of the video before obtaining the instruction to start recording; recording GIF or video with a bullet screen and GIF or video without the bullet screen corresponding to the playing speed based on the recording starting instruction; and finishing the recording of the GIF or the video with the barrage and the GIF or the video without the barrage corresponding to the playing speed based on the recording finishing instruction.
8. The device of claim 6, wherein the recording module is further configured to obtain a setting for adjusting parameters of the bullet screen before obtaining the instruction to start recording; recording GIFs or videos with bullet screens and GIFs or videos without bullet screens corresponding to the bullet screen parameters based on the recording starting instruction; and finishing the recording of the GIF or the video with the bullet screen and the GIF or the video without the bullet screen corresponding to the bullet screen parameters based on the recording finishing instruction.
9. The device of claim 6, wherein the recording module is further configured to obtain a video image flip setting before obtaining the start recording instruction; recording GIFs or videos with barrage and GIFs or videos without barrage which are arranged corresponding to the video mirror image turning based on the recording starting instruction; and finishing the recording of the GIF or the video with the bullet screen and the GIF or the video without the bullet screen which are arranged corresponding to the turning of the video mirror image based on the recording finishing instruction.
10. The apparatus according to any one of claims 6 to 9, wherein the recording module is further configured to obtain a parameter for adjusting a video scale before obtaining the instruction for starting recording; based on the recording starting instruction, recording GIFs or videos with barrage and GIFs or videos without barrage corresponding to the parameters for adjusting the video proportion; and finishing the recording of the GIF or the video with the barrage and the GIF or the video without the barrage corresponding to the parameter for adjusting the video proportion based on the recording finishing instruction.
11. A computer-readable storage medium having computer-executable instructions stored thereon, wherein the computer-executable instructions, when executed by a processor, cause the processor to:
acquiring a recording starting instruction, and recording the GIF or the video with the barrage and the GIF or the video without the barrage respectively based on the recording starting instruction;
acquiring a recording ending instruction, and respectively ending the recording of the GIF or the video with the barrage and the recording of the GIF or the video without the barrage based on the recording ending instruction;
judging whether the current setting is to open the bullet screen,
if yes, after the recorded GIF or video preview with the bullet screen is generated, judging whether the setting is obtained to be switched to close the bullet screen, and if yes, storing or forwarding the recorded GIF or video without the bullet screen; if the bullet screen is kept opened, the recorded GIF or video with the bullet screen is saved or forwarded;
if the bullet screen is not opened, after the recorded GIF or video preview without the bullet screen is generated, whether the setting is acquired to be switched to the opening of the bullet screen is judged, if the setting is switched to the opening of the bullet screen, the recorded GIF or video with the bullet screen is saved or forwarded, and if the bullet screen is kept closed, the recorded GIF or video without the bullet screen is saved or forwarded.
12. A calculator device, comprising:
a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to:
acquiring a recording starting instruction, and recording the GIF or the video with the barrage and the GIF or the video without the barrage respectively based on the recording starting instruction;
acquiring a recording ending instruction, and respectively ending the recording of the GIF or the video with the barrage and the recording of the GIF or the video without the barrage based on the recording ending instruction;
judging whether the current setting is to open the bullet screen,
if yes, after the recorded GIF or video preview with the bullet screen is generated, judging whether the setting is obtained to be switched to close the bullet screen, and if yes, storing or forwarding the recorded GIF or video without the bullet screen; if the bullet screen is kept opened, the recorded GIF or video with the bullet screen is saved or forwarded;
if the bullet screen is not opened, after the recorded GIF or video preview without the bullet screen is generated, whether the setting is acquired to be switched to the opening of the bullet screen is judged, if the setting is switched to the opening of the bullet screen, the recorded GIF or video with the bullet screen is saved or forwarded, and if the bullet screen is kept closed, the recorded GIF or video without the bullet screen is saved or forwarded.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711013994.0A CN107743264B (en) | 2017-10-26 | 2017-10-26 | Video recording method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711013994.0A CN107743264B (en) | 2017-10-26 | 2017-10-26 | Video recording method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107743264A CN107743264A (en) | 2018-02-27 |
CN107743264B true CN107743264B (en) | 2020-06-30 |
Family
ID=61236996
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711013994.0A Active CN107743264B (en) | 2017-10-26 | 2017-10-26 | Video recording method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107743264B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109144644A (en) * | 2018-08-17 | 2019-01-04 | 上海哔哩哔哩科技有限公司 | Player control method, device and storage medium based on user demand |
CN111614992B (en) * | 2020-05-20 | 2022-05-31 | 西安闻泰电子科技有限公司 | Screen recording method and device and electronic equipment |
CN113784169B (en) * | 2021-09-10 | 2023-06-27 | 湖南快乐阳光互动娱乐传媒有限公司 | Video recording method and device with barrage |
CN114449334A (en) * | 2022-01-29 | 2022-05-06 | 上海哔哩哔哩科技有限公司 | Video recording method, video recording device, electronic equipment and computer storage medium |
CN115190369A (en) * | 2022-09-09 | 2022-10-14 | 北京达佳互联信息技术有限公司 | Video generation method, video generation device, electronic apparatus, medium, and product |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105979382A (en) * | 2016-06-01 | 2016-09-28 | 乐视控股(北京)有限公司 | Method and device for sharing video through capturing image |
CN105979288A (en) * | 2016-06-17 | 2016-09-28 | 乐视控股(北京)有限公司 | Video interception method and device |
CN106020690A (en) * | 2016-05-19 | 2016-10-12 | 乐视控股(北京)有限公司 | Video picture screenshot method, device and mobile terminal |
WO2016187382A1 (en) * | 2015-05-19 | 2016-11-24 | Vipeline, Inc. | Method and system for recording video directly into an html framework |
-
2017
- 2017-10-26 CN CN201711013994.0A patent/CN107743264B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016187382A1 (en) * | 2015-05-19 | 2016-11-24 | Vipeline, Inc. | Method and system for recording video directly into an html framework |
CN106020690A (en) * | 2016-05-19 | 2016-10-12 | 乐视控股(北京)有限公司 | Video picture screenshot method, device and mobile terminal |
CN105979382A (en) * | 2016-06-01 | 2016-09-28 | 乐视控股(北京)有限公司 | Method and device for sharing video through capturing image |
CN105979288A (en) * | 2016-06-17 | 2016-09-28 | 乐视控股(北京)有限公司 | Video interception method and device |
Also Published As
Publication number | Publication date |
---|---|
CN107743264A (en) | 2018-02-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107743264B (en) | Video recording method and device | |
JP2019194904A (en) | Method and apparatus for generating text color for group of images | |
KR101342232B1 (en) | Method and device for overlaying multiple video streams | |
JP6012384B2 (en) | Video playback device, display control method, program, and storage medium | |
KR101604250B1 (en) | Method of Providing Service for Recommending Game Video | |
US10205872B2 (en) | Display control apparatus and method for controlling the same | |
WO2016126044A1 (en) | Service method for providing game play video by additionally applying advertisement content thereto | |
US20240144976A1 (en) | Video processing method, device, storage medium, and program product | |
JP2014183379A (en) | Information processing device, data structure of moving image data, information processing system, moving image reproduction program, and moving image reproduction method | |
JP2016537918A (en) | Method and apparatus for parallax of captions on images when scrolling | |
EP3684048B1 (en) | A method for presentation of images | |
WO2023134583A1 (en) | Video recording method and apparatus, and electronic device | |
US9600160B2 (en) | Image processing device, image processing method, and program | |
CN107743272B (en) | Screenshot method and equipment | |
CN111444909B (en) | Image data acquisition method, terminal equipment and medium | |
JP2019220207A (en) | Method and apparatus for using gestures for shot effects | |
US9661217B2 (en) | Image capturing apparatus and control method therefor | |
KR101285382B1 (en) | A device having function editting of image and Method thereof | |
CN117768766A (en) | Shooting method, video processing method and shooting device | |
TW200951795A (en) | Video display system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |