WO2020094089A1 - 视频画面调整方法、装置、计算机设备和存储介质 - Google Patents

视频画面调整方法、装置、计算机设备和存储介质 Download PDF

Info

Publication number
WO2020094089A1
WO2020094089A1 PCT/CN2019/116204 CN2019116204W WO2020094089A1 WO 2020094089 A1 WO2020094089 A1 WO 2020094089A1 CN 2019116204 W CN2019116204 W CN 2019116204W WO 2020094089 A1 WO2020094089 A1 WO 2020094089A1
Authority
WO
WIPO (PCT)
Prior art keywords
video
aspect ratio
picture
reference video
comparison result
Prior art date
Application number
PCT/CN2019/116204
Other languages
English (en)
French (fr)
Inventor
崔昊
Original Assignee
北京字节跳动网络技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京字节跳动网络技术有限公司 filed Critical 北京字节跳动网络技术有限公司
Priority to KR1020207031670A priority Critical patent/KR102490938B1/ko
Priority to EP19881540.9A priority patent/EP3783904A4/en
Priority to BR112020023745-0A priority patent/BR112020023745A2/pt
Priority to JP2021510521A priority patent/JP7125545B2/ja
Publication of WO2020094089A1 publication Critical patent/WO2020094089A1/zh
Priority to US17/018,212 priority patent/US11144201B2/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • H04N21/4316Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations for displaying supplemental content in a region of the screen, e.g. an advertisement in a separate window
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440263Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by altering the spatial resolution, e.g. for displaying on a connected PDA
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/462Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
    • H04N21/4621Controlling the complexity of the content stream or additional data, e.g. lowering the resolution or bit-rate of the video stream for a mobile client with a small screen
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/485End-user interface for client configuration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/485End-user interface for client configuration
    • H04N21/4854End-user interface for client configuration for modifying image parameters, e.g. image brightness, contrast
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04803Split screen, i.e. subdividing the display area or the window area into separate subareas

Definitions

  • the present disclosure relates to the field of video technology, for example, to a video picture adjustment method, device, computer equipment, and storage medium.
  • users have the need to record video on the screen and also play the reference video that the user is interested in.
  • the reference video and recorded video may have different recording devices or recording methods, resulting in inconsistent video display ratios.
  • Embodiments of the present disclosure provide a video image adjustment method, apparatus, computer equipment, and storage medium that make a composite video recorded in a split screen display with good display effect.
  • an embodiment of the present disclosure provides a video picture adjustment method, and the method includes:
  • an embodiment of the present disclosure provides a video picture adjustment device, the device including:
  • the first comparison module is configured to compare the first aspect ratio of the picture of the reference video with the preset aspect ratio to obtain a first comparison result; the human eye comfort parameters corresponding to the preset aspect ratio are optimal;
  • the video picture adjustment module is set to adjust the picture size of the reference video according to the picture size of the recorded video and the first comparison result; Two views.
  • an embodiment of the present disclosure provides a computer device including a memory and a processor, where the memory stores a computer program, and the processor implements the computer program to implement the following steps:
  • an embodiment of the present disclosure provides a computer-readable storage medium that stores a computer program on the computer-readable storage medium.
  • the computer program is executed by a processor, the following steps are implemented:
  • FIG. 1 is an application environment diagram of a video picture adjustment method in an embodiment
  • FIG. 2 is a schematic flowchart of a video image adjustment method in an embodiment
  • FIG. 3 is a schematic diagram of a display interface of a terminal device in an embodiment
  • FIG. 4 is a schematic flowchart of a video image adjustment method in another embodiment
  • FIG. 5a is one of the schematic diagrams of the video image adjustment method in an embodiment
  • 5b is a second schematic diagram of a video image adjustment method in an embodiment
  • 5c is a third schematic diagram of a video image adjustment method in an embodiment
  • FIG. 6a is one of the schematic diagrams of the video image adjustment method in another embodiment
  • 6b is a second schematic diagram of a video image adjustment method in another embodiment
  • 6c is a third schematic diagram of a video image adjustment method in another embodiment
  • 7b is a second schematic diagram of a video image adjustment method in another embodiment
  • 7c is a third schematic diagram of a video image adjustment method in another embodiment.
  • FIG. 8a is one of the schematic diagrams of the video image adjustment method in still another embodiment
  • 8b is a second schematic diagram of a video image adjustment method in still another embodiment
  • 8c is a third schematic diagram of a video image adjustment method in still another embodiment
  • 9a is a schematic diagram of a video image adjustment method in still another embodiment.
  • 9b is a second schematic diagram of a video image adjustment method in still another embodiment.
  • 9c is a third schematic diagram of a video image adjustment method in still another embodiment.
  • FIG. 10 is a structural block diagram of a video picture adjustment device in an embodiment
  • FIG. 11 is a structural block diagram of a video picture adjustment device in another embodiment
  • FIG. 12 is a structural block diagram of a video picture adjustment device in still another embodiment
  • FIG. 13 is an internal structure diagram of a computer device in an embodiment.
  • the video generation method provided by the embodiments of the present disclosure may be applied to various types of terminal devices, but may not be limited to various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices.
  • the terminal device 10 may include a processor 11, a memory 12, a system bus 13, a display screen 14, and a video recording device 15; wherein, the processor 11, the memory 12, the display screen 14, and the video recording device 15 It can be connected via the system bus 13.
  • the memory 12 may include a non-volatile storage medium and / or a volatile storage medium, and may store a computer program; when the processor 11 executes the computer program, a video picture adjustment method provided by an embodiment of the present disclosure may be implemented; the display screen 14 It may be an LCD screen or an electronic ink screen, which is set to display recorded video and reference video; the video recording device 15 may be a camera, etc., which is set to record video.
  • the terminal device can also support multiple types of applications, such as applications for split-screen recording.
  • FIG. 1 is only a block diagram of a part of the structure related to the solution of the present disclosure, and does not constitute a limitation on the terminal device to which the solution of the present disclosure is applied.
  • the actual terminal device may include a ratio More or fewer components are shown in the figure, or some components are combined, or have different component arrangements.
  • a video picture adjustment method is provided. Taking the method applied to the terminal device in FIG. 1 as an example for illustration, the method may include the following steps:
  • Step 202 Compare the first aspect ratio of the picture of the reference video with the preset aspect ratio to obtain a first comparison result.
  • the above reference video is a complete video stored in the terminal device, which may be a pre-stored video, a pre-recorded video, or a video downloaded through a network, etc.
  • the human eye comfort parameter corresponding to the preset aspect ratio satisfies a preset condition, which can be understood as the human eye comfort parameter corresponding to the preset aspect ratio being optimal.
  • the optimal human eye comfort parameter can be understood as the highest comfort level to which the human eye comfort parameter belongs, that is, the aspect ratio of the pictures of different videos can correspond to different human eye comfort parameters.
  • the preset aspect ratio can be obtained by counting the user's viewing evaluation of a composite video recorded on a large number of split screens.
  • the composite video recorded on the split screen includes recorded video and reference video.
  • the aspect ratio of the recorded video in different composite videos may be different; for example, the aspect ratio of the recorded video with the highest user evaluation is used as the preset aspect ratio.
  • the preset aspect ratio may be 3: 4, 4: 5, 1: 1, 5: 4, 4: 3, 5: 3, etc., and may also be other aspect ratios.
  • the terminal device obtains a statistical parameter for the aspect ratio of the recorded video as a preset aspect ratio by counting the aspect ratio of a large number of recorded videos.
  • the statistical parameter may be an average value or a The median value can also be other statistical parameters.
  • pre-establishing the correspondence between multiple types of terminal devices and multiple preset aspect ratios may include: For one type of terminal device among multiple types of terminal devices, the The aspect ratio of the video recorded by the type of terminal device is obtained as statistical parameters, and the preset aspect ratio corresponding to the type of terminal device is determined according to the statistical parameters.
  • the preset aspect ratio can also be an empirical value, which is obtained by users or technicians through a lot of practical experience of split-screen recording.
  • the terminal device acquires the first aspect ratio of the picture of the reference video; the terminal device compares the first aspect ratio with the preset aspect ratio to obtain a first comparison result.
  • the first comparison result is that the first aspect ratio is greater than the preset aspect ratio; if the first aspect ratio is 3: 4, the preset aspect ratio is 1: 1, then the first comparison result is that the first aspect ratio is less than the preset aspect ratio.
  • acquiring the first aspect ratio of the picture of the reference video includes: acquiring the picture size of the reference video, including the picture width and the picture height, and calculating the quotient of the picture height and the picture width of the reference video, as the picture of the reference video The first aspect ratio.
  • Step 204 Adjust the picture size of the reference video according to the picture size of the recorded video and the first comparison result.
  • the reference video and the recorded video are two views displayed on a split screen on the display screen; the reference video and the recorded video can be displayed separately from left to right, and can also be displayed up and down separately.
  • the reference video and the left and right display of the recorded video are taken as examples for detailed description.
  • the reference video is displayed on the left side of the current display screen and the recorded video is displayed on the right side of the current display screen; or the reference video is displayed on the right side of the current display screen and the recorded video is displayed on the left side of the current display screen.
  • the display interface of the display screen 14 thereof may include: a picture of recorded video and a picture of reference video.
  • the terminal device 10 may compare the first aspect ratio of the picture of the reference video with the preset aspect ratio to obtain a first comparison result, and adjust the picture size of the reference video according to the picture size of the recorded video and the first comparison result.
  • the device shoots the recorded video through the video recording device 15 and displays the recorded video on the display screen 14, as shown in the recorded video screen in FIG. 3.
  • the terminal device 10 split-screen displays the recorded video on the display screen, and split-screen displays the adjusted reference video on the display screen, as shown in the reference video screen in FIG. 3.
  • the recorded video and the adjusted reference video can be synthesized to obtain the synthesized video; the terminal device 10 can save the synthesized video in the memory 12, and can also pass The communication network shares the second video data, for example, uploads it to a server of multiple video sharing websites or sends it to other terminal devices.
  • the terminal device may adjust the picture size of the reference video before recording the recorded video, or may adjust the picture size of the reference video during the recording of the recorded video.
  • the terminal device adjusts the picture size of the reference video according to the picture size of the recorded video and the first comparison result; wherein, the picture size of the recorded video is the picture size preset by the user or the default picture of the terminal device recorded video
  • the size can also be other.
  • the picture integrity of the recorded video is more demanding, so by adjusting the picture size of the reference video, the coordination of the entire video picture is improved and Ornamental effect.
  • the reference video when the first comparison result is that the first aspect ratio is less than the preset aspect ratio, that is, the aspect ratio that is optimal for human eye comfort parameters, the reference video is flatter, and is more suitable for human eye viewing. For comfort, adjust the reference video screen according to the screen size of the recorded video and the first comparison result, so that the reference video screen is completely displayed in the current display screen except the recorded video screen, and the reference video The picture is visually coordinated with the picture of the recorded video to improve the picture display quality and user viewing comfort.
  • the reference video screen when the first comparison result is that the first aspect ratio is greater than or equal to the preset aspect ratio, that is, the aspect ratio that is optimal for the human eye comfort parameter, the reference video screen is thinner and longer for human eye viewing More comfortable. At this time, adjust the picture of the reference video according to the picture size of the recorded video and the first comparison result, so that the picture of the reference video fills the area of the current display screen except the picture of the recorded video as much as possible. The picture of the screen and the picture of the recorded video are visually coordinated to improve the display quality of the picture and the user's viewing comfort.
  • the first aspect ratio of the reference video picture is compared with the preset aspect ratio to obtain a first comparison result, and the reference picture picture is adjusted according to the picture size of the recorded video and the first comparison result Size, and because the preset aspect ratio corresponds to the optimal human eye comfort parameters, in the composite video adjusted according to the preset aspect ratio, the recorded video picture and reference video displayed on the display screen are split The picture is visually coordinated, which improves the picture display quality and user viewing comfort.
  • a video picture adjustment method is provided, which may include the following steps:
  • Step 402 Compare the first aspect ratio of the picture of the reference video with the preset aspect ratio to obtain a first comparison result.
  • step 402 the human eye comfort parameter corresponding to the preset aspect ratio satisfies the preset condition.
  • step 402 refer to the above step 202, which will not be repeated here.
  • Step 404 Perform proportional scaling on the screen size of the reference video according to the screen size of the recorded video and the first comparison result to obtain the scaled reference video.
  • the picture size of the reference video after scaling is adapted to the picture size of the recorded video.
  • the proportional zoom processing refers to the overall zooming of the reference video picture, the zoom ratio of the picture height is the same as the zoom ratio of the picture height, to avoid the distortion of the picture of the reference video, which leads to the degradation of display quality.
  • the picture size of the scaled reference video matches the picture size of the recorded video means that the picture size of the scaled reference video is the same as the picture size of the recorded video, or the picture size of the scaled reference video It is similar to the screen size of the recorded video, or the screen size of the scaled reference video is the same as or similar to the screen size of the recorded video in one dimension, where one dimension can be the screen width or the screen height.
  • the picture size of the scaled reference video is similar to the picture size of the recorded video, which may be (1)
  • the picture width in the picture size of the reference video is equal to the picture width in the picture size of the recorded video, and the reference video ’s
  • the difference between the picture height in the picture size and the picture height in the picture size of the recorded video is less than the preset height threshold; or (2) the picture height in the picture size of the reference video and the picture height in the picture size of the recorded video Equal, and the difference between the picture width in the picture size of the reference video and the picture width in the picture size of the recorded video is less than the preset width threshold; it can also be (3) the picture height in the picture size of the reference video and the recorded video
  • the difference in the picture height in the picture size is less than the preset height threshold, and the difference in the picture width in the picture size of the reference video and the picture width in the picture size of the recorded video is less than the preset width threshold.
  • the preset width threshold may be a percentage of the picture width in the picture size of the
  • the picture size of the scaled reference video is adapted to the picture size of the recorded video, and the picture size of the two views displayed on the display screen for the reference video and the recorded video may be the same, and the two The two views closely fit, that is, there is no reserved area at the junction of the two views; for example, the reserved area may be a black border.
  • performing a proportional scaling process on the picture size of the reference video to obtain the scaled reference video may include: if the first comparison result is the first height and width If the ratio is less than the preset aspect ratio, the terminal device performs proportional scaling on the picture size of the reference video according to the picture width in the picture size of the recorded video to obtain the scaled reference video.
  • the scaled reference video and the recorded video occupy the same screen width on the display screen.
  • performing a proportional scaling process on the screen size of the reference video may include: calculating the screen width in the screen size of the reference video and the screen size in the recorded video The width ratio of the picture width is proportionally scaled according to the width ratio.
  • FIG. 5a it is shown that when the first aspect ratio is 5: 4, the preset aspect ratio is 4: 3, and the second aspect ratio of the recorded video picture is 16: 9, Schematic diagram of the recorded video displayed on the display screen, at this time the first aspect ratio is less than the preset aspect ratio;
  • FIG. 5b it shows that the reference video frame size is based on the screen width in the screen size of the recorded video Compared with the schematic diagram of the reference video after the zooming process, the scaled reference video and the recorded video occupy the same screen width on the display screen, and the upper and lower parts of the screen of the zoomed reference video include black borders; A schematic diagram of the zoomed reference video and recorded video displayed on the display screen is shown.
  • FIG. 6a it shows that when the first aspect ratio is 1: 1, the preset aspect ratio is 4: 3, and the second aspect ratio of the recorded video picture is 8: 7, Schematic diagram of the recorded video displayed on the display screen, at this time the first aspect ratio is less than the preset aspect ratio;
  • FIG. 6b it shows that the reference video frame size is based on the screen width in the screen size of the recorded video Compared with the schematic diagram of the reference video after zooming, the reference video after zooming and the recorded video occupy the same screen width on the display screen, and the upper and lower parts of the screen of the reference video after zooming include black borders; A schematic diagram of the zoomed reference video and recorded video displayed on the display screen is shown.
  • the upper and / or lower part of the scaled reference video picture includes a reserved area.
  • the terminal device can adjust the relative display position of the reference video relative to the recorded video according to user instructions or preset instructions, so when the relative display position is on the upper side, the upper part of the screen of the reference video after zooming may include a reserved area, and the lower part may not include Reserved area; when the relative display position is down, the lower part of the screen of the zoomed reference video may include the reserved area, and the upper part does not include the reserved area; when the relative display position is in the middle, the zoomed reference video
  • the upper part of the screen may include a reserved area, and the lower part may also include a reserved area.
  • the video picture adjustment method may further include: the terminal device will record the picture of the video The second aspect ratio is compared with the first aspect ratio to obtain a second comparison result.
  • the step "according to the screen size of the recorded video and the first comparison result, perform a proportional scaling process on the screen size of the reference video to obtain a scaled reference video" may include: according to the screen size of the recorded video, the first The comparison result and the second comparison result perform a proportional scaling process on the picture size of the reference video to obtain the scaled reference video.
  • the terminal device obtains a second aspect ratio of the picture size of the recorded video, compares the second aspect ratio with the preset aspect ratio, and obtains a second comparison result.
  • the second aspect ratio is 1: 1 and the preset aspect ratio is 3: 4
  • the second comparison result is that the second aspect ratio is greater than the preset aspect ratio
  • the second aspect ratio is 5: 4
  • the preset aspect ratio is 4: 3
  • the second comparison result is that the second aspect ratio is less than the preset aspect ratio.
  • obtaining the second aspect ratio of the recorded video picture includes: obtaining the picture size of the recorded video, including the picture width and the picture height, and calculating the quotient of the picture height and the picture width of the recorded video as the picture of the recorded video The second aspect ratio.
  • the picture size of the reference video is scaled proportionally to obtain the scaled reference video, which may include: If the first aspect ratio is greater than or equal to the preset aspect ratio, and the second comparison result is that the first aspect ratio is greater than the second aspect ratio, then according to the width in the screen size of the recorded video, the frame size of the reference video Perform proportional scaling to obtain the scaled reference video, and crop the scaled reference video according to the height in the screen size of the recorded video and the preset cropping rules; the scaled reference video and the recorded video are displayed on the display screen.
  • the screen width is equal.
  • cropping the scaled reference video according to the height in the screen size of the recorded video and the preset cropping rules may include: cutting out the scaled height of the scaled reference video according to the height in the screen size of the recorded video part. It can be understood that, for the portion exceeding the height, the two ends in the height direction in the picture of the reference video may be cropped, or only one end may be cropped.
  • FIG. 7a it is shown that when the first aspect ratio is 2: 1, the preset aspect ratio is 4: 3, and the second aspect ratio of the recorded video picture is 16: 9, A schematic diagram of the recorded video displayed on the display screen, at this time the first aspect ratio is greater than the preset aspect ratio, and the first aspect ratio is greater than the second aspect ratio; referring to FIG.
  • FIG. 8a it is shown that when the first aspect ratio is 4: 3, the preset aspect ratio is 4: 3, and the second aspect ratio of the recorded video picture is 8: 7, Schematic diagram of the recorded video displayed on the display screen.
  • the first aspect ratio is equal to the preset aspect ratio, and the first aspect ratio is greater than the second aspect ratio;
  • FIG. 8b the screen according to the recorded video is shown.
  • the picture width in the size scales the picture size of the reference video proportionally, and the clipped reference video is clipped according to the picture height in the picture size of the recorded video; refer to Figure 8c for scaling and clipping
  • the picture size of the reference video is scaled proportionally to obtain the scaled reference video, which may include: If the first aspect ratio is greater than or equal to the preset aspect ratio, and the second comparison result is that the first aspect ratio is less than the second aspect ratio, then according to the height in the picture size of the recorded video, the picture size of the reference video Perform proportional scaling to obtain the scaled reference video, and crop the scaled reference video according to the width in the screen size of the recorded video and the preset cropping rules; the scaled reference video and the recorded video are displayed on the display screen. The screen height is equal.
  • cropping the scaled reference video according to the width in the screen size of the recorded video and the preset cropping rules may include: cropping the scaled reference video beyond the width according to the width in the screen size of the recorded video part. It can be understood that, for the portion exceeding the width, the width of the reference video may be cropped from both ends in the width direction, or only one end may be cropped.
  • performing a proportional scaling process on the picture size of the reference video may include: calculating the picture height in the picture size of the reference video and the picture in the picture size of the recorded video The height-to-height ratio, according to the height ratio, performs a proportional scaling process on the picture size of the reference video.
  • FIG. 9a it is shown that when the first aspect ratio is 4: 3, the preset aspect ratio is 4: 3, and the second aspect ratio of the recorded video picture is 16: 9, Schematic diagram of the recorded video displayed on the display screen.
  • the first aspect ratio is equal to the preset aspect ratio, and the first aspect ratio is less than the second aspect ratio;
  • FIG. 9b the screen according to the recorded video is shown.
  • the picture height in the size scales the picture size of the reference video in proportion, and the schematic view of the zoomed reference video according to the picture width in the picture size of the recorded video.
  • Figure 9c for scaling and clipping.
  • the schematic diagram of the processed reference video and the recorded video displayed on the display screen, the two occupy the same screen size when displayed on the display screen.
  • performing a proportional scaling process on the picture size of the reference video to obtain the scaled reference video may include: if the first comparison result If the first aspect ratio is greater than or equal to the preset aspect ratio, and the second comparison result is that the first aspect ratio is equal to the second aspect ratio, then according to the width or height in the picture size of the recorded video, the reference video The picture size is scaled proportionally to obtain the scaled reference video; the scaled reference video and the recorded video occupy the same screen size on the display screen.
  • the preset cropping rules include uniform cropping rules, alignment cropping rules, identifying person cropping rules or cropping rules generated according to user instructions.
  • the target area of the zoomed reference video screen can be identified by the screen size of the recorded video and / or preset image recognition technology, and then the target area can be cropped according to the cropping rules.
  • the uniform cropping rule can be obtained by obtaining the position coordinates of the target area, and performing proportional scaling on the four positions of the upper, lower, left, and right positions of the target area; the left and right aligned cropping can be performed by aligning the target area with left or right alignment The way to cut off the extra area; Identifying the character can be done by recognizing the key point coordinates of the target person, and cutting other regions than the key point of the target person; the cutting rules generated according to the user instructions can be selected in real time according to the user instructions The cutting rule is cut corresponding to the instruction. For example, when the user instruction is the first instruction, the uniform cutting rule may be selected.
  • the first aspect ratio of the reference video picture is compared with the preset aspect ratio to obtain a first comparison result, and according to the picture size of the recorded video and the first comparison result, the reference video picture
  • the size is scaled proportionally to obtain the scaled reference video, so that the scaled reference video is adapted to the screen size of the recorded video, and because the preset aspect ratio corresponds to the optimal human eye comfort parameter, it is displayed in
  • the screen of the recorded video and the screen of the reference video displayed on the split screen on the screen are visually coordinated, which improves the display quality of the screen and the user's viewing comfort, and at the same time avoids the distortion of the screen of the reference video during the adjustment process, resulting in a reduction in display quality
  • the problem is compared with the preset aspect ratio to obtain a first comparison result, and according to the picture size of the recorded video and the first comparison result, the reference video picture
  • the size is scaled proportionally to obtain the scaled reference video, so that the scaled reference video is adapted to the screen size of the recorded video,
  • a video picture adjustment method provided may further include: in the process of recording a recorded video, synthesizing the adjusted reference video and the recorded video into a target video. That is to say, in the process of recording the recorded video, the video frame of the adjusted reference video and the already recorded video frame in the recorded video are synthesized to generate the video frame of the target video. It can be understood that the video frames of the set of reference videos and the video frames of the recorded video that are synthesized have the same time stamp when played on the current display screen. In this embodiment, because the recording video and the reference video are synthesized during the recording process, it is more efficient than synthesizing the video after the recording is completed.
  • FIGS. 2 and 4 may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but may be executed at different times. These sub-steps or The execution order of the stages is not necessarily sequential, but may be executed in turn or alternately with other steps or sub-steps of the other steps or at least a part of the stages.
  • a video picture adjustment device 1000 which may include: a first comparison module 1001 and a video picture adjustment module 1002, wherein:
  • the first comparison module 1001 is configured to compare the first aspect ratio of the picture of the reference video with the preset aspect ratio to obtain a first comparison result; the human eye comfort parameters corresponding to the preset aspect ratio meet the preset conditions;
  • the video picture adjustment module 1002 is set to adjust the picture size of the reference video according to the picture size of the recorded video and the first comparison result; wherein, the reference video and the recorded video are two views displayed on a split screen on the display screen.
  • the video picture adjustment module 1002 may include a first video picture adjustment unit 10021, wherein: the first video picture adjustment unit 10021 is set according to the picture size of the recorded video and the first comparison result , Perform proportional scaling on the picture size of the reference video to obtain the scaled reference video; wherein the picture size of the scaled reference video is adapted to the picture size of the recorded video.
  • the first video picture adjustment unit 10021 is configured to, if the first comparison result is that the first aspect ratio is less than the preset aspect ratio, according to the picture width in the picture size of the recorded video, the reference video The picture size is scaled proportionally to obtain the scaled reference video; the scaled reference video and the recorded video occupy the same screen width on the display screen.
  • the upper and / or lower part of the scaled reference video picture includes a reserved area.
  • the video picture adjustment device 1000 may further include a second comparison module 1003, wherein: the second comparison module 1003 is configured to set the second aspect ratio of the picture of the recorded video to the first The aspect ratio is compared to obtain the second comparison result.
  • the video picture adjustment module 1002 may include a second video picture adjustment unit 10022, wherein: the second video picture adjustment unit 10022 is set according to the picture size of the recorded video, the first comparison result, and the second comparison result, Perform proportional scaling on the picture size of the reference video to obtain the scaled reference video.
  • the second video picture adjustment unit 10022 is set if the first comparison result is that the first aspect ratio is greater than or equal to the preset aspect ratio, and the second comparison result is that the first aspect ratio is greater than the second aspect ratio Ratio, according to the width of the screen size of the recorded video, the screen size of the reference video is scaled proportionally to obtain the scaled reference video, and the scale is scaled according to the height of the screen size of the recorded video and the preset cropping rules The reference video is cropped; the scaled reference video and the recorded video occupy the same screen width on the display screen.
  • the second video picture adjustment unit 10022 is configured to set the first aspect ratio to be greater than or equal to the preset aspect ratio if the first comparison result is greater than or equal to the preset aspect ratio, and the second comparison result to be the first aspect ratio less than the second aspect ratio Ratio, according to the height in the picture size of the recorded video, the picture size of the reference video is scaled proportionally to obtain the scaled reference video, and the picture is scaled according to the width in the picture size of the recorded video and the preset cropping rules The reference video is cropped; the scaled reference video and the recorded video occupy the same screen height on the display screen.
  • the preset cropping rules include uniform cropping rules, alignment cropping rules, identifying character cropping rules or cropping rules generated according to user instructions.
  • the video picture adjustment apparatus 1000 may further include: a device type acquisition module and a preset aspect ratio acquisition module, wherein: the device type acquisition module is set to acquire the type of the current terminal device; the preset aspect ratio acquisition module, It is set to acquire the preset aspect ratio corresponding to the type of the current terminal device according to the pre-established correspondence between multiple types of terminal devices and multiple preset aspect ratios.
  • the video picture adjustment device 1000 may further include a video synthesis module 1004, wherein: the video synthesis module 1004 is configured to synthesize the adjusted reference video and the recorded video during the recording of the recorded video Is the target video.
  • the first aspect ratio of the picture of the reference video is compared with the preset aspect ratio to obtain a first comparison result, and the picture of the reference video is adjusted according to the picture size of the recorded video and the first comparison result Size, and because the preset aspect ratio corresponds to the best human eye comfort parameters, the recorded video screen and the reference video screen displayed on the split screen on the display screen are visually coordinated, improving the display quality and user viewing Comfort.
  • the multiple modules in the above video picture adjustment device may be implemented in whole or in part by software, hardware, or a combination thereof.
  • the above-mentioned multiple modules may be embedded in the form of hardware or independent of the processor in the computer device, or may be stored in the form of software in the memory of the computer device, so that the processor can call and execute the operations corresponding to the above-mentioned multiple modules.
  • a computer device is provided.
  • the computer device may be a terminal, and an internal structure diagram thereof may be as shown in FIG. 13.
  • the computer equipment includes a processor, a memory, a network interface, a display screen, an input device, and a video recording device connected through a system bus.
  • the processor of the computer device is set to provide computing and control capabilities.
  • the memory of the computer device includes a non-volatile storage medium and an internal memory.
  • the non-volatile storage medium stores an operating system and computer programs.
  • the internal memory provides an environment for the operating system and computer programs in the non-volatile storage medium.
  • the network interface of the computer device is set to communicate with an external terminal through a network connection.
  • the computer program is executed by the processor to implement the video image adjustment method described in any embodiment of the present disclosure.
  • the display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen
  • the input device of the computer device may be a touch layer covered on the display screen, or may be a button, a trackball or a touchpad provided on the computer device housing , Can also be an external keyboard, touchpad or mouse.
  • the video recording device of the computer device may be a camera, which is set to record video.
  • FIG. 13 is only a block diagram of a part of the structure related to the disclosed solution, and does not constitute a limitation on the above-described computer equipment to which the disclosed solution is applied.
  • the actual computer equipment may include More or fewer components are shown in the figure, or some components are combined, or have different component arrangements.
  • a computer device which includes a memory and a processor, and a computer program is stored in the memory, and the processor implements the following steps when the computer program is executed: the first aspect ratio and the pre Set the aspect ratio for comparison to get the first comparison result; the human eye comfort parameters corresponding to the preset aspect ratio meet the preset conditions; adjust the picture size of the reference video according to the picture size of the recorded video and the first comparison result; where, The reference video and the recorded video are two views displayed on a split screen on the display screen.
  • the processor also implements the following steps when executing the computer program: according to the screen size of the recorded video and the first comparison result, perform a proportional scaling process on the screen size of the reference video to obtain the scaled reference video; wherein, The picture size of the scaled reference video is adapted to the picture size of the recorded video.
  • the processor also implements the following steps when executing the computer program: If the first comparison result is that the first aspect ratio is less than the preset aspect ratio, then according to the picture width in the picture size of the recorded video, the reference video The size of the screen is scaled proportionally to obtain the scaled reference video; the scaled reference video and the recorded video occupy the same screen width on the display screen.
  • the upper and / or lower part of the picture of the scaled reference video includes a reserved area.
  • the processor also implements the following steps when executing the computer program: comparing the second aspect ratio of the recorded video image with the first aspect ratio to obtain a second comparison result; according to the image size of the recorded video, The first comparison result and the second comparison result perform proportional scaling on the picture size of the reference video to obtain the scaled reference video.
  • the processor further implements the following steps when executing the computer program: if the first comparison result is that the first aspect ratio is greater than or equal to the preset aspect ratio, and the second comparison result is that the first aspect ratio is greater than the first Two aspect ratio, according to the width of the screen size of the recorded video, the picture size of the reference video is scaled proportionally to obtain the scaled reference video, and according to the height of the screen size of the recorded video and the preset crop Regularly crop the scaled reference video; the scaled reference video and the recorded video occupy the same screen width on the display screen.
  • the processor further implements the following steps when executing the computer program: if the first comparison result is that the first aspect ratio is greater than or equal to the preset aspect ratio, and the second comparison result is that the first aspect ratio is less than the first Two aspect ratio, according to the height of the screen size of the recorded video, the picture size of the reference video is scaled proportionally to obtain the scaled reference video, and according to the width of the screen size of the recorded video and the preset crop Regularly crop the scaled reference video; the scaled reference video and the recorded video occupy the same screen height on the display screen.
  • the preset cropping rules include uniform cropping rules, alignment cropping rules, identifying person cropping rules or cropping rules generated according to user instructions.
  • the processor also implements the following steps when executing the computer program: acquiring the type of the current terminal device; acquiring the current terminal according to the pre-established correspondence between the types of multiple terminal devices and multiple preset aspect ratios The preset aspect ratio corresponding to the type of device.
  • the processor also implements the following steps when executing the computer program: During the recording of the recorded video, the adjusted reference video and the recorded video are synthesized into the target video.
  • a computer-readable storage medium is provided on which a computer program is stored.
  • the computer program is executed by a processor, the following steps are implemented: the first aspect ratio and preset height of the picture size of the reference video will be referenced Compare the aspect ratio to get the first comparison result; the human eye comfort parameters corresponding to the preset aspect ratio meet the preset conditions; adjust the picture size of the reference video according to the picture size of the recorded video and the first comparison result; where, the reference video And the recorded video are two views displayed on the split screen.
  • the following steps are further implemented: according to the picture size of the recorded video and the first comparison result, the picture size of the reference video is scaled proportionally to obtain the scaled reference video; wherein The picture size of the reference video after scaling is adapted to the picture size of the recorded video.
  • the following steps are further implemented: if the first comparison result is that the first aspect ratio is less than the preset aspect ratio, then according to the picture width in the picture size of the recorded video, refer to the reference The picture size of the video is scaled proportionally to obtain the scaled reference video; the scaled reference video and the recorded video occupy the same screen width on the display screen.
  • the upper and / or lower part of the picture of the scaled reference video includes a reserved area.
  • the following steps are further implemented: comparing the second aspect ratio of the recorded video image with the first aspect ratio to obtain the second comparison result; according to the image size of the recorded video 1.
  • the first comparison result and the second comparison result perform proportional scaling on the picture size of the reference video to obtain the scaled reference video.
  • the following steps are further implemented: if the first comparison result is that the first aspect ratio is greater than or equal to the preset aspect ratio, and the second comparison result is that the first aspect ratio is greater than The second aspect ratio, according to the width of the picture size of the recorded video, the picture size of the reference video is scaled proportionally to obtain the scaled reference video, and according to the height of the picture size of the recorded video and the preset
  • the cropping rule crops the scaled reference video; the scaled reference video and the recorded video occupy the same screen width on the display screen.
  • the following steps are further implemented: if the first comparison result is that the first aspect ratio is greater than or equal to the preset aspect ratio, and the second comparison result is that the first aspect ratio is less than The second aspect ratio, according to the height of the screen size of the recorded video, the image size of the reference video is scaled proportionally to obtain the scaled reference video, and according to the width of the screen size of the recorded video and the preset
  • the cropping rule crops the scaled reference video; the scaled reference video and the recorded video occupy the same screen height on the display screen.
  • the preset cropping rules include uniform cropping rules, alignment cropping rules, identifying person cropping rules or cropping rules generated according to user instructions.
  • the following steps are also achieved: acquiring the type of the current terminal device; according to the pre-established correspondence between the types of multiple terminal devices and multiple preset aspect ratios, acquiring the current The preset aspect ratio corresponding to the type of terminal device.
  • the following steps are also implemented: during the recording of the recorded video, the adjusted reference video and the recorded video are synthesized into the target video.
  • any references to memory, storage, database or other media used in the various embodiments provided by the present disclosure may include non-volatile and / or volatile memory.
  • Non-volatile memory may include read-only memory (Read-Only Memory, ROM), programmable ROM (Programmable Read-Only Memory, PROM), electrically programmable ROM (Electrical Programmable Read-Only Memory, EPROM), electrically erasable In addition to programmable ROM (Electrically Erasable Programmable Read-Only Memory, EEPROM) or flash memory.
  • Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory.
  • RAM is available in many forms, such as static RAM (Static Random Access Memory, SRAM), dynamic RAM (Dynamic Random Access Memory, DRAM), synchronous DRAM (Synchronous Dynamic Random Access Memory, SDRAM), dual Data rate SDRAM (Double Data Rate Synchronous Dynamic Random Access Memory, DDRSDRAM), enhanced SDRAM (Enhanced Synchronous Dynamic Random Access Memory, ESDRAM), synchronous link DRAM (Synchlink Dynamic Random Access Access Memory, SLDRAM), direct memory bus RAM (Direct Rambus Random Access Memory (RDRAM), Direct Memory Bus Dynamic RAM (Direct Rambus Dynamic Random Access Memory, DRDRAM), and Memory Bus Dynamic RAM (Rambus Dynamic Random Access Memory, RDRAM), etc.
  • SRAM static RAM
  • DRAM Dynamic Random Access Memory
  • SDRAM synchronous DRAM
  • SDRAM dual Data rate SDRAM (Double Data Rate Synchronous Dynamic Random Access Memory, DDRSDRAM), enhanced SDRAM (Enhanced Synchronous Dynamic Random Access Memory, ESDRAM), synchronous link DRAM (Synch

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Controls And Circuits For Display Device (AREA)
  • User Interface Of Digital Computer (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

本文公开了一种视频画面调整方法、装置、计算机设备和存储介质。所述方法包括:将参考视频的画面的第一高宽比和预设高宽比进行比较,得到第一比较结果;所述预设高宽比对应的人眼舒适参数满足预设条件;根据录制视频的画面尺寸和所述第一比较结果,调整所述参考视频的画面尺寸;其中,所述参考视频和所述录制视频为显示屏幕上分屏显示的两个视图。

Description

视频画面调整方法、装置、计算机设备和存储介质
本申请要求在2018年11月08日提交中国专利局、申请号为201811324662.9的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。
技术领域
本公开涉及视频技术领域,例如涉及一种视频画面调整方法、装置、计算机设备和存储介质。
背景技术
随着网络技术和多媒体技术的发展,利用移动终端设备播放或录制视频已经成为多媒体技术的重要应用之一。
在有些时候,用户有在屏幕上既录制视频,又播放用户感兴趣的参考视频的需求,然而,由于参考视频和录制视频的录制设备或录制方式可能不同,导致视频显示比例不协调。
发明内容
本公开实施例提供一种使得分屏录制的合成视频显示效果佳的视频画面调整方法、装置、计算机设备和存储介质。
在一实施例中,本公开实施例提供一种视频画面调整方法,所述方法包括:
将参考视频的画面的第一高宽比和预设高宽比进行比较,得到第一比较结果;所述预设高宽比对应的人眼舒适参数最优;
根据录制视频的画面尺寸和所述第一比较结果,调整所述参考视频的画面尺寸;其中,所述参考视频和所述录制视频为当前显示屏幕上分屏显示的两个视图。
在一实施例中,本公开实施例提供了一种视频画面调整装置,所述装置包括:
第一比较模块,设置为将参考视频的画面的第一高宽比和预设高宽比进行 比较,得到第一比较结果;所述预设高宽比对应的人眼舒适参数最优;
视频画面调整模块,设置为根据录制视频的画面尺寸和所述第一比较结果,调整所述参考视频的画面尺寸;其中,所述参考视频和所述录制视频为当前显示屏幕上分屏显示的两个视图。
在一实施例中,本公开实施例提供一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现以下步骤:
将参考视频的画面的第一高宽比和预设高宽比进行比较,得到第一比较结果;所述预设高宽比对应的人眼舒适参数最优;
根据录制视频的画面尺寸和所述第一比较结果,调整所述参考视频的画面尺寸;其中,所述参考视频和所述录制视频为当前显示屏幕上分屏显示的两个视图。
在一实施例中,本公开实施例提供一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现以下步骤:
将参考视频的画面的第一高宽比和预设高宽比进行比较,得到第一比较结果;所述预设高宽比对应的人眼舒适参数最优;
根据录制视频的画面尺寸和所述第一比较结果,调整所述参考视频的画面尺寸;其中,所述参考视频和所述录制视频为当前显示屏幕上分屏显示的两个视图。
附图说明
图1为一个实施例中视频画面调整方法的应用环境图;
图2为一个实施例中视频画面调整方法的流程示意图;
图3为一个实施例中终端设备的显示界面示意图;
图4为另一个实施例中视频画面调整方法的流程示意图;
图5a为一个实施例中视频画面调整方法的示意图之一;
图5b为一个实施例中视频画面调整方法的示意图之二;
图5c为一个实施例中视频画面调整方法的示意图之三;
图6a为另一个实施例中视频画面调整方法的示意图之一;
图6b为另一个实施例中视频画面调整方法的示意图之二;
图6c为另一个实施例中视频画面调整方法的示意图之三;
图7a为又一个实施例中视频画面调整方法的示意图之一;
图7b为又一个实施例中视频画面调整方法的示意图之二;
图7c为又一个实施例中视频画面调整方法的示意图之三;
图8a为再一个实施例中视频画面调整方法的示意图之一;
图8b为再一个实施例中视频画面调整方法的示意图之二;
图8c为再一个实施例中视频画面调整方法的示意图之三;
图9a为还一个实施例中视频画面调整方法的示意图之一;
图9b为还一个实施例中视频画面调整方法的示意图之二;
图9c为还一个实施例中视频画面调整方法的示意图之三;
图10为一个实施例中视频画面调整装置的结构框图;
图11为另一个实施例中视频画面调整装置的结构框图;
图12为再一个实施例中视频画面调整装置的结构框图;
图13为一个实施例中计算机设备的内部结构图。
具体实施方式
以下结合附图及实施例,对本公开进行详细说明。此处描述的具体实施例仅仅用以解释本公开,并不用于限定本公开。
本公开实施例提供的视频生成方法,可以应用于多类终端设备,可以但不限于是多种个人计算机、笔记本电脑、智能手机、平板电脑和便携式可穿戴设备。
如图1所示,该终端设备10可以包括处理器11、存储器12、系统总线13、显示屏幕14,以及视频录制装置15;其中,处理器11、存储器12、显示屏幕 14和视频录制装置15可以通过系统总线13连接。存储器12可以包括非易失性存储介质和/或易失性存储介质,可以存储计算机程序;处理器11执行该计算机程序时可以实现本公开实施例提供的一种视频画面调整方法;显示屏幕14可以是液晶屏、电子墨水屏,设置为显示录制视频和参考视频;视频录制装置15可以是摄像头等,设置为录制视频。该终端设备还可以支持多类应用程序,例如用于分屏录制的应用程序。
本领域技术人员可以理解,图1中示出的结构,仅仅是与本公开方案相关的部分结构的框图,并不构成对本公开方案所应用于上述终端设备的限定,实际的终端设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。
在一个实施例中,如图2所示,提供了一种视频画面调整方法,以该方法应用于图1中的终端设备为例进行说明,可以包括以下步骤:
步骤202,将参考视频的画面的第一高宽比和预设高宽比进行比较,得到第一比较结果。
其中,上述参考视频为终端设备中存储的完整视频,可以是预先存储的视频、预先录制的视频,还可以是通过网络下载的视频等等。其中,预设高宽比对应的人眼舒适参数满足预设条件,该预设条件可以理解为预设高宽比对应的人眼舒适参数最优。在一实施例中,人眼舒适参数最优可以理解为该人眼舒适参数所属的舒适程度最高,即不同视频的画面的高宽比可以对应不同的人眼舒适参数。例如,预设高宽比可以通过统计用户针对大量分屏录制的合成视频的观看评价来得到。该分屏录制的合成视频包括录制视频和参考视频,不同的合成视频中录制视频的高宽比可以不同;例如,采用用户评价最高的录制视频的高宽比作为预设高宽比。示例性地,预设高宽比可以为3:4、4:5、1:1、5:4、4:3或5:3等,还可以是其它高宽比。
在一个实施例中,终端设备通过统计大量已录制的视频的高宽比,获得针对已录制的视频的高宽比的统计参数作为预设高宽比,该统计参数可以是均值,还可以是中位值,还可以是其它统计参数。在一实施例中,上述预设高宽比和终端设备的类型还存在相关性;例如,针对手机的预设高宽比和针对个人计算机的预设高宽比是不同的。因此在一个实施例中,预先建立多种终端设备的类 型和多个预设高宽比的对应关系,根据该多种终端设备的类型和多个预设高宽比的对应关系,获取当前终端设备的类型对应的预设高宽比。例如,若当前终端设备是手机类型,则预设高宽比可以是4:3;若当前终端设备是个人计算机类型,则预设高宽比可以是3:4。
在一个实施例中,预先建立多种终端设备的类型和多个预设高宽比的对应关系,可以包括:对于多种类型的终端设备中的一种类型终端设备,可以通过统计采用该种类型的终端设备录制的视频的高宽比,获得统计参数,根据统计参数来确定该种类型的终端设备对应的预设高宽比。此外,预设高宽比还可以是经验值,由用户或技术人员通过大量分屏录制的实践经验得到。
在一个实施例中,终端设备获取参考视频的画面的第一高宽比;终端设备将第一高宽比和预设高宽比进行比较,得到第一比较结果。示例性地,若第一高宽比为2:1,预设高宽比为3:4,则第一比较结果为第一高宽比大于预设高宽比;若第一高宽比为3:4,预设高宽比为1:1,则第一比较结果为第一高宽比小于预设高宽比。可选地,获取参考视频的画面的第一高宽比,包括:获取参考视频的画面尺寸,包括画面宽度和画面高度,计算参考视频的画面高度和画面宽度的商,作为参考视频的画面的第一高宽比。
步骤204,根据录制视频的画面尺寸和第一比较结果,调整参考视频的画面尺寸。
其中,参考视频和录制视频为显示屏幕上分屏显示的两个视图;参考视频和录制视频可以分别左右显示,还可以分别上下显示。在本公开的实施例中,以参考视频和录制视频左右显示为例,进行详细说明。例如,参考视频位于当前显示屏幕左侧显示,录制视频位于当前显示屏幕右侧显示;或者参考视频位于当前显示屏幕右侧显示,录制视频位于当前显示屏幕左侧显示。可以理解的是,参考视频和录制视频上下显示的情形,和参考视频和录制视频左右显示的情形是相对应的,本公开的实施例中不再赘述。参考视频可以是一个,还可以是多个;当参考视频为多个时,仍可以采用参考视频为一个时的技术方案分别调整多个参考视频的画面尺寸,本公开的实施例中不再赘述。
如图3所示,并结合图1,终端设备10在分屏录制时,其显示屏幕14的显示界面可以包括:录制视频的画面、参考视频的画面。终端设备10可以将参考 视频的画面的第一高宽比和预设高宽比进行比较,得到第一比较结果,根据录制视频的画面尺寸和第一比较结果,调整参考视频的画面尺寸,终端设备在接收录制指令后,通过视频录制装置15拍摄录制视频,并将拍摄的录制视频显示在显示屏幕14上,如图3中的录制视频的画面所示。终端设备10在显示屏幕上分屏显示录制视频的同时,在显示屏幕上分屏显示调整后的参考视频,如图3中的参考视频的画面所示。终端设备10在录制完成之后或者录制过程中,可以将录制视频和调整后的参考视频进行合成处理,得到合成后的视频;终端设备10可以将合成后的视频保存在存储器12中,还可以通过通信网络将第二视频数据进行共享,例如上传至多类视频分享网站的服务器或者发送给其它终端设备。
在本实施例中,终端设备可以在对录制视频进行录制前调整参考视频的画面尺寸,也可以在录制视频进行录制的过程中调整参考视频的画面尺寸。
在一个实施例中,终端设备根据录制视频的画面尺寸和第一比较结果,调整参考视频的画面尺寸;其中,录制视频的画面尺寸为用户预先设置的画面尺寸或者该终端设备录制视频的默认画面尺寸,还可以是其它。
在一实施例中,因为用户采用参考视频作为录制视频的背景、参照或映衬,对录制视频的画面完整性等要求更高,因此通过调整参考视频的画面尺寸来提高整个视频画面的协调性和观赏效果。
在一个实施例中,当第一比较结果为第一高宽比小于预设高宽比时,即相对人眼舒适参数最优的高宽比,参考视频的画面较为扁平,为了人眼观看更为舒适,此时根据录制视频的画面尺寸和第一比较结果对参考视频的画面进行调整,使得参考视频的画面完整的呈现在当前显示屏幕中除录制视频的画面以外的区域,且参考视频的画面与录制视频的画面在视觉上协调,提高画面显示质量和用户观看舒适度。
在一个实施例中,当第一比较结果为第一高宽比大于等于预设高宽比时,即相对人眼舒适参数最优的高宽比,参考视频的画面较为瘦长,为了人眼观看更为舒适,此时根据录制视频的画面尺寸和第一比较结果对参考视频的画面进行调整,使得参考视频的画面尽可能撑满当前显示屏幕中除录制视频的画面以外的区域,且参考视频的画面与录制视频的画面在视觉上协调,提高画面显示质量和用户观看舒适度。
上述视频画面调整方法中,将参考视频的画面的第一高宽比和预设高宽比进行比较,得到第一比较结果,根据录制视频的画面尺寸和第一比较结果,调整参考视频的画面尺寸,且由于该预设高宽比对应的人眼舒适参数最优,因此,根据预设高宽比调整后的合成视频中,在显示屏幕上分屏显示的录制视频的画面和参考视频的画面在视觉上协调,提高了画面显示质量和用户观看舒适度。
在一个实施例中,如图4所示,提供了一种视频画面调整方法,可以包括以下步骤:
步骤402,将参考视频的画面的第一高宽比和预设高宽比进行比较,得到第一比较结果。
其中,预设高宽比对应的人眼舒适参数满足预设条件。步骤402的解释说明参照上述步骤202,这里不再赘述。
步骤404,根据录制视频的画面尺寸和第一比较结果,对参考视频的画面尺寸进行等比缩放处理,得到缩放后的参考视频。
其中,缩放后的参考视频的画面尺寸与录制视频的画面尺寸相适配。其中,等比缩放处理是指对参考视频的画面进行整体缩放,画面高度的缩放比例和画面高度的缩放比例相同,避免了参考视频的画面因为变形扭曲,导致显示质量降低的问题。
在一个实施例中,缩放后的参考视频的画面尺寸与录制视频的画面尺寸相适配是指缩放后的参考视频的画面尺寸与录制视频的画面尺寸相同,或者缩放后的参考视频的画面尺寸与录制视频的画面尺寸近似,或者缩放后的参考视频的画面尺寸与录制视频的画面尺寸在一个维度上相同或近似,其中,一个维度可以是画面宽度,也可以是画面高度。
示例性地,缩放后的参考视频的画面尺寸与录制视频的画面尺寸近似,可以是(1)参考视频的画面尺寸中的画面宽度与录制视频的画面尺寸中的画面宽度相等,且参考视频的画面尺寸中的画面高度与录制视频的画面尺寸中的画面高度的差值小于预设高度阈值;或者可以是(2)参考视频的画面尺寸中的画面高度与录制视频的画面尺寸中的画面高度相等,且参考视频的画面尺寸中的画面宽度与录制视频的画面尺寸中的画面宽度的差值小于预设宽度阈值;还可以是(3)参考视频的画面尺寸中的画面高度与录制视频的画面尺寸中的画面高度 的差值小于预设高度阈值,且参考视频的画面尺寸中的画面宽度与录制视频的画面尺寸中的画面宽度的差值小于预设宽度阈值。预设宽度阈值可以是相对录制视频的画面尺寸中的画面宽度的百分比,例如1%,2%或5%等。
在一实施例中,缩放后的参考视频的画面尺寸与录制视频的画面尺寸相适配,可以为参考视频和录制视频在显示屏幕上分屏显示的两个视图的画面尺寸相同,并且该两个视图紧密贴合,即两个视图的结合部位不存在预留区域;示例性地,该预留区域可以为黑边。
在一个实施例中,根据录制视频的画面尺寸和第一比较结果,对参考视频的画面尺寸进行等比缩放处理,得到缩放后的参考视频,可以包括:若第一比较结果为第一高宽比小于预设高宽比,终端设备则根据录制视频的画面尺寸中的画面宽度,对参考视频的画面尺寸进行等比缩放处理,得到缩放后的参考视频。
在一实施例中,缩放后的参考视频与录制视频在显示屏幕上所占的屏幕宽度相等。在一个实施例中,根据录制视频的画面尺寸中的画面宽度,对参考视频的画面尺寸进行等比缩放处理,可以包括:计算参考视频的画面尺寸中的画面宽度和录制视频的画面尺寸中的画面宽度的宽度比值,根据宽度比值,对参考视频的画面尺寸进行等比缩放处理。
示例性地,参照图5a,示出了当第一高宽比为5:4,预设高宽比为4:3,录制视频的画面的第二高宽比为16:9时参考视频与录制视频在显示屏幕上显示的示意图,此时第一高宽比小于预设高宽比;参照图5b,示出了根据录制视频的画面尺寸中的画面宽度,对参考视频的画面尺寸进行等比缩放处理后的参考视频的示意图,缩放后的参考视频与录制视频在显示屏幕上所占的屏幕宽度相等,且缩放后的参考视频的画面的上部和下部包括黑边;参照图5c,示出了缩放后的参考视频与录制视频在显示屏幕上显示的示意图。
示例性地,参照图6a,示出了当第一高宽比为1:1,预设高宽比为4:3,录制视频的画面的第二高宽比为8:7时参考视频与录制视频在显示屏幕上显示的示意图,此时第一高宽比小于预设高宽比;参照图6b,示出了根据录制视频的画面尺寸中的画面宽度,对参考视频的画面尺寸进行等比缩放处理后的参考视频的示意图,缩放后的参考视频与录制视频在显示屏幕上所占的屏幕宽度相等, 且缩放后的参考视频的画面的上部和下部包括黑边;参照图6c,示出了缩放后的参考视频与录制视频在显示屏幕上显示的示意图。
可选地,在本实施例中,缩放后的参考视频的画面的上部和/或下部包括预留区域。终端设备可以根据用户指令或预设指令调整参考视频相对于录制视频的相对显示位置,因此当该相对显示位置偏上时,缩放后的参考视频的画面的上部可以包括预留区域,下部不包括预留区域;当该相对显示位置偏下时,缩放后的参考视频的画面的下部可以包括预留区域,上部不包括预留区域;当该相对显示位置位于中间时,缩放后的参考视频的画面的上部可以包括预留区域,下部也可以包括预留区域。在一个实施例中,在将参考视频的画面的第一高宽比和预设高宽比进行比较,得到第一比较结果之后,该视频画面调整方法还可以包括:终端设备将录制视频的画面的第二高宽比与第一高宽比进行比较,得到第二比较结果。可选地,步骤“根据录制视频的画面尺寸和第一比较结果,对参考视频的画面尺寸进行等比缩放处理,得到缩放后的参考视频”,可以包括:根据录制视频的画面尺寸、第一比较结果和第二比较结果,对参考视频的画面尺寸进行等比缩放处理,得到缩放后的参考视频。
可选地,终端设备获取录制视频的画面尺寸的第二高宽比,将第二高宽比和预设高宽比进行比较,得到第二比较结果。示例性地,若第二高宽比为1:1,预设高宽比为3:4,则第二比较结果为第二高宽比大于预设高宽比;若第二高宽比为5:4,预设高宽比为4:3,则第二比较结果为第二高宽比小于预设高宽比。可选地,获取录制视频的画面的第二高宽比,包括:获取录制视频的画面尺寸,包括画面宽度和画面高度,计算录制视频的画面高度和画面宽度的商,作为录制视频的画面的第二高宽比。
在一实施例中,根据录制视频的画面尺寸、第一比较结果和第二比较结果,对参考视频的画面尺寸进行等比缩放处理,得到缩放后的参考视频,可以包括:若第一比较结果为第一高宽比大于或等于预设高宽比,且第二比较结果为第一高宽比大于第二高宽比,则根据录制视频的画面尺寸中的宽度,对参考视频的画面尺寸进行等比缩放处理,得到缩放后的参考视频,并根据录制视频的画面尺寸中的高度和预设的裁剪规则对缩放的参考视频进行裁剪;缩放后的参考视频与录制视频在显示屏幕上所占的屏幕宽度相等。其中,根据录制视频的画面尺寸中的高度和预设的裁剪规则对缩放的参考视频进行裁剪,可以包括:根据 录制视频的画面尺寸中的高度,裁剪掉缩放后的参考视频的画面中超出高度的部分。可以理解的是,对超出高度的部分,可以从参考视频的画面中高度方向的两端进行裁剪,也可以仅裁剪一端。
示例性地,参照图7a,示出了当第一高宽比为2:1,预设高宽比为4:3,录制视频的画面的第二高宽比为16:9时参考视频与录制视频在显示屏幕上显示的示意图,此时第一高宽比大于预设高宽比,且,第一高宽比大于第二高宽比;参照图7b,示出了根据录制视频的画面尺寸中的画面宽度对参考视频的画面尺寸进行等比缩放处理,和根据录制视频的画面尺寸中的画面高度对缩放后的参考视频进行剪裁处理的示意图;参照图7c,示出了缩放和剪裁处理后的参考视频与录制视频在显示屏幕上显示的示意图,二者在显示屏幕上显示时所占屏幕尺寸相同。
示例性地,参照图8a,示出了当第一高宽比为4:3,预设高宽比为4:3,录制视频的画面的第二高宽比为8:7时参考视频与录制视频在显示屏幕上显示的示意图,此时第一高宽比等于预设高宽比,且,第一高宽比大于第二高宽比;参照图8b,示出了根据录制视频的画面尺寸中的画面宽度对参考视频的画面尺寸进行等比缩放处理,和根据录制视频的画面尺寸中的画面高度对缩放后的参考视频进行剪裁处理的示意图;参照图8c,示出了缩放和剪裁处理后的参考视频与录制视频在显示屏幕上显示的示意图,二者在显示屏幕上显示时所占屏幕尺寸相同。
在一实施例中,根据录制视频的画面尺寸、第一比较结果和第二比较结果,对参考视频的画面尺寸进行等比缩放处理,得到缩放后的参考视频,可以包括:若第一比较结果为第一高宽比大于或等于预设高宽比,且第二比较结果为第一高宽比小于第二高宽比,则根据录制视频的画面尺寸中的高度,对参考视频的画面尺寸进行等比缩放处理,得到缩放后的参考视频,并根据录制视频的画面尺寸中的宽度和预设的裁剪规则对缩放的参考视频进行裁剪;缩放后的参考视频与录制视频在显示屏幕上所占的屏幕高度相等。其中,根据录制视频的画面尺寸中的宽度和预设的裁剪规则对缩放的参考视频进行裁剪,可以包括:根据录制视频的画面尺寸中的宽度,裁剪掉缩放后的参考视频的画面中超出宽度的部分。可以理解的是,对超出宽度的部分,可以从参考视频的画面中宽度方向的两端进行裁剪,也可以仅裁剪一端。
在该实施例中,根据录制视频的画面尺寸中的高度,对参考视频的画面尺寸进行等比缩放处理,可以包括:计算参考视频的画面尺寸中的画面高度和录制视频的画面尺寸中的画面高度的高度比值,根据高度比值,对参考视频的画面尺寸进行等比缩放处理。
示例性地,参照图9a,示出了当第一高宽比为4:3,预设高宽比为4:3,录制视频的画面的第二高宽比为16:9时参考视频与录制视频在显示屏幕上显示的示意图,此时第一高宽比等于预设高宽比,且,第一高宽比小于第二高宽比;参照图9b,示出了根据录制视频的画面尺寸中的画面高度对参考视频的画面尺寸进行等比缩放处理,和根据录制视频的画面尺寸中的画面宽度对缩放后的参考视频进行剪裁处理的示意图;参照图9c,示出了缩放和剪裁处理后的参考视频与录制视频在显示屏幕上显示的示意图,二者在显示屏幕上显示时所占屏幕尺寸相同。
在一个实施例中,根据录制视频的画面尺寸、第一比较结果和第二比较结果,对参考视频的画面尺寸进行等比缩放处理,得到缩放后的参考视频,可以包括:若第一比较结果为第一高宽比大于或等于预设高宽比,且第二比较结果为第一高宽比等于第二高宽比,则根据录制视频的画面尺寸中的宽度或高度,对参考视频的画面尺寸进行等比缩放处理,得到缩放后的参考视频;缩放后的参考视频与录制视频在显示屏幕上所占的屏幕尺寸相等。
在一实施例中,预设的裁剪规则包括均匀裁剪规则、对齐裁剪规则、识别人物裁剪规则或根据用户指令生成的裁剪规则。例如,可以通过录制视频的画面尺寸和/或预置图像识别技术,识别缩放后的参考视频的画面的目标区域,然后根据裁剪规则,对目标区域进行裁剪。均匀裁剪规则可以是通过获取目标区域的位置坐标,对该目标区域的上、下、左、右四个位置的区域进行等比例裁剪;左右对齐裁剪可以是通过将目标区域采用左对齐或者右对齐的方式,裁剪掉多余区域;识别人物裁剪可以是通过识别目标人物的关键点坐标,对目标人物的关键点以外的其他区域进行裁剪;根据用户指令生成的裁剪规则,可以是实时根据用户指令选择与该指令相应地裁剪规则进行裁剪,例如当用户指令为第一指令时,可以选择均匀裁剪规则。
上述视频画面调整方法中,将参考视频的画面的第一高宽比和预设高宽比 进行比较,得到第一比较结果,根据录制视频的画面尺寸和第一比较结果,对参考视频的画面尺寸进行等比缩放处理,得到缩放后的参考视频,使得缩放后的参考视频与录制视频的画面尺寸相适配,且由于该预设高宽比对应的人眼舒适参数最优,因此在显示屏幕上分屏显示的录制视频的画面和参考视频的画面在视觉上协调,提高了画面显示质量和用户观看舒适度,同时避免了在调整过程中参考视频的画面因变形扭曲,导致显示质量降低的问题。
在一个实施例中,提供的一种视频画面调整方法,还可以包括:在录制录制视频的过程中,将调整后的参考视频和录制视频合成为目标视频。也就是说,在录制该录制视频的过程中,将调整后的参考视频的视频帧和该录制视频中已录制的视频帧进行合成,生成目标视频的视频帧。可以理解的是,进行合成的一组参考视频的视频帧和录制视频的视频帧在当前显示屏幕上播放时具有相同的时间戳。在本实施例中,因为采用在录制过程中进行录制视频和参考视频的合成,相比于录制完成后再开始合成视频,更加高效。
应该理解的是,虽然图2和图4的流程图中的多个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图2和图4中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。
在一个实施例中,如图10所示,提供了一种视频画面调整装置1000,可以包括:第一比较模块1001和视频画面调整模块1002,其中:
第一比较模块1001,设置为将参考视频的画面的第一高宽比和预设高宽比进行比较,得到第一比较结果;预设高宽比对应的人眼舒适参数满足预设条件;
视频画面调整模块1002,设置为根据录制视频的画面尺寸和第一比较结果,调整参考视频的画面尺寸;其中,参考视频和录制视频为显示屏幕上分屏显示的两个视图。
在一个实施例中,如图11所示,视频画面调整模块1002可以包括第一视 频画面调整单元10021,其中:第一视频画面调整单元10021,设置为根据录制视频的画面尺寸和第一比较结果,对参考视频的画面尺寸进行等比缩放处理,得到缩放后的参考视频;其中,缩放后的参考视频的画面尺寸与录制视频的画面尺寸相适配。
在一个实施例中,第一视频画面调整单元10021是设置为若第一比较结果为第一高宽比小于预设高宽比,则根据录制视频的画面尺寸中的画面宽度,对参考视频的画面尺寸进行等比缩放处理,得到缩放后的参考视频;缩放后的参考视频与录制视频在显示屏幕上所占的屏幕宽度相等。
可选地,缩放后的参考视频的画面的上部和/或下部包括预留区域。
在一个实施例中,如图12所示,视频画面调整装置1000还可以包括第二比较模块1003,其中:第二比较模块1003,设置为将录制视频的画面的第二高宽比与第一高宽比进行比较,得到第二比较结果。在该实施例中,视频画面调整模块1002可以包括第二视频画面调整单元10022,其中:第二视频画面调整单元10022,设置为根据录制视频的画面尺寸、第一比较结果和第二比较结果,对参考视频的画面尺寸进行等比缩放处理,得到缩放后的参考视频。
可选地,第二视频画面调整单元10022是设置为若第一比较结果为第一高宽比大于或等于预设高宽比,且第二比较结果为第一高宽比大于第二高宽比,则根据录制视频的画面尺寸中的宽度,对参考视频的画面尺寸进行等比缩放处理,得到缩放后的参考视频,并根据录制视频的画面尺寸中的高度和预设的裁剪规则对缩放的参考视频进行裁剪;缩放后的参考视频与录制视频在显示屏幕上所占的屏幕宽度相等。
可选地,第二视频画面调整单元10022是设置为若第一比较结果为第一高宽比大于或等于预设高宽比,且第二比较结果为第一高宽比小于第二高宽比,则根据录制视频的画面尺寸中的高度,对参考视频的画面尺寸进行等比缩放处理,得到缩放后的参考视频,并根据录制视频的画面尺寸中的宽度和预设的裁剪规则对缩放的参考视频进行裁剪;缩放后的参考视频与录制视频在显示屏幕上所占的屏幕高度相等。
可选地,预设的裁剪规则包括均匀裁剪规则、对齐裁剪规则、识别人物裁剪规则或根据用户指令生成的裁剪规则。
可选地,视频画面调整装置1000还可以包括:设备类型获取模块和预设高宽比获取模块,其中:设备类型获取模块,设置为获取当前终端设备的类型;预设高宽比获取模块,设置为根据预先建立的多种终端设备的类型和多个预设高宽比的对应关系,获取与当前终端设备的类型对应的预设高宽比。
可选地,如图12所示,视频画面调整装置1000还可以包括视频合成模块1004,其中:视频合成模块1004,设置为在录制录制视频的过程中,将调整后的参考视频和录制视频合成为目标视频。
上述视频画面调整装置中,将参考视频的画面的第一高宽比和预设高宽比进行比较,得到第一比较结果,根据录制视频的画面尺寸和第一比较结果,调整参考视频的画面尺寸,且由于该预设高宽比对应的人眼舒适参数最优,因此在显示屏幕上分屏显示的录制视频的画面和参考视频的画面在视觉上协调,提高了画面显示质量和用户观看舒适度。
关于视频画面调整装置的具体限定可以参见上文中对于视频画面调整方法的限定,在此不再赘述。上述视频画面调整装置中的多个模块可全部或部分通过软件、硬件及其组合来实现。上述多个模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上多个模块对应的操作。
在一个实施例中,提供了一种计算机设备,该计算机设备可以是终端,其内部结构图可以如图13所示。该计算机设备包括通过系统总线连接的处理器、存储器、网络接口、显示屏、输入装置和视频录制装置。其中,该计算机设备的处理器设置为提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统和计算机程序。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机设备的网络接口设置为与外部的终端通过网络连接通信。该计算机程序被处理器执行时以实现本公开任一实施例所述的视频画面调整方法。该计算机设备的显示屏可以是液晶显示屏或者电子墨水显示屏,该计算机设备的输入装置可以是显示屏上覆盖的触摸层,也可以是计算机设备外壳上设置的按键、轨迹球或触控板,还可以是外接的键盘、触控板或鼠标等。该计算机设备的视频录制装置可以是摄像头,设置为录制视频。
本领域技术人员可以理解,图13中示出的结构,仅仅是与本公开方案相关的部分结构的框图,并不构成对本公开方案所应用于上述计算机设备的限定,实际的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。
在一个实施例中,提供了一种计算机设备,包括存储器和处理器,存储器中存储有计算机程序,该处理器执行计算机程序时实现以下步骤:将参考视频的画面的第一高宽比和预设高宽比进行比较,得到第一比较结果;预设高宽比对应的人眼舒适参数满足预设条件;根据录制视频的画面尺寸和第一比较结果,调整参考视频的画面尺寸;其中,参考视频和录制视频为显示屏幕上分屏显示的两个视图。
在一个实施例中,处理器执行计算机程序时还实现以下步骤:根据录制视频的画面尺寸和第一比较结果,对参考视频的画面尺寸进行等比缩放处理,得到缩放后的参考视频;其中,缩放后的参考视频的画面尺寸与录制视频的画面尺寸相适配。
在一个实施例中,处理器执行计算机程序时还实现以下步骤:若第一比较结果为第一高宽比小于预设高宽比,则根据录制视频的画面尺寸中的画面宽度,对参考视频的画面尺寸进行等比缩放处理,得到缩放后的参考视频;缩放后的参考视频与录制视频在显示屏幕上所占的屏幕宽度相等。
在一个实施例中,缩放后的参考视频的画面的上部和/或下部包括预留区域。
在一个实施例中,处理器执行计算机程序时还实现以下步骤:将录制视频的画面的第二高宽比与第一高宽比进行比较,得到第二比较结果;根据录制视频的画面尺寸、第一比较结果和第二比较结果,对参考视频的画面尺寸进行等比缩放处理,得到缩放后的参考视频。
在一个实施例中,处理器执行计算机程序时还实现以下步骤:若第一比较结果为第一高宽比大于或等于预设高宽比,且第二比较结果为第一高宽比大于第二高宽比,则根据录制视频的画面尺寸中的宽度,对参考视频的画面尺寸进行等比缩放处理,得到缩放后的参考视频,并根据录制视频的画面尺寸中的高度和预设的裁剪规则对缩放的参考视频进行裁剪;缩放后的参考视频与录制视频在显示屏幕上所占的屏幕宽度相等。
在一个实施例中,处理器执行计算机程序时还实现以下步骤:若第一比较结果为第一高宽比大于或等于预设高宽比,且第二比较结果为第一高宽比小于第二高宽比,则根据录制视频的画面尺寸中的高度,对参考视频的画面尺寸进行等比缩放处理,得到缩放后的参考视频,并根据录制视频的画面尺寸中的宽度和预设的裁剪规则对缩放的参考视频进行裁剪;缩放后的参考视频与录制视频在显示屏幕上所占的屏幕高度相等。
在一个实施例中,预设的裁剪规则包括均匀裁剪规则、对齐裁剪规则、识别人物裁剪规则或根据用户指令生成的裁剪规则。
在一个实施例中,处理器执行计算机程序时还实现以下步骤:获取当前终端设备的类型;根据预先建立的多种终端设备的类型和多个预设高宽比的对应关系,获取与当前终端设备的类型对应的预设高宽比。
在一个实施例中,处理器执行计算机程序时还实现以下步骤:在录制录制视频的过程中,将调整后的参考视频和录制视频合成为目标视频。
在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现以下步骤:将参考视频的画面尺寸的第一高宽比和预设高宽比进行比较,得到第一比较结果;预设高宽比对应的人眼舒适参数满足预设条件;根据录制视频的画面尺寸和第一比较结果,调整参考视频的画面尺寸;其中,参考视频和录制视频为显示屏幕上分屏显示的两个视图。
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:根据录制视频的画面尺寸和第一比较结果,对参考视频的画面尺寸进行等比缩放处理,得到缩放后的参考视频;其中,缩放后的参考视频的画面尺寸与录制视频的画面尺寸相适配。
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:若第一比较结果为第一高宽比小于预设高宽比,则根据录制视频的画面尺寸中的画面宽度,对参考视频的画面尺寸进行等比缩放处理,得到缩放后的参考视频;缩放后的参考视频与录制视频在显示屏幕上所占的屏幕宽度相等。
在一个实施例中,缩放后的参考视频的画面的上部和/或下部包括预留区域。
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:将录制视 频的画面的第二高宽比与第一高宽比进行比较,得到第二比较结果;根据录制视频的画面尺寸、第一比较结果和第二比较结果,对参考视频的画面尺寸进行等比缩放处理,得到缩放后的参考视频。
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:若第一比较结果为第一高宽比大于或等于预设高宽比,且第二比较结果为第一高宽比大于第二高宽比,则根据录制视频的画面尺寸中的宽度,对参考视频的画面尺寸进行等比缩放处理,得到缩放后的参考视频,并根据录制视频的画面尺寸中的高度和预设的裁剪规则对缩放的参考视频进行裁剪;缩放后的参考视频与录制视频在显示屏幕上所占的屏幕宽度相等。
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:若第一比较结果为第一高宽比大于或等于预设高宽比,且第二比较结果为第一高宽比小于第二高宽比,则根据录制视频的画面尺寸中的高度,对参考视频的画面尺寸进行等比缩放处理,得到缩放后的参考视频,并根据录制视频的画面尺寸中的宽度和预设的裁剪规则对缩放的参考视频进行裁剪;缩放后的参考视频与录制视频在显示屏幕上所占的屏幕高度相等。
在一个实施例中,预设的裁剪规则包括均匀裁剪规则、对齐裁剪规则、识别人物裁剪规则或根据用户指令生成的裁剪规则。
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:获取当前终端设备的类型;根据预先建立的多种终端设备的类型和多个预设高宽比的对应关系,获取与当前终端设备的类型对应的预设高宽比。
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:在录制录制视频的过程中,将调整后的参考视频和录制视频合成为目标视频。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述方法的实施例的流程。其中,本公开所提供的多个实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(Read-Only Memory,ROM)、可编程ROM(Programmable Read-Only Memory,PROM)、电可编程ROM(Electrical  Programmable Read-Only Memory,EPROM)、电可擦除可编程ROM(Electrically Erasable Programmable Read-Only Memory,EEPROM)或闪存。易失性存储器可包括随机存取存储器(Random Access Memory,RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(Static Random Access Memory,SRAM)、动态RAM(Dynamic Random Access Memory,DRAM)、同步DRAM(Synchronous Dynamic Random Access Memory,SDRAM)、双数据率SDRAM(Double Data Rate Synchronous Dynamic Random Access Memory,DDRSDRAM)、增强型SDRAM(Enhanced Synchronous Dynamic Random Access Memory,ESDRAM)、同步链路DRAM(Synchlink Dynamic Random Access Memory,SLDRAM)、直接存储器总线RAM(Direct Rambus Random Access Memory,RDRAM)、直接存储器总线动态RAM(Direct Rambus Dynamic Random Access Memory,DRDRAM)、以及存储器总线动态RAM(Rambus Dynamic Random Access Memory,RDRAM)等。
以上实施例的多个技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的多个技术特征所有可能的组合都进行描述,在这些技术特征的组合不存在矛盾的情况下,可以对这些技术特征进行组合。

Claims (15)

  1. 一种视频画面调整方法,包括:
    将参考视频的画面的第一高宽比和预设高宽比进行比较,得到第一比较结果;所述预设高宽比对应的人眼舒适参数最优;
    根据录制视频的画面尺寸和所述第一比较结果,调整所述参考视频的画面尺寸;其中,所述参考视频和所述录制视频为当前显示屏幕上分屏显示的两个视图。
  2. 根据权利要求1所述的方法,其中,所述根据录制视频的画面尺寸和所述第一比较结果,调整所述参考视频的画面尺寸,包括:
    根据所述录制视频的画面尺寸和所述第一比较结果,对所述参考视频的画面尺寸进行等比缩放处理,得到缩放后的参考视频;其中,所述缩放后的参考视频的画面尺寸与所述录制视频的画面尺寸相适配。
  3. 根据权利要求2所述的方法,其中,所述根据所述录制视频的画面尺寸和所述第一比较结果,对所述参考视频的画面尺寸进行等比缩放处理,得到缩放后的参考视频,包括:
    响应于所述第一比较结果为所述第一高宽比小于所述预设高宽比,根据所述录制视频的画面尺寸中的画面宽度,对所述参考视频的画面尺寸进行等比缩放处理,得到缩放后的参考视频;所述缩放后的参考视频与所述录制视频在所述当前显示屏幕上所占的屏幕宽度相等。
  4. 根据权利要求3所述的方法,其中,所述缩放后的参考视频的画面的上部和下部中的至少之一包括预留区域。
  5. 根据权利要求2所述的方法,在所述将参考视频的画面的第一高宽比和预设高宽比进行比较,得到第一比较结果之后,还包括:
    将所述录制视频的画面的第二高宽比与所述第一高宽比进行比较,得到第二比较结果;
    所述根据录制视频的画面尺寸和所述第一比较结果,对所述参考视频的画面尺寸进行等比缩放处理,得到缩放后的参考视频,包括:
    根据所述录制视频的画面尺寸、所述第一比较结果和所述第二比较结果, 对所述参考视频的画面尺寸进行等比缩放处理,得到缩放后的参考视频。
  6. 根据权利要求5所述的方法,其中,所述根据所述录制视频的画面尺寸、所述第一比较结果和所述第二比较结果,对所述参考视频的画面尺寸进行等比缩放处理,得到缩放后的参考视频,包括:
    响应于所述第一比较结果为所述第一高宽比大于或等于所述预设高宽比,且所述第二比较结果为所述第一高宽比大于所述第二高宽比,根据所述录制视频的画面尺寸中的宽度,对所述参考视频的画面尺寸进行等比缩放处理,得到缩放后的参考视频,并根据所述录制视频的画面尺寸中的高度和预设的裁剪规则对所述缩放的参考视频进行裁剪;所述缩放后的参考视频与所述录制视频在所述当前显示屏幕上所占的屏幕宽度相等。
  7. 根据权利要求5所述的方法,其中,所述根据所述录制视频的画面尺寸、所述第一比较结果和所述第二比较结果,对所述参考视频的画面尺寸进行等比缩放处理,得到缩放后的参考视频,包括:
    响应于所述第一比较结果为所述第一高宽比大于或等于所述预设高宽比,且所述第二比较结果为所述第一高宽比小于所述第二高宽比,根据所述录制视频的画面尺寸中的高度,对所述参考视频的画面尺寸进行等比缩放处理,得到缩放后的参考视频,并根据所述录制视频的画面尺寸中的宽度和预设的裁剪规则对所述缩放的参考视频进行裁剪;所述缩放后的参考视频与所述录制视频在所述当前显示屏幕上所占的屏幕高度相等。
  8. 根据权利要求6或7所述的方法,其中,所述预设的裁剪规则包括均匀裁剪规则、对齐裁剪规则、识别人物裁剪规则或根据用户指令生成的裁剪规则。
  9. 根据权利要求1所述的方法,在所述将参考视频的画面的第一高宽比和预设高宽比进行比较,得到第一比较结果之前,还包括:
    获取当前终端设备的类型;
    根据预先建立的终端设备的类型和预设高宽比的对应关系,获取与所述当前终端设备的类型对应的预设高宽比。
  10. 根据权利要求1所述的方法,调整所述参考视频的画面尺寸包括:
    调整后的参考视频的画面尺寸与所述录制视频的画面尺寸相适配。
  11. 根据权利要求1或10所述的方法,还包括:
    将调整后的参考视频和所述录制视频合成为目标视频。
  12. 根据权利要求1至10中任一项所述的方法,还包括:
    在录制所述录制视频的过程中,将调整后的参考视频和所述录制视频合成为目标视频。
  13. 一种视频画面调整装置,包括:
    第一比较模块,设置为将参考视频的画面的第一高宽比和预设高宽比进行比较,得到第一比较结果;所述预设高宽比对应的人眼舒适参数最优;
    视频画面调整模块,设置为根据录制视频的画面尺寸和所述第一比较结果,调整所述参考视频的画面尺寸;其中,所述参考视频和所述录制视频为当前显示屏幕上分屏显示的两个视图。
  14. 一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现权利要求1至12中任一项所述的方法。
  15. 一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1至12中任一项所述的方法。
PCT/CN2019/116204 2018-11-08 2019-11-07 视频画面调整方法、装置、计算机设备和存储介质 WO2020094089A1 (zh)

Priority Applications (5)

Application Number Priority Date Filing Date Title
KR1020207031670A KR102490938B1 (ko) 2018-11-08 2019-11-07 영상 화면 조정 방법과 장치, 컴퓨터 설비 및 저장매체
EP19881540.9A EP3783904A4 (en) 2018-11-08 2019-11-07 METHOD AND DEVICE FOR SETTING A VIDEO PICTURE AND COMPUTER DEVICE AND STORAGE MEDIUM
BR112020023745-0A BR112020023745A2 (pt) 2018-11-08 2019-11-07 método e aparelho de ajuste de imagem de vídeo, dispositivo de computador e meio de armazenamento
JP2021510521A JP7125545B2 (ja) 2018-11-08 2019-11-07 ビデオ画面調整方法、装置、コンピュータ装置および記憶媒体
US17/018,212 US11144201B2 (en) 2018-11-08 2020-09-11 Video picture adjustment method and apparatus, computer device and storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811324662.9A CN109348276B (zh) 2018-11-08 2018-11-08 视频画面调整方法、装置、计算机设备和存储介质
CN201811324662.9 2018-11-08

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/018,212 Continuation US11144201B2 (en) 2018-11-08 2020-09-11 Video picture adjustment method and apparatus, computer device and storage medium

Publications (1)

Publication Number Publication Date
WO2020094089A1 true WO2020094089A1 (zh) 2020-05-14

Family

ID=65314335

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/116204 WO2020094089A1 (zh) 2018-11-08 2019-11-07 视频画面调整方法、装置、计算机设备和存储介质

Country Status (7)

Country Link
US (1) US11144201B2 (zh)
EP (1) EP3783904A4 (zh)
JP (1) JP7125545B2 (zh)
KR (1) KR102490938B1 (zh)
CN (1) CN109348276B (zh)
BR (1) BR112020023745A2 (zh)
WO (1) WO2020094089A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114205659A (zh) * 2020-08-31 2022-03-18 青岛海尔多媒体有限公司 用于视频画面调整的方法、装置及设备
WO2022119388A1 (ko) * 2020-12-03 2022-06-09 삼성전자 주식회사 플렉서블 디스플레이를 포함하는 전자 장치
CN114615548A (zh) * 2022-03-29 2022-06-10 湖南国科微电子股份有限公司 一种视频数据的处理方法、装置及计算机设备

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109348276B (zh) 2018-11-08 2019-12-17 北京微播视界科技有限公司 视频画面调整方法、装置、计算机设备和存储介质
CN110290398B (zh) * 2019-06-21 2021-11-05 北京字节跳动网络技术有限公司 视频下发方法、装置、存储介质及电子设备
CN110913261A (zh) * 2019-11-19 2020-03-24 维沃移动通信有限公司 一种多媒体文件的生成方法及电子设备
CN111010588B (zh) * 2019-12-25 2022-05-17 成都酷狗创业孵化器管理有限公司 直播处理方法、装置、存储介质及设备
CN113051010B (zh) * 2019-12-28 2023-04-28 Oppo(重庆)智能科技有限公司 一种穿戴设备中应用画面调整方法及相关装置
CN111988664B (zh) * 2020-09-01 2022-09-20 广州酷狗计算机科技有限公司 视频处理方法、装置、计算机设备及计算机可读存储介质
CN115825597A (zh) * 2021-09-15 2023-03-21 英业达科技有限公司 基于计算机视觉的电磁敏感性测试方法
KR20230094838A (ko) * 2021-12-21 2023-06-28 삼성전자주식회사 Ai 기반의 영상 제공 장치 및 이에 의한 방법, 및 ai 기반의 디스플레이 장치 및 이에 의한 방법
WO2023132536A1 (ko) * 2022-01-04 2023-07-13 삼성전자 주식회사 화면 녹화를 위한 플렉서블 디스플레이를 포함하는 전자 장치 및 방법
CN114866687A (zh) * 2022-03-28 2022-08-05 北京达佳互联信息技术有限公司 同框视频拍摄方法、装置、电子设备及介质

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1805537A (zh) * 2005-01-05 2006-07-19 科点有限公司 视频多点会议单元
CN105611390A (zh) * 2015-12-31 2016-05-25 北京东方云图科技有限公司 一种对竖屏视频文件进行图文合成的方法及装置
US20170025038A1 (en) * 2015-07-22 2017-01-26 Fujitsu Limited Video playback device and method
CN106454256A (zh) * 2016-11-03 2017-02-22 贵阳朗玛信息技术股份有限公司 一种多视频实时拼接方法及装置
CN106604047A (zh) * 2016-12-13 2017-04-26 天脉聚源(北京)传媒科技有限公司 一种多视频流的视频直播的方法及装置
CN108737882A (zh) * 2018-05-09 2018-11-02 腾讯科技(深圳)有限公司 图像的显示方法、装置、存储介质及电子装置
CN108769561A (zh) * 2018-06-22 2018-11-06 广州酷狗计算机科技有限公司 视频录制方法及装置
CN109348276A (zh) * 2018-11-08 2019-02-15 北京微播视界科技有限公司 视频画面调整方法、装置、计算机设备和存储介质

Family Cites Families (130)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5434625A (en) * 1990-06-01 1995-07-18 Thomson Consumer Electronics, Inc. Formatting television pictures for side by side display
US5682326A (en) * 1992-08-03 1997-10-28 Radius Inc. Desktop digital video processing system
US5363143A (en) * 1993-09-03 1994-11-08 Thomson Consumer Electronics, Inc. Side by side picture display with reduced cropping
JPH08256297A (ja) * 1995-03-17 1996-10-01 Toshiba Corp 2画面テレビ受像機
US6081264A (en) * 1998-02-13 2000-06-27 Microsoft Corporation Optimal frame rate selection user interface
US6317164B1 (en) * 1999-01-28 2001-11-13 International Business Machines Corporation System for creating multiple scaled videos from encoded video sources
US6791578B1 (en) * 2000-05-30 2004-09-14 Apple Computer, Inc. 16:9 aspect ratio and anamorphic image processing
JP4613403B2 (ja) 2000-08-25 2011-01-19 ソニー株式会社 画像表示装置及び方法
GB0100563D0 (en) * 2001-01-09 2001-02-21 Pace Micro Tech Plc Dynamic adjustment of on-screen displays to cope with different widescreen signalling types
US7068291B1 (en) * 2002-04-11 2006-06-27 Bellsouth Intellectual Property Corp. Video display screen segmentation
KR100948863B1 (ko) * 2002-04-25 2010-03-22 톰슨 라이센싱 디스플레이 디바이스 및 텔레비전 스크린 상에서 사용하기 위한 웹 브라우저 시작 방법
US7187415B2 (en) * 2002-12-12 2007-03-06 Ati Technologies, Inc. System for detecting aspect ratio and method thereof
US7364313B2 (en) * 2002-12-27 2008-04-29 Barco N.V. Multiple image projection system and method for projecting multiple selected images adjacent each other
WO2004084535A2 (en) * 2003-03-14 2004-09-30 Starz Encore Group Llc Video aspect ratio manipulation
CA2527083C (en) * 2003-06-02 2011-04-26 Disney Enterprises, Inc. System and method of programmatic window control for consumer video players
KR100580245B1 (ko) * 2003-06-26 2006-05-16 삼성전자주식회사 동시화면을 디스플레이 하는 장치 및 방법
KR100512616B1 (ko) * 2003-07-18 2005-09-05 엘지전자 주식회사 화면 비율 가변 기능을 갖는 영상표시기기 및 그 제어방법
US7339627B2 (en) * 2003-10-30 2008-03-04 Broadcom Corporation Method and system for automatic detection and display of aspect ratio
US20050094034A1 (en) * 2003-10-31 2005-05-05 Sandeep Bhatia System and method for simultaneously scanning video for different size pictures
KR100598223B1 (ko) * 2003-12-12 2006-07-07 엘지전자 주식회사 화질개선 기능을 갖는 영상표시기기 및 그 제어방법
TWI242116B (en) * 2004-01-07 2005-10-21 Via Tech Inc Method for adjusting display of sub-picture in audio/video playback device
US20050179817A1 (en) * 2004-01-14 2005-08-18 Matsushita Electric Industrial Co., Ltd. Video signal display unit
US20050180858A1 (en) * 2004-02-04 2005-08-18 Halgas Joseph F.Jr. Customized video processing modes for HD-capable set-top decoders
US8456571B1 (en) * 2004-02-20 2013-06-04 Broadcast Pix, Inc. Integrated live video production system
US7113200B2 (en) * 2004-05-21 2006-09-26 Polycom, Inc. Method and system for preparing video communication image for wide screen display
JP4468252B2 (ja) * 2004-08-06 2010-05-26 キヤノン株式会社 ビデオ信号処理装置及び方法
US7375768B2 (en) * 2004-08-24 2008-05-20 Magix Ag System and method for automatic creation of device specific high definition material
JP4403400B2 (ja) * 2004-10-01 2010-01-27 ソニー株式会社 情報処理装置および方法、並びにプログラム
JP3858923B2 (ja) * 2004-11-02 2006-12-20 船井電機株式会社 映像表示装置および映像表示装置の映像表示方法
US7616264B1 (en) * 2004-12-06 2009-11-10 Pixelworks, Inc. Cropped and scaled picture-in-picture system and method
JP4210939B2 (ja) * 2004-12-10 2009-01-21 ソニー株式会社 画像記録装置および方法、並びにプログラム
US7528846B2 (en) * 2005-02-23 2009-05-05 Microsoft Corporation Systems and methods to adjust a source image aspect ratio to match a different target display aspect ratio
US7420620B2 (en) * 2005-03-01 2008-09-02 Dell Products L.P. Multi-picture display with a secondary high definition picture window having an adjustable aspect ratio
TWI262725B (en) * 2005-06-30 2006-09-21 Cheertek Inc Video decoding apparatus and digital audio and video display system capable of controlling presentation of subtitles and method thereof
JP4821253B2 (ja) * 2005-10-13 2011-11-24 船井電機株式会社 画像出力装置
US8284209B2 (en) * 2005-12-15 2012-10-09 Broadcom Corporation System and method for optimizing display bandwidth
US8275031B2 (en) * 2005-12-15 2012-09-25 Broadcom Corporation System and method for analyzing multiple display data rates in a video system
US8184137B2 (en) * 2005-12-15 2012-05-22 Broadcom Corporation System and method for ordering of scaling and capturing in a video system
JP2007180739A (ja) * 2005-12-27 2007-07-12 Sony Corp 画像データ記録装置、画像データ記録方法、およびプログラム
US8332889B2 (en) * 2006-02-10 2012-12-11 Cox Communications, Inc. Generating a personalized video mosaic in a cable services network
US8120706B1 (en) * 2006-06-12 2012-02-21 Pixelworks, Inc. Video system and method for automatic size and position adjustment according to the incoming stream
US8319891B2 (en) * 2006-08-09 2012-11-27 Panasonic Corporation Video display device displaying input videos in various screen modes and/or aspect ratios
US20080100642A1 (en) * 2006-10-31 2008-05-01 International Business Machines Corporation User definable aspect ratios for image regions
US8625663B2 (en) * 2007-02-20 2014-01-07 Pixar Home-video digital-master package
US8423903B2 (en) * 2007-04-11 2013-04-16 Gvbb Holdings S.A.R.L. Aspect ratio hinting for resizable video windows
JP4363464B2 (ja) * 2007-06-22 2009-11-11 ソニー株式会社 映像信号処理装置および映像信号処理方法
KR101197149B1 (ko) * 2007-07-10 2012-11-08 삼성전자주식회사 디스플레이장치 및 그 제어방법
CN101785294B (zh) * 2007-08-27 2013-07-10 索尼公司 成像设备和成像方法
TW200921636A (en) * 2007-11-05 2009-05-16 Optoma Corp Video playback control method and module for removing black bars provided on video content
JP4296213B2 (ja) * 2007-12-21 2009-07-15 株式会社東芝 情報処理装置
KR101520659B1 (ko) * 2008-02-29 2015-05-15 엘지전자 주식회사 개인용 비디오 레코더를 이용한 영상 비교 장치 및 방법
US9485455B2 (en) * 2008-04-16 2016-11-01 Panasonic Automotive Systems Company Of America, Division Of Panasonic Corporation Of North America System and method for formatting and displaying video data
CN101609387A (zh) * 2008-06-20 2009-12-23 宏碁股份有限公司 在屏幕上显示多个窗口的方法及计算机可读取媒体
TWI386843B (zh) * 2008-07-03 2013-02-21 Wistron Corp 螢幕顯示區分割方法、螢幕顯示區分割系統,及電腦程式產品
JP4564557B2 (ja) * 2008-08-28 2010-10-20 株式会社東芝 映像表示装置および映像表示方法
JP4788748B2 (ja) * 2008-09-04 2011-10-05 ソニー株式会社 映像表示装置、映像表示方法及びシステム
JP4655135B2 (ja) * 2008-10-22 2011-03-23 ソニー株式会社 撮像装置、撮像領域表示方法および撮像領域表示プログラム
JP2010108372A (ja) * 2008-10-31 2010-05-13 Toshiba Corp 映像表示装置、映像表示方法および映像システム
US8310408B1 (en) * 2008-11-12 2012-11-13 Waveguide Consulting, Incorporated System and method for graphical user interface and display among different aspect ratio video display devices
US9218792B2 (en) * 2008-12-11 2015-12-22 Nvidia Corporation Variable scaling of image data for aspect ratio conversion
CN101527134B (zh) * 2009-04-03 2011-05-04 华为技术有限公司 一种显示方法、显示控制器及显示终端
JP2010258917A (ja) 2009-04-27 2010-11-11 Jvc Kenwood Holdings Inc 撮影装置、プログラム、及び撮影方法
US8587653B1 (en) * 2009-04-30 2013-11-19 Verint Systems, Inc. Modifying the resolution of video before transferring to a display system
US20100299627A1 (en) * 2009-05-20 2010-11-25 Qualcomm Incorporated Method and apparatus for content boundary detection and scaling
US8654248B2 (en) * 2009-07-20 2014-02-18 Centurylink Intellectual Property Llc Apparatus and method for handling video aspect ratios of video content
US8717390B2 (en) * 2009-09-01 2014-05-06 Disney Enterprises, Inc. Art-directable retargeting for streaming video
US20110058100A1 (en) * 2009-09-09 2011-03-10 Yasuhiko Muto Video signal processing apparatus and video signal processing method
JPWO2011039852A1 (ja) * 2009-09-30 2013-02-21 Necディスプレイソリューションズ株式会社 映像表示装置および映像表示方法
US20110126104A1 (en) * 2009-11-20 2011-05-26 Rovi Technologies Corporation User interface for managing different formats for media files and media playback devices
US8934024B2 (en) * 2010-01-14 2015-01-13 Fuji Xerox Co., Ltd. Efficient, user-friendly system to stream screens inside video using a mobile device
JP2010093861A (ja) 2010-01-20 2010-04-22 Toshiba Corp 映像表示装置、および映像表示方法
CN102137248B (zh) * 2010-01-21 2015-05-20 腾讯科技(深圳)有限公司 视频分辨率的切换方法及装置、终端及切换系统
IT1399695B1 (it) * 2010-04-14 2013-04-26 Sisvel Technology Srl Metodo per visualizzare un flusso video secondo un formato personalizzato.
US8982151B2 (en) * 2010-06-14 2015-03-17 Microsoft Technology Licensing, Llc Independently processing planes of display data
CN102387310A (zh) * 2010-08-31 2012-03-21 腾讯科技(深圳)有限公司 定位视频片段的方法和装置
US20120124474A1 (en) * 2010-11-11 2012-05-17 Rovi Technologies Corporation User presentation settings for multiple media user interfaces
US20130271661A1 (en) * 2010-12-28 2013-10-17 Sharp Kabushiki Kaisha Display device, television receiver, control method for display device
US8786673B2 (en) * 2011-01-07 2014-07-22 Cyberlink Corp. Systems and methods for performing video conversion based on non-linear stretch information
CN102307318B (zh) * 2011-03-18 2017-07-07 海尔集团公司 通过网络电视进行网络视频的处理方法及系统
US8872894B2 (en) * 2011-07-07 2014-10-28 Vixs Systems, Inc. Stereoscopic video transcoder and methods for use therewith
CN102890816B (zh) * 2011-07-20 2015-07-29 深圳市快播科技有限公司 视频图像缩放处理方法以及视频图像缩放处理装置
US9467708B2 (en) * 2011-08-30 2016-10-11 Sonic Ip, Inc. Selection of resolutions for seamless resolution switching of multimedia content
US20130067331A1 (en) * 2011-09-09 2013-03-14 Screenovate Technologies Ltd. Method and System of Simultaneous Display of Multiple Screens on a Target Display
US9332283B2 (en) * 2011-09-27 2016-05-03 Broadcom Corporation Signaling of prediction size unit in accordance with video coding
CN103220550B (zh) * 2012-01-19 2016-12-07 华为技术有限公司 视频转换的方法及装置
US20180316941A1 (en) * 2012-04-24 2018-11-01 Skreens Entertainment Technologies, Inc. Systems and methods for video processing and display of a combination of heterogeneous sources and advertising content
US9208819B1 (en) * 2012-06-20 2015-12-08 Google Inc. Dynamic split-frame preview of video editing effects
US8947491B2 (en) * 2012-06-28 2015-02-03 Microsoft Corporation Communication system
JP5519065B2 (ja) * 2012-09-27 2014-06-11 シャープ株式会社 輪郭線幅設定装置、輪郭階調数設定装置、輪郭線幅設定方法、及び輪郭階調数設定方法
CN102905056B (zh) * 2012-10-18 2015-09-02 利亚德光电股份有限公司 视频图像处理方法及装置
CN103780864B (zh) * 2012-10-18 2017-10-03 腾讯科技(深圳)有限公司 视频通话界面显示方法及装置
SG10201703488RA (en) * 2012-10-31 2017-05-30 Univ Nanyang Tech Multi-screen media delivery systems and methods
US9756282B2 (en) * 2012-11-20 2017-09-05 Sony Corporation Method and apparatus for processing a video signal for display
JP6051028B2 (ja) 2012-11-30 2016-12-21 株式会社第一興商 歌唱動画データの取得システム
CN102984494B (zh) * 2012-12-06 2015-11-25 小米科技有限责任公司 一种视频通讯方法及装置
WO2014094203A1 (en) * 2012-12-17 2014-06-26 Intel Corporation Content aware video resizing
KR102045957B1 (ko) * 2013-01-18 2019-11-18 삼성전자 주식회사 휴대단말의 촬영 방법 및 장치
TWI486870B (zh) * 2013-01-23 2015-06-01 Acti Corp Dynamically control how to split the window size
AU2014218565B2 (en) * 2013-02-25 2017-07-06 Savant Systems, Inc. Video tiling
US9142052B1 (en) * 2013-03-15 2015-09-22 Priceline.Com, Inc. Generating multiple digital images with changed aspect ratio
US9600595B2 (en) * 2013-05-21 2017-03-21 International Business Machines Corporation Modification of windows across multiple displays
JP6249637B2 (ja) 2013-05-28 2017-12-20 三菱電機株式会社 画像合成装置
JP6157220B2 (ja) * 2013-05-29 2017-07-05 キヤノン株式会社 出力装置およびその方法
US8917329B1 (en) * 2013-08-22 2014-12-23 Gopro, Inc. Conversion between aspect ratios in camera
CN105793918B (zh) * 2013-09-27 2019-01-22 皇家飞利浦有限公司 同时显示多个视频源的视频数据
US20150109436A1 (en) * 2013-10-23 2015-04-23 Safeciety LLC Smart Dual-View High-Definition Video Surveillance System
CN103546715A (zh) * 2013-10-30 2014-01-29 乐视致新电子科技(天津)有限公司 一种智能电视的画面比例调节方法及装置
CN103561312A (zh) * 2013-10-30 2014-02-05 乐视致新电子科技(天津)有限公司 一种视频播放界面调整的方法和装置
JP2015102567A (ja) * 2013-11-21 2015-06-04 三菱電機株式会社 マルチビジョン用表示制御装置およびマルチビジョンシステム
US9219967B2 (en) * 2013-11-25 2015-12-22 EchoStar Technologies, L.L.C. Multiuser audiovisual control
FR3016989B1 (fr) * 2014-01-29 2016-01-15 St Microelectronics Grenoble 2 Procede de transformation combinee de l'echelle et du rapport d'aspect d'une image
US9118888B1 (en) * 2014-03-14 2015-08-25 Tribune Broadcasting Company, Llc News production system with integrated display
US9582852B2 (en) * 2014-04-11 2017-02-28 Vixs Systems, Inc. Video scaling using multiple video paths
US20160034157A1 (en) * 2014-07-31 2016-02-04 Microsoft Corporation Region-Based Sizing and Positioning of Application Windows
US9418283B1 (en) * 2014-08-20 2016-08-16 Amazon Technologies, Inc. Image processing using multiple aspect ratios
CN113766161B (zh) * 2014-12-14 2023-06-20 深圳市大疆创新科技有限公司 视频处理的方法和系统
US9973711B2 (en) * 2015-06-29 2018-05-15 Amazon Technologies, Inc. Content-based zooming and panning for video curation
JP6760718B2 (ja) * 2015-07-22 2020-09-23 Run.Edge株式会社 動画再生プログラム、装置、及び方法
EP3334133A4 (en) * 2015-08-06 2019-03-13 LG Electronics Inc. MOBILE TERMINAL AND ITS CONTROL METHOD
US20170132755A1 (en) * 2015-11-11 2017-05-11 Le Holdings (Beijing) Co., Ltd. Method, device and system for processing image
KR102503937B1 (ko) * 2015-12-16 2023-02-27 삼성전자 주식회사 전자 장치의 사용자 인터페이스 제공 방법 및 장치
US20170180746A1 (en) * 2015-12-22 2017-06-22 Le Holdings (Beijing) Co., Ltd. Video transcoding method and electronic apparatus
CN105872695A (zh) * 2015-12-31 2016-08-17 乐视网信息技术(北京)股份有限公司 一种视频播放方法及装置
US11853635B2 (en) * 2016-03-09 2023-12-26 Samsung Electronics Co., Ltd. Configuration and operation of display devices including content curation
TWI581636B (zh) * 2016-05-23 2017-05-01 鴻海精密工業股份有限公司 螢幕顯示比例調整裝置及方法
US20180176468A1 (en) * 2016-12-19 2018-06-21 Qualcomm Incorporated Preferred rendering of signalled regions-of-interest or viewports in virtual reality video
US10154429B1 (en) * 2017-06-13 2018-12-11 Western Digital Technologies, Inc. Method and system for user experience event processing and analysis
US10311548B2 (en) * 2017-09-05 2019-06-04 Microsoft Technology Licensing, Llc Scaling render targets to a higher rendering resolution to display higher quality video frames
US10650790B2 (en) * 2018-04-30 2020-05-12 Ramzi Khalil Maalouf System, apparatus, and method for optimizing viewing experience on an intelligent terminal
US10917608B1 (en) * 2019-12-27 2021-02-09 Microsoft Technology Licensing, Llc Dynamically controlled aspect ratios based on a number of participants depicted in communication video streams

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1805537A (zh) * 2005-01-05 2006-07-19 科点有限公司 视频多点会议单元
US20170025038A1 (en) * 2015-07-22 2017-01-26 Fujitsu Limited Video playback device and method
CN105611390A (zh) * 2015-12-31 2016-05-25 北京东方云图科技有限公司 一种对竖屏视频文件进行图文合成的方法及装置
CN106454256A (zh) * 2016-11-03 2017-02-22 贵阳朗玛信息技术股份有限公司 一种多视频实时拼接方法及装置
CN106604047A (zh) * 2016-12-13 2017-04-26 天脉聚源(北京)传媒科技有限公司 一种多视频流的视频直播的方法及装置
CN108737882A (zh) * 2018-05-09 2018-11-02 腾讯科技(深圳)有限公司 图像的显示方法、装置、存储介质及电子装置
CN108769561A (zh) * 2018-06-22 2018-11-06 广州酷狗计算机科技有限公司 视频录制方法及装置
CN109348276A (zh) * 2018-11-08 2019-02-15 北京微播视界科技有限公司 视频画面调整方法、装置、计算机设备和存储介质

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3783904A4

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114205659A (zh) * 2020-08-31 2022-03-18 青岛海尔多媒体有限公司 用于视频画面调整的方法、装置及设备
WO2022119388A1 (ko) * 2020-12-03 2022-06-09 삼성전자 주식회사 플렉서블 디스플레이를 포함하는 전자 장치
CN114615548A (zh) * 2022-03-29 2022-06-10 湖南国科微电子股份有限公司 一种视频数据的处理方法、装置及计算机设备
CN114615548B (zh) * 2022-03-29 2023-12-26 湖南国科微电子股份有限公司 一种视频数据的处理方法、装置及计算机设备

Also Published As

Publication number Publication date
CN109348276A (zh) 2019-02-15
CN109348276B (zh) 2019-12-17
EP3783904A1 (en) 2021-02-24
US11144201B2 (en) 2021-10-12
BR112020023745A2 (pt) 2021-05-18
KR102490938B1 (ko) 2023-01-19
KR20200141468A (ko) 2020-12-18
US20200409550A1 (en) 2020-12-31
JP7125545B2 (ja) 2022-08-24
EP3783904A4 (en) 2021-12-22
JP2021528024A (ja) 2021-10-14

Similar Documents

Publication Publication Date Title
WO2020094089A1 (zh) 视频画面调整方法、装置、计算机设备和存储介质
US11455729B2 (en) Image processing method and apparatus, and storage medium
CN111107418B (zh) 视频数据处理方法、装置、计算机设备和存储介质
US8619148B1 (en) Image correction after combining images from multiple cameras
US9860448B2 (en) Method and electronic device for stabilizing video
TW202042175A (zh) 圖像處理方法及裝置、電子設備和電腦可讀儲存媒體
EP2765769A1 (en) Image processing method and image processing device
Li et al. Depth-preserving warping for stereo image retargeting
WO2021135945A1 (zh) 图像处理方法、装置、存储介质以及电子设备
WO2021164162A1 (zh) 拍摄图像的方法、装置及设备
CN108495041B (zh) 一种用于电子终端的图像处理和显示方法、装置
CN112508773A (zh) 图像处理方法及装置、电子设备、存储介质
CN109413352B (zh) 视频数据的处理方法、装置、设备和存储介质
CN115294055A (zh) 图像处理方法、装置、电子设备和可读存储介质
US11636571B1 (en) Adaptive dewarping of wide angle video frames
JP2011192008A (ja) 画像処理システムおよび画像処理方法
CN114785957A (zh) 拍摄方法及其装置
CN116363725A (zh) 显示设备的人像追踪方法、系统、显示设备及存储介质
US20140016914A1 (en) Editing apparatus, editing method, program and storage medium
CN113741845A (zh) 一种处理方法及装置
CN113422967A (zh) 一种投屏显示控制方法、装置、终端设备及存储介质
WO2023130544A1 (zh) 三维场景互动视频生成方法及生成装置
CN113225613B (zh) 图像识别、视频直播方法和装置
CN112367562B (zh) 图像处理方法、装置及电子设备
CN111295692B (zh) 一种立体水印贴纸实现方法、移动终端及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19881540

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 20207031670

Country of ref document: KR

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2021510521

Country of ref document: JP

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 19881540.9

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2019881540

Country of ref document: EP

Effective date: 20201116

REG Reference to national code

Ref country code: BR

Ref legal event code: B01A

Ref document number: 112020023745

Country of ref document: BR

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 112020023745

Country of ref document: BR

Kind code of ref document: A2

Effective date: 20201120