CN112135183A - Video playing method and system - Google Patents

Video playing method and system Download PDF

Info

Publication number
CN112135183A
CN112135183A CN202011008467.2A CN202011008467A CN112135183A CN 112135183 A CN112135183 A CN 112135183A CN 202011008467 A CN202011008467 A CN 202011008467A CN 112135183 A CN112135183 A CN 112135183A
Authority
CN
China
Prior art keywords
video
played
key content
content area
display screen
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011008467.2A
Other languages
Chinese (zh)
Inventor
谭嵩
刘芸江
罗准
冯斌
吴坚强
张文兵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hunan MgtvCom Interactive Entertainment Media Co Ltd
Original Assignee
Hunan MgtvCom Interactive Entertainment Media Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hunan MgtvCom Interactive Entertainment Media Co Ltd filed Critical Hunan MgtvCom Interactive Entertainment Media Co Ltd
Priority to CN202011008467.2A priority Critical patent/CN112135183A/en
Publication of CN112135183A publication Critical patent/CN112135183A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/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
    • 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/435Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
    • 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 or rendering scenes according to encoded video stream scene graphs
    • H04N21/44004Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving video buffer management, e.g. video decoder buffer or video display buffer
    • 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 or rendering scenes according to encoded video stream scene graphs
    • H04N21/44012Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving rendering scenes according to scene graphs, e.g. MPEG-4 scene graphs
    • 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/4858End-user interface for client configuration for modifying screen layout parameters, e.g. fonts, size of the windows

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a video playing method and a system, wherein the method comprises the following steps: acquiring a key content area of a video to be played; and calculating coordinates of a safe region based on the width-height ratio of the key content region and the display screen of the playing device, and rendering the video to be played to the full screen of the display screen of the playing device based on the central point of the coordinates of the safe region. According to the invention, when the video picture is fully paved on the display screen and played in a full screen manner, the integrity of the key content of the video is ensured, the playing experience of a user is improved, and the viscosity of the user for using the platform is improved.

Description

Video playing method and system
Technical Field
The present invention relates to the field of video processing technologies, and in particular, to a video playing method and system.
Background
With the development of mobile terminal product design, more and more mobile phone display screens reach the aspect ratio of 18:9, 19:9 and the like. Most of video production is the aspect ratio of 16:9, part of movies is the aspect ratio of 21:9, and early-produced programs have the aspect ratio of 4:3, so that when a mobile phone display screen watches video content, because the aspect ratio of the display screen and the video programs is not matched, the condition that the upper side, the lower side or the left side and the right side of the display screen have black edges is caused, and the initial intention of visual experience and ultra-wide screen design of the display screen is influenced. Therefore, a method for fully tiling the video pictures on the display screen to play the video pictures in a full screen mode currently appears, but the full screen tiling mode is not controllable for overflowing content: characters and subtitle parts which are possibly more key in the picture are overflowed to the outside of the screen, and the integrity of the key content of the video and the aesthetic feeling of the picture is influenced.
Therefore, how to ensure the integrity of the key content of the video when the video picture is fully spread to the full-screen playing of the display screen to improve the playing experience of the user, thereby improving the viscosity of the user to the platform use is a problem to be solved urgently.
Disclosure of Invention
In view of this, the present invention provides a video playing method, which can ensure the integrity of the video key content when the video picture is fully overlaid on the display screen and played in a full screen manner, and improve the playing experience of the user, thereby improving the viscosity of the user to use the platform.
The invention provides a video playing method, which comprises the following steps:
acquiring a key content area of a video to be played;
calculating coordinates of a safe region based on the key content region and the aspect ratio of a display screen of the playing device;
rendering the video to be played to the full screen of the display screen of the playing device based on the central point of the safe region coordinates.
Preferably, before the obtaining of the key content area of the video to be played, the method further includes:
and performing key content identification analysis on the video to be played to obtain a key content area of the video to be played.
Preferably, the performing key content identification analysis on the video to be played to obtain a key content area of the video to be played includes:
and identifying and analyzing character head portraits and subtitles of the video to be played to obtain a key content area of the video to be played.
Preferably, the performing character avatar and subtitle recognition analysis on the video to be played to obtain a key content area of the video to be played includes:
and performing character head portrait and subtitle recognition analysis on the video to be played in an off-line manner to obtain a key content area of the video to be played.
Preferably, the performing character avatar and subtitle recognition analysis on the video to be played to obtain a key content area of the video to be played includes:
and identifying and analyzing character head portraits and subtitles of the video to be played in real time to obtain a key content area of the video to be played.
A video playback system, comprising:
the acquisition module is used for acquiring a key content area of a video to be played;
the computing module is used for computing the coordinates of the safe area based on the width-height ratio of the key content area and the display screen of the playing device;
and the rendering module is used for rendering the video to be played to the full screen of the display screen of the playing equipment based on the central point of the safe region coordinates.
Preferably, the system further comprises:
and the identification analysis module is used for identifying and analyzing the key content of the video to be played to obtain the key content area of the video to be played.
Preferably, the identification and analysis module is specifically configured to:
and identifying and analyzing character head portraits and subtitles of the video to be played to obtain a key content area of the video to be played.
Preferably, the identification and analysis module is specifically configured to:
and performing character head portrait and subtitle recognition analysis on the video to be played in an off-line manner to obtain a key content area of the video to be played.
Preferably, the identification and analysis module is specifically configured to:
and identifying and analyzing character head portraits and subtitles of the video to be played in real time to obtain a key content area of the video to be played.
In summary, the present invention discloses a video playing method, when a video needs to be played, a key content area of the video to be played is first obtained, then a safe area coordinate is calculated based on the key content area and the aspect ratio of the display screen of the playing device, and the video to be played is rendered to the full screen of the display screen of the playing device based on the center point of the safe area coordinate. When the video is played, the video picture can be fully paved on the display screen to be played in a full screen mode, the integrity of the key content of the video can be guaranteed, the playing experience of a user is improved, and therefore the viscosity of the user for using the platform is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of a video playing method according to embodiment 1 of the present disclosure;
fig. 2 is a flowchart of a video playing method according to embodiment 2 of the present disclosure;
fig. 3 is a flowchart of a video playing method according to embodiment 3 of the present disclosure;
fig. 4 is a flowchart of a video playing method according to embodiment 4 of the present disclosure;
fig. 5 is a flowchart of a video playing method according to embodiment 5 of the present disclosure;
fig. 6 is a schematic structural diagram of a video playing system in accordance with an embodiment 1 of the present disclosure;
fig. 7 is a schematic structural diagram of a video playing system in accordance with an embodiment 2 of the present disclosure;
fig. 8 is a schematic structural diagram of a video playing system in accordance with an embodiment 3 of the present disclosure;
fig. 9 is a schematic structural diagram of a video playing system in accordance with an embodiment 4 of the present disclosure;
fig. 10 is a schematic structural diagram of a video playing system in an embodiment 5 of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, which is a flowchart of an embodiment 1 of a video playing method disclosed in the present invention, the method may include the following steps:
s101, acquiring a key content area of a video to be played;
when the video needs to be played in a full screen mode, a key content area of the video needing to be played is obtained first.
S102, calculating coordinates of a safety region based on the width-to-height ratio of the key content region and a display screen of the playing device;
after the key content area of the video to be played is obtained, the matched safe area coordinate is calculated further according to the key content area and the width-to-height ratio of the display screen of the playing device.
S103, rendering the video to be played to the full screen of the display screen of the playing device based on the central point of the safe area coordinates.
After the coordinates of the safe area are calculated, the center point of the coordinates of the safe area is used for amplifying the video to be played to fill the picture to the full screen of the full display screen, so that the full screen playing of the video to be played is realized.
In summary, in the above embodiment, when a video needs to be played, a key content area of the video to be played is first obtained, then a safe area coordinate is calculated based on the key content area and the aspect ratio of the display screen of the playing device, and the video to be played is rendered to the full screen of the display screen of the playing device based on the center point of the safe area coordinate. When the video is played, the video pictures can be fully paved on the display screen for full-screen playing, the integrity of the key content of the video can be ensured, the playing experience of a user is improved, and the viscosity of the user to the use of the platform is improved.
As shown in fig. 2, which is a flowchart of embodiment 2 of a video playing method disclosed in the present invention, the method may include the following steps:
s201, performing key content identification analysis on a video to be played to obtain a key content area of the video to be played;
when the video needs to be played in a full screen mode, firstly, key content identification analysis is carried out on the video to be played, and a key content area of the video to be played is obtained.
S202, acquiring a key content area of a video to be played;
after the key content area of the video to be played is identified and analyzed, the key content area of the video to be played is further acquired.
S203, calculating coordinates of a safety region based on the width-to-height ratio of the key content region and a display screen of the playing device;
after the key content area of the video to be played is obtained, the matched safe area coordinate is calculated further according to the key content area and the width-to-height ratio of the display screen of the playing device.
And S204, rendering the video to be played to the full screen of the display screen of the playing equipment based on the central point of the safe area coordinates.
After the coordinates of the safe area are calculated, the center point of the coordinates of the safe area is used for amplifying the video to be played to fill the picture to the full screen of the full display screen, so that the full screen playing of the video to be played is realized.
On the basis of the above embodiment, the present embodiment can first perform key content identification analysis on the video to be played, so as to obtain a key content area of the video to be played.
As shown in fig. 3, which is a flowchart of embodiment 3 of a video playing method disclosed in the present invention, the method may include the following steps:
s301, identifying and analyzing character head portraits and subtitles of a video to be played to obtain a key content area of the video to be played;
when the video needs to be played in a full screen mode, firstly, key content identification analysis is carried out on the video to be played, and a key content area of the video to be played is obtained.
Specifically, when the video to be played is identified and analyzed, the character head portraits, subtitles, and the like in the video to be played can be identified and analyzed, and the key content area of the video to be played is obtained.
S302, acquiring a key content area of a video to be played;
after the key content area of the video to be played is identified and analyzed, the key content area of the video to be played is further acquired.
S303, calculating coordinates of a safety region based on the width-to-height ratio of the key content region and a display screen of the playing device;
after the key content area of the video to be played is obtained, the matched safe area coordinate is calculated further according to the key content area and the width-to-height ratio of the display screen of the playing device.
S304, rendering the video to be played to the full screen of the display screen of the playing device based on the central point of the safe area coordinates.
After the coordinates of the safe area are calculated, the center point of the coordinates of the safe area is used for amplifying the video to be played to fill the picture to the full screen of the full display screen, so that the full screen playing of the video to be played is realized.
In summary, in this embodiment, on the basis of the above embodiment, when the key content identification analysis is performed on the video to be played to obtain the key content area of the video to be played, the key content area of the video to be played can be obtained specifically by performing identification analysis on the character avatar, the subtitle, and the like in the video to be played.
As shown in fig. 4, which is a flowchart of embodiment 4 of a video playing method disclosed in the present invention, the method may include the following steps:
s401, performing character head portrait and subtitle recognition analysis on a video to be played in an off-line mode to obtain a key content area of the video to be played;
when the video needs to be played in a full screen mode, firstly, key content identification analysis is carried out on the video to be played, and a key content area of the video to be played is obtained.
Specifically, when the video to be played is identified and analyzed, the character head portraits, subtitles and the like in the video to be played can be identified and analyzed in an off-line mode, and the key content area of the video to be played is obtained.
S402, acquiring a key content area of a video to be played;
after the key content area of the video to be played is identified and analyzed, the key content area of the video to be played is further acquired.
S403, calculating coordinates of a safe area based on the key content area and the aspect ratio of the display screen of the playing device;
after the key content area of the video to be played is obtained, the matched safe area coordinate is calculated further according to the key content area and the width-to-height ratio of the display screen of the playing device.
S404, rendering the video to be played to the full screen of the display screen of the playing device based on the central point of the safe area coordinates.
After the coordinates of the safe area are calculated, the center point of the coordinates of the safe area is used for amplifying the video to be played to fill the picture to the full screen of the full display screen, so that the full screen playing of the video to be played is realized.
In summary, in this embodiment, on the basis of the above embodiment, when the character avatar, the subtitle, and the like in the video to be played are identified and analyzed to obtain the key content area of the video to be played, the character avatar, the subtitle, and the like in the video to be played may be specifically identified and analyzed in an offline manner to obtain the key content area of the video to be played.
As shown in fig. 5, which is a flowchart of embodiment 5 of a video playing method disclosed in the present invention, the method may include the following steps:
s501, identifying and analyzing character head portraits and subtitles of a video to be played in real time to obtain a key content area of the video to be played;
when the video needs to be played in a full screen mode, firstly, key content identification analysis is carried out on the video to be played, and a key content area of the video to be played is obtained.
Specifically, when the video to be played is identified and analyzed, the character head portraits, subtitles and the like in the video to be played can be identified and analyzed in a real-time manner, so that the key content area of the video to be played is obtained.
S502, acquiring a key content area of a video to be played;
after the key content area of the video to be played is identified and analyzed, the key content area of the video to be played is further acquired.
S503, calculating coordinates of a safe area based on the width-to-height ratio of the key content area and the display screen of the playing device;
after the key content area of the video to be played is obtained, the matched safe area coordinate is calculated further according to the key content area and the width-to-height ratio of the display screen of the playing device.
S504, rendering the video to be played to the full screen of the display screen of the playing device based on the center point of the safe area coordinates.
After the coordinates of the safe area are calculated, the center point of the coordinates of the safe area is used for amplifying the video to be played to fill the picture to the full screen of the full display screen, so that the full screen playing of the video to be played is realized.
In summary, in this embodiment, on the basis of the above embodiment, when the character avatar, the subtitle, and the like in the video to be played are identified and analyzed to obtain the key content area of the video to be played, the character avatar, the subtitle, and the like in the video to be played may be specifically identified and analyzed in a real-time manner to obtain the key content area of the video to be played.
As shown in fig. 6, which is a schematic structural diagram of an embodiment 1 of a video playing system disclosed in the present invention, the system may include:
an obtaining module 601, configured to obtain a key content area of a video to be played;
when the video needs to be played in a full screen mode, a key content area of the video needing to be played is obtained first.
A calculating module 602, configured to calculate coordinates of a security area based on the key content area and an aspect ratio of a display screen of the playback device;
after the key content area of the video to be played is obtained, the matched safe area coordinate is calculated further according to the key content area and the width-to-height ratio of the display screen of the playing device.
The rendering module 603 is configured to render the video to be played to a full screen of a display screen of the playback device based on a center point of the coordinates of the safe area.
After the coordinates of the safe area are calculated, the center point of the coordinates of the safe area is used for amplifying the video to be played to fill the picture to the full screen of the full display screen, so that the full screen playing of the video to be played is realized.
In summary, in the above embodiment, when a video needs to be played, a key content area of the video to be played is first obtained, then a safe area coordinate is calculated based on the key content area and the aspect ratio of the display screen of the playing device, and the video to be played is rendered to the full screen of the display screen of the playing device based on the center point of the safe area coordinate. When the video is played, the video pictures can be fully paved on the display screen for full-screen playing, the integrity of the key content of the video can be ensured, the playing experience of a user is improved, and the viscosity of the user to the use of the platform is improved.
As shown in fig. 7, which is a schematic structural diagram of an embodiment 2 of a video playing system disclosed in the present invention, the system may include:
the identification analysis module 701 is configured to perform key content identification analysis on a video to be played to obtain a key content area of the video to be played;
when the video needs to be played in a full screen mode, firstly, key content identification analysis is carried out on the video to be played, and a key content area of the video to be played is obtained.
An obtaining module 702, configured to obtain a key content area of a video to be played;
after the key content area of the video to be played is identified and analyzed, the key content area of the video to be played is further acquired.
A calculating module 703, configured to calculate coordinates of the safe region based on the key content region and an aspect ratio of a display screen of the playback device;
after the key content area of the video to be played is obtained, the matched safe area coordinate is calculated further according to the key content area and the width-to-height ratio of the display screen of the playing device.
And the rendering module 704 is used for rendering the video to be played to the full screen of the display screen of the playing device based on the central point of the safe region coordinates.
After the coordinates of the safe area are calculated, the center point of the coordinates of the safe area is used for amplifying the video to be played to fill the picture to the full screen of the full display screen, so that the full screen playing of the video to be played is realized.
On the basis of the above embodiment, the present embodiment can first perform key content identification analysis on the video to be played, so as to obtain a key content area of the video to be played.
As shown in fig. 8, which is a schematic structural diagram of an embodiment 3 of a video playing system disclosed in the present invention, the system may include:
the identification analysis module 801 is used for performing character head portrait and subtitle identification analysis on a video to be played to obtain a key content area of the video to be played;
when the video needs to be played in a full screen mode, firstly, key content identification analysis is carried out on the video to be played, and a key content area of the video to be played is obtained.
Specifically, when the video to be played is identified and analyzed, the character head portraits, subtitles, and the like in the video to be played can be identified and analyzed, and the key content area of the video to be played is obtained.
An obtaining module 802, configured to obtain a key content area of a video to be played;
after the key content area of the video to be played is identified and analyzed, the key content area of the video to be played is further acquired.
A calculating module 803, configured to calculate coordinates of the safe area based on the key content area and an aspect ratio of a display screen of the playback device;
after the key content area of the video to be played is obtained, the matched safe area coordinate is calculated further according to the key content area and the width-to-height ratio of the display screen of the playing device.
And the rendering module 804 is configured to render the video to be played to a full screen of a display screen of the playing device based on a center point of the coordinates of the safe region.
After the coordinates of the safe area are calculated, the center point of the coordinates of the safe area is used for amplifying the video to be played to fill the picture to the full screen of the full display screen, so that the full screen playing of the video to be played is realized.
In summary, in this embodiment, on the basis of the above embodiment, when the key content identification analysis is performed on the video to be played to obtain the key content area of the video to be played, the key content area of the video to be played can be obtained specifically by performing identification analysis on the character avatar, the subtitle, and the like in the video to be played.
As shown in fig. 9, which is a schematic structural diagram of an embodiment 4 of a video playing system disclosed in the present invention, the system may include:
the recognition analysis module 901 is configured to perform character head portrait and subtitle recognition analysis on a video to be played offline to obtain a key content area of the video to be played;
when the video needs to be played in a full screen mode, firstly, key content identification analysis is carried out on the video to be played, and a key content area of the video to be played is obtained.
Specifically, when the video to be played is identified and analyzed, the character head portraits, subtitles and the like in the video to be played can be identified and analyzed in an off-line mode, and the key content area of the video to be played is obtained.
An obtaining module 902, configured to obtain a key content area of a video to be played;
after the key content area of the video to be played is identified and analyzed, the key content area of the video to be played is further acquired.
A calculating module 903, configured to calculate coordinates of the safe region based on the key content region and an aspect ratio of a display screen of the playback device;
after the key content area of the video to be played is obtained, the matched safe area coordinate is calculated further according to the key content area and the width-to-height ratio of the display screen of the playing device.
And the rendering module 904 is configured to render the video to be played to a full screen of a display screen of the playback device based on the center point of the coordinates of the safe region.
After the coordinates of the safe area are calculated, the center point of the coordinates of the safe area is used for amplifying the video to be played to fill the picture to the full screen of the full display screen, so that the full screen playing of the video to be played is realized.
In summary, in this embodiment, on the basis of the above embodiment, when the character avatar, the subtitle, and the like in the video to be played are identified and analyzed to obtain the key content area of the video to be played, the character avatar, the subtitle, and the like in the video to be played may be specifically identified and analyzed in an offline manner to obtain the key content area of the video to be played.
As shown in fig. 10, which is a schematic structural diagram of an embodiment 5 of a video playing system disclosed in the present invention, the system may include:
the identification analysis module 1001 is used for performing character head portrait and subtitle identification analysis on a video to be played in real time to obtain a key content area of the video to be played;
when the video needs to be played in a full screen mode, firstly, key content identification analysis is carried out on the video to be played, and a key content area of the video to be played is obtained.
Specifically, when the video to be played is identified and analyzed, the character head portraits, subtitles and the like in the video to be played can be identified and analyzed in a real-time manner, so that the key content area of the video to be played is obtained.
An obtaining module 1002, configured to obtain a key content area of a video to be played;
after the key content area of the video to be played is identified and analyzed, the key content area of the video to be played is further acquired.
A calculating module 1003, configured to calculate coordinates of the security area based on the key content area and an aspect ratio of a display screen of the playback device;
after the key content area of the video to be played is obtained, the matched safe area coordinate is calculated further according to the key content area and the width-to-height ratio of the display screen of the playing device.
And the rendering module 1004 is used for rendering the video to be played to the full screen of the display screen of the playing device based on the central point of the safe region coordinates.
After the coordinates of the safe area are calculated, the center point of the coordinates of the safe area is used for amplifying the video to be played to fill the picture to the full screen of the full display screen, so that the full screen playing of the video to be played is realized.
In summary, in this embodiment, on the basis of the above embodiment, when the character avatar, the subtitle, and the like in the video to be played are identified and analyzed to obtain the key content area of the video to be played, the character avatar, the subtitle, and the like in the video to be played may be specifically identified and analyzed in a real-time manner to obtain the key content area of the video to be played.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A video playback method, comprising:
acquiring a key content area of a video to be played;
calculating coordinates of a safe region based on the key content region and the aspect ratio of a display screen of the playing device;
rendering the video to be played to the full screen of the display screen of the playing device based on the central point of the safe region coordinates.
2. The method according to claim 1, wherein before the obtaining the key content area of the video to be played, the method further comprises:
and performing key content identification analysis on the video to be played to obtain a key content area of the video to be played.
3. The method according to claim 2, wherein the performing key content identification analysis on the video to be played to obtain a key content area of the video to be played comprises:
and identifying and analyzing character head portraits and subtitles of the video to be played to obtain a key content area of the video to be played.
4. The method of claim 3, wherein the performing character avatar and subtitle recognition analysis on the video to be played to obtain a key content area of the video to be played comprises:
and performing character head portrait and subtitle recognition analysis on the video to be played in an off-line manner to obtain a key content area of the video to be played.
5. The method of claim 4, wherein the performing character avatar and subtitle recognition analysis on the video to be played to obtain a key content area of the video to be played comprises:
and identifying and analyzing character head portraits and subtitles of the video to be played in real time to obtain a key content area of the video to be played.
6. A video playback system, comprising:
the acquisition module is used for acquiring a key content area of a video to be played;
the computing module is used for computing the coordinates of the safe area based on the width-height ratio of the key content area and the display screen of the playing device;
and the rendering module is used for rendering the video to be played to the full screen of the display screen of the playing equipment based on the central point of the safe region coordinates.
7. The system of claim 6, further comprising:
and the identification analysis module is used for identifying and analyzing the key content of the video to be played to obtain the key content area of the video to be played.
8. The system of claim 7, wherein the recognition analysis module is specifically configured to:
and identifying and analyzing character head portraits and subtitles of the video to be played to obtain a key content area of the video to be played.
9. The system of claim 8, wherein the recognition analysis module is specifically configured to:
and performing character head portrait and subtitle recognition analysis on the video to be played in an off-line manner to obtain a key content area of the video to be played.
10. The system of claim 8, wherein the recognition analysis module is specifically configured to:
and identifying and analyzing character head portraits and subtitles of the video to be played in real time to obtain a key content area of the video to be played.
CN202011008467.2A 2020-09-23 2020-09-23 Video playing method and system Pending CN112135183A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011008467.2A CN112135183A (en) 2020-09-23 2020-09-23 Video playing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011008467.2A CN112135183A (en) 2020-09-23 2020-09-23 Video playing method and system

Publications (1)

Publication Number Publication Date
CN112135183A true CN112135183A (en) 2020-12-25

Family

ID=73841416

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011008467.2A Pending CN112135183A (en) 2020-09-23 2020-09-23 Video playing method and system

Country Status (1)

Country Link
CN (1) CN112135183A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114071214A (en) * 2021-11-17 2022-02-18 上海哔哩哔哩科技有限公司 Video display method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1585464A (en) * 2003-08-20 2005-02-23 三星电子株式会社 Apparatus and method to control caption positioning
US20120057850A1 (en) * 2010-09-03 2012-03-08 Rovi Technologies Corporation Systems and methods for generating and embedding personalized media content
CN110738598A (en) * 2019-08-28 2020-01-31 咪咕文化科技有限公司 Image adaptation method, electronic device and storage medium
WO2020034150A1 (en) * 2018-08-16 2020-02-20 华为技术有限公司 Method and apparatus for displaying and uploading advertisement picture

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1585464A (en) * 2003-08-20 2005-02-23 三星电子株式会社 Apparatus and method to control caption positioning
US20120057850A1 (en) * 2010-09-03 2012-03-08 Rovi Technologies Corporation Systems and methods for generating and embedding personalized media content
WO2020034150A1 (en) * 2018-08-16 2020-02-20 华为技术有限公司 Method and apparatus for displaying and uploading advertisement picture
CN110738598A (en) * 2019-08-28 2020-01-31 咪咕文化科技有限公司 Image adaptation method, electronic device and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114071214A (en) * 2021-11-17 2022-02-18 上海哔哩哔哩科技有限公司 Video display method and device

Similar Documents

Publication Publication Date Title
CN110944235B (en) Live broadcast interaction method, device and system, electronic equipment and storage medium
CN104866323B (en) Unlocking interface generation method and device and electronic equipment
CN105872448A (en) Display method and device of video images in video calls
CN111147880A (en) Interaction method, device and system for live video, electronic equipment and storage medium
CN110446110B (en) Video playing method, video playing device and storage medium
CN105117122A (en) Terminal screenshot method and terminal
CN108176049B (en) Information prompting method, device, terminal and computer readable storage medium
GB2526245A (en) Sharing content
WO2020244553A1 (en) Subtitle border-crossing processing method and apparatus, and electronic device
CN104615418B (en) A kind of implementation method and device of slidably broadcast window
JP5460793B2 (en) Display device, display method, television receiver, and display control device
WO2022148293A1 (en) Information prompting method and apparatus
CN112601120B (en) Subtitle display method and device
CN113010135B (en) Data processing method and device, display terminal and storage medium
CN113691829A (en) Virtual object interaction method, device, storage medium and computer program product
CN104967922A (en) Subtitle adding position determining method and device
CN112135183A (en) Video playing method and system
CN114760519A (en) Interaction method, device and equipment based on gift special effect of live broadcast room and storage medium
CN113332720A (en) Game map display method and device, computer equipment and storage medium
CN113101633A (en) Simulation operation method and device of cloud game and electronic equipment
CN112121420A (en) Image display method and device, storage medium and electronic device
CN115619919A (en) Scene object highlighting method and device, electronic equipment and storage medium
CN110505512A (en) Full screen playing method, terminal equipment and computer readable storage medium
CN114490215A (en) Stuck detection method, detection device and computer readable storage medium
CN112702625B (en) Video processing method, device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20201225

RJ01 Rejection of invention patent application after publication