CN107743264A - Video recording method and equipment - Google Patents

Video recording method and equipment Download PDF

Info

Publication number
CN107743264A
CN107743264A CN201711013994.0A CN201711013994A CN107743264A CN 107743264 A CN107743264 A CN 107743264A CN 201711013994 A CN201711013994 A CN 201711013994A CN 107743264 A CN107743264 A CN 107743264A
Authority
CN
China
Prior art keywords
barrage
video
gif
recording
record command
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.)
Granted
Application number
CN201711013994.0A
Other languages
Chinese (zh)
Other versions
CN107743264B (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.)
Shanghai Bilibili Technology Co Ltd
Original Assignee
Shanghai Bilibili Technology 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 Shanghai Bilibili Technology Co Ltd filed Critical Shanghai Bilibili Technology Co Ltd
Priority to CN201711013994.0A priority Critical patent/CN107743264B/en
Publication of CN107743264A publication Critical patent/CN107743264A/en
Application granted granted Critical
Publication of CN107743264B publication Critical patent/CN107743264B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4334Recording operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-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/47202End-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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/488Data services, e.g. news ticker
    • H04N21/4884Data services, e.g. news ticker for displaying subtitles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The invention provides a kind of video recording method and equipment, GIF or video of the present invention by the GIF with barrage or video and without barrage recording, and judge whether that switching opens barrage or closes barrage and set, GIF or video pictures and barrage can be recorded, it disclosure satisfy that user when recording GIF or video, to the recording demand of video pictures and barrage, facilitate user when recording GIF or video, flexibly switched to whether barrage shows, and increase the supplement of multiple scenes, it can be set in different barrages, speed plays, aspect ratio, recorded respectively under the scene of mirror image switch and obtain different GIF or video, What You See Is What You Get, it is wider to cover usage scenario, the availability and interest of function are added while Consumer's Experience is improved.

Description

Video recording method and equipment
Technical field
The present invention relates to a kind of video recording method and equipment.
Background technology
The video record function of player is only capable of recorded video picture on Vehicles Collected from Market, and function is relatively simple, is especially recording It is unable to whether unrestricted choice records barrage during video processed, influences Consumer's Experience.
The content of the invention
It is an object of the invention to provide one kind, is unable to whether unrestricted choice records bullet while can solve the problem that recorded video The problem of curtain.
To solve the above problems, the present invention provides a kind of video recording method, including:
Obtain and start record command, based on the beginning record command, carry out the GIF with barrage or video and without barrage GIF or video recording;
Obtain and terminate record command, based on the end record command, terminate the GIF with barrage or video and without The GIF or video of barrage recording;
Judge whether current setting is to open barrage,
If opening barrage, after the GIF or video preview with barrage for generating the recording, judge whether to get institute State setting and switch to closing barrage, if switching to closing barrage, preserve or forward the recording without barrage GIF or regard Frequently;If keeping it turned on barrage, the GIF or video with barrage of the recording are preserved or forwarded;
If not opening barrage, after the GIF or video preview without barrage for generating the recording, judge whether to get The setting is switched into unlatching barrage, if switching to unlatching barrage, preserves or forwards the GIF with barrage of the recording or regard Frequently, if remaining turned-off barrage, preserve or forward the GIF or video without barrage of the recording.
Further, in the above-mentioned methods, obtain before starting record command, in addition to:
Obtain the setting of the broadcasting speed of adjustment video;
Based on the beginning record command, the GIF with barrage or video and GIF or video without barrage record are carried out System, including:
Based on the beginning record command, the correspondingly GIF with barrage of the broadcasting speed or video are carried out and without bullet The GIF or video of curtain recording;
Based on the end record command, terminate the GIF with barrage or video and the GIF or video without barrage Record, including:
Based on the end record command, terminate to correspond to the GIF with barrage of the broadcasting speed or video and without bullet The GIF or video of curtain recording.
Further, in the above-mentioned methods, obtain before starting record command, in addition to:
Obtain the setting of adjustment barrage parameter;
Based on the beginning record command, the GIF with barrage or video and GIF or video without barrage record are carried out System, including:
Based on the beginning record command, the correspondingly GIF with barrage of the barrage parameter or video are carried out and without bullet The GIF or video of curtain recording;
Based on the end record command, terminate the GIF with barrage or video and the GIF or video without barrage Record, including:
Based on the end record command, terminate to correspond to the GIF with barrage of the barrage parameter or video and without bullet The GIF or video of curtain recording.
Further, in the above-mentioned methods, obtain before starting record command, in addition to:
Video mirror image switch is obtained to set;
Based on the beginning record command, the GIF with barrage or video and GIF or video without barrage record are carried out System, including:
Based on the beginning record command, the GIF or video with barrage that the corresponding video mirror image switch is set are carried out With the recording of GIF or video without barrage;
Based on the end record command, terminate the GIF with barrage or video and the GIF or video without barrage Record, including:
Based on the end record command, terminate the GIF or video with barrage that the corresponding video mirror image switch is set With the recording of GIF or video without barrage.
Further, in the above-mentioned methods, obtain before starting record command, in addition to:
Obtain the parameter of adjustment video ratio;
Based on the beginning record command, the GIF with barrage or video and GIF or video without barrage record are carried out System, including:
Based on the beginning record command, carry out the GIF with barrage of the parameter of the corresponding adjustment video ratio or regard Frequently the recording of GIF or video and without barrage;
Based on the end record command, terminate the GIF with barrage or video and the GIF or video without barrage Record, including:
Based on the end record command, terminate the GIF with barrage of the parameter of the corresponding adjustment video ratio or regard Frequently the recording of GIF or video and without barrage.
According to the another side of the present invention, there is provided a kind of video recording device, including:
Module is recorded, starts record command for obtaining, based on the beginning record command, carries out the corresponding broadcasting speed The GIF with barrage or video and GIF or video without barrage of degree recording;And obtain and terminate record command, based on described Terminate record command, terminate the GIF with barrage or video and GIF or video without barrage recording;
Preserving module, for judging whether current setting is to open barrage, if opening barrage, generate the band of the recording After the GIF or video preview of barrage, judge whether to get the setting is switched into closing barrage, if switching to closing bullet Curtain, preserve or forward the GIF or video without barrage of the recording;If keeping it turned on barrage, the recording is preserved or forwarded The GIF or video with barrage;If not opening barrage, after the GIF or video preview without barrage for generating the recording, sentence The setting is switched to unlatching barrage by disconnected whether get, if switching to unlatching barrage, preserves or forward the band of the recording The GIF or video of barrage, if remaining turned-off barrage, preserve or forward the GIF or video without barrage of the recording.
Further, in the said equipment, the recording module, it is additionally operable to before beginning record command is obtained, obtains Adjust the setting of the broadcasting speed of video;Based on the beginning record command, carry out the corresponding broadcasting speed with barrage The recording of GIF or video and GIF or video without barrage;Based on the end record command, terminate the corresponding broadcasting speed The GIF with barrage or video and GIF or video without barrage of degree recording.
Further, in the said equipment, the recording module, it is additionally operable to before beginning record command is obtained, obtains Adjust the setting of barrage parameter;Based on the beginning record command, carry out the GIF with barrage of the corresponding barrage parameter or regard Frequently the recording of GIF or video and without barrage;Based on the end record command, terminate to correspond to the band bullet of the barrage parameter The GIF or video and GIF or video without barrage of curtain recording.
Further, in the said equipment, the recording module, it is additionally operable to before beginning record command is obtained, obtains Video mirror image switch is set;Based on the beginning record command, carry out that the corresponding video mirror image switch sets with barrage The recording of GIF or video and GIF or video without barrage;Based on the end record command, terminate the corresponding video mirror As the GIF with barrage or video and GIF or video without barrage that upset is set recording.
Further, in the said equipment, the recording module, it is additionally operable to before beginning record command is obtained, obtains Adjust the parameter of video ratio;Based on the beginning record command, the band bullet of the parameter of the corresponding adjustment video ratio is carried out The GIF or video and GIF or video without barrage of curtain recording;Based on the end record command, terminate the corresponding tune The GIF with barrage or video of the parameter of whole video ratio and GIF or video without barrage recording.
According to the another side of the present invention, a kind of computer-readable recording medium is also provided, being stored thereon with computer can hold Row instruction, wherein, the computer executable instructions cause the processor when being executed by processor:
Obtain and start record command, based on the beginning record command, carry out the GIF with barrage or video and without barrage GIF or video recording;
Obtain and terminate record command, based on the end record command, terminate the GIF with barrage or video and without The GIF or video of barrage recording;
Judge whether current setting is to open barrage,
If opening barrage, after the GIF or video preview with barrage for generating the recording, judge whether to get institute State setting and switch to closing barrage, if switching to closing barrage, preserve or forward the recording without barrage GIF or regard Frequently;If keeping it turned on barrage, the GIF or video with barrage of the recording are preserved or forwarded;
If not opening barrage, after the GIF or video preview without barrage for generating the recording, judge whether to get The setting is switched into unlatching barrage, if switching to unlatching barrage, preserves or forwards the GIF with barrage of the recording or regard Frequently, if remaining turned-off barrage, preserve or forward the GIF or video without barrage of the recording.
According to the another side of the present invention, a kind of calculator device is also provided, wherein, including:
Processor;And
It is arranged to store the memory of computer executable instructions, the executable instruction makes the place when executed Manage device:
Obtain and start record command, based on the beginning record command, carry out the GIF with barrage or video and without barrage GIF or video recording;
Obtain and terminate record command, based on the end record command, terminate the GIF with barrage or video and without The GIF or video of barrage recording;
Judge whether current setting is to open barrage,
If opening barrage, after the GIF or video preview with barrage for generating the recording, judge whether to get institute State setting and switch to closing barrage, if switching to closing barrage, preserve or forward the recording without barrage GIF or regard Frequently;If keeping it turned on barrage, the GIF or video with barrage of the recording are preserved or forwarded;
If not opening barrage, after the GIF or video preview without barrage for generating the recording, judge whether to get The setting is switched into unlatching barrage, if switching to unlatching barrage, preserves or forwards the GIF with barrage of the recording or regard Frequently, if remaining turned-off barrage, preserve or forward the GIF or video without barrage of the recording.
Compared with prior art, GIF or video of the present invention by the GIF with barrage or video and without barrage record System, and judge whether that switching opens barrage or closes barrage and set, GIF or video pictures and barrage can be recorded, disclosure satisfy that use Family, to the recording demand of video pictures and barrage, facilitates user when recording GIF or video, to bullet when recording GIF or video Whether curtain, which shows, is flexibly switched, and increases the supplement of multiple scenes, and this programme is added in other setting lifes of player During effect, GIF records What You See Is What You Get, including:When multiple plays video, screen recording GIF or certain time length is recorded during video With the GIF or video of frame per second, the GIF or video of speed change are obtained;Be sized in video barrage, the parameter such as transparency, speed when, The GIF or video of certain time length and frame per second are recorded, obtains the GIF or video of display effect after barrage parameter adjustment;Set in video When to put picture be mirror image switch, the GIF or video of certain time length and frame per second are recorded, obtains the GIF or video of mirror image display effect; After video ratio is adjusted, record the GIF or video of certain time length and frame per second, obtain after ratio adjustment the GIF of display effect or Video, covering usage scenario is wider, and the availability and interest of function are added while Consumer's Experience is improved.
Brief description of the drawings
Fig. 1 is the flow chart of the video recording method of first embodiment of the invention;
Fig. 2 is the flow chart of the video recording method of second embodiment of the invention;
Fig. 3 is the flow chart of the video recording method of third embodiment of the invention;
Fig. 4 is the flow chart of the video recording method of fourth embodiment of the invention;
Fig. 5 is the flow chart of the video recording method of fifth embodiment of the invention.
Embodiment
In order to facilitate the understanding of the purposes, features and advantages of the present invention, it is below in conjunction with the accompanying drawings and specific real Applying mode, the present invention is further detailed explanation.
As shown in figure 1, the present invention provides a kind of video recording method, including:
Step S1, obtain and start record command;
Step S2, based on the beginning record command, carry out the GIF with barrage or video and without barrage GIF or regard The recording of frequency;
Here, being based on the beginning record command, the video of GIF or common format can be recorded, wherein, common format Video such as MPEG-1, MPEG-2 and MPEG4 form, AVI format, RM forms, RM forms, ASF and WMV forms, MOV forms etc. Deng.
The data of GIF (Graphics Interchange Format) file, are a kind of continuous colors based on lzw algorithm The nondestructive compression type of tune, its compression ratio is typically 50% or so, and it is not belonging to any application program, and GIF forms can be deposited more Width coloured image, if the multiple image data being stored in a file are read and are shown on screen by width, so that it may form A kind of simplest animation, because GIF small volumes, imaging are relatively clear, suitable for the fast propagation on network, for example, user can So that the GIF completed will be recorded by being forwarded on social network sites or social APP, it is easy to quick exchange of information between user;
Step S3, obtain and terminate record command;
Step S4, based on the end record command, terminate the GIF with barrage or video and the GIF without barrage Or the recording of video;
Here, the recording duration of the GIF or video can refer to according to the beginning record command and end recording got The interval duration of order determines;
Step S5, judge whether current setting is to open barrage, if opening barrage, step S611 is gone to, if not opening Barrage is opened, goes to step S621;
After step S611, the GIF or video preview with barrage for generating the recording, step S612 is gone to;
Step S612, judges whether to get the setting is switched into closing barrage, if switching to closing barrage, goes to Step S7, if keeping it turned on barrage, step S8 is gone to,
After step S621, the GIF or video preview without barrage for generating the recording, step S622 is gone to;
Step S622, judges whether to get the setting is switched into unlatching barrage, if switching to unlatching barrage, goes to Step S8, if remaining turned-off barrage, step S7 is gone to,
Step S7, preserve or forward the GIF or video without barrage of the recording;
Step S8, preserve or forward the GIF or video with barrage of the recording.
Here, GIF can be recorded by long-press by user or video button triggering starts to record GIF or video instructions, loose one's grip Triggering stops recording GIF or video instructions, record respectively start to terminate in recording time the GIF with barrage of certain frame per second or Video and the GIF or video without barrage.If barrage is set off, preview graph is the GIF or video without barrage;If bullet Curtain is set on, then preview graph is GIF or video with barrage.Now user can cut in recording GIF or video preview interface Change barrage switch control and choose the GIF with barrage or video or the GIF or video without barrage, then GIF or video are protected Deposit or share, improve Consumer's Experience.
The present embodiment can be applied in video player etc., by the GIF with barrage or video and without barrage GIF or The recording of video, and judge whether that switching opens barrage or closes barrage and set, it disclosure satisfy that user is recording GIF or video When, to the recording demand of video pictures and barrage, the function of barrage recording is on the one hand added, on the other hand can unrestricted choice bullet Curtain switch, facilitate user flexibly to be switched to whether barrage shows when recording GIF or video, improve the same of Consumer's Experience When, increase the availability and interest of video playback capability.
As shown in Fig. 2 in the embodiment of video recording method one of the present invention, step S1, obtain before starting record command, Also include:Step S01, obtain the setting of the broadcasting speed of adjustment video;
Accordingly, after step S01, including:
Step S1, obtain and start record command;
Step S2, based on the beginning record command, carry out the corresponding broadcasting speed the GIF with barrage or video and Without the GIF or video of barrage recording;
Step S3, obtain and terminate record command;
Step S4, based on the end record command, terminate the corresponding broadcasting speed the GIF with barrage or video and Without the GIF or video of barrage recording.
Here, the broadcasting speed that user changes in player setting can be obtained, the broadcasting speed can be normal 0.5 times -1.5 times of broadcasting speed, may then pass through long-press recording GIF or video button triggering starts to record GIF or video Instruction, triggering of loosing one's grip stop recording GIF or video instructions, record from starting to the certain time length and frame per second terminated in recording time GIF or video, obtain speed change GIF or video, improve the interest of GIF or video record.
As shown in figure 3, in the embodiment of video recording method one of the present invention, step S1, obtain before starting record command, Also include:Step S02, obtain the setting of adjustment barrage parameter;
Accordingly, after step S02, including:
Step S1, obtain and start record command;
Step S2, based on the beginning record command, carry out the corresponding barrage parameter the GIF with barrage or video and Without the GIF or video of barrage recording;
Step S3, obtain and terminate record command;
Step S4, based on the end record command, terminate the corresponding barrage parameter the GIF with barrage or video and Without the GIF or video of barrage recording.
Here, the barrage parameter include barrage transparency, barrage with shield density, barrage speed, barrage font size and Barrage retouches one kind or any combination in hem width degree.
In the present embodiment, user changes barrage parameter such as size, transparency in barrage setting, shields density, speed together, retouches Hem width degree etc., GIF is then recorded by long-press or video button triggering starts to record GIF or video instructions, triggering of loosing one's grip stops GIF or video instructions are recorded, is recorded from beginning to the GIF or video that terminate in recording time, is obtained barrage arrange parameter and come into force The GIF or video of situation.
As shown in figure 4, in the embodiment of video recording method one of the present invention, step S1, obtain before starting record command, Also include:Step S03, obtain video mirror image switch and set;
Accordingly, after step S03, including:
Step S1, obtain and start record command;
Step S2, based on the beginning record command, carry out the GIF with barrage that the corresponding video mirror image switch is set Or video and GIF or video without barrage recording;
Step S3, obtain and terminate record command;
Step S4, based on the end record command, terminate the GIF with barrage that the corresponding video mirror image switch is set Or video and GIF or video without barrage recording.
Here, user can open mirror image switch effect in player setting, GIF or video are then recorded by long-press Button triggering starts to record GIF or video instructions, and triggering of loosing one's grip stops recording GIF or video instructions, records from starting to end GIF or video in recording time, obtain the GIF or video of mirror image display effect.
In the present embodiment, video mirror image switch, which is set, records GIF or video when coming into force, may be implemented in video setting screen is During mirror image switch, the GIF or video of certain time length and frame per second are recorded, the GIF or video of mirror image display effect is obtained, is greatly improved Function is interesting.
As shown in figure 5, in the embodiment of video recording method one of the present invention, step S1, obtain before starting record command, Also include:Step S04, obtain the parameter of adjustment video ratio;
Accordingly, after step S04, including:
Step S1, obtain and start record command;
Step S2, based on the beginning record command, carry out the corresponding adjustment video ratio parameter with barrage The recording of GIF or video and GIF or video without barrage;
Step S3, obtain and terminate record command;
Step S4, based on the end record command, terminate the corresponding adjustment video ratio parameter with barrage The recording of GIF or video and GIF or video without barrage.
Here, user changes video scale parameter in player setting, video scale parameter can be the wide height of a display Than, can include acquiescence, it is full frame, 16:9、4:3 etc., GIF is then recorded by long-press or video button triggering starts to record GIF Or video instructions, triggering of loosing one's grip stop recording GIF or video instructions, record from beginning to the GIF terminated in recording time or regard Frequently, the GIF or video of certain video ratio are obtained.
In the present embodiment, after video ratio is adjusted, the GIF or video of certain time length and frame per second are recorded, obtains ratio tune The GIF or video of display effect after whole, improve the GIF display effects of different size videos.
According to the another side of the present invention, there is provided a kind of video recording device, including:
Module is recorded, starts record command for obtaining, based on the beginning record command, carries out the corresponding broadcasting speed The GIF with barrage or video and GIF or video without barrage of degree recording;And obtain and terminate record command, based on described Terminate record command, terminate the GIF with barrage or video and GIF or video without barrage recording;
Here, being based on the beginning record command, the video of GIF or common format can be recorded, wherein, common format Video such as MPEG-1, MPEG-2 and MPEG4 form, AVI format, RM forms, RM forms, ASF and WMV forms, MOV forms etc. Deng.
The data of GIF (Graphics Interchange Format) file, are a kind of continuous colors based on lzw algorithm The nondestructive compression type of tune, its compression ratio is typically 50% or so, and it is not belonging to any application program, and GIF forms can be deposited more Width coloured image, if the multiple image data being stored in a file are read and are shown on screen by width, so that it may form A kind of simplest animation, because GIF small volumes, imaging are relatively clear, suitable for the fast propagation on network, for example, user can So that the GIF completed will be recorded by being forwarded on social network sites or social APP, it is easy to quick exchange of information between user;
Preserving module, for judging whether current setting is to open barrage, if opening barrage, generate the band of the recording After the GIF or video preview of barrage, judge whether to get the setting is switched into closing barrage, if switching to closing bullet Curtain, preserve or forward the GIF or video without barrage of the recording;If keeping it turned on barrage, the recording is preserved or forwarded The GIF or video with barrage;If not opening barrage, after the GIF or video preview without barrage for generating the recording, sentence The setting is switched to unlatching barrage by disconnected whether get, if switching to unlatching barrage, preserves or forward the band of the recording The GIF or video of barrage, if remaining turned-off barrage, preserve or forward the GIF or video without barrage of the recording.
Here, GIF can be recorded by long-press by user or video button triggering starts to record GIF or video instructions, loose one's grip Triggering stops recording GIF or video instructions, record respectively start to terminate in recording time the GIF with barrage of certain frame per second or Video and the GIF or video without barrage.If barrage is set off, preview graph is the GIF or video without barrage;If bullet Curtain is set on, then preview graph is GIF or video with barrage.Now user can cut in recording GIF or video preview interface Change barrage switch control and choose the GIF with barrage or video or the GIF or video without barrage, then GIF or video are protected Deposit or share, improve Consumer's Experience.
The present embodiment can be applied in video player etc., by the GIF with barrage or video and without barrage GIF or The recording of video, and judge whether that switching opens barrage or closes barrage and set, it disclosure satisfy that user is recording GIF or video When, to the recording demand of video pictures and barrage, the function of barrage recording is on the one hand added, on the other hand can unrestricted choice bullet Curtain switch, facilitate user flexibly to be switched to whether barrage shows when recording GIF or video, improve the same of Consumer's Experience When, increase the availability and interest of video playback capability.
In the video recording device of one embodiment of the invention, the recording module, it is additionally operable to obtaining beginning record command Before, the setting of the broadcasting speed of adjustment video is obtained;Based on the beginning record command, the corresponding broadcasting speed is carried out GIF or video with barrage and GIF or video without barrage recording;Based on the end record command, terminate corresponding institute State the GIF with barrage or video and GIF or video without barrage of broadcasting speed recording.
Here, the broadcasting speed that user changes in player setting can be obtained, the broadcasting speed can be normal 0.5 times -1.5 times of broadcasting speed, may then pass through long-press recording GIF or video button triggering starts to record GIF or video Instruction, triggering of loosing one's grip stop recording GIF or video instructions, record from starting to the certain time length and frame per second terminated in recording time GIF or video, obtain speed change GIF or video, improve the interest of GIF or video record.
In the video recording device of one embodiment of the invention, the recording module, it is additionally operable to obtaining beginning record command Before, the setting of adjustment barrage parameter is obtained;Based on the beginning record command, the band barrage of the corresponding barrage parameter is carried out GIF or video and GIF or video without barrage recording;Based on the end record command, terminate the corresponding barrage The GIF with barrage or video of parameter and GIF or video without barrage recording.
Here, the barrage parameter include barrage transparency, barrage with shield density, barrage speed, barrage font size and Barrage retouches one kind or any combination in hem width degree.
In the present embodiment, user changes barrage parameter such as size, transparency in barrage setting, shields density, speed together, retouches Hem width degree etc., GIF is then recorded by long-press or video button triggering starts to record GIF or video instructions, triggering of loosing one's grip stops GIF or video instructions are recorded, is recorded from beginning to the GIF or video that terminate in recording time, is obtained barrage arrange parameter and come into force The GIF or video of situation.
In the video recording device of one embodiment of the invention, the recording module, it is additionally operable to obtaining beginning record command Before, video mirror image switch is obtained to set;Based on the beginning record command, carry out what the corresponding video mirror image switch was set GIF or video with barrage and GIF or video without barrage recording;Based on the end record command, terminate corresponding institute State the GIF with barrage or video and GIF or video without barrage of the setting of video mirror image switch recording.
Here, user can open mirror image switch effect in player setting, GIF or video are then recorded by long-press Button triggering starts to record GIF or video instructions, and triggering of loosing one's grip stops recording GIF or video instructions, records from starting to end GIF or video in recording time, obtain the GIF or video of mirror image display effect.
In the present embodiment, video mirror image switch, which is set, records GIF or video when coming into force, may be implemented in video setting screen is During mirror image switch, the GIF or video of certain time length and frame per second are recorded, the GIF or video of mirror image display effect is obtained, is greatly improved Function is interesting.
In the video recording device of one embodiment of the invention, the recording module, it is additionally operable to obtaining beginning record command Before, the parameter of adjustment video ratio is obtained;Based on the beginning record command, the corresponding ginseng for adjusting video ratio is carried out The recording of several GIF with barrage or video and GIF or video without barrage;Based on the end record command, end pair Answer the GIF with barrage or video and GIF or video without barrage of the parameter of the adjustment video ratio recording.
Here, user changes video scale parameter in player setting, video scale parameter can be the wide height of a display Than, can include acquiescence, it is full frame, 16:9、4:3 etc., GIF is then recorded by long-press or video button triggering starts to record GIF Or video instructions, triggering of loosing one's grip stop recording GIF or video instructions, record from beginning to the GIF terminated in recording time or regard Frequently, the GIF or video of certain video ratio are obtained.
In the present embodiment, after video ratio is adjusted, the GIF or video of certain time length and frame per second are recorded, obtains ratio tune The GIF or video of display effect after whole, improve the GIF display effects of different size videos.
According to the another side of the present invention, a kind of computer-readable recording medium is also provided, being stored thereon with computer can hold Row instruction, wherein, the computer executable instructions cause the processor when being executed by processor:
Obtain and start record command, based on the beginning record command, carry out the GIF with barrage or video and without barrage GIF or video recording;
Obtain and terminate record command, based on the end record command, terminate the GIF with barrage or video and without The GIF or video of barrage recording;
Judge whether current setting is to open barrage,
If opening barrage, after the GIF or video preview with barrage for generating the recording, judge whether to get institute State setting and switch to closing barrage, if switching to closing barrage, preserve or forward the recording without barrage GIF or regard Frequently;If keeping it turned on barrage, the GIF or video with barrage of the recording are preserved or forwarded;
If not opening barrage, after the GIF or video preview without barrage for generating the recording, judge whether to get The setting is switched into unlatching barrage, if switching to unlatching barrage, preserves or forwards the GIF with barrage of the recording or regard Frequently, if remaining turned-off barrage, preserve or forward the GIF or video without barrage of the recording.
According to the another side of the present invention, a kind of calculator device is also provided, wherein, including:
Processor;And
It is arranged to store the memory of computer executable instructions, the executable instruction makes the place when executed Manage device:
Obtain and start record command, based on the beginning record command, carry out the GIF with barrage or video and without barrage GIF or video recording;
Obtain and terminate record command, based on the end record command, terminate the GIF with barrage or video and without The GIF or video of barrage recording;
Judge whether current setting is to open barrage,
If opening barrage, after the GIF or video preview with barrage for generating the recording, judge whether to get institute State setting and switch to closing barrage, if switching to closing barrage, preserve or forward the recording without barrage GIF or regard Frequently;If keeping it turned on barrage, the GIF or video with barrage of the recording are preserved or forwarded;
If not opening barrage, after the GIF or video preview without barrage for generating the recording, judge whether to get The setting is switched into unlatching barrage, if switching to unlatching barrage, preserves or forwards the GIF with barrage of the recording or regard Frequently, if remaining turned-off barrage, preserve or forward the GIF or video without barrage of the recording.
In summary, GIF or video of the present invention by the GIF with barrage or video and without barrage recording, and sentence Disconnected whether switch opens barrage or closes barrage setting, can record GIF or video pictures and barrage, disclosure satisfy that user is recording GIF or during video, to the recording demand of video pictures and barrage, facilitates whether user shows when recording GIF or video to barrage Show and flexibly switched, and increase the supplement of multiple scenes, this programme add player other setting come into force when, GIF What You See Is What You Get is recorded, including:When multiple plays video, screen recording GIF or certain time length and frame per second are recorded during video GIF or video, obtain the GIF or video of speed change;Be sized in video barrage, the parameter such as transparency, speed when, record certain The GIF or video of duration and frame per second, obtain the GIF or video of display effect after barrage parameter adjustment;It is in video setting screen During mirror image switch, the GIF or video of certain time length and frame per second are recorded, obtains the GIF or video of mirror image display effect;Regarded in adjustment After frequency ratio example, the GIF or video of certain time length and frame per second are recorded, obtains the GIF or video of display effect after ratio adjustment, covering Usage scenario is wider, and the availability and interest of function are added while Consumer's Experience is improved.
Each embodiment is described by the way of progressive in this specification, what each embodiment stressed be and other The difference of embodiment, between each embodiment identical similar portion mutually referring to.
Professional further appreciates that, with reference to the unit of each example of the embodiments described herein description And algorithm steps, can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware and The interchangeability of software, the composition and step of each example are generally described according to function in the above description.These Function is performed with hardware or software mode actually, application-specific and design constraint depending on technical scheme.Specialty Technical staff can realize described function using distinct methods to each specific application, but this realization should not Think beyond the scope of this invention.
Obviously, those skilled in the art can carry out the spirit of various changes and modification without departing from the present invention to invention And scope.So, if these modifications and variations of the present invention belong to the claims in the present invention and its equivalent technologies scope it Interior, then the present invention is also intended to including these changes and modification.

Claims (12)

  1. A kind of 1. video recording method, it is characterised in that including:
    Obtain and start record command, based on the beginning record command, carry out the GIF with barrage or video and without barrage GIF or video recording;
    Obtain and terminate record command, based on the end record command, terminate the GIF with barrage or video and without barrage GIF or video recording;
    Judge whether current setting is to open barrage,
    If opening barrage, after the GIF or video preview with barrage for generating the recording, judge whether to get and set described Put and switch to closing barrage, if switching to closing barrage, preserve or forward the GIF or video without barrage of the recording;If Barrage is kept it turned on, preserves or forward the GIF or video with barrage of the recording;
    If not opening barrage, after the GIF or video preview without barrage for generating the recording, judge whether to get institute State setting and switch to unlatching barrage, if switching to unlatching barrage, preserve or forward the GIF or video with barrage of the recording, If remaining turned-off barrage, the GIF or video without barrage of the recording are preserved or forwarded.
  2. 2. the method as described in claim 1, it is characterised in that obtain before starting record command, in addition to:
    Obtain the setting of the broadcasting speed of adjustment video;
    Based on the beginning record command, the GIF with barrage or video and GIF or video without barrage recording are carried out, is wrapped Include:
    Based on the beginning record command, the correspondingly GIF with barrage of the broadcasting speed or video are carried out and without barrage GIF or video recording;
    Based on the end record command, terminate the GIF with barrage or video and GIF or video without barrage record System, including:
    Based on the end record command, terminate to correspond to the GIF with barrage of the broadcasting speed or video and without barrage GIF or video recording.
  3. 3. the method as described in claim 1, it is characterised in that obtain before starting record command, in addition to:
    Obtain the setting of adjustment barrage parameter;
    Based on the beginning record command, the GIF with barrage or video and GIF or video without barrage recording are carried out, is wrapped Include:
    Based on the beginning record command, the correspondingly GIF with barrage of the barrage parameter or video are carried out and without barrage GIF or video recording;
    Based on the end record command, terminate the GIF with barrage or video and GIF or video without barrage record System, including:
    Based on the end record command, terminate to correspond to the GIF with barrage of the barrage parameter or video and without barrage GIF or video recording.
  4. 4. the method as described in claim 1, it is characterised in that obtain before starting record command, in addition to:
    Video mirror image switch is obtained to set;
    Based on the beginning record command, the GIF with barrage or video and GIF or video without barrage recording are carried out, is wrapped Include:
    Based on the beginning record command, the GIF with barrage that the corresponding video mirror image switch sets or video and not are carried out The recording of GIF or video with barrage;
    Based on the end record command, terminate the GIF with barrage or video and GIF or video without barrage record System, including:
    Based on the end record command, terminate the GIF with barrage that the corresponding video mirror image switch sets or video and not The recording of GIF or video with barrage.
  5. 5. the method as described in any one of Claims 1-4, it is characterised in that obtain before starting record command, in addition to:
    Obtain the parameter of adjustment video ratio;
    Based on the beginning record command, the GIF with barrage or video and GIF or video without barrage recording are carried out, is wrapped Include:
    Based on the beginning record command, carry out the parameter of the corresponding adjustment video ratio the GIF with barrage or video and Without the GIF or video of barrage recording;
    Based on the end record command, terminate the GIF with barrage or video and GIF or video without barrage record System, including:
    Based on the end record command, terminate the parameter of the corresponding adjustment video ratio the GIF with barrage or video and Without the GIF or video of barrage recording.
  6. A kind of 6. video recording device, it is characterised in that including:
    Module is recorded, starts record command for obtaining, based on the beginning record command, carries out the corresponding broadcasting speed GIF or video with barrage and GIF or video without barrage recording;And obtain and terminate record command, based on the end Record command, terminate the GIF with barrage or video and GIF or video without barrage recording;
    Preserving module, for judging whether current setting is to open barrage, if opening barrage, generate the band barrage of the recording GIF or video preview after, judge whether to get the setting switched into closing barrage, if switching to closing barrage, protect Deposit or forward the GIF or video without barrage of the recording;If keeping it turned on barrage, the band bullet of the recording is preserved or forwarded The GIF or video of curtain;If not opening barrage, after the GIF or video preview without barrage for generating the recording, judge whether Get and the setting switched into unlatching barrage, if switch to unlatching barrage, preserve or forward the recording with barrage GIF or video, if remaining turned-off barrage, preserve or forward the GIF or video without barrage of the recording.
  7. 7. equipment as claimed in claim 6, it is characterised in that the recording module, be additionally operable to obtaining beginning record command Before, the setting of the broadcasting speed of adjustment video is obtained;Based on the beginning record command, the corresponding broadcasting speed is carried out GIF or video with barrage and GIF or video without barrage recording;Based on the end record command, terminate corresponding institute State the GIF with barrage or video and GIF or video without barrage of broadcasting speed recording.
  8. 8. equipment as claimed in claim 6, it is characterised in that the recording module, be additionally operable to obtaining beginning record command Before, the setting of adjustment barrage parameter is obtained;Based on the beginning record command, the band barrage of the corresponding barrage parameter is carried out GIF or video and GIF or video without barrage recording;Based on the end record command, terminate the corresponding barrage The GIF with barrage or video of parameter and GIF or video without barrage recording.
  9. 9. equipment as claimed in claim 6, it is characterised in that the recording module, be additionally operable to obtaining beginning record command Before, video mirror image switch is obtained to set;Based on the beginning record command, carry out what the corresponding video mirror image switch was set GIF or video with barrage and GIF or video without barrage recording;Based on the end record command, terminate corresponding institute State the GIF with barrage or video and GIF or video without barrage of the setting of video mirror image switch recording.
  10. 10. the equipment as described in any one of claim 6 to 9, it is characterised in that the recording module, be additionally operable to open in acquisition Before beginning record command, the parameter of adjustment video ratio is obtained;Based on the beginning record command, carry out the corresponding adjustment and regard The GIF with barrage or video of the parameter of frequency ratio example and GIF or video without barrage recording;Referred to based on the end recording Order, terminate the GIF with barrage or video and GIF or video without barrage of the parameter of the corresponding adjustment video ratio record System.
  11. 11. a kind of computer-readable recording medium, is stored thereon with computer executable instructions, wherein, the computer can perform Instruction causes the processor when being executed by processor:
    Obtain and start record command, based on the beginning record command, carry out the GIF with barrage or video and without barrage GIF or video recording;
    Obtain and terminate record command, based on the end record command, terminate the GIF with barrage or video and without barrage GIF or video recording;
    Judge whether current setting is to open barrage,
    If opening barrage, after the GIF or video preview with barrage for generating the recording, judge whether to get and set described Put and switch to closing barrage, if switching to closing barrage, preserve or forward the GIF or video without barrage of the recording;If Barrage is kept it turned on, preserves or forward the GIF or video with barrage of the recording;
    If not opening barrage, after the GIF or video preview without barrage for generating the recording, judge whether to get institute State setting and switch to unlatching barrage, if switching to unlatching barrage, preserve or forward the GIF or video with barrage of the recording, If remaining turned-off barrage, the GIF or video without barrage of the recording are preserved or forwarded.
  12. 12. a kind of calculator device, wherein, including:
    Processor;And
    It is arranged to store the memory of computer executable instructions, the executable instruction makes the processing when executed Device:
    Obtain and start record command, based on the beginning record command, carry out the GIF with barrage or video and without barrage GIF or video recording;
    Obtain and terminate record command, based on the end record command, terminate the GIF with barrage or video and without barrage GIF or video recording;
    Judge whether current setting is to open barrage,
    If opening barrage, after the GIF or video preview with barrage for generating the recording, judge whether to get and set described Put and switch to closing barrage, if switching to closing barrage, preserve or forward the GIF or video without barrage of the recording;If Barrage is kept it turned on, preserves or forward the GIF or video with barrage of the recording;
    If not opening barrage, after the GIF or video preview without barrage for generating the recording, judge whether to get institute State setting and switch to unlatching barrage, if switching to unlatching barrage, preserve or forward the GIF or video with barrage of the recording, If remaining turned-off barrage, the GIF or video without barrage of the recording are preserved or forwarded.
CN201711013994.0A 2017-10-26 2017-10-26 Video recording method and device Active CN107743264B (en)

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 true CN107743264A (en) 2018-02-27
CN107743264B 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)

Cited By (5)

* Cited by examiner, † Cited by third party
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
CN111614992A (en) * 2020-05-20 2020-09-01 西安闻泰电子科技有限公司 Screen recording method and device and electronic equipment
CN113784169A (en) * 2021-09-10 2021-12-10 湖南快乐阳光互动娱乐传媒有限公司 Video recording method and device with bullet screen
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)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105979288A (en) * 2016-06-17 2016-09-28 乐视控股(北京)有限公司 Video interception method and device
CN105979382A (en) * 2016-06-01 2016-09-28 乐视控股(北京)有限公司 Method and device for sharing video through capturing image
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
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

Cited By (6)

* Cited by examiner, † Cited by third party
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
CN111614992A (en) * 2020-05-20 2020-09-01 西安闻泰电子科技有限公司 Screen recording method and device and electronic equipment
CN111614992B (en) * 2020-05-20 2022-05-31 西安闻泰电子科技有限公司 Screen recording method and device and electronic equipment
CN113784169A (en) * 2021-09-10 2021-12-10 湖南快乐阳光互动娱乐传媒有限公司 Video recording method and device with bullet screen
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

Also Published As

Publication number Publication date
CN107743264B (en) 2020-06-30

Similar Documents

Publication Publication Date Title
CN107743264A (en) Video recording method and equipment
US11551721B2 (en) Video recording method and device
EP3047362B1 (en) Gesture based image styles editing on a touchscreen .
WO2021175055A1 (en) Video processing method and related device
CN105391965B (en) Video recording method based on multi-cam and device
CN108989830A (en) A kind of live broadcasting method, device, electronic equipment and storage medium
CN105979339B (en) Window display method and client
CN115242992B (en) Video processing method, device, electronic equipment and storage medium
WO2022111198A1 (en) Video processing method and apparatus, terminal device and storage medium
CA2682394A1 (en) Apparatus and method for low bandwidth play position previewing of video content
CN107800988A (en) A kind of method and device of video record, electronic equipment
WO2023035882A1 (en) Video processing method, and device, storage medium and program product
WO2022116962A1 (en) Video playback method and apparatus, and electronic device
CN113691737B (en) Video shooting method and device and storage medium
CN107509102A (en) Method for previewing, device and the computer-readable recording medium of television information source
CN114520876A (en) Time-delay shooting video recording method and device and electronic equipment
KR20140146592A (en) Color grading preview method and apparatus
US20150162049A1 (en) Image processing device, image processing method, and program
JP6803463B2 (en) Display device and its control method
CN104837005B (en) Method and its device that a kind of 2D videos are played with 3D Video Quality Metrics
CN107743272B (en) Screenshot method and equipment
CN115002335B (en) Video processing method, apparatus, electronic device, and computer-readable storage medium
CN114339289A (en) Video playing processing method
KR101970787B1 (en) Video decoding apparatus and method based on android platform using dual memory
CN109788338A (en) Monitoring method, device, computer equipment and the storage medium of video playing

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