CN112619166A - Game screen recording method and device, electronic equipment and storage medium - Google Patents
Game screen recording method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN112619166A CN112619166A CN202011524069.6A CN202011524069A CN112619166A CN 112619166 A CN112619166 A CN 112619166A CN 202011524069 A CN202011524069 A CN 202011524069A CN 112619166 A CN112619166 A CN 112619166A
- Authority
- CN
- China
- Prior art keywords
- time
- game
- screen recording
- user
- input
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 176
- 230000004044 response Effects 0.000 claims abstract description 179
- 238000012790 confirmation Methods 0.000 claims abstract description 48
- 230000008569 process Effects 0.000 claims abstract description 36
- 238000004590 computer program Methods 0.000 claims description 3
- 239000003550 marker Substances 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 23
- 230000006870 function Effects 0.000 description 6
- 238000004891 communication Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 230000003068 static effect Effects 0.000 description 2
- 230000003044 adaptive effect Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000016776 visual perception Effects 0.000 description 1
Images
Classifications
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/85—Providing additional services to players
- A63F13/86—Watching games played by other players
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/20—Input arrangements for video game devices
- A63F13/21—Input arrangements for video game devices characterised by their sensors, purposes or types
- A63F13/218—Input arrangements for video game devices characterised by their sensors, purposes or types using pressure sensors, e.g. generating a signal proportional to the pressure applied by the player
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/20—Input arrangements for video game devices
- A63F13/24—Constructional details thereof, e.g. game controllers with detachable joystick handles
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F2300/00—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
- A63F2300/30—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by output arrangements for receiving control signals generated by the game device
- A63F2300/308—Details of the user interface
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本申请提供一种游戏录屏方法、装置、电子设备及存储介质,涉及游戏技术领域。该方法包括:响应用户在图形用户界面上输入的时间选择操作,确定游戏的目标录屏时间段,目标录屏时间段的结束时刻为当前时刻或当前时刻之前的一历史时刻,目标录屏时间段的起始时刻为结束时刻之前的一历史时刻;响应用户针对目标录屏时间段输入的确认操作,生成目标录屏时间段的游戏视频。本方案可使得用户可以选择感兴趣的时间段的游戏过程进行录屏,有效提高了用户的游戏录屏体验,另外,可以有效避免一键录屏时所录取的不必要的游戏视频对于存储空间的占用,提高了设备的空间利用率。
The present application provides a game screen recording method, device, electronic device and storage medium, and relates to the technical field of games. The method includes: in response to a time selection operation input by a user on a graphical user interface, determining a target screen recording time period of the game, the end time of the target screen recording time period being the current time or a historical moment before the current time, and the target screen recording time The start time of the segment is a historical time before the end time; in response to the user's input of a confirmation operation for the target screen recording time period, the game video of the target screen recording time period is generated. This solution allows the user to select the game process of the interested time period to record the screen, which effectively improves the user's game screen recording experience. In addition, it can effectively avoid unnecessary game videos recorded during one-click screen recording. occupancy, improving the space utilization of the equipment.
Description
技术领域technical field
本申请涉及游戏技术领域,具体而言,涉及一种游戏录屏方法、装置、电子设备及存储介质。The present application relates to the field of game technology, and in particular, to a game screen recording method, device, electronic device, and storage medium.
背景技术Background technique
在玩家进行游戏的过程中,当玩家经历了一段精彩的冒险,点击录屏键后,游戏后台会将玩家前一段时间内的所有游戏过程画面保存为一段视频,以将玩家经历的精彩瞬间进行记录。In the process of the player playing the game, when the player has experienced a wonderful adventure, after clicking the screen recording button, the game background will save all the game process pictures of the player in the previous period of time as a video, so as to record the wonderful moments experienced by the player. Record.
现有技术中,游戏平台只能支持录制固定时间长度的视频,也即,是根据系统后台预设的固定时长进行一键录取。In the prior art, the game platform can only support video recording of a fixed duration, that is, one-click recording is performed according to a fixed duration preset in the background of the system.
但是,上述方法无法准确的将玩家想要的游戏片段进行录屏保存,而被迫的保存了很多玩家并不关注的游戏片段,浪费设备存储空间的同时导致玩家的游戏体验较差。However, the above method cannot accurately record and save the game clips that the player wants, and are forced to save many game clips that the player does not pay attention to, which wastes the storage space of the device and leads to a poor game experience for the player.
发明内容SUMMARY OF THE INVENTION
本申请的目的在于,针对上述现有技术中的不足,提供一种游戏录屏方法、装置、电子设备及存储介质,以便于解决现有技术中存在的游戏录屏灵活性较低,玩家体验度较差的问题。The purpose of the present application is to provide a method, device, electronic device and storage medium for game screen recording in view of the above-mentioned deficiencies in the prior art, so as to solve the problem of low flexibility of game screen recording in the prior art, and player experience poorer problem.
为实现上述目的,本申请实施例采用的技术方案如下:To achieve the above purpose, the technical solutions adopted in the embodiments of the present application are as follows:
第一方面,本申请实施例提供了一种游戏录屏方法,在终端的显示器上提供图形用户界面,所述图形用户界面上显示游戏过程画面,所述方法包括:In a first aspect, an embodiment of the present application provides a method for recording a game screen. A graphical user interface is provided on a display of a terminal, and a game process picture is displayed on the graphical user interface. The method includes:
响应用户在所述图形用户界面上输入的时间选择操作,确定游戏的目标录屏时间段,所述目标录屏时间段的结束时刻为当前时刻或当前时刻之前的一历史时刻,所述目标录屏时间段的起始时刻为所述结束时刻之前的一历史时刻;In response to the time selection operation input by the user on the graphical user interface, the target screen recording time period of the game is determined, and the end time of the target screen recording time period is the current moment or a historical moment before the current moment, and the target recording The start moment of the screen time period is a historical moment before the end moment;
响应用户针对所述目标录屏时间段输入的确认操作,生成所述目标录屏时间段的游戏视频。In response to a confirmation operation input by the user for the target screen recording time period, a game video of the target screen recording time period is generated.
可选地,所述图形用户界面上包括录屏控件;所述响应用户在所述图形用户界面上输入的时间选择操作,确定游戏的目标录屏时间段之前,所述方法还包括:Optionally, the graphical user interface includes a screen recording control; before the target screen recording time period of the game is determined in response to the time selection operation input by the user on the graphical user interface, the method further includes:
响应用户输入的录屏控件滑动操作,在所述图形用户界面上显示时间选择控件。In response to a sliding operation of the screen recording control input by the user, a time selection control is displayed on the graphical user interface.
可选地,所述响应用户在所述图形用户界面上输入的时间选择操作,确定游戏的目标录屏时间段,包括:Optionally, determining the target screen recording time period of the game in response to the time selection operation input by the user on the graphical user interface includes:
响应用户在所述时间选择控件上输入的所述时间选择操作,确定所述起始时刻和所述结束时刻,并在所述时间选择控件的预设位置显示与所述时间选择操作的操作时间点对应的游戏画面缩略图;In response to the time selection operation input by the user on the time selection control, determine the start time and the end time, and display the operation time of the time selection operation at the preset position of the time selection control Click the corresponding game screen thumbnail;
将所述起始时刻和所述结束时刻之间的时间段作为所述目标录屏时间段。A time period between the start time and the end time is used as the target screen recording time period.
可选地,所述时间选择控件包括一控制杆;所述响应用户在所述时间选择控件上输入的所述时间选择操作,确定所述起始时刻和所述结束时刻,包括:Optionally, the time selection control includes a lever; the determining the start time and the end time in response to the time selection operation input by the user on the time selection control includes:
响应用户在所述时间选择控件上输入的所述控制杆滑动操作,控制所述控制杆滑动至第一时刻;In response to the sliding operation of the control rod input by the user on the time selection control, the control rod is controlled to slide to the first moment;
响应所述滑动操作的结束,确定所述第一时刻为所述起始时刻;In response to the end of the sliding operation, determining that the first moment is the starting moment;
确定当前时刻为所述结束时刻,或者,响应用户在所述时间选择控件上输入的除所述第一时刻之外的第二时刻的选择操作,确定所述第二时刻为所述结束时刻。The current moment is determined as the end moment, or, in response to a user's input of a selection operation of a second moment other than the first moment on the time selection control, the second moment is determined as the end moment.
可选地,所述响应用户在所述时间选择控件上输入的除所述第一时刻之外的第二时刻的选择操作,确定所述第二时刻为所述结束时刻,包括:Optionally, in response to a selection operation of a second moment other than the first moment input by the user on the time selection control, determining the second moment as the end moment includes:
响应在所述第一时刻输入的长按操作,在所述第一时刻对应的位置生成新的控制杆;In response to the long-press operation input at the first moment, a new lever is generated at the position corresponding to the first moment;
响应针对所述新的控制杆输入的滑动操作,控制所述新的控制杆移动至所述第二时刻;controlling the new control rod to move to the second moment in response to the sliding operation inputted for the new control rod;
将所述第二时刻作为所述结束时刻。The second time is taken as the end time.
可选地,所述将所述第二时刻作为所述结束时刻之后,还包括:Optionally, after taking the second moment as the end moment, the method further includes:
响应用户在所述结束时刻输入的下拉操作并在所述下拉操作结束时的下拉距离满足预设距离时;Responding to the pull-down operation input by the user at the end time and when the pull-down distance at the end of the pull-down operation satisfies a preset distance;
根据所述目标录屏时间段的游戏画面生成所述游戏视频。The game video is generated according to the game screen in the target screen recording time period.
可选地,所述响应用户在所述图形用户界面上输入的时间选择操作,确定游戏的目标录屏时间段之后,还包括:Optionally, after determining the target screen recording time period of the game in response to the time selection operation input by the user on the graphical user interface, the method further includes:
在所述时间选择控件上高亮显示所述目标录屏时间段,并显示所述目标录屏时间段的时长。The target screen recording time period is highlighted on the time selection control, and the duration of the target screen recording time period is displayed.
可选地,所述响应用户针对所述目标录屏时间段输入的确认操作,生成所述目标录屏时间段的游戏视频之后,所述方法还包括:Optionally, after generating the game video of the target screen recording period in response to the user's input of a confirmation operation for the target screen recording period, the method further includes:
在所述图形用户界面上预设信息框内显示如下的至少一种信息:游戏视频保存提示信息、所述游戏视频的总时长、所述游戏视频的第一帧游戏画面。At least one of the following information is displayed in a preset information box on the graphical user interface: game video saving prompt information, the total duration of the game video, and the first frame of the game video frame.
可选地,所述方法还包括:Optionally, the method further includes:
响应用户由所述时间选择控件至所述游戏画面缩略图的滑动操作,生成所述操作时间点的游戏画面截图;In response to the user's sliding operation from the time selection control to the game screen thumbnail, a screenshot of the game screen at the operation time point is generated;
在所述图形用户界面上预设显示框内显示所述游戏画面截图保存提示信息以及所述操作时间点。The game screen screenshot saving prompt information and the operation time point are displayed in a preset display frame on the graphical user interface.
可选地,所述方法还包括:Optionally, the method further includes:
响应针对所述游戏画面缩略图输入的点击操作,在所述图形用户界面上弹出分享界面,所述分享界面中包括至少一个待分享对象;In response to the click operation input on the thumbnail of the game screen, a sharing interface is popped up on the graphical user interface, and the sharing interface includes at least one object to be shared;
响应输入的目标分享对象选择操作,将所述游戏画面缩略图分享至所述目标分享对象,所述目标分享对象为所述待分享对象中的一个分享对象。In response to an input target sharing object selection operation, the game screen thumbnail is shared to the target sharing object, where the target sharing object is one of the objects to be shared.
可选地,所述方法还包括:Optionally, the method further includes:
响应针对所述游戏画面缩略图输入的滑动操作,隐藏所述游戏画面缩略图。In response to a sliding operation inputted for the game screen thumbnail, the game screen thumbnail is hidden.
可选地,所述响应用户在所述图形用户界面上输入的时间选择操作,确定游戏的目标录屏时间段之前,所述方法还包括:Optionally, before determining the target screen recording time period of the game in response to the time selection operation input by the user on the graphical user interface, the method further includes:
响应用户输入的所述录屏控件点击操作,生成当前时刻的游戏画面截图;或者,In response to the click operation of the screen recording control input by the user, a screenshot of the game screen at the current moment is generated; or,
响应用户输入的所述录屏控件长按操作,生成预设录屏时长的游戏视频。In response to a long-press operation of the screen recording control input by the user, a game video with a preset screen recording duration is generated.
第二方面,本申请实施例还提供了一种游戏录屏方法,在终端的显示器上提供图形用户界面,所述图形用户界面上显示游戏过程画面,所述终端与游戏手柄连接,通过所述游戏手柄输入的控制指令控制游戏录屏,所述方法包括:In a second aspect, an embodiment of the present application further provides a game screen recording method, providing a graphical user interface on a display of a terminal, where a game process picture is displayed on the graphical user interface, the terminal is connected to a game handle, and the The control command input by the gamepad controls the game screen recording, and the method includes:
响应用户通过游戏手柄输入的时间选择操作,确定游戏的目标录屏时间段,所述目标录屏时间段的结束时刻为当前时刻或当前时刻之前的一历史时刻,所述目标录屏时间段的起始时刻为所述结束时刻之前的一历史时刻;In response to the time selection operation input by the user through the gamepad, the target screen recording time period of the game is determined, and the end time of the target screen recording time period is the current time or a historical moment before the current time, and the target screen recording time period is The start time is a historical time before the end time;
响应用户针对所述目标录屏时间段输入的确认操作,生成所述目标录屏时间段的游戏视频。In response to a confirmation operation input by the user for the target screen recording time period, a game video of the target screen recording time period is generated.
可选地,所述游戏手柄上包括录屏键和第一摇杆;Optionally, the game handle includes a screen recording key and a first joystick;
所述响应用户通过游戏手柄输入的时间选择操作,确定游戏的目标录屏时间段之前,所述方法还包括:Before determining the target screen recording time period of the game in response to the time selection operation input by the user through the gamepad, the method further includes:
响应用户输入的所述录屏键的按压操作以及所述第一摇杆的第一滑动操作,在所述图形用户界面上显示目标窗口;所述目标窗口中的第一区域显示有时间选择控件,所述目标窗口的第二区域显示有游戏画面缩略图,所述第一滑动操作的滑动时长小于预设时长。In response to the pressing operation of the screen recording key and the first sliding operation of the first joystick input by the user, a target window is displayed on the graphical user interface; a time selection control is displayed in the first area of the target window , a thumbnail image of a game screen is displayed in the second area of the target window, and the sliding duration of the first sliding operation is less than a preset duration.
可选地,所述时间选择控件包括一控制杆;所述响应用户通过游戏手柄输入的时间选择操作,确定游戏的目标录屏时间段,包括:Optionally, the time selection control includes a joystick; the determining the target screen recording time period of the game in response to the time selection operation input by the user through the gamepad includes:
响应用户输入的所述第一摇杆的第二滑动操作,确定所述起始时刻和所述结束时刻,所述第二滑动操作用于控制所述时间选择控件上的所述控制杆进行移动;determining the start time and the end time in response to a second sliding operation of the first joystick input by the user, where the second sliding operation is used to control the joystick on the time selection control to move ;
将所述起始时刻和所述结束时刻之间的时间段作为所述目标录屏时间段。A time period between the start time and the end time is used as the target screen recording time period.
可选地,所述游戏手柄上还包括:标记键;Optionally, the game handle further includes: a mark key;
所述响应用户输入的所述第一摇杆的第二滑动操作,确定所述游戏的起始时刻和所述结束时刻,包括:The determining of the start time and the end time of the game in response to the second sliding operation of the first joystick input by the user includes:
响应用户输入的所述第一摇杆的第二滑动操作,控制所述控制杆移动至第一时刻;Responding to a second sliding operation of the first joystick input by the user, controlling the joystick to move to a first moment;
响应用户在所述控制杆移动至所述第一时刻时输入的标记键的按压操作,标记所述第一时刻为所述起始时刻;In response to the pressing operation of the mark key input by the user when the control rod moves to the first moment, marking the first moment as the starting moment;
响应用户输入的所述第一摇杆的第二滑动操作,控制所述控制杆移动至除所述第一时刻之外的第二时刻;Responding to a second sliding operation of the first joystick input by the user, controlling the control rod to move to a second moment other than the first moment;
响应用户在所述控制杆移动至所述第二时刻时输入的标记键的按压操作,标记所述第二时刻为所述结束时刻。In response to the pressing operation of the mark key input by the user when the control lever is moved to the second time, the second time is marked as the end time.
可选地,所述游戏手柄上还包括:取消键;Optionally, the game handle further includes: a cancel key;
所述方法还包括:The method also includes:
响应用户输入的所述取消键的按压操作,取消对所述起始时刻和/或所述结束时刻的标记。In response to the pressing operation of the cancel key input by the user, the marking of the start time and/or the end time is canceled.
可选地,所述游戏画面缩略图为所述控制杆当前位置时间点的游戏画面缩略图。Optionally, the thumbnail of the game screen is a thumbnail of the game screen at the time point of the current position of the joystick.
可选地,所述游戏手柄上还包括:确认键;Optionally, the game handle further includes: a confirmation key;
所述响应用户针对所述目标录屏时间段输入的确认操作,生成所述目标录屏时间段的游戏视频,包括:The generating the game video of the target screen recording time period in response to the confirmation operation input by the user for the target screen recording time period includes:
响应用户输入的所述确认键的按压操作,生成所述目标录屏时间段的游戏视频,同时将所述第一区域显示的时间选择控件替换为所述游戏视频保存提示信息和所述游戏视频的总时长。In response to the pressing operation of the confirmation key input by the user, a game video of the target screen recording time period is generated, and at the same time, the time selection control displayed in the first area is replaced with the game video save prompt information and the game video total duration.
可选地,所述游戏手柄上还包括:截图键;Optionally, the game handle further includes: a screenshot key;
所述方法还包括:The method also includes:
响应用户输入的所述截图键的按压操作,生成所述控制杆当前位置时间点的游戏画面截图。In response to the pressing operation of the screenshot key input by the user, a screenshot of the game screen at the time point of the current position of the joystick is generated.
可选地,在生成所述游戏视频或生成所述游戏画面截图之后,所述方法还包括:Optionally, after generating the game video or generating the screenshot of the game screen, the method further includes:
响应用户输入的所述录屏键的按压操作,在所述图形用户界面上弹出分享界面,所述分享界面中包括至少一个待分享对象;In response to the pressing operation of the screen recording key input by the user, a sharing interface is popped up on the graphical user interface, and the sharing interface includes at least one object to be shared;
响应用户输入的所述第一摇杆的第三滑动操作,选择目标分享对象,所述目标分享对象为所述待分享对象中的一个分享对象;In response to the third sliding operation of the first joystick input by the user, a target sharing object is selected, and the target sharing object is a sharing object among the objects to be shared;
响应用户输入的所述确认键的按压操作,将所述游戏视频或所述游戏画面截图分享至所述目标分享对象。In response to the pressing operation of the confirmation key input by the user, the game video or the screenshot of the game screen is shared to the target sharing object.
可选地,所述响应用户通过游戏手柄输入的时间选择操作,确定游戏的目标录屏时间段之前,所述方法还包括:Optionally, before determining the target screen recording time period of the game in response to the time selection operation input by the user through the gamepad, the method further includes:
响应用户输入的所述录屏键的第一按压操作,生成当前时刻的游戏画面截图,所述第一按压操作的按压时长小于第一预设时长;或者,In response to the first pressing operation of the screen recording key input by the user, a screenshot of the game screen at the current moment is generated, and the pressing duration of the first pressing operation is shorter than the first preset duration; or,
响应用户输入的所述录屏键的第二按压操作,生成预设录屏时长的游戏视频,所述第二按压操作的按压时长大于第二预设时长。In response to a second pressing operation of the screen recording key input by the user, a game video with a preset screen recording duration is generated, and the pressing duration of the second pressing operation is greater than the second preset duration.
第三方面,本申请实施例提供了一种游戏录屏装置,在终端的显示器上提供图形用户界面,所述图形用户界面上显示游戏过程画面,所述装置包括:确定模块、生成模块;In a third aspect, an embodiment of the present application provides a game screen recording device, which provides a graphical user interface on a display of a terminal, where a game process picture is displayed on the graphical user interface, and the device includes: a determining module and a generating module;
所述确定模块,用于响应用户在所述图形用户界面上输入的时间选择操作,确定游戏的目标录屏时间段,所述目标录屏时间段的结束时刻为当前时刻或当前时刻之前的一历史时刻,所述目标录屏时间段的起始时刻为所述结束时刻之前的一历史时刻;The determining module is used to determine the target screen recording time period of the game in response to the time selection operation input by the user on the graphical user interface, and the end time of the target screen recording time period is the current time or a time before the current time. Historical moment, the start moment of the target screen recording time period is a historical moment before the end moment;
所述生成模块,用于响应用户针对所述目标录屏时间段输入的确认操作,生成所述目标录屏时间段的游戏视频。The generating module is configured to generate a game video of the target screen recording time period in response to the user's input confirmation operation for the target screen recording time period.
可选地,所述装置还包括:显示模块;Optionally, the device further includes: a display module;
所述显示模块,用于响应用户输入的录屏控件滑动操作,在所述图形用户界面上显示时间选择控件。The display module is configured to display the time selection control on the graphical user interface in response to the sliding operation of the screen recording control input by the user.
可选地,所述确定模块,具体用于响应用户在所述时间选择控件上输入的所述时间选择操作,确定所述起始时刻和所述结束时刻,并在所述时间选择控件的预设位置显示与所述时间选择操作的操作时间点对应的游戏画面缩略图;将所述起始时刻和所述结束时刻之间的时间段作为所述目标录屏时间段。Optionally, the determining module is specifically configured to, in response to the time selection operation input by the user on the time selection control, determine the start time and the end time, and perform a preset of the time selection control. A thumbnail image of the game screen corresponding to the operation time point of the time selection operation is set to be displayed at the position; the time period between the start time and the end time is taken as the target screen recording time period.
可选地,所述确定模块,具体用于响应用户在所述时间选择控件上输入的所述控制杆滑动操作,控制所述控制杆滑动至第一时刻;响应所述滑动操作的结束,确定所述第一时刻为所述起始时刻;确定当前时刻为所述结束时刻,或者,响应用户在所述时间选择控件上输入的除所述第一时刻之外的第二时刻的选择操作,确定所述第二时刻为所述结束时刻。Optionally, the determining module is specifically configured to respond to the control rod sliding operation input by the user on the time selection control, and control the control rod to slide to the first moment; in response to the end of the sliding operation, determine The first moment is the start moment; the current moment is determined to be the end moment, or, in response to a selection operation of a second moment other than the first moment input by the user on the time selection control, The second time is determined as the end time.
可选地,所述确定模块,具体用于响应在所述第一时刻输入的长按操作,在所述第一时刻对应的位置生成新的控制杆;响应针对所述新的控制杆输入的滑动操作,控制所述新的控制杆移动至所述第二时刻;将所述第二时刻作为所述结束时刻。Optionally, the determining module is specifically configured to generate a new lever at a position corresponding to the first moment in response to a long-press operation input at the first moment; By sliding operation, the new control rod is controlled to move to the second time; the second time is taken as the end time.
可选地,所述生成模块,还用于响应用户在所述结束时刻输入的下拉操作并在所述下拉操作结束时的下拉距离满足预设距离时;根据所述目标录屏时间段的游戏画面生成所述游戏视频。Optionally, the generation module is further configured to respond to the pull-down operation input by the user at the end time and when the pull-down distance at the end of the pull-down operation meets the preset distance; the game according to the target screen recording time period. The screen generates the game video.
可选地,所述显示模块,还用于在所述时间选择控件上高亮显示所述目标录屏时间段,并显示所述目标录屏时间段的时长。Optionally, the display module is further configured to highlight the target screen recording time period on the time selection control, and display the duration of the target screen recording time period.
可选地,所述显示模块,还用于在所述图形用户界面上预设信息框内显示如下的至少一种信息:游戏视频保存提示信息、所述游戏视频的总时长、所述游戏视频的第一帧游戏画面。Optionally, the display module is further configured to display at least one of the following information in a preset information box on the graphical user interface: game video saving prompt information, the total duration of the game video, the game video The first frame of the game screen.
可选地,所述生成模块,还用于响应用户由所述时间选择控件至所述游戏画面缩略图的滑动操作,生成所述操作时间点的游戏画面截图;Optionally, the generating module is further configured to generate a screenshot of the game screen at the operation time point in response to the user's sliding operation from the time selection control to the game screen thumbnail;
所述显示模块,还用于在所述图形用户界面上预设显示框内显示所述游戏画面截图保存提示信息以及所述操作时间点。The display module is further configured to display the game screenshot saving prompt information and the operation time point in a preset display frame on the graphical user interface.
可选地,所述装置还包括:弹窗模块、分享模块;Optionally, the device further includes: a pop-up window module and a sharing module;
所述弹窗模块,用于响应针对所述游戏画面缩略图输入的点击操作,在所述图形用户界面上弹出分享界面,所述分享界面中包括至少一个待分享对象;The pop-up window module is configured to pop up a sharing interface on the graphical user interface in response to a click operation input on the thumbnail of the game screen, and the sharing interface includes at least one object to be shared;
所述分享模块,用于响应输入的目标分享对象选择操作,将所述游戏画面缩略图分享至所述目标分享对象,所述目标分享对象为所述待分享对象中的一个分享对象。The sharing module is configured to, in response to an input target sharing object selection operation, share the thumbnail image of the game screen to the target sharing object, where the target sharing object is one of the objects to be shared.
可选地,所述装置还包括:隐藏模块;Optionally, the device further includes: a concealment module;
所述隐藏模块,用于响应针对所述游戏画面缩略图输入的滑动操作,隐藏所述游戏画面缩略图。The hiding module is configured to hide the thumbnail of the game screen in response to a sliding operation input for the thumbnail of the game screen.
可选地,所述生成模块,还用于响应用户输入的所述录屏控件点击操作,生成当前时刻的游戏画面截图;或者,响应用户输入的所述录屏控件长按操作,生成预设录屏时长的游戏视频。Optionally, the generation module is further configured to generate a screenshot of the game screen at the current moment in response to the click operation of the screen recording control input by the user; or, to generate a preset in response to the long-press operation of the screen recording control input by the user. Game video with screen recording time.
第四方面,本申请实施例提供了一种游戏录屏装置,在终端的显示器上提供图形用户界面,所述图形用户界面上显示游戏过程画面,所述终端与游戏手柄连接,通过所述游戏手柄输入的控制指令控制游戏录屏,所述装置包括:确定模块、生成模块;In a fourth aspect, an embodiment of the present application provides a game screen recording device, which provides a graphical user interface on a display of a terminal, where a game process picture is displayed on the graphical user interface, the terminal is connected to a game handle, and the game The control command input by the handle controls the game screen recording, and the device includes: a determining module and a generating module;
所述确定模块,用于响应用户通过游戏手柄输入的时间选择操作,确定游戏的目标录屏时间段,所述目标录屏时间段的结束时刻为当前时刻或当前时刻之前的一历史时刻,所述目标录屏时间段的起始时刻为所述结束时刻之前的一历史时刻;The determination module is used to determine the target screen recording time period of the game in response to the time selection operation input by the user through the game handle, and the end moment of the target screen recording time period is the current moment or a historical moment before the current moment, so The start moment of the target screen recording time period is a historical moment before the end moment;
所述生成模块,用于响应用户针对所述目标录屏时间段输入的确认操作,生成所述目标录屏时间段的游戏视频。The generating module is configured to generate a game video of the target screen recording time period in response to the user's input confirmation operation for the target screen recording time period.
可选地,所述游戏手柄上包括录屏键和第一摇杆;所述装置还包括:显示模块;Optionally, the game handle includes a screen recording key and a first joystick; the device further includes: a display module;
所述显示模块,用于响应用户输入的所述录屏键的按压操作以及所述第一摇杆的第一滑动操作,在所述图形用户界面上显示目标窗口;所述目标窗口中的第一区域显示有时间选择控件,所述目标窗口的第二区域显示有游戏画面缩略图,所述第一滑动操作的滑动时长小于预设时长。The display module is configured to display a target window on the graphical user interface in response to the pressing operation of the screen recording key and the first sliding operation of the first joystick input by the user; A time selection control is displayed in an area, a thumbnail image of a game screen is displayed in a second area of the target window, and the sliding duration of the first sliding operation is shorter than a preset duration.
可选地,所述确定模块,具体用于响应用户输入的所述第一摇杆的第二滑动操作,确定所述起始时刻和所述结束时刻,所述第二滑动操作用于控制所述时间选择控件上的所述控制杆进行移动;将所述起始时刻和所述结束时刻之间的时间段作为所述目标录屏时间段。Optionally, the determining module is specifically configured to determine the start time and the end time in response to a second sliding operation of the first joystick input by the user, and the second sliding operation is used to control all move the joystick on the time selection control; take the time period between the start time and the end time as the target screen recording time period.
可选地,所述游戏手柄上还包括:标记键;Optionally, the game handle further includes: a mark key;
所述确定模块,具体用于响应用户输入的所述第一摇杆的第二滑动操作,控制所述控制杆移动至第一时刻;响应用户在所述控制杆移动至所述第一时刻时输入的标记键的按压操作,标记所述第一时刻为所述起始时刻;响应用户输入的所述第一摇杆的第二滑动操作,控制所述控制杆移动至除所述第一时刻之外的第二时刻;响应用户在所述控制杆移动至所述第二时刻时输入的标记键的按压操作,标记所述第二时刻为所述结束时刻。The determining module is specifically configured to control the control rod to move to the first moment in response to the second sliding operation of the first joystick input by the user; to respond to the user when the control rod moves to the first moment The pressing operation of the input marking key marks the first moment as the starting moment; in response to the second sliding operation of the first joystick input by the user, the control rod is controlled to move to a position other than the first moment. A second time other than the second time; in response to the pressing operation of the mark key input by the user when the control rod moves to the second time, marking the second time as the end time.
可选地,所述游戏手柄上还包括:取消键;所述装置还包括:取消模块;Optionally, the game handle further includes: a cancel key; the device further includes: a cancel module;
所述取消模块,用于响应用户输入的所述取消键的按压操作,取消对所述起始时刻和/或所述结束时刻的标记。The cancellation module is configured to cancel the marking of the start time and/or the end time in response to the pressing operation of the cancel key input by the user.
可选地,所述游戏画面缩略图为所述控制杆当前位置时间点的游戏画面缩略图。Optionally, the thumbnail of the game screen is a thumbnail of the game screen at the time point of the current position of the joystick.
可选地,所述游戏手柄上还包括:确认键;Optionally, the game handle further includes: a confirmation key;
所述生成模块,具体用于响应用户输入的所述确认键的按压操作,生成所述目标录屏时间段的游戏视频,同时将所述第一区域显示的时间选择控件替换为所述游戏视频保存提示信息和所述游戏视频的总时长。The generating module is specifically configured to respond to the pressing operation of the confirmation key input by the user, generate the game video of the target screen recording time period, and at the same time replace the time selection control displayed in the first area with the game video Save the hint information and the total duration of the game video.
可选地,所述游戏手柄上还包括:截图键;Optionally, the game handle further includes: a screenshot key;
所述生成模块,还用于响应用户输入的所述截图键的按压操作,生成所述控制杆当前位置时间点的游戏画面截图。The generating module is further configured to generate a screenshot of the game screen at the time point of the current position of the joystick in response to the pressing operation of the screenshot key input by the user.
可选地,所述装置还包括:弹窗模块、分享模块;Optionally, the device further includes: a pop-up window module and a sharing module;
所述弹窗模块,用于响应用户输入的所述录屏键的按压操作,在所述图形用户界面上弹出分享界面,所述分享界面中包括至少一个待分享对象;The pop-up window module is configured to pop up a sharing interface on the graphical user interface in response to a pressing operation of the screen recording key input by the user, and the sharing interface includes at least one object to be shared;
所述分享模块,用于响应用户输入的所述第一摇杆的第三滑动操作,选择目标分享对象,所述目标分享对象为所述待分享对象中的一个分享对象;响应用户输入的所述确认键的按压操作,将所述游戏视频或所述游戏画面截图分享至所述目标分享对象。The sharing module is used to select a target sharing object in response to the third sliding operation of the first joystick input by the user, and the target sharing object is one of the objects to be shared; By pressing the confirmation key, the game video or the screenshot of the game screen is shared to the target sharing object.
可选地,所述生成模块,还用于响应用户输入的所述录屏键的第一按压操作,生成当前时刻的游戏画面截图,所述第一按压操作的按压时长小于第一预设时长;或者,响应用户输入的所述录屏键的第二按压操作,生成预设录屏时长的游戏视频,所述第二按压操作的按压时长大于第二预设时长。Optionally, the generating module is further configured to generate a screenshot of the game screen at the current moment in response to the first pressing operation of the screen recording key input by the user, and the pressing duration of the first pressing operation is shorter than the first preset duration. or, in response to a second pressing operation of the screen recording key input by the user, a game video with a preset screen recording duration is generated, and the pressing duration of the second pressing operation is greater than the second preset duration.
第五方面,本申请实施例提供了一种电子设备,包括:处理器、存储介质和总线,存储介质存储有处理器可执行的机器可读指令,当电子设备运行时,处理器与存储介质之间通过总线通信,处理器执行机器可读指令,以执行时执行如第一方面或第二方面中提供的游戏录屏方法的步骤。In a fifth aspect, an embodiment of the present application provides an electronic device, including: a processor, a storage medium, and a bus, where the storage medium stores machine-readable instructions executable by the processor, and when the electronic device runs, the processor and the storage medium Through bus communication, the processor executes the machine-readable instructions, so as to execute the steps of the game screen recording method provided in the first aspect or the second aspect when executed.
第六方面,本申请实施例提供了一种存储介质,该存储介质上存储有计算机程序,该计算机程序被处理器运行时执行如第一方面或第二方面中提供的游戏录屏方法的步骤。In a sixth aspect, an embodiment of the present application provides a storage medium, where a computer program is stored on the storage medium, and when the computer program is run by a processor, the steps of the game screen recording method provided in the first aspect or the second aspect are executed. .
本方案中,可根据用户输入的时间选择操作,确定目标录屏时间段,并响应用户输入的目标录屏时间段确认操作,生成目标录屏时间段的游戏视频。由于目标录屏时间段是用户根据需求进行选择,使得用户可以选择感兴趣的时间段的游戏过程进行录屏,避免了通过一键录屏时,无法获取所需的时间段的游戏视频,从而有效提高了用户的游戏录屏体验,另外,由于是根据用户需求进行游戏录屏,可以有效避免一键录屏时所录取的不必要的游戏视频对于存储空间的占用,提高了设备的空间利用率。In this solution, the target screen recording time period can be determined according to the time selection operation input by the user, and the game video of the target screen recording time period can be generated in response to the confirmation operation of the target screen recording time period input by the user. Since the target screen recording time period is selected by the user according to the needs, the user can select the game process of the interested time period to record the screen, avoiding the inability to obtain the game video of the required time period when recording the screen with one button. It effectively improves the user's game screen recording experience. In addition, because the game screen recording is performed according to the user's needs, it can effectively avoid unnecessary game videos recorded during one-click screen recording from occupying storage space and improve the space utilization of the device. Rate.
附图说明Description of drawings
为了更清楚地说明本申请实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,应当理解,以下附图仅示出了本申请的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。In order to illustrate the technical solutions of the embodiments of the present application more clearly, the following drawings will briefly introduce the drawings that need to be used in the embodiments. It should be understood that the following drawings only show some embodiments of the present application, and therefore do not It should be regarded as a limitation of the scope, and for those of ordinary skill in the art, other related drawings can also be obtained according to these drawings without any creative effort.
图1为本申请实施例提供的游戏录屏方法的流程示意图一;FIG. 1 is a schematic flowchart 1 of a game screen recording method provided by an embodiment of the present application;
图2为本申请实施例提供的游戏录屏界面示意图一;FIG. 2 is a schematic diagram 1 of a game screen recording interface provided by an embodiment of the present application;
图3为本申请实施例提供的游戏录屏方法的流程示意图二;FIG. 3 is a second schematic flowchart of a method for recording a screen of a game provided by an embodiment of the present application;
图4为本申请实施例提供的游戏录屏方法的流程示意图三;4 is a third schematic flowchart of a method for recording a screen of a game provided by an embodiment of the present application;
图5为本申请实施例提供的游戏录屏界面示意图二;5 is a second schematic diagram of a game screen recording interface provided by an embodiment of the present application;
图6为本申请实施例提供的游戏录屏方法的流程示意图四;FIG. 6 is a fourth schematic flowchart of a method for recording a screen of a game provided by an embodiment of the present application;
图7为本申请实施例提供的游戏录屏界面示意图三;FIG. 7 is a third schematic diagram of a game screen recording interface provided by an embodiment of the present application;
图8为本申请实施例提供的游戏录屏方法的流程示意图五;FIG. 8 is a fifth schematic flowchart of a method for recording a screen of a game provided by an embodiment of the present application;
图9为本申请实施例提供的游戏录屏方法的流程示意图六;9 is a sixth schematic flowchart of a method for recording a screen of a game provided by an embodiment of the present application;
图10为本申请实施例提供的游戏录屏界面示意图四;FIG. 10 is a fourth schematic diagram of a game screen recording interface provided by an embodiment of the present application;
图11为本申请实施例提供的游戏录屏方法的流程示意图七;FIG. 11 is a seventh schematic flowchart of a method for recording a screen of a game provided by an embodiment of the present application;
图12为本申请实施例提供的游戏录屏界面示意图五;FIG. 12 is a schematic diagram 5 of a game screen recording interface provided by an embodiment of the present application;
图13为本申请实施例提供的游戏录屏方法的流程示意图八;FIG. 13 is a schematic flowchart eight of a method for recording a screen of a game provided by an embodiment of the present application;
图14为本申请实施例提供的游戏手柄示意图;14 is a schematic diagram of a game handle provided by an embodiment of the present application;
图15为本申请实施例提供的游戏录屏界面示意图六;15 is a sixth schematic diagram of a game screen recording interface provided by an embodiment of the present application;
图16为本申请实施例提供的游戏录屏方法的流程示意图九;16 is a schematic flowchart 9 of a method for recording a screen of a game provided by an embodiment of the present application;
图17为本申请实施例提供的游戏录屏方法的流程示意图十;FIG. 17 is a schematic flowchart tenth of a method for recording a screen of a game provided by an embodiment of the present application;
图18为本申请实施例提供的游戏录屏界面示意图七;FIG. 18 is a seventh schematic diagram of a game screen recording interface provided by an embodiment of the present application;
图19为本申请实施例提供的游戏录屏方法的流程示意图十一;FIG. 19 is a schematic flowchart eleventh of a method for recording a screen of a game provided by an embodiment of the present application;
图20为本申请实施例提供的游戏录屏装置的示意图一;20 is a schematic diagram 1 of a game screen recording device provided by an embodiment of the present application;
图21为本申请实施例提供的游戏录屏装置的示意图二;21 is a second schematic diagram of a game screen recording device provided by an embodiment of the application;
图22为本申请实施例提供的电子设备的结构示意图。FIG. 22 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
具体实施方式Detailed ways
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,应当理解,本申请中附图仅起到说明和描述的目的,并不用于限定本申请的保护范围。另外,应当理解,示意性的附图并未按实物比例绘制。本申请中使用的流程图示出了根据本申请的一些实施例实现的操作。应该理解,流程图的操作可以不按顺序实现,没有逻辑的上下文关系的步骤可以反转顺序或者同时实施。此外,本领域技术人员在本申请内容的指引下,可以向流程图添加一个或多个其他操作,也可以从流程图中移除一个或多个操作。In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the accompanying drawings in the embodiments of the present application. The drawings are only for the purpose of illustration and description, and are not used to limit the protection scope of the present application. In addition, it should be understood that the schematic drawings are not drawn to scale. The flowcharts used in this application illustrate operations implemented in accordance with some embodiments of the application. It should be understood that the operations of the flowcharts may be performed out of order and that steps without logical context may be performed in reverse order or concurrently. In addition, those skilled in the art can add one or more other operations to the flowchart, and can also remove one or more operations from the flowchart under the guidance of the content of the present application.
另外,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。通常在此处附图中描述和示出的本申请实施例的组件可以以各种不同的配置来布置和设计。因此,以下对在附图中提供的本申请的实施例的详细描述并非旨在限制要求保护的本申请的范围,而是仅仅表示本申请的选定实施例。基于本申请的实施例,本领域技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本申请保护的范围。In addition, the described embodiments are only some of the embodiments of the present application, but not all of the embodiments. The components of the embodiments of the present application generally described and illustrated in the drawings herein may be arranged and designed in a variety of different configurations. Thus, the following detailed description of the embodiments of the application provided in the accompanying drawings is not intended to limit the scope of the application as claimed, but is merely representative of selected embodiments of the application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without creative work fall within the protection scope of the present application.
需要说明的是,本申请实施例中将会用到术语“包括”,用于指出其后所声明的特征的存在,但并不排除增加其它的特征。It should be noted that the term "comprising" will be used in the embodiments of the present application to indicate the existence of the features declared later, but does not exclude the addition of other features.
可选地,如下将通过下述多个具体实施例对本申请所分别提供的基于触屏方式的游戏录屏方法和基于游戏手柄方式的游戏录屏方法进行详细说明。需要说明的是,两种实现方法具有相同的发明构思,基于任意一种方法,均可实现准确且满足玩家需求的游戏录屏。Optionally, the touch screen-based game screen recording method and the game handle-based game screen recording method respectively provided by the present application will be described in detail below through the following specific embodiments. It should be noted that the two implementation methods have the same inventive concept, and based on either method, accurate and satisfying game screen recording can be realized.
接下来先对基于触屏方式所实现的游戏录屏方法进行详细阐述。Next, the game screen recording method based on the touch screen method will be described in detail.
图1为本申请实施例提供的游戏录屏方法的流程示意图一;该方法的执行主体可以是终端,该终端可以是电脑终端或者是手机终端。在终端的显示器上提供有图形用户界面,图形用户界面上显示游戏过程画面,如图1所示,该方法可包括:FIG. 1 is a schematic flow chart 1 of a game screen recording method provided by an embodiment of the present application; the execution body of the method may be a terminal, and the terminal may be a computer terminal or a mobile phone terminal. A graphical user interface is provided on the display of the terminal, and a game process picture is displayed on the graphical user interface. As shown in FIG. 1 , the method may include:
S101、响应用户在图形用户界面上输入的时间选择操作,确定游戏的目标录屏时间段,目标录屏时间段的结束时刻为当前时刻或当前时刻之前的一历史时刻,目标录屏时间段的起始时刻为结束时刻之前的一历史时刻。S101, in response to a time selection operation input by a user on a graphical user interface, determine a target screen recording time period of the game, the ending time of the target screen recording time period is the current moment or a historical moment before the current moment, and the target screen recording time period is The start time is a historical time before the end time.
本实施例中所说的用户可以指游戏玩家,用户在玩游戏的过程中,当经历了较为精彩的游戏过程时,可通过游戏录屏的方式保存精彩的游戏过程,以分享给朋友或者是留作纪念。其中,游戏录屏可以指根据终端本地或者后台服务器所存储的历史游戏数据,生成预设时间段的游戏过程画面视频进行保存。The user mentioned in this embodiment may refer to a game player. In the process of playing the game, when the user experiences a relatively exciting game process, the user can save the exciting game process by recording the game screen to share with friends or Souvenir. The game screen recording may refer to generating and saving a game process screen video of a preset time period according to historical game data stored locally on the terminal or on a background server.
可选地,图形用户界面上所显示的游戏过程画面可以为用户当前游戏时刻的游戏过程画面,在用户玩游戏的过程中,图形用户界面上实时显示当前的游戏过程画面。Optionally, the game process picture displayed on the graphical user interface may be the game process picture at the current game moment of the user, and the current game process picture is displayed on the graphical user interface in real time when the user is playing the game.
可选地,响应用户在游戏过程中,在图形用户界面上输入的时间选择操作,确定目标录屏时间段,其中,通过时间选择操作可以实现对当前时刻之前的历史游戏时刻的选择。通常,时间选择操作可以通过例如:时间轴、时间表、时间输入等多种方式实现。Optionally, the target screen recording time period is determined in response to a time selection operation input by the user on the graphical user interface during the game, wherein the selection of historical game moments before the current moment can be achieved through the time selection operation. Usually, the time selection operation can be implemented in various ways such as: time axis, time table, time input and so on.
本实施例中,目标录屏时间段是根据用户输入的时间选择操作所确定的,用户可以根据需求,灵活性的选择所需的目标录屏时间段,而避免了对不感兴趣的游戏视频的录取,从而可以提高用户的录屏体验。In this embodiment, the target screen recording time period is determined according to the time selection operation input by the user, and the user can flexibly select the desired target screen recording time period according to requirements, thereby avoiding the need for uninteresting game videos. It can improve the user's screen recording experience.
S102、响应用户针对目标录屏时间段输入的确认操作,生成目标录屏时间段的游戏视频。S102. In response to the user's input of a confirmation operation for the target screen recording time period, a game video of the target screen recording time period is generated.
在一些实施例中,上述在确定了游戏的目标录屏时间段后,通过确认操作,可对所确定的目标录屏时间段进行确认,从而触发响应确认操作,以根据所确定的目标录屏时间段,调用目标录屏时间段的历史游戏数据,生成目标录屏时间段的游戏视频。In some embodiments, after the target screen recording time period of the game is determined, the determined target screen recording time period may be confirmed through a confirmation operation, thereby triggering a response confirmation operation to record the screen according to the determined target screen recording time period. Time period, call the historical game data of the target screen recording time period, and generate the game video of the target screen recording time period.
其中,生成的目标录屏时间段的游戏视频可输出至用户,或者保存至终端本地。The generated game video in the target screen recording time period can be output to the user, or saved locally on the terminal.
综上,本实施例提供的游戏录屏方法,包括:响应用户在图形用户界面上输入的时间选择操作,确定游戏的目标录屏时间段,目标录屏时间段的结束时刻为当前时刻或当前时刻之前的一历史时刻,目标录屏时间段的起始时刻为结束时刻之前的一历史时刻;响应用户针对目标录屏时间段输入的确认操作,生成目标录屏时间段的游戏视频。本方案中,可根据用户输入的时间选择操作,确定目标录屏时间段,并响应用户输入的目标录屏时间段确认操作,生成目标录屏时间段的游戏视频。由于目标录屏时间段是用户根据需求进行选择,使得用户可以选择感兴趣的时间段的游戏过程进行录屏,避免了通过一键录屏时,无法获取所需的时间段的游戏视频,从而有效提高了用户的游戏录屏体验,另外,由于是根据用户需求进行游戏录屏,可以有效避免一键录屏时所录取的不必要的游戏视频对于存储空间的占用,提高了设备的空间利用率。To sum up, the game screen recording method provided by this embodiment includes: in response to the time selection operation input by the user on the graphical user interface, determining the target screen recording time period of the game, and the end time of the target screen recording time period is the current moment or the current time A historical moment before the time, the start time of the target screen recording time period is a historical moment before the end time; in response to the user's input confirmation operation for the target screen recording time period, the game video of the target screen recording time period is generated. In this solution, the target screen recording time period can be determined according to the time selection operation input by the user, and the game video of the target screen recording time period can be generated in response to the confirmation operation of the target screen recording time period input by the user. Since the target screen recording time period is selected by the user according to the needs, the user can select the game process of the interested time period to record the screen, avoiding the inability to obtain the game video of the required time period when recording the screen with one button. It effectively improves the user's game screen recording experience. In addition, because the game screen recording is performed according to the user's needs, it can effectively avoid unnecessary game videos recorded during one-click screen recording from occupying storage space and improve the space utilization of the device. Rate.
图2为本申请实施例提供的游戏录屏界面示意图一;可选地,图形用户界面上可包括录屏控件;步骤S101中,响应用户在图形用户界面上输入的时间选择操作,确定游戏的目标录屏时间段之前,本申请的方法还可包括:响应用户输入的录屏控件滑动操作,在图形用户界面上显示时间选择控件。2 is a schematic diagram 1 of a game screen recording interface provided by an embodiment of the present application; optionally, a screen recording control may be included on the graphical user interface; in step S101, in response to a time selection operation input by a user on the graphical user interface, the Before the target screen recording time period, the method of the present application may further include: displaying the time selection control on the graphical user interface in response to the screen recording control sliding operation input by the user.
如图2(a)所示,图形用户界面上显示有录屏控件,录屏控件可以为如图中所示的以摄像机图标所展示的控件,当然,也可以是以其他形式展示,例如:高亮显示的图标、或者是显示有录屏提示信息的图形框等。As shown in Figure 2(a), a screen recording control is displayed on the graphical user interface. The screen recording control can be the control displayed by the camera icon as shown in the figure, of course, it can also be displayed in other forms, such as: A highlighted icon, or a graphic box showing a screen recording prompt, etc.
响应针对如图2(a)所示的录屏控件输入的滑动操作,图形用户界面可跳转至如图2(b)所示的界面,如图2(b)所示,图形用户界面上可显示时间选择控件。本实施例中,时间选择控件以进度条的形式展示,在其他一些可选的实施例中,时间选择控件也可以是时间表,通过转动时间表,可选择相应的时刻,又或者可以是提供一个时间输入框,用户可以通过时间输入框输入目标时刻。In response to the sliding operation for the screen recording control input as shown in Figure 2(a), the GUI can jump to the interface shown in Figure 2(b). As shown in Figure 2(b), on the GUI A time selection control can be displayed. In this embodiment, the time selection control is displayed in the form of a progress bar. In some other optional embodiments, the time selection control can also be a timetable. By rotating the timetable, a corresponding time can be selected, or it can be provided A time input box, the user can input the target time through the time input box.
可选地,响应用户输入的录屏控件滑动操作,可以是响应用户输入的录屏控件按压操作,并向左滑动,当然,滑动操作也可以是向其他任意方向滑动,只要与录屏过程中的其他操作手势能够区分即可。Optionally, the sliding operation of the screen recording control in response to the user's input may be a pressing operation of the screen recording control in response to the user's input, and sliding to the left. Of course, the sliding operation may also be sliding in any other direction, as long as the screen recording process The other operation gestures can be distinguished.
需要说明的是,上述时间选择控件所显示的游戏时长与终端本地录制的游戏视频总长度对应,例如:终端本地录制的游戏视频总长度为5分钟,则时间选择控件所显示的游戏时长则为当前时刻至5分钟之前。It should be noted that the game duration displayed by the above time selection control corresponds to the total length of the game video recorded locally by the terminal. For example, if the total length of the game video recorded locally by the terminal is 5 minutes, the game duration displayed by the time selection control is The current time is up to 5 minutes ago.
可选地,终端本地录制的游戏视频总长度可以预先设置,也可以设置为从游戏开始时刻到当前时刻的所有游戏视频长度,但是,为了减轻存储压力,也可以为任意时长,如上述的为5分钟。Optionally, the total length of the game video recorded locally by the terminal can be preset, or can be set to the length of all game videos from the game start time to the current time, but in order to reduce the storage pressure, it can also be an arbitrary length, as described above: 5 minutes.
图3为本申请实施例提供的游戏录屏方法的流程示意图二;可选地,步骤S101中,响应用户在图形用户界面上输入的时间选择操作,确定游戏的目标录屏时间段,可以包括:3 is a second schematic flowchart of a method for recording a screen of a game provided by an embodiment of the present application; optionally, in step S101, in response to a time selection operation input by a user on a graphical user interface, a target screen recording time period of the game is determined, which may include :
S201、响应用户在时间选择控件上输入的时间选择操作,确定起始时刻和结束时刻,并在时间选择控件的预设位置显示与时间选择操作的操作时间点对应的游戏画面缩略图。S201. In response to the time selection operation input by the user on the time selection control, determine the start time and the end time, and display a game screen thumbnail corresponding to the operation time point of the time selection operation at a preset position of the time selection control.
可选地,时间选择操作可以为滑动操作,通过在时间选择控件上输入滑动操作,可以在时间选择控件的进度条所显示的时间段内选择任意时刻作为起始时刻和结束时刻。以使得用户可以根据需求,选择所需的时刻作为起始时刻和结束时刻。Optionally, the time selection operation may be a sliding operation. By inputting the sliding operation on the time selection control, any time can be selected as the start time and the end time within the time period displayed by the progress bar of the time selection control. So that the user can select the desired time as the start time and end time according to the needs.
时间选择操作的操作时间点可以为用户在选择起始时刻和目标时刻的过程中,操作所停留在的任意时刻。如图2(b)所示,当操作时间点停留在7s时刻时,可在时间选择控件的上方7s对应的位置显示7s时刻所对应的游戏画面缩略图。The operation time point of the time selection operation may be any time at which the operation stays in the process of selecting the start time and the target time by the user. As shown in Figure 2(b), when the operation time point stays at 7s, the thumbnail of the game screen corresponding to 7s can be displayed at the position corresponding to 7s above the time selection control.
当然,上述的游戏缩略图显示位置仅为示例性列举的一种位置,实际应用中,也可以是在图形用户界面的任意预设位置进行显示,本申请对此不做限制。Of course, the above-mentioned display position of the game thumbnail is only an example of a position. In practical applications, it can also be displayed at any preset position of the graphical user interface, which is not limited in this application.
通过显示操作时间点对应的游戏缩略图,可以使得用户及时的了解每个时刻的游戏画面,以帮助用户更加准确的选择想要录取的游戏视频。By displaying the game thumbnails corresponding to the operation time points, the user can timely understand the game screen at each moment, so as to help the user to more accurately select the game video to be recorded.
S202、将起始时刻和结束时刻之间的时间段作为目标录屏时间段。S202. Use the time period between the start time and the end time as the target screen recording time period.
可选地,基于上述操作所确定了起始时刻和结束时刻后,则可将起始时刻和结束时刻之间的时间段作为目标录屏时间段。Optionally, after the start time and the end time are determined based on the above operations, the time period between the start time and the end time may be used as the target screen recording time period.
其中,结束时刻可以为当前时刻或者当前时刻之前的一历史时刻,而起始时刻则为结束时刻之前的一历史时刻。The end time may be the current time or a historical time before the current time, and the start time may be a historical time before the end time.
图4为本申请实施例提供的游戏录屏方法的流程示意图三;可选地,时间选择控件包括一控制杆;步骤S101中,响应用户在时间选择控件上输入的时间选择操作,确定起始时刻和结束时刻,可以包括:FIG. 4 is a schematic flow chart 3 of a game screen recording method provided by an embodiment of the present application; optionally, the time selection control includes a joystick; in step S101, in response to a time selection operation input by a user on the time selection control, the start time is determined moment and end moment, which can include:
S301、响应用户在时间选择控件上输入的控制杆滑动操作,控制控制杆滑动至第一时刻。S301. In response to the control rod sliding operation input by the user on the time selection control, control the control rod to slide to the first moment.
在一种可实现的方式中,时间选择控件还包括一控制杆,也即,如图2(b)所显示的进度条上还显示有控制杆。当通过响应录屏控件,显示时间选择控件后,可以将在时间选择控件上所显示的录屏控件作为控制杆使用,当然,在显示时间选择控件后,可隐藏录屏控件,并以其他形式显示控制杆。In an achievable manner, the time selection control further includes a joystick, that is, a joystick is also displayed on the progress bar as shown in FIG. 2(b). When the time selection control is displayed by responding to the screen recording control, the screen recording control displayed on the time selection control can be used as a joystick. Of course, after the time selection control is displayed, the screen recording control can be hidden, and other forms Display joystick.
可选地,响应用户通过滑动控制杆所输入的滑动操作,以在时间选择控件上选择第一时刻,类似于在观看视频时,通过拖动进度条显示观看时间的操作。Optionally, in response to a sliding operation input by the user by sliding the joystick, the first moment is selected on the time selection control, similar to the operation of dragging the progress bar to display the viewing time when watching a video.
S302、响应滑动操作的结束,确定第一时刻为起始时刻。S302. In response to the end of the sliding operation, determine the first moment as the start moment.
图5为本申请实施例提供的游戏录屏界面示意图二;在一种可实现的方式中,如图5(a)所示,通过输入的控制杆滑动操作,控制该控制杆滑动至第一时刻(以图中所示的22s时刻为例),还可进一步响应对该滑动操作的结束,以对所选择的第一时刻进行确认,一方面可在确认第一时刻之后,进一步确认第二时刻,另一方面,也可避免在未确认的情况下,由于对控制杆的误碰而导致所选择的第二时刻出现偏差。FIG. 5 is a second schematic diagram of a game screen recording interface provided by an embodiment of the application; in an achievable manner, as shown in FIG. 5( a ), the control rod is controlled to slide to the first position through the input sliding operation of the control rod. time (taking the 22s time shown in the figure as an example), it can further respond to the end of the sliding operation to confirm the selected first time. On the one hand, after confirming the first time, it can further confirm the second time The time, on the other hand, can also avoid a deviation of the selected second time due to an accidental touch on the control lever without confirmation.
可选地,如图5(a)所示,滑动操作的结束可以是通过将手指从第一时刻向下滑动一定距离实现的,在滑动到一定距离后,松开手指,即可确认对第一时刻的选择。可选地,可以将第一时刻作为起始时刻。当然,还可以通过其他方式确认对第一时刻的选择,例如:在第一时刻进行双击,或者长按等操作。Optionally, as shown in Figure 5(a), the end of the sliding operation can be realized by sliding the finger down a certain distance from the first moment. After sliding to a certain distance, release the finger to confirm that the first Choice of the moment. Optionally, the first moment may be used as the starting moment. Of course, the selection of the first moment can also be confirmed in other ways, for example, double-clicking at the first moment, or long-pressing and other operations.
S303、确定当前时刻为结束时刻,或者,响应用户在时间选择控件上输入的除第一时刻之外的第二时刻的选择操作,确定第二时刻为结束时刻。S303. Determine the current time as the end time, or, in response to the user's input of a selection operation of a second time other than the first time on the time selection control, determine that the second time is the end time.
而对于结束时刻的确定,在一种可实现的方式中,可将当前时刻作为结束时刻,通过如图5(a)中所显示的响应滑动操作的结束后,图形用户界面可跳转至如图5(b)所示的游戏视频保存界面,其中,终端可根据所确定的第一时刻到当前时刻之间的历史游戏数据,生成第一时刻至当前时刻的游戏视频,并保存至终端本地,以供用户进行查看。同时在图形用户界面上显示如图5(b)中所示的目标录屏时间段的游戏视频保存提示信息,以提示用户录屏结束。As for the determination of the end time, in an achievable way, the current time can be used as the end time, and after the end of the sliding operation as shown in Fig. 5(a), the GUI can jump to such as The game video saving interface shown in Figure 5(b), in which the terminal can generate the game video from the first time to the current time according to the determined historical game data between the first time and the current time, and save it to the local terminal of the terminal , for users to view. At the same time, the game video saving prompt information of the target screen recording time period as shown in FIG. 5(b) is displayed on the graphical user interface to prompt the user to end the screen recording.
在另一种可实现的方式中,同样可通过在时间选择控件上输入的控制杆滑动操作确定第二时刻作为结束时刻。其中,第二时刻为除第一时刻之外的其他时刻。In another achievable manner, the second time can also be determined as the end time through the sliding operation of the joystick input on the time selection control. Wherein, the second time is other time except the first time.
同样的,在输入第二时刻的选择操作后,可响应滑动操作的结束,确定第二时刻为结束时刻。从而可将第一时刻至第二时刻的所有游戏画面生成游戏视频,也即生成目标录屏时间段的游戏视频。Similarly, after inputting the selection operation of the second time, the second time may be determined as the end time in response to the end of the sliding operation. In this way, a game video can be generated from all the game pictures from the first moment to the second moment, that is, a game video in the target screen recording time period is generated.
图6为本申请实施例提供的游戏录屏方法的流程示意图四;图7为本申请实施例提供的游戏录屏界面示意图三;可选地,步骤S303中,响应用户在时间选择控件上输入的除第一时刻之外的第二时刻的选择操作,确定第二时刻为结束时刻,可包括:FIG. 6 is a fourth schematic flowchart of a game screen recording method provided by an embodiment of the present application; FIG. 7 is a third schematic diagram of a game screen recording interface provided by an embodiment of the present application; optionally, in step S303, in response to user input on the time selection control The selection operation of the second moment other than the first moment, and determining the second moment as the end moment, may include:
S401、响应在第一时刻输入的长按操作,在第一时刻对应的位置生成新的控制杆。S401. In response to the long-press operation input at the first moment, a new control rod is generated at the position corresponding to the first moment.
可选地,如图7(a)所示,在确认第一时刻为起始时刻后,可响应在第一时刻输入的长按操作,以在第一时刻对应的位置生成新的控制杆。同样的,在控制杆所停留的操作时间点上可显示该时间点对应的游戏缩略图。Optionally, as shown in FIG. 7( a ), after confirming that the first moment is the starting moment, a long-press operation input at the first moment may be responded to to generate a new lever at the position corresponding to the first moment. Similarly, at the operation time point where the joystick stays, the game thumbnail corresponding to the time point can be displayed.
S402、响应针对新的控制杆输入的滑动操作,控制新的控制杆移动至第二时刻。S402. In response to the sliding operation inputted for the new control rod, control the new control rod to move to the second moment.
响应针对新的控制杆输入的滑动操作,将控制杆滑动除第一时刻之外的其他时刻时,可跳转至如图7(b)所示的界面。In response to the sliding operation for the new joystick input, when the joystick is slid at other times except the first moment, the interface shown in FIG. 7(b) can be jumped to.
在一种可实现的方式中,当控制杆滑动至该其他时刻时,还可进一步地对所选择的其他时刻进行调整,也即在该其他时刻附近时刻进行滑动,以确定第二时刻,则可由如图7(b)所示的界面跳转至如图7(c)所示的界面。In an achievable manner, when the control rod is slid to the other time, the selected other time can be further adjusted, that is, the other time is slid near the other time to determine the second time, then You can jump from the interface shown in Figure 7(b) to the interface shown in Figure 7(c).
S403、将第二时刻作为结束时刻。S403, taking the second time as the end time.
可选地,基于如图7(c)中所确定的第二时刻,跳转至如图7(d)所示的界面,响应手指脱离操作,可将第二时刻作为结束时刻。Optionally, based on the second time determined in FIG. 7( c ), jump to the interface shown in FIG. 7( d ), and in response to the finger detachment operation, the second time can be used as the end time.
图8为本申请实施例提供的游戏录屏方法的流程示意图五;可选地,步骤S403中,将第二时刻作为结束时刻之后,本申请方法还可包括:FIG. 8 is a schematic flow chart 5 of a game screen recording method provided by an embodiment of the present application; optionally, in step S403, after taking the second moment as the end moment, the method of the present application may further include:
S501、响应用户在结束时刻输入的下拉操作并在下拉操作结束时的下拉距离满足预设距离时。S501. Respond to the pull-down operation input by the user at the end time and when the pull-down distance at the end of the pull-down operation satisfies a preset distance.
可选地,基于如图7(d)所示的将第二时刻作为结束时刻的操作之后,可跳转至如图7(e)所示的界面,响应用户在结束时刻输入的下拉操作,并在下拉至预设距离时,响应手指脱离操作,以确定起始时刻和结束时刻之间的时间段为目标录屏时间段。Optionally, based on the operation of taking the second moment as the end moment as shown in FIG. 7(d), you can jump to the interface shown in FIG. 7(e), and respond to the pull-down operation input by the user at the end moment, And when it is pulled down to the preset distance, it responds to the finger detachment operation to determine the time period between the start time and the end time as the target screen recording time period.
其中,下拉操作的下拉距离可以为预设距离,以在下拉距离达到预设距离时,确定目标录屏时间段。The pull-down distance of the pull-down operation may be a preset distance, so as to determine the target screen recording time period when the pull-down distance reaches the preset distance.
当然,除了以下拉操作实现目标录屏时间段的确定之外,也可以有其他的实现方式,例如:在结束时刻进行长按或者是双击等。Of course, in addition to realizing the determination of the target screen recording time period by the pull-down operation, there may also be other implementation manners, such as long-pressing or double-clicking at the end time.
S502、根据目标录屏时间段的游戏画面生成游戏视频。S502. Generate a game video according to the game screen in the target screen recording time period.
可选地,基于所确定的目标录屏时间段,可根据终端所存储的目标录屏时间段的历史游戏数据,生成目标录屏时间段的游戏视频,并保存至终端本地。Optionally, based on the determined target screen recording time period, a game video of the target screen recording time period may be generated according to historical game data of the target screen recording time period stored in the terminal, and saved locally on the terminal.
界面可由如图7(e)所示的界面跳转至图7(f)所示的游戏视频保存提示界面,如图7(f)所示,界面中可显示游戏视频已保存的提示信息,以提示用户对目标录屏时间段的游戏视频录取结束。The interface can be jumped from the interface shown in Figure 7(e) to the game video saving prompt interface shown in Figure 7(f), as shown in Figure 7(f), the prompt information that the game video has been saved can be displayed in the interface, It ends with prompting the user to record the game video of the target screen recording time period.
通过上述图7(a)-图7(f)的一系列界面中显示的操作,可实现对目标录屏时间段的游戏视频的录取。当然,图中所显示的仅为一种可实现的方式,实际应用中,可进行适当的操作调整。Through the operations shown in the series of interfaces of FIG. 7( a ) to FIG. 7( f ) above, the recording of the game video in the target screen recording time period can be realized. Of course, what is shown in the figure is only an achievable manner, and in practical applications, appropriate operation adjustments can be made.
可选地,步骤S101中,响应用户在图形用户界面上输入的时间选择操作,确定游戏的目标录屏时间段之后,本申请的方法还可包括:在时间选择控件上高亮显示目标录屏时间段,并显示目标录屏时间段的时长。Optionally, in step S101, after determining the target screen recording time period of the game in response to the time selection operation input by the user on the graphical user interface, the method of the present application may further include: highlighting the target screen recording on the time selection control. time period, and display the duration of the target screen recording period.
在一种可实现的方式中,当通过上述的方式确定了目标录屏时间段后,如图7(e)所示,可在时间选择控件上高亮显示所确定的目标录屏时间段,并在时间选择控件的预设位置(如图中时间选择控件下方),显示目标录屏时间段的时长(19s)。In an achievable manner, after the target screen recording time period is determined by the above method, as shown in FIG. 7(e), the determined target screen recording time period can be highlighted on the time selection control, And at the preset position of the time selection control (as shown below the time selection control in the figure), the duration of the target screen recording time period (19s) is displayed.
通过高亮显示目标录屏时间段,可以提高用户的视觉感受度。By highlighting the target screen recording time period, the user's visual perception can be improved.
可选地,步骤S102中,响应用户针对目标录屏时间段输入的确认操作,生成目标录屏时间段的游戏视频之后,本申请的方法还可包括:在图形用户界面上预设信息框内显示如下的至少一种信息:游戏视频保存提示信息、游戏视频的总时长、游戏视频的第一帧游戏画面。Optionally, in step S102, after the game video of the target screen recording time period is generated in response to the confirmation operation input by the user for the target screen recording time period, the method of the present application may further include: presetting in the information box on the graphical user interface. At least one of the following information is displayed: game video saving prompt information, the total duration of the game video, and the first frame of the game screen of the game video.
如图7(f)所示,在生成目标录屏时间段的游戏视频之后,可在图形用户界面上预设位置的信息框中显示提示信息,其中可包括:游戏视频已保存信息、游戏视频的总时长、游戏视频的第一帧游戏画面。其中,游戏视频的第一帧游戏画面可以指游戏起始时刻的游戏画面。当然,也可以除所列举的几种提示信息之外的信息,例如:目标录屏时间段的起始时刻、结束时刻,游戏视频占用的内存大小等。可以根据需求适应性添加设置。As shown in Figure 7(f), after the game video of the target screen recording time period is generated, prompt information can be displayed in the information box at the preset position on the GUI, which can include: game video saved information, game video The total duration of the game video, the first frame of the game screen. The first frame of the game picture of the game video may refer to the game picture at the start of the game. Of course, information other than the listed prompt information may also be provided, for example: the start time and end time of the target screen recording time period, the memory size occupied by the game video, and the like. Settings can be added adaptively according to needs.
图9为本申请实施例提供的游戏录屏方法的流程示意图六;图10为本申请实施例提供的游戏录屏界面示意图四;可选地,本申请的方法还可包括:FIG. 9 is a sixth schematic flowchart of a game screen recording method provided by an embodiment of the present application; FIG. 10 is a fourth schematic diagram of a game screen recording interface provided by an embodiment of the present application; optionally, the method of the present application may further include:
S601、响应用户由时间选择控件至游戏画面缩略图的滑动操作,生成操作时间点的游戏画面截图。S601. In response to the user's sliding operation from the time selection control to the thumbnail of the game screen, a screenshot of the game screen at the operation time point is generated.
如图10(a)所示,在一些实施例中,当控制杆滑动至任意位置时,若想要获取当前位置操作时间点的游戏画面截图时,则可输入由时间选择控件上该操作时间点向对应的游戏画面缩略图的滑动操作,从而生成该操作时间点的游戏画面截图,其中,操作时间点可以为时间选择控件上所显示的游戏时长中的任意时刻。As shown in Fig. 10(a), in some embodiments, when the joystick is slid to any position, if you want to obtain a screenshot of the game screen at the operation time point of the current position, you can input the operation time on the time selection control Click the sliding operation to the corresponding game screen thumbnail to generate a screenshot of the game screen at the operation time point, wherein the operation time point can be any time in the game duration displayed on the time selection control.
其中,一种优选的方式中,响应用户由时间选择控件至游戏画面缩略图的滑动操作后,可进一步地响应在滑动操作结束位置的手指脱离操作,以确定触发生成操作时间段的游戏画面截图。Among them, in a preferred way, after responding to the user's sliding operation from the time selection control to the thumbnail of the game screen, it can further respond to the finger detachment operation at the end position of the sliding operation, so as to determine the screenshot of the game screen that triggers the generation of the operation time period. .
S602、在图形用户界面上预设显示框内显示游戏画面截图保存提示信息以及操作时间点。S602. Display the game screen screenshot saving prompt information and the operation time point in a preset display frame on the graphical user interface.
基于如图10(a)中所示的游戏画面截图操作,在生成操作时间点的游戏画面截图后,可跳转至如图10(b)所示的游戏画面截图提示界面,以在图10(b)中预设显示框中显示游戏画面截图已保存提示,同时显示保存的游戏画面截图的游戏时间点,也即上述的操作时间点。Based on the screenshot operation of the game screen as shown in Figure 10(a), after generating the screenshot of the game screen at the operation time point, it is possible to jump to the screenshot prompt interface of the game screen as shown in Figure 10(b). In the preset display box in (b), a prompt that the screenshot of the game screen has been saved is displayed, and at the same time, the game time point of the saved screenshot of the game screen is displayed, that is, the above-mentioned operation time point.
图11为本申请实施例提供的游戏录屏方法的流程示意图七;可选地,本申请的方法还可包括:11 is a seventh schematic flowchart of a method for recording a screen of a game provided by an embodiment of the present application; optionally, the method of the present application may further include:
S701、响应针对游戏画面缩略图输入的点击操作,在图形用户界面上弹出分享界面,分享界面中包括至少一个待分享对象。S701. In response to the click operation inputted on the thumbnail of the game screen, a sharing interface is popped up on the graphical user interface, and the sharing interface includes at least one object to be shared.
在一些实施例中,显示在预设位置的游戏缩略图在一定时间后可自动隐藏,在缩略图隐藏之前,可响应针对游戏画面缩略图输入的点击操作,对游戏画面缩略图进行分享。In some embodiments, the game thumbnail displayed at the preset position can be automatically hidden after a certain period of time, and before the thumbnail is hidden, the game screen thumbnail can be shared in response to a click operation inputted on the game screen thumbnail.
可选地,输入点击操作后,可在图形用户界面上弹出分享界面,其中,至少一个待分享对象可以为:目标用户、或者是目标应用,例如:分享至微信用户,或者是微信朋友圈等。Optionally, after inputting the click operation, a sharing interface may pop up on the graphical user interface, where at least one object to be shared may be: a target user or a target application, such as sharing to a WeChat user, or a WeChat Moments, etc. .
S702、响应输入的目标分享对象选择操作,将游戏画面缩略图分享至目标分享对象,目标分享对象为待分享对象中的一个分享对象。S702. In response to the input target sharing object selection operation, share the thumbnail image of the game screen to the target sharing object, where the target sharing object is one of the objects to be shared.
可选地,响应用户输入的目标分享对象的选择操作,可将游戏画面缩略图分享至目标分享对象,以使得目标对象可以查看用户的精彩游戏过程。Optionally, in response to an operation of selecting a target sharing object input by the user, a thumbnail image of the game screen can be shared with the target sharing object, so that the target object can view the user's wonderful game process.
可选地,本申请的方法还可包括:响应针对游戏画面缩略图输入的滑动操作,隐藏游戏画面缩略图。Optionally, the method of the present application may further include: hiding the thumbnail of the game screen in response to a sliding operation input for the thumbnail of the game screen.
在一些实施例中,游戏画面缩略图可能会对用户的游戏画面造成遮挡,在游戏画面缩略图未自动隐藏之前,还可响应用户输入的滑动操作,将游戏画面缩略图进行隐藏。In some embodiments, the game screen thumbnail may occlude the user's game screen. Before the game screen thumbnail is not automatically hidden, the game screen thumbnail may also be hidden in response to a sliding operation input by the user.
其中,滑动操作可以是以游戏画面缩略图为起始点,向任意方向进行滑动,例如,将游戏画面缩略图向上滑动。The sliding operation may take the thumbnail of the game screen as a starting point, and slide in any direction, for example, slide the thumbnail of the game screen upward.
可选地,步骤S101中,响应用户在图形用户界面上输入的时间选择操作,确定游戏的目标录屏时间段之前,本申请的方法还可包括:Optionally, in step S101, before determining the target screen recording time period of the game in response to the time selection operation input by the user on the graphical user interface, the method of the present application may further include:
响应用户输入的录屏控件点击操作,生成当前时刻的游戏画面截图;或者,响应用户输入的录屏控件长按操作,生成预设录屏时长的游戏视频。In response to the click operation of the screen recording control input by the user, a screenshot of the game screen at the current moment is generated; or, in response to the long-press operation of the screen recording control input by the user, a game video with a preset screen recording duration is generated.
在上述多个实施例中,对于在当前时刻之前的操作时间点的游戏画面截图和对目标录屏时间段的游戏视频的生成方式进行了说明。本实施例中,还提供了一种便捷的游戏画面截图和游戏视频生成方式以用于实时的生成当前时刻的游戏画面截图和目标录屏时间段的游戏视频,以方便用户在玩游戏的同时迅速的进行截图或者游戏录屏,并且不影响游戏的进行。In the above-mentioned embodiments, descriptions have been given for the way of generating the screenshot of the game screen at the operation time point before the current moment and the way of generating the game video for the target screen recording time period. In this embodiment, a convenient way of generating game screenshots and game videos is also provided, which is used to generate real-time screenshots of game screenshots at the current moment and game videos of the target screen recording time period, so as to facilitate the user to play the game while playing the game. Quickly take screenshots or game recordings without affecting the progress of the game.
图12为本申请实施例提供的游戏录屏界面示意图五;如图12(a)所示,在一种可实现的方式中,在用户玩游戏的过程中,可通过点击录屏控件,以生成当前时刻的游戏画面截图。或者如图12(b)所示,通过长按录屏控件,生成预设录屏时长的游戏视频。其中,预设录屏时长可以为预先设置的终端可保存的最大游戏视频时长。例如,预设录屏时长为5分钟,当前时刻为5点30分,则可录取从当前时刻至5分钟之前的时间段的游戏视频,也即录取由5点26分至5点30分的游戏视频。Fig. 12 is a schematic diagram 5 of a game screen recording interface provided by an embodiment of the application; as shown in Fig. 12(a), in an achievable manner, in the process of playing the game, the user can click the screen recording control to Generate a screenshot of the game screen at the current moment. Or as shown in Figure 12(b), by long pressing the screen recording control, a game video with a preset screen recording duration is generated. The preset screen recording duration may be the preset maximum game video duration that the terminal can save. For example, if the preset screen recording time is 5 minutes and the current time is 5:30, the game video from the current time to 5 minutes ago can be recorded, that is, the video from 5:26 to 5:30 can be recorded. game video.
同样的,可在界面中预设位置相应显示游戏画面截图已保存提示信息或者游戏视频已保存提示信息。Similarly, the prompt information that the screenshot of the game screen has been saved or the prompt information that the game video has been saved can be displayed at a preset position in the interface.
综上,本实施例提供的游戏录屏方法,包括:响应用户在图形用户界面上输入的时间选择操作,确定游戏的目标录屏时间段,目标录屏时间段的结束时刻为当前时刻或当前时刻之前的一历史时刻,目标录屏时间段的起始时刻为结束时刻之前的一历史时刻;响应用户针对目标录屏时间段输入的确认操作,生成目标录屏时间段的游戏视频。本方案中,可根据用户输入的时间选择操作,确定目标录屏时间段,并响应用户输入的目标录屏时间段确认操作,生成目标录屏时间段的游戏视频。由于目标录屏时间段是用户根据需求进行选择,使得用户可以选择感兴趣的时间段的游戏过程进行录屏,避免了通过一键录屏时,无法获取所需的时间段的游戏视频,从而有效提高了用户的游戏录屏体验,另外,由于是根据用户需求进行游戏录屏,可以有效避免一键录屏时所录取的不必要的游戏视频对于存储空间的占用,提高了设备的空间利用率。To sum up, the game screen recording method provided by this embodiment includes: in response to the time selection operation input by the user on the graphical user interface, determining the target screen recording time period of the game, and the end time of the target screen recording time period is the current moment or the current time A historical moment before the time, the start time of the target screen recording time period is a historical moment before the end time; in response to the user's input confirmation operation for the target screen recording time period, the game video of the target screen recording time period is generated. In this solution, the target screen recording time period can be determined according to the time selection operation input by the user, and the game video of the target screen recording time period can be generated in response to the confirmation operation of the target screen recording time period input by the user. Since the target screen recording time period is selected by the user according to the needs, the user can select the game process of the interested time period to record the screen, avoiding the inability to obtain the game video of the required time period when recording the screen with one button. It effectively improves the user's game screen recording experience. In addition, because the game screen recording is performed according to the user's needs, it can effectively avoid unnecessary game videos recorded during one-click screen recording from occupying storage space and improve the space utilization of the device. Rate.
如下,将通过多个实施例对基于游戏手柄方式所实现的游戏录屏方法进行详细阐述。需要说明的是,通过游戏手柄所实现的游戏录屏方法中存在与上述基于触屏方式所实现的游戏录屏方法类似的步骤,对于较为类似的操作过程,在下述实施例中将不再赘述,可参考上述过程进行理解。As follows, the game screen recording method based on the gamepad method will be described in detail through various embodiments. It should be noted that, in the game screen recording method realized by the gamepad, there are steps similar to those of the above-mentioned game screen recording method based on the touch screen method, and the relatively similar operation process will not be repeated in the following embodiments. , you can refer to the above process for understanding.
图13为本申请实施例提供的游戏录屏方法的流程示意图八;本申请实施例还提供了一种游戏录屏方法,在终端的显示器上提供图形用户界面,图形用户界面上显示游戏过程画面,终端与游戏手柄连接,通过游戏手柄输入的控制指令控制游戏录屏,如图13所示,本申请的方法还可包括:FIG. 13 is a schematic flowchart of the eighth process of a game screen recording method provided by an embodiment of the present application; an embodiment of the present application also provides a game screen recording method, in which a graphical user interface is provided on a display of a terminal, and a game process screen is displayed on the graphical user interface. , the terminal is connected with the game handle, and the game recording screen is controlled by the control command input by the game handle, as shown in FIG. 13 , the method of the present application may further include:
S801、响应用户通过游戏手柄输入的时间选择操作,确定游戏的目标录屏时间段,目标录屏时间段的结束时刻为当前时刻或当前时刻之前的一历史时刻,目标录屏时间段的起始时刻为结束时刻之前的一历史时刻。S801, in response to a time selection operation input by a user through a gamepad, determine a target screen recording time period of the game, the end time of the target screen recording time period is the current moment or a historical moment before the current time, and the start of the target screen recording time period The moment is a historical moment before the end moment.
可选地,与上述第一种实现方式的区别点在于,上述基于触屏方式实现的游戏录屏方法在实现过程中,可直接基于用户在图形用户界面上输入的相应操作,生成与操作对应的操作结果。Optionally, the difference from the above-mentioned first implementation is that, in the implementation process of the above-mentioned game screen recording method based on the touch screen method, it is possible to directly generate a corresponding operation based on the corresponding operation input by the user on the graphical user interface. result of the operation.
而本方法中,是响应用户通过与终端连接的游戏手柄输入的相应操作,生成操作对应的操作结果。In this method, the operation result corresponding to the operation is generated in response to the corresponding operation input by the user through the gamepad connected to the terminal.
可选地,可通过游戏手柄输入时间选择操作,以确定目标录屏时间段。Optionally, a time selection operation can be input through a gamepad to determine the target screen recording time period.
S802、响应用户针对目标录屏时间段输入的确认操作,生成目标录屏时间段的游戏视频。S802. In response to the user's input of a confirmation operation for the target screen recording time period, a game video of the target screen recording time period is generated.
基于所确定的目标录屏时间段的确认操作,可生成目标录屏时间段的游戏视频输出至用户,或者是保存至终端本地。Based on the confirmation operation of the determined target screen recording time period, the game video of the target screen recording time period may be generated and output to the user, or saved locally on the terminal.
综上,本实施例提供的游戏录屏方法,包括:响应用户通过游戏手柄输入的时间选择操作,确定游戏的目标录屏时间段,目标录屏时间段的结束时刻为当前时刻或当前时刻之前的一历史时刻,目标录屏时间段的起始时刻为结束时刻之前的一历史时刻;响应用户针对目标录屏时间段输入的确认操作,生成目标录屏时间段的游戏视频。由于目标录屏时间段是用户根据需求进行选择,使得用户可以选择感兴趣的时间段的游戏过程进行录屏,避免了通过一键录屏时,无法获取所需的时间段的游戏视频,从而有效提高了用户的游戏录屏体验,其次,由于是根据用户需求进行游戏录屏,可以有效避免一键录屏时所录取的不必要的游戏视频对于存储空间的占用,提高了设备的空间利用率,另外,通过游戏手柄输入操作,可以提高用户的操控感以及操作的便利性。To sum up, the game screen recording method provided by this embodiment includes: in response to a time selection operation input by a user through a gamepad, determining a target screen recording time period of the game, and the end time of the target screen recording time period is the current time or before the current time The start time of the target screen recording time period is a historical time before the end time; in response to the user's input confirmation operation for the target screen recording time period, the game video of the target screen recording time period is generated. Since the target screen recording time period is selected by the user according to the needs, the user can select the game process of the interested time period to record the screen, avoiding the inability to obtain the game video of the required time period when recording the screen with one button. It effectively improves the user's game screen recording experience. Secondly, because the game screen recording is performed according to the user's needs, it can effectively avoid unnecessary game videos recorded during one-click screen recording. The occupation of storage space improves the space utilization of the device In addition, input operation through the gamepad can improve the user's sense of control and convenience of operation.
图14为本申请实施例提供的游戏手柄示意图;图15为本申请实施例提供的游戏录屏界面示意图六;如图14所示,游戏手柄上可包括:录屏键和第一摇杆。FIG. 14 is a schematic diagram of a game handle provided by an embodiment of the application; FIG. 15 is a schematic diagram of a sixth game screen recording interface provided by an embodiment of the application; as shown in FIG. 14 , the game handle may include a screen recording key and a first joystick.
步骤S801中,响应用户通过游戏手柄输入的时间选择操作,确定游戏的目标录屏时间段之前,本申请的方法还可包括:响应用户输入的录屏键的按压操作以及第一摇杆的第一滑动操作,在图形用户界面上显示目标窗口;目标窗口中的第一区域显示有时间选择控件,目标窗口的第二区域显示有游戏画面缩略图,第一滑动操作的滑动时长小于预设时长。In step S801, before determining the target screen recording time period of the game in response to the time selection operation input by the user through the gamepad, the method of the present application may further include: responding to the pressing operation of the screen recording key input by the user and the first joystick pressing the first joystick. A sliding operation, the target window is displayed on the GUI; the first area in the target window displays the time selection control, the second area of the target window displays the thumbnail of the game screen, and the sliding duration of the first sliding operation is less than the preset duration .
在一种可实现的方式中,在用户玩游戏的过程中,可显示如图15(a)中所示的当前游戏时刻画面。基于用户输入的录屏键的按压操作以及第一摇杆的第一滑动操作后,图形用户界面可跳转至如图15(b)所示的界面,在界面中可显示目标窗口,目标窗口中的第一区域也即图15(b)中的小矩形框区域显示有时间选择控件,同样的,本实施例中,时间选择控件可以以进度条的形式展示,当然,可以不限于该显示方式。In an achievable manner, when the user is playing the game, the current game moment screen as shown in FIG. 15( a ) can be displayed. After the pressing operation of the screen recording key and the first sliding operation of the first joystick based on the user's input, the GUI can jump to the interface shown in Figure 15(b), and the target window can be displayed in the interface. In the first area, that is, the small rectangular frame area in FIG. 15(b), a time selection control is displayed. Similarly, in this embodiment, the time selection control can be displayed in the form of a progress bar. Of course, it may not be limited to this display. Way.
而在第一区域的上方,也即时间选择控件的显示窗口上方的第二区域还显示有游戏画面缩略图,在第二区域中可实时的显示任意操作时间点的游戏画面缩略图,其中。操作时间点的定义可以参考之前的实施例进行理解。On the top of the first area, that is, the second area above the display window of the time selection control, a thumbnail of the game screen is also displayed, and the thumbnail of the game screen at any operation time point can be displayed in real time in the second area. The definition of the operation time point can be understood with reference to the previous embodiments.
可选地,第一摇杆的第一滑动操作可以为以第一摇杆为起点位置,向任意方向滑动预设时长。Optionally, the first sliding operation of the first joystick may be to slide the first joystick in any direction for a preset duration with the first joystick as a starting point.
图16为本申请实施例提供的游戏录屏方法的流程示意图九;可选地,时间选择控件可包括一控制杆;步骤S801中,响应用户通过游戏手柄输入的时间选择操作,确定游戏的目标录屏时间段,可以包括:FIG. 16 is a schematic flow chart 9 of a game screen recording method provided by an embodiment of the present application; optionally, the time selection control may include a joystick; in step S801, in response to the time selection operation input by the user through the game handle, the game target is determined Screen recording time period, which can include:
S901、响应用户输入的第一摇杆的第二滑动操作,确定起始时刻和结束时刻,第二滑动操作用于控制时间选择控件上的控制杆进行移动。S901. Determine a start time and an end time in response to a second sliding operation of the first joystick input by the user, and the second sliding operation is used to control the control rod on the time selection control to move.
可选地,在显示如图15(b)所示的界面后,时间选择控件上可显示控制杆,响应用户通过游戏手柄上的第一摇杆输入的第二滑动操作,可基于第二滑动操作控制该控制杆在时间选择控件上进行滑动,从而确定录屏的起始时刻和结束时刻。Optionally, after the interface shown in FIG. 15(b) is displayed, a joystick may be displayed on the time selection control, and in response to the second sliding operation input by the user through the first joystick on the game handle, the second sliding Operate and control the joystick to slide on the time selection control to determine the start time and end time of the screen recording.
S902、将起始时刻和结束时刻之间的时间段作为目标录屏时间段。S902. Use the time period between the start time and the end time as the target screen recording time period.
可选地,可以将上述所确定的起始时刻和结束时刻之间的时间段作为目标录屏时间段,从而实现基于用户的需求,确定用户所需的录屏时间段。Optionally, the time period between the above determined start time and end time may be used as the target screen recording time period, so as to determine the screen recording time period required by the user based on the user's needs.
可选地,如图14所示,游戏手柄上还可包括:标记键。Optionally, as shown in FIG. 14 , the game handle may further include: a mark key.
图17为本申请实施例提供的游戏录屏方法的流程示意图十;步骤S901中,响应用户输入的第一摇杆的第二滑动操作,确定游戏的起始时刻和结束时刻,可以包括:17 is a schematic flowchart tenth of a game screen recording method provided by an embodiment of the application; in step S901, in response to the second sliding operation of the first joystick input by the user, determining the start time and the end time of the game may include:
S1001、响应用户输入的第一摇杆的第二滑动操作,控制控制杆移动至第一时刻。S1001. In response to a second sliding operation of the first joystick input by a user, control the joystick to move to a first moment.
在一种可实现的方式中,可响应用户通过第一摇杆输入的第二滑动操作,以在时间选择控件上确定游戏录屏的起始时刻和结束时刻。In an achievable manner, the second sliding operation input by the user through the first joystick can be responded to, so as to determine the start moment and the end moment of the game recording on the time selection control.
其中,第二滑动操作可以为控制第一摇杆在时间选择控件所显示的游戏时长内移动任意距离的操作。The second sliding operation may be an operation of controlling the first joystick to move any distance within the game duration displayed by the time selection control.
需要说明的是,时间选择控件所显示的游戏时长与终端后台所预设保存的游戏时长对应,已在第一种实现方式中进行详细说明。It should be noted that the game duration displayed by the time selection control corresponds to the game duration preset and saved in the background of the terminal, which has been described in detail in the first implementation manner.
S1002、响应用户在控制杆移动至第一时刻时输入的标记键的按压操作,标记第一时刻为起始时刻。S1002. In response to the pressing operation of the mark key input by the user when the control rod moves to the first moment, mark the first moment as the starting moment.
可选地,响应用户输入的第一摇杆的第二滑动操作,将控制杆滑动至第一时刻,并响应针对第一时刻输入的标记键按压操作,从而可对第一时刻进行确认,以将第一时刻作为起始时刻。Optionally, in response to the second sliding operation of the first joystick input by the user, the control rod is slid to the first moment, and in response to the pressing operation of the mark key input for the first moment, so that the first moment can be confirmed to Take the first moment as the starting moment.
S1003、响应用户输入的第一摇杆的第二滑动操作,控制控制杆移动至除第一时刻之外的第二时刻。S1003 , in response to the second sliding operation of the first joystick input by the user, control the control rod to move to a second moment other than the first moment.
在确定起始时刻之后,还可进一步地基于第一时刻的位置,输入第一摇杆的第二滑动操作,将控制杆从第一时刻滑动至除第一时刻之外的第二时刻。After the start time is determined, a second sliding operation of the first joystick may be input further based on the position at the first time to slide the control rod from the first time to a second time other than the first time.
S1004、响应用户在控制杆移动至第二时刻时输入的标记键的按压操作,标记第二时刻为结束时刻。S1004. In response to the pressing operation of the mark key input by the user when the control rod moves to the second time, mark the second time as the end time.
同样的,在控制杆移动至第二时刻后,响应用户在第二时刻输入的标记键按压操作,则可确认对第二时刻的选择,并将第二时刻作为结束时刻。Similarly, after the joystick is moved to the second time, the selection of the second time can be confirmed and the second time can be used as the end time in response to the pressing operation of the mark key input by the user at the second time.
当然,除了上述确定结束时刻的方法外,在确定起始时刻之后,再不继续输入第一摇杆的第二滑动操作时,还可将当前游戏时刻作为结束时刻。Of course, in addition to the above method of determining the end time, after the start time is determined, when the second sliding operation of the first joystick is not continuously input, the current game time can also be used as the end time.
其中,标记结果可以是在所确定的第一时刻或第二时刻处显示预设的标记标识,例如:星状标识,或者是其他任意形状的标识等。The marking result may be displaying a preset marking mark at the determined first moment or second moment, for example, a star-shaped mark, or any other mark of any shape.
可选地,继续如图14所示,游戏手柄上还可包括:取消键;Optionally, continuing as shown in FIG. 14 , the game handle may further include: a cancel key;
本申请的方法还可包括:响应用户输入的取消键的按压操作,取消对起始时刻和/或结束时刻的标记。The method of the present application may further include: canceling the marking of the start time and/or the end time in response to the pressing operation of the cancel key input by the user.
在一些实施例中,在用户通过标记键确定起始时刻和/或结束时刻后,用户可能想对所确定的起始时刻和/或结束时刻进行适应性调整,则可在所确定的起始时刻和/或结束时刻输入取消键的按压操作,以取消对起始时刻和/或结束时刻的标记,从而可通过输入第一摇杆的第二滑动操作,对起始时刻和/或结束时刻进行重新确定。In some embodiments, after the user determines the start time and/or the end time through the mark key, the user may want to make adaptive adjustments to the determined start time and/or end time, Input the pressing operation of the cancel key at the time and/or end time to cancel the marking of the start time and/or end time, so that the start time and/or end time can be changed by entering the second sliding operation of the first joystick. to re-determine.
可选地,上述的游戏画面缩略图可以为控制杆当前位置时间点的游戏画面缩略图。Optionally, the above-mentioned thumbnail of the game screen may be a thumbnail of the game screen at the time point of the current position of the joystick.
在控制杆移动过程中,对于控制杆所停留的任意位置,第二区域显示的游戏画面缩略图为当前位置时间点的缩略图。During the movement of the joystick, for any position where the joystick stays, the thumbnail of the game screen displayed in the second area is the thumbnail of the time point of the current position.
可选地,继续如图14所示,游戏手柄上还可包括:确认键。Optionally, continuing as shown in FIG. 14 , the game handle may further include: a confirmation key.
步骤S802中,响应用户针对目标录屏时间段输入的确认操作,生成目标录屏时间段的游戏视频,可以包括:响应用户输入的确认键的按压操作,生成目标录屏时间段的游戏视频,同时将第一区域显示的时间选择控件替换为游戏视频保存提示信息和游戏视频的总时长。In step S802, in response to a confirmation operation input by the user for the target screen recording time period, generating a game video of the target screen recording time period, which may include: responding to the pressing operation of the confirmation key input by the user, generating a game video of the target screen recording time period, At the same time, the time selection control displayed in the first area is replaced with the game video saving prompt information and the total duration of the game video.
可选地,在上述通过标记键确定了起始时刻和结束时刻后,也即确定了目标录屏时间段,则可响应输入的确认键按压操作,以根据终端所存储的起始时刻和结束时刻之间的时间段的历史游戏数据,生成目标录屏时间段的游戏视频。Optionally, after the start time and the end time are determined by the mark key, that is, the target screen recording time period is determined, then the input confirmation key pressing operation can be responded to, so that the start time and the end time stored in the terminal can be stored according to the terminal. The historical game data of the time period between moments is used to generate the game video of the target screen recording time period.
图18为本申请实施例提供的游戏录屏界面示意图七;如图18(a)所示,以起始时刻为30s对应的时刻,结束时刻为当前时刻为例,在确定了起始时刻和结束时刻,也即确定了目标录屏时间段后,通过输入确认键按压操作,可跳转至如图18(b)所示的界面,界面中之前显示时间选择控件的区域替换为显示提示信息,其中包括:游戏视频已保存提示信息、以及所保存的游戏视频的总时长。Fig. 18 is a schematic diagram 7 of the game screen recording interface provided by the embodiment of the application; as shown in Fig. 18(a), taking the start time as the time corresponding to 30s and the end time as the current time as an example, after determining the start time and At the end time, that is, after the target screen recording time period is determined, you can jump to the interface shown in Figure 18(b) by entering the confirmation key and pressing the operation. , which includes: the game video has been saved notification information, and the total length of the saved game video.
可选地,继续如图14所示,游戏手柄上还可包括:截图键。Optionally, continuing as shown in FIG. 14 , the gamepad may further include: a screenshot key.
本申请的方法还可包括:响应用户输入的截图键的按压操作,生成控制杆当前位置时间点的游戏画面截图。The method of the present application may further include: generating a screenshot of the game screen at the time point of the current position of the joystick in response to the pressing operation of the screenshot key input by the user.
在一种可实现的方式中,在控制杆滑动至任意位置时,通过响应输入的截图键的按压操作,可生成控制杆当前所处位置时间点的游戏画面截图。In an achievable manner, when the joystick is slid to any position, a screenshot of the game screen at the current position of the joystick can be generated by responding to the input pressing operation of the screenshot key.
图19为本申请实施例提供的游戏录屏方法的流程示意图十一;可选地,在生成游戏视频或生成游戏画面截图之后,本申请的方法还可包括:19 is a schematic flowchart eleventh of a method for recording a game screen provided by an embodiment of the present application; optionally, after generating a game video or generating a screenshot of a game screen, the method of the present application may further include:
S1011、响应用户输入的录屏键的按压操作,在图形用户界面上弹出分享界面,分享界面中包括至少一个待分享对象。S1011. In response to the pressing operation of the screen recording key input by the user, a sharing interface is popped up on the graphical user interface, and the sharing interface includes at least one object to be shared.
在一种可实现的方式中,在通过上述的操作方式生成目标录屏时间段的游戏视频,或者是生成任意时间点的游戏画面截图之后,可响应用户输入的录屏键按压操作,以在图形用户界面上预设位置弹出分享界面,从而可将游戏视频或者是游戏画面截图进行分享。In an achievable manner, after generating the game video of the target screen recording time period through the above operation method, or after generating the screenshot of the game screen at any point in time, the screen recording key pressing operation input by the user can be responded to to display A sharing interface pops up at a preset position on the GUI, so that game videos or screenshots of game screens can be shared.
S1012、响应用户输入的第一摇杆的第三滑动操作,选择目标分享对象,目标分享对象为待分享对象中的一个分享对象。S1012. In response to the third sliding operation of the first joystick input by the user, select a target sharing object, where the target sharing object is a sharing object among the objects to be shared.
可选地,响应输入的第一摇杆的第三滑动操作,以从多个待分享对象中选择目标分享对象。其中,第三滑动操作可以是控制第一摇杆在多个待分享对象的标识之间进行滑动的操作。Optionally, in response to the input of a third sliding operation of the first joystick, a target sharing object is selected from a plurality of objects to be shared. The third sliding operation may be an operation of controlling the first joystick to slide among the identifiers of the objects to be shared.
S1013、响应用户输入的确认键的按压操作,将游戏视频或游戏画面截图分享至目标分享对象。S1013 , in response to the pressing operation of the confirmation key input by the user, share the game video or the screenshot of the game screen to the target sharing object.
可选地,基于确定的目标分享对象,输入确认键的按压操作,可将游戏视频或游戏画面截图分享至目标分享对象。其中,目标分享对象与第一种实现方式中的类似,此处不再赘述。Optionally, based on the determined target sharing object, inputting a pressing operation of the confirmation key can share the game video or game screen screenshot to the target sharing object. The target sharing object is similar to that in the first implementation manner, and details are not repeated here.
可选地,步骤S801中,响应用户通过游戏手柄输入的时间选择操作,确定游戏的目标录屏时间段之前,本申请的方法还可包括:Optionally, in step S801, in response to the time selection operation input by the user through the gamepad, before determining the target screen recording time period of the game, the method of the present application may further include:
响应用户输入的录屏键的第一按压操作,生成当前时刻的游戏画面截图,第一按压操作的按压时长小于第一预设时长;或者,响应用户输入的录屏键的第二按压操作,生成预设录屏时长的游戏视频,第二按压操作的按压时长大于第二预设时长。In response to the first pressing operation of the screen recording key input by the user, a screenshot of the game screen at the current moment is generated, and the pressing duration of the first pressing operation is less than the first preset duration; or, in response to the second pressing operation of the screen recording key input by the user, A game video with a preset screen recording duration is generated, and the pressing duration of the second pressing operation is longer than the second preset duration.
与第一种方式的实现类似,本实施例中,也提供了一种便捷的游戏画面截图和游戏视频生成方式以用于实时的生成当前时刻的游戏画面截图和目标录屏时间段的游戏视频。Similar to the implementation of the first method, in this embodiment, a convenient way of generating game screenshots and game videos is also provided, which is used to generate real-time screenshots of game screenshots at the current moment and game videos during the target screen recording time period. .
可选地,在用户玩游戏的过程中,在任意游戏时刻,可输入录屏键的第一按压操作,响应对录屏键的第一按压操作以生成当前时刻的游戏画面截图。Optionally, in the process of playing the game, at any game moment, the user can input the first pressing operation of the screen recording key, and respond to the first pressing operation of the screen recording key to generate a screenshot of the game screen at the current moment.
而通过输入录屏键的第二按压操作,响应对录屏键的第二按压操作以生成预设录屏时长的游戏视频。By inputting the second pressing operation of the screen recording key, a game video with a preset screen recording duration is generated in response to the second pressing operation of the screen recording key.
其中,第一按压操作可以为点击操作,或者是区别于第二按压操作时长的按压操作,第二按压操作可以为长按操作,或者是区别于第一按压操作时长的按压操作。而预设录屏时长可以为终端预先设置的可录取的游戏视频的最长时长。The first pressing operation may be a click operation, or a pressing operation with a duration different from the second pressing operation, and the second pressing operation may be a long pressing operation, or a pressing operation with a duration different from the first pressing operation. The preset screen recording duration may be the longest duration of the recorded game video preset by the terminal.
需要说明的是,本实施例中游戏手柄上所包括的不同按键的设置位置并不限于图14种所示的一种设置方式,可以按照任意位置设置。另外,并不限于图14中所示出的以及本实施例中所使用到的按键,还可以包括用于实现其他多种不同功能的按键,可以根据需求适应性的增加设置。It should be noted that, in this embodiment, the setting positions of the different buttons included on the game handle are not limited to the one setting manner shown in FIG. 14 , and may be set according to any position. In addition, it is not limited to the keys shown in FIG. 14 and used in this embodiment, but may also include keys for implementing other various functions, which can be adaptively added according to requirements.
并且,本实施例仅示例性的列举了通过游戏手柄实现游戏录屏是一种实现方式,实际应用中,可根据本申请所提供的实现方式进行适当的扩展或者是调整。本申请对此不做具体限制。In addition, this embodiment only exemplarily enumerates the realization of game screen recording through a gamepad as an implementation manner. In practical applications, appropriate expansion or adjustment may be performed according to the implementation manner provided in this application. This application does not specifically limit this.
综上,本申请实施例提供的游戏录屏方法,包括:响应用户通过游戏手柄输入的时间选择操作,确定游戏的目标录屏时间段,目标录屏时间段的结束时刻为当前时刻或当前时刻之前的一历史时刻,目标录屏时间段的起始时刻为结束时刻之前的一历史时刻;响应用户针对目标录屏时间段输入的确认操作,生成目标录屏时间段的游戏视频。由于目标录屏时间段是用户根据需求进行选择,使得用户可以选择感兴趣的时间段的游戏过程进行录屏,避免了通过一键录屏时,无法获取所需的时间段的游戏视频,从而有效提高了用户的游戏录屏体验,其次,由于是根据用户需求进行游戏录屏,可以有效避免一键录屏时所录取的不必要的游戏视频对于存储空间的占用,提高了设备的空间利用率,另外,通过游戏手柄输入操作,可以提高用户的操控感以及操作的便利性。To sum up, the game screen recording method provided by the embodiments of the present application includes: in response to a time selection operation input by a user through a gamepad, determining a target screen recording time period of the game, and the end time of the target screen recording time period is the current moment or the current moment For a previous historical moment, the starting moment of the target screen recording time period is a historical moment before the end time; in response to the user's input confirmation operation for the target screen recording period, the game video of the target screen recording period is generated. Since the target screen recording time period is selected by the user according to the needs, the user can select the game process of the interested time period to record the screen, avoiding the inability to obtain the game video of the required time period when recording the screen with one button. It effectively improves the user's game screen recording experience. Secondly, because the game screen recording is performed according to the user's needs, it can effectively avoid unnecessary game videos recorded during one-click screen recording. The occupation of storage space improves the space utilization of the device In addition, input operation through the gamepad can improve the user's sense of control and the convenience of operation.
下述对用以执行本申请所提供的游戏录屏方法的装置、电子设备及存储介质等进行说明,其具体的实现过程以及技术效果参见上述,下述不再赘述。The following describes the device, electronic device, storage medium, etc. for executing the game screen recording method provided by the present application. The specific implementation process and technical effect thereof are referred to above, and will not be repeated below.
图20为本申请实施例提供的游戏录屏装置的示意图一,该游戏录屏方法装置实现的功能对应上述第一种基于触屏的录屏方法执行的步骤。该装置可以理解为显示有图形用户界面的终端,或者是终端的服务器或处理器,如图20所示,该装置可包括:确定模块2200、生成模块2201;FIG. 20 is a schematic diagram 1 of a game screen recording device provided by an embodiment of the present application. The functions implemented by the game screen recording method and device correspond to the steps performed by the above-mentioned first touch screen-based screen recording method. The apparatus may be understood as a terminal displaying a graphical user interface, or a server or processor of the terminal, as shown in FIG. 20 , the apparatus may include: a determining
确定模块2200,用于响应用户在图形用户界面上输入的时间选择操作,确定游戏的目标录屏时间段,目标录屏时间段的结束时刻为当前时刻或当前时刻之前的一历史时刻,目标录屏时间段的起始时刻为结束时刻之前的一历史时刻;The
生成模块2201,用于响应用户针对目标录屏时间段输入的确认操作,生成目标录屏时间段的游戏视频。The
可选地,该装置还包括:显示模块;Optionally, the device further includes: a display module;
显示模块,用于响应用户输入的录屏控件滑动操作,在图形用户界面上显示时间选择控件。The display module is used for responding to the sliding operation of the screen recording control input by the user, and displaying the time selection control on the graphical user interface.
可选地,确定模块2200,具体用于响应用户在时间选择控件上输入的时间选择操作,确定起始时刻和结束时刻,并在时间选择控件的预设位置显示与时间选择操作的操作时间点对应的游戏画面缩略图;将起始时刻和结束时刻之间的时间段作为目标录屏时间段。Optionally, the
可选地,确定模块2200,具体用于响应用户在时间选择控件上输入的控制杆滑动操作,控制控制杆滑动至第一时刻;响应滑动操作的结束,确定第一时刻为起始时刻;确定当前时刻为结束时刻,或者,响应用户在时间选择控件上输入的除第一时刻之外的第二时刻的选择操作,确定第二时刻为结束时刻。Optionally, the
可选地,确定模块2200,具体用于响应在第一时刻输入的长按操作,在第一时刻对应的位置生成新的控制杆;响应针对新的控制杆输入的滑动操作,控制新的控制杆移动至第二时刻;将第二时刻作为结束时刻。Optionally, the
可选地,生成模块2201,还用于响应用户在结束时刻输入的下拉操作并在下拉操作结束时的下拉距离满足预设距离时;根据目标录屏时间段的游戏画面生成游戏视频。Optionally, the
可选地,显示模块,还用于在时间选择控件上高亮显示目标录屏时间段,并显示目标录屏时间段的时长。Optionally, the display module is further configured to highlight the target screen recording time period on the time selection control, and display the duration of the target screen recording time period.
可选地,显示模块,还用于在图形用户界面上预设信息框内显示如下的至少一种信息:游戏视频保存提示信息、游戏视频的总时长、游戏视频的第一帧游戏画面。Optionally, the display module is further configured to display at least one of the following information in a preset information box on the graphical user interface: game video saving prompt information, the total duration of the game video, and the first frame of the game video.
可选地,生成模块2201,还用于响应用户由时间选择控件至游戏画面缩略图的滑动操作,生成操作时间点的游戏画面截图;Optionally, the
显示模块,还用于在图形用户界面上预设显示框内显示游戏画面截图保存提示信息以及操作时间点。The display module is further configured to display the game screen screenshot saving prompt information and the operation time point in the preset display frame on the graphical user interface.
可选地,该装置还包括:弹窗模块、分享模块;Optionally, the device further includes: a pop-up window module and a sharing module;
弹窗模块,用于响应针对游戏画面缩略图输入的点击操作,在图形用户界面上弹出分享界面,分享界面中包括至少一个待分享对象;A pop-up window module, used for responding to a click operation inputted on the thumbnail of the game screen, pops up a sharing interface on the graphical user interface, and the sharing interface includes at least one object to be shared;
分享模块,用于响应输入的目标分享对象选择操作,将游戏画面缩略图分享至目标分享对象,目标分享对象为待分享对象中的一个分享对象。The sharing module is used for responding to the input target sharing object selection operation, and sharing the thumbnail image of the game screen to the target sharing object, where the target sharing object is one of the objects to be shared.
可选地,该装置还包括:隐藏模块;Optionally, the device further includes: a hidden module;
隐藏模块,用于响应针对游戏画面缩略图输入的滑动操作,隐藏游戏画面缩略图。The hiding module is used to hide the thumbnail of the game screen in response to the sliding operation inputted for the thumbnail of the game screen.
可选地,生成模块2201,还用于响应用户输入的录屏控件点击操作,生成当前时刻的游戏画面截图;或者,响应用户输入的录屏控件长按操作,生成预设录屏时长的游戏视频。Optionally, the
图21为本申请实施例提供的游戏录屏装置的示意图二,该游戏录屏方法装置实现的功能对应上述第二种基于游戏手柄的录屏方法执行的步骤。该装置可以理解为显示有图形用户界面的终端,或者是终端的服务器或处理器,如图21所示,该装置可包括:确定模块2100、生成模块2101;FIG. 21 is a second schematic diagram of a game screen recording device provided by an embodiment of the present application. The functions implemented by the game screen recording method and device correspond to the steps performed by the above-mentioned second gamepad-based screen recording method. The apparatus may be understood as a terminal displaying a graphical user interface, or a server or processor of the terminal, as shown in FIG. 21 , the apparatus may include: a determining
确定模块2100,用于响应用户通过游戏手柄输入的时间选择操作,确定游戏的目标录屏时间段,目标录屏时间段的结束时刻为当前时刻或当前时刻之前的一历史时刻,目标录屏时间段的起始时刻为结束时刻之前的一历史时刻;The
生成模块2101,用于响应用户针对目标录屏时间段输入的确认操作,生成目标录屏时间段的游戏视频。The
可选地,游戏手柄上包括录屏键和第一摇杆;该装置还包括:显示模块;Optionally, the game handle includes a screen recording key and a first joystick; the device further includes: a display module;
显示模块,用于响应用户输入的录屏键的按压操作以及第一摇杆的第一滑动操作,在图形用户界面上显示目标窗口;目标窗口中的第一区域显示有时间选择控件,目标窗口的第二区域显示有游戏画面缩略图,第一滑动操作的滑动时长小于预设时长。The display module is used to display the target window on the graphical user interface in response to the pressing operation of the screen recording key input by the user and the first sliding operation of the first joystick; the first area in the target window displays a time selection control, and the target window The second area of displays a thumbnail of the game screen, and the sliding duration of the first sliding operation is less than the preset duration.
可选地,确定模块2100,具体用于响应用户输入的第一摇杆的第二滑动操作,确定起始时刻和结束时刻,第二滑动操作用于控制时间选择控件上的控制杆进行移动;将起始时刻和结束时刻之间的时间段作为目标录屏时间段。Optionally, the
可选地,游戏手柄上还包括:标记键;Optionally, the game handle further includes: a mark key;
确定模块2100,具体用于响应用户输入的第一摇杆的第二滑动操作,控制控制杆移动至第一时刻;响应用户在控制杆移动至第一时刻时输入的标记键的按压操作,标记第一时刻为起始时刻;响应用户输入的第一摇杆的第二滑动操作,控制控制杆移动至除第一时刻之外的第二时刻;响应用户在控制杆移动至第二时刻时输入的标记键的按压操作,标记第二时刻为结束时刻。The
可选地,游戏手柄上还包括:取消键;该装置还包括:取消模块;Optionally, the game handle further includes: a cancel key; the device further includes: a cancel module;
取消模块,用于响应用户输入的取消键的按压操作,取消对起始时刻和/或结束时刻的标记。The cancellation module is configured to cancel the marking of the start time and/or the end time in response to the pressing operation of the cancel key input by the user.
可选地,游戏画面缩略图为控制杆当前位置时间点的游戏画面缩略图。Optionally, the thumbnail of the game screen is a thumbnail of the game screen at the time point of the current position of the joystick.
可选地,游戏手柄上还包括:确认键;Optionally, the game handle further includes: a confirmation key;
生成模块2101,具体用于响应用户输入的确认键的按压操作,生成目标录屏时间段的游戏视频,同时将第一区域显示的时间选择控件替换为游戏视频保存提示信息和游戏视频的总时长。The
可选地,游戏手柄上还包括:截图键;Optionally, the game handle further includes: a screenshot key;
生成模块2101,还用于响应用户输入的截图键的按压操作,生成控制杆当前位置时间点的游戏画面截图。The
可选地,该装置还包括:弹窗模块、分享模块;Optionally, the device further includes: a pop-up window module and a sharing module;
弹窗模块,用于响应用户输入的录屏键的按压操作,在图形用户界面上弹出分享界面,分享界面中包括至少一个待分享对象;A pop-up window module, used for responding to the pressing operation of the screen recording key input by the user, pops up a sharing interface on the graphical user interface, and the sharing interface includes at least one object to be shared;
分享模块,用于响应用户输入的第一摇杆的第三滑动操作,选择目标分享对象,目标分享对象为待分享对象中的一个分享对象;响应用户输入的确认键的按压操作,将游戏视频或游戏画面截图分享至目标分享对象。The sharing module is used to select the target sharing object in response to the third sliding operation of the first joystick input by the user, and the target sharing object is a sharing object among the objects to be shared; in response to the pressing operation of the confirmation key input by the user, the game video Or a screenshot of the game screen to share with the target audience.
可选地,生成模块2101,还用于响应用户输入的录屏键的第一按压操作,生成当前时刻的游戏画面截图,第一按压操作的按压时长小于第一预设时长;或者,响应用户输入的录屏键的第二按压操作,生成预设录屏时长的游戏视频,第二按压操作的按压时长大于第二预设时长。Optionally, the
上述装置用于执行前述实施例提供的方法,其实现原理和技术效果类似,在此不再赘述。The foregoing apparatus is used to execute the method provided by the foregoing embodiment, and the implementation principle and technical effect thereof are similar, which will not be repeated here.
以上这些模块可以是被配置成实施以上方法的一个或多个集成电路,例如:一个或多个特定集成电路(Application Specific Integrated Circuit,简称ASIC),或,一个或多个微处理器(digital singnal processor,简称DSP),或,一个或者多个现场可编程门阵列(Field Programmable Gate Array,简称FPGA)等。再如,当以上某个模块通过处理元件调度程序代码的形式实现时,该处理元件可以是通用处理器,例如中央处理器(CentralProcessing Unit,简称CPU)或其它可以调用程序代码的处理器。再如,这些模块可以集成在一起,以片上系统(system-on-a-chip,简称SOC)的形式实现。The above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more specific integrated circuits (Application Specific Integrated Circuit, ASIC for short), or one or more microprocessors (digital singnal) processor, DSP for short), or one or more Field Programmable Gate Array (Field Programmable Gate Array, FPGA for short), etc. For another example, when one of the above modules is implemented in the form of a processing element scheduling program code, the processing element may be a general-purpose processor, such as a central processing unit (Central Processing Unit, CPU for short) or other processors that can call program codes. For another example, these modules can be integrated together and implemented in the form of a system-on-a-chip (SOC for short).
上述模块可以经由有线连接或无线连接彼此连接或通信。有线连接可以包括金属线缆、光缆、混合线缆等,或其任意组合。无线连接可以包括通过LAN、WAN、蓝牙、ZigBee、或NFC等形式的连接,或其任意组合。两个或更多个模块可以组合为单个模块,并且任何一个模块可以分成两个或更多个单元。所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统和装置的具体工作过程,可以参考方法实施例中的对应过程,本申请中不再赘述。The modules described above may be connected or communicate with each other via wired or wireless connections. Wired connections may include metallic cables, fiber optic cables, hybrid cables, etc., or any combination thereof. Wireless connections may include connections via LAN, WAN, Bluetooth, ZigBee, or NFC, among others, or any combination thereof. Two or more modules can be combined into a single module, and any one module can be divided into two or more units. Those skilled in the art can clearly understand that, for the convenience and brevity of description, for the specific working process of the system and device described above, reference may be made to the corresponding process in the method embodiment, which is not repeated in this application.
需要说明的是,以上这些模块可以是被配置成实施以上方法的一个或多个集成电路,例如:一个或多个特定集成电路(Application Specific Integrated Circuit,简称ASIC),或,一个或多个微处理器(Digital Singnal Processor,简称DSP),或,一个或者多个现场可编程门阵列(Field Programmable Gate Array,简称FPGA)等。再如,当以上某个模块通过处理元件调度程序代码的形式实现时,该处理元件可以是通用处理器,例如中央处理器(Central Processing Unit,简称CPU)或其它可以调用程序代码的处理器。再如,这些模块可以集成在一起,以片上系统(System-on-a-chip,简称SOC)的形式实现。It should be noted that the above modules may be one or more integrated circuits configured to implement the above method, for example: one or more specific integrated circuits (Application Specific Integrated Circuit, ASIC for short), or one or more microcomputers A processor (Digital Singnal Processor, DSP for short), or one or more Field Programmable Gate Array (Field Programmable Gate Array, FPGA for short), etc. For another example, when one of the above modules is implemented in the form of processing element scheduling program code, the processing element may be a general-purpose processor, such as a central processing unit (Central Processing Unit, CPU for short) or other processors that can call program codes. For another example, these modules can be integrated together and implemented in the form of a system-on-a-chip (SOC for short).
图22为本申请实施例提供的电子设备的结构示意图,该设备可以是具备数据处理功能的计算设备。FIG. 22 is a schematic structural diagram of an electronic device provided by an embodiment of the present application, where the device may be a computing device with a data processing function.
该设备可包括:处理器801、存储器802。The device may include: a
存储器802用于存储程序,处理器801调用存储器802存储的程序,以执行上述方法实施例。具体实现方式和技术效果类似,这里不再赘述。The
其中,存储器802存储有程序代码,当程序代码被处理器801执行时,使得处理器801执行本说明书上述“示例性方法”部分中描述的根据本申请各种示例性实施方式的游戏录屏方法中的各种步骤。The
处理器801可以是通用处理器,例如中央处理器(CPU)、数字信号处理器(DigitalSignal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件,可以实现或者执行本申请实施例中公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。The
存储器802作为一种非易失性计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序以及模块。存储器可以包括至少一种类型的存储介质,例如可以包括闪存、硬盘、多媒体卡、卡型存储器、随机访问存储器(Random Access Memory,RAM)、静态随机访问存储器(Static Random Access Memory,SRAM)、可编程只读存储器(Programmable Read Only Memory,PROM)、只读存储器(Read Only Memory,ROM)、带电可擦除可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,EEPROM)、磁性存储器、磁盘、光盘等等。存储器是能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。本申请实施例中的存储器802还可以是电路或者其它任意能够实现存储功能的装置,用于存储程序指令和/或数据。As a non-volatile computer-readable storage medium, the
可选地,本申请还提供一种程序产品,例如计算机可读存储介质,包括程序,该程序在被处理器执行时用于执行上述方法实施例。Optionally, the present application further provides a program product, such as a computer-readable storage medium, including a program, which is used to execute the foregoing method embodiments when executed by a processor.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware, or may be implemented in the form of hardware plus software functional units.
上述以软件功能单元的形式实现的集成的单元,可以存储在一个计算机可读取存储介质中。上述软件功能单元存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(英文:processor)执行本申请各个实施例所述方法的部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(英文:Read-Only Memory,简称:ROM)、随机存取存储器(英文:Random Access Memory,简称:RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The above-mentioned integrated units implemented in the form of software functional units can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (English: processor) to execute the various embodiments of the present application. part of the method. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (English: Read-Only Memory, referred to as: ROM), random access memory (English: Random Access Memory, referred to as: RAM), magnetic disk or optical disk, etc. Various media that can store program code.
Claims (26)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202011524069.6A CN112619166B (en) | 2020-12-21 | 2020-12-21 | Game screen recording method, device, electronic device and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202011524069.6A CN112619166B (en) | 2020-12-21 | 2020-12-21 | Game screen recording method, device, electronic device and storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN112619166A true CN112619166A (en) | 2021-04-09 |
| CN112619166B CN112619166B (en) | 2025-02-14 |
Family
ID=75320580
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202011524069.6A Active CN112619166B (en) | 2020-12-21 | 2020-12-21 | Game screen recording method, device, electronic device and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN112619166B (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114007123A (en) * | 2021-12-30 | 2022-02-01 | 北京搜狐新动力信息技术有限公司 | Video recording method and device and electronic equipment |
| CN114095776A (en) * | 2021-10-18 | 2022-02-25 | 荣耀终端有限公司 | Screen recording method and electronic device |
Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2012061177A (en) * | 2010-09-16 | 2012-03-29 | Konami Digital Entertainment Co Ltd | Game device, information processor, game control method, information processing method, and program |
| CN104811787A (en) * | 2014-10-27 | 2015-07-29 | 深圳市腾讯计算机系统有限公司 | Game video recording method and game video recording device |
| US20170282071A1 (en) * | 2014-12-18 | 2017-10-05 | Cygames, Inc. | Information processing program and information processing method |
| CN109952757A (en) * | 2017-08-24 | 2019-06-28 | 腾讯科技(深圳)有限公司 | Method, terminal device and storage medium based on virtual reality applications recorded video |
| CN109976639A (en) * | 2019-03-28 | 2019-07-05 | 努比亚技术有限公司 | Record screen control method, mobile terminal and computer readable storage medium |
| CN111726525A (en) * | 2020-06-19 | 2020-09-29 | 维沃移动通信有限公司 | Video recording method, device, electronic device and storage medium |
| CN111901695A (en) * | 2020-07-09 | 2020-11-06 | 腾讯科技(深圳)有限公司 | Video content interception method, device and equipment and computer storage medium |
| CN113596598A (en) * | 2021-07-22 | 2021-11-02 | 网易(杭州)网络有限公司 | Game information processing method, device, equipment and storage medium |
-
2020
- 2020-12-21 CN CN202011524069.6A patent/CN112619166B/en active Active
Patent Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2012061177A (en) * | 2010-09-16 | 2012-03-29 | Konami Digital Entertainment Co Ltd | Game device, information processor, game control method, information processing method, and program |
| CN104811787A (en) * | 2014-10-27 | 2015-07-29 | 深圳市腾讯计算机系统有限公司 | Game video recording method and game video recording device |
| US20170282071A1 (en) * | 2014-12-18 | 2017-10-05 | Cygames, Inc. | Information processing program and information processing method |
| CN109952757A (en) * | 2017-08-24 | 2019-06-28 | 腾讯科技(深圳)有限公司 | Method, terminal device and storage medium based on virtual reality applications recorded video |
| CN109976639A (en) * | 2019-03-28 | 2019-07-05 | 努比亚技术有限公司 | Record screen control method, mobile terminal and computer readable storage medium |
| CN111726525A (en) * | 2020-06-19 | 2020-09-29 | 维沃移动通信有限公司 | Video recording method, device, electronic device and storage medium |
| CN111901695A (en) * | 2020-07-09 | 2020-11-06 | 腾讯科技(深圳)有限公司 | Video content interception method, device and equipment and computer storage medium |
| CN113596598A (en) * | 2021-07-22 | 2021-11-02 | 网易(杭州)网络有限公司 | Game information processing method, device, equipment and storage medium |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114095776A (en) * | 2021-10-18 | 2022-02-25 | 荣耀终端有限公司 | Screen recording method and electronic device |
| CN114007123A (en) * | 2021-12-30 | 2022-02-01 | 北京搜狐新动力信息技术有限公司 | Video recording method and device and electronic equipment |
Also Published As
| Publication number | Publication date |
|---|---|
| CN112619166B (en) | 2025-02-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11635869B2 (en) | Display device and method of controlling the same | |
| US11899903B2 (en) | Display device and method of controlling the same | |
| US12299273B2 (en) | User interfaces for viewing and accessing content on an electronic device | |
| US12333137B2 (en) | Configuration of application execution spaces and sub-spaces for sharing data on a mobile touch screen device | |
| US12114094B2 (en) | Video processing method, apparatus, and device and storage medium | |
| JP6886939B2 (en) | Information processing device control method, control program and information processing device | |
| CN102693260A (en) | Causing display of comments associated with an object | |
| CN106919301B (en) | Wallpaper preview method and system and wallpaper replacement method and system | |
| JP7537691B2 (en) | Method and device for adjusting the position of an operation control, terminal, and computer program | |
| KR20130064458A (en) | Display apparatus for displaying screen divided by a plurallity of area and method thereof | |
| JP6004756B2 (en) | Display control apparatus and control method thereof | |
| US20100188351A1 (en) | Apparatus and method for playing of multimedia item | |
| JP2014241026A (en) | Display controller, display control method and program | |
| CN112619166A (en) | Game screen recording method and device, electronic equipment and storage medium | |
| CN117462955A (en) | Game editing method, device and electronic device | |
| JP6209868B2 (en) | Information terminal, information processing program, information processing system, and information processing method | |
| CN115460448A (en) | Media resource editing method and device, electronic equipment and storage medium | |
| JP7152023B2 (en) | animation editing program | |
| KR102678963B1 (en) | Method and system for exposing online advertisements | |
| US8972877B2 (en) | Information processing device for displaying control panel image and information image on a display | |
| WO2023165363A1 (en) | Short video playback method and apparatus, and electronic device | |
| CN113961860A (en) | User information display method and device, storage medium and electronic equipment | |
| JP7692392B2 (en) | Information processing system, information processing method, and program | |
| CN118967993A (en) | Method, device, storage medium and electronic device for selecting virtual three-dimensional model | |
| CN114849230A (en) | Virtual object layout-based method and device, computer equipment and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |