WO2015062434A1 - 一种视频播放界面调整的方法和装置 - Google Patents

一种视频播放界面调整的方法和装置 Download PDF

Info

Publication number
WO2015062434A1
WO2015062434A1 PCT/CN2014/089193 CN2014089193W WO2015062434A1 WO 2015062434 A1 WO2015062434 A1 WO 2015062434A1 CN 2014089193 W CN2014089193 W CN 2014089193W WO 2015062434 A1 WO2015062434 A1 WO 2015062434A1
Authority
WO
WIPO (PCT)
Prior art keywords
target network
network video
ratio
screen
module
Prior art date
Application number
PCT/CN2014/089193
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 US15/033,086 priority Critical patent/US20160269777A1/en
Publication of WO2015062434A1 publication Critical patent/WO2015062434A1/zh

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/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/4402Processing 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 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 or rendering scenes according to encoded video stream 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
    • H04N21/440272Processing 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 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 for performing aspect ratio conversion
    • 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/4402Processing 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 reformatting operations of video signals for household redistribution, storage or real-time display
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • 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/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4782Web browsing, e.g. WebTV

Definitions

  • the present application belongs to the field of smart television, and in particular, to a method and device for adjusting a video playing interface.
  • TV is the most common household appliance in modern society. With the development of technology, it has a fully open platform, and a smart TV equipped with an operating system has emerged. While enjoying the ordinary TV content based on the smart TV, the user can install and uninstall various application software by himself, and can continuously expand and upgrade the function of the smart TV, and can bring a rich personalized experience to the user.
  • the smart TV can browse the webpage and can play the video in the webpage.
  • the original video is directly played by the video source obtained through the page. Therefore, the video can only be played according to the video window size of the page. Since the size of the video window is not uniform in each website, and the screen of the smart TV, especially the screen size of the wide screen TV is not consistent with the video window of the page, when the user watches the network video on the smart TV, the TV screen The size of the video played on it is much smaller than the size of the TV screen. There is a black border between the TV screen and the video, and the user does not feel good.
  • the user wants to adjust the play ratio of the video to suit the TV screen viewing, and the user needs to select a button suitable for the proportion of the TV screen from the plurality of zoom ratio buttons on the website, and the video is stretched and played, the operation process is cumbersome, and the user experience effect difference.
  • one of the purposes of the present application is to provide a method for adjusting a video playing interface and The device, after the user selects the video, the user does not have to perform manual operation, and can automatically stretch the target network video to the proportion suitable for the smart TV screen, ensuring the image fidelity and improving the user experience.
  • a method for adjusting a video playing interface is applied to a smart television, and the method comprises:
  • the size includes: a width and a height; and the display ratio of the target network video obtained by stretching according to the preset screen ratio of the smart TV includes:
  • the target network video height is stretched in proportion to the width, and Adding a black watermark border to the height of the screen on both sides of the target network video height;
  • the preset screen ratio of the smart TV includes: an aspect ratio of 16:9.
  • the obtained target network video is stretched according to the preset screen ratio of the smart TV. Before the display ratio, it also includes:
  • the foregoing method in an embodiment of the present application, is based on the actual broadcast of the received target network video. After the address is obtained by the address, the display ratio of the obtained target network video is stretched according to the preset screen ratio of the smart TV, and further includes:
  • the preset stretchable range is a range in which the target network video is stretched without distortion, and the ratio of the preset screen ratio of the smart TV to the display ratio of the target network video satisfies 0.8 ⁇ 1.2.
  • a device for adjusting a video playing interface is applied to a smart television, and the device comprises:
  • An acquiring module configured to acquire the target network video according to the actual play address of the received target network video
  • a stretching module configured to stretch the obtained display ratio of the target network video according to a preset screen ratio of the smart TV, so that the target network video is played at a preset screen ratio.
  • the size includes: a width and a height
  • the stretching module comprises: a judging module, a first stretching module, and a second stretching module
  • the determining module is configured to determine whether a display ratio of the target network video is greater than the preset screen ratio, and when the display ratio of the target network video is greater than the preset screen ratio, triggering the first stretching module, When the display ratio of the target network video is not greater than the preset screen ratio, triggering the second stretching module;
  • the first stretching module is configured to stretch the target network video width to the screen width, the target network video height is stretched in proportion to the width, and is supplemented on both sides of the target network video height a black watermark border to the height of the screen;
  • the second stretching module is configured to stretch the target network video height to the screen height, and the player stretches a width of the target network video to a width of the screen.
  • the foregoing device in an embodiment of the present application, further includes: an inquiry module and a first play module;
  • the query module is configured to generate query information for asking whether to stretch play, and display on the smart TV screen, when the information for confirming the stretch play is obtained, triggering the stretch module, otherwise, triggering the first Playback module
  • the first playing module is configured to play at a display ratio of the target network video.
  • the foregoing apparatus in an embodiment of the present application, further includes: a determining module and a second playing module;
  • the determining module is configured to determine whether the display ratio of the target network video meets a preset stretchable range, and if so, trigger the stretching module; otherwise, trigger the second playing module;
  • the second playing module is configured to play at a display ratio of the target network video
  • the preset stretchable range is a range in which the target network video is stretched without distortion, and the ratio of the preset screen ratio of the smart TV to the display ratio of the target network video satisfies 0.8 ⁇ 1.2.
  • the present application provides a method for adjusting a video playing interface, which is applied to a smart television.
  • the method includes: acquiring the target network video according to an actual playing address of the received target network video; according to a preset screen ratio of the smart television The obtained display ratio of the target network video is stretched to cause the target network video to be played at a preset screen ratio.
  • the target network video is selected, when the target network video process is played, the target network video is automatically stretched and played according to the proportion of the smart TV screen, and the image is realistically ensured without manual operation by the user. The operation is simple and the user experience is improved.
  • FIG. 1 is a flowchart of an embodiment of a method for adjusting a video playing interface provided by the present application
  • FIG. 2 is a flow chart of another embodiment of a method for adjusting a video playing interface provided by the present application Figure
  • FIG. 3 is a flowchart of another embodiment of a method for adjusting a video playing interface provided by the present application.
  • FIG. 4 is a flowchart of another embodiment of a method for adjusting a video playing interface provided by the present application.
  • FIG. 5 is a schematic structural diagram of an apparatus for adjusting a video playing interface according to an embodiment of the present disclosure
  • FIG. 6 is a schematic structural diagram of another embodiment of a device for adjusting a video playing interface provided by the present application.
  • FIG. 7 is a schematic structural diagram of another embodiment of a device for adjusting a video playing interface provided by the present application.
  • FIG. 8 is a schematic structural diagram of another embodiment of a device for adjusting a video playing interface according to the present application.
  • FIG. 9 is a flowchart of an application scenario of a method for adjusting a video playing interface provided by the present application.
  • FIG. 10 is a flowchart of another application scenario of a method for adjusting a video play interface provided by the present application
  • FIG. 11 is a schematic diagram of a smart TV screen in another application scenario of a method for adjusting a video playback interface provided by the present application.
  • the field of view formed by two eyes of a person has a phenomenon that the width is greater than the height, if the television is not used Matching the screen of the human visual window will make people watch the environment on both sides of the TV when they watch TV, affecting the concentration of people's thinking, thus destroying the TV viewing effect.
  • the ratio of a person's natural field of view is 16:9. Therefore, in order to ensure a more favorable viewing effect for the viewer, most LCD TVs on the market currently use a wide screen ratio, such as 16:9. In the embodiment of the present application, the intelligence The screen ratio of the TV is also 16:9.
  • the user requests to play the target network video, and the browser obtains the video label in the webpage where the target network video is located, and the video label is a dedicated label of the target network video, and the video label can be parsed to obtain the size of the target network video displayed on the page and the video.
  • the specific process is:
  • a method for adjusting a video playing interface provided in the embodiment of the present application is a method performed in a player of a smart TV.
  • the player involved in the present application refers to software capable of playing video or audio files stored in the form of digital signals.
  • the software is installed in a smart TV, and can be various players such as a media player and a RealPlayer.
  • a flowchart of a method for adjusting a video playing interface includes:
  • Step S101 Acquire the target network video according to the actual play address of the received target network video.
  • the target network video After the player receives the actual play address of the target network video, the target network video can be obtained according to the actual play address.
  • Step S102 Stretching the acquired target network according to a preset screen ratio of the smart TV.
  • the display ratio of the video is such that the target network video is played at a preset screen ratio.
  • the screen ratio of the smart TV can be preset and stored. When the actual play address of the target network video is received, it can be known that the target network video needs to be played, and then the screen ratio is obtained from the storage device.
  • the player stretches the target network video according to the screen ratio of the smart TV by 16:9, so that the preset screen ratio is satisfied during the target network video playing process to ensure a more favorable viewing effect of the viewer.
  • the playback ratio of the player may be set by using the preset screen ratio, and the player plays the target network information by using the playback ratio when playing the acquired target network video.
  • the embodiment provides a method for adjusting a video playing interface, including: acquiring the target network video according to the actual playing address of the received target network video; and acquiring according to the preset screen ratio of the smart television.
  • the display ratio of the target network video to the target network video is played at a preset screen ratio.
  • the target network video is automatically stretched, so that the playback size of the video reaches the natural view of the most suitable person, and the user does not have to manually operate, thereby improving the user experience.
  • step S102 includes:
  • Step S1021 determining whether the display ratio of the target network video is greater than the preset screen ratio; if yes, executing step S1022; otherwise, performing step S1023;
  • the preset screen ratio is 16:9.
  • step S1023 Determining a relationship between a display ratio of the target network video and a preset screen ratio.
  • Step S1022 Stretch the target network video width to the screen width, the target network video height is stretched in proportion to the width, and is supplemented on both sides of the target network video height. a black watermark border to the height of the screen;
  • the ratio is width: height.
  • the process of stretching the target network video to the preset screen ratio includes:
  • the target network video height is stretched in proportion to the width, so that the image quality of the target network video is not deformed during playback, and the target network video is not covered with full screen due to the proportional stretching. Height, so the black watermark border is added to the height of the screen on both sides of the target network video height.
  • Step S1023 Stretch the target network video height to the screen height, and stretch the width of the target network video to the width of the screen.
  • the target network video is stretched to a preset screen ratio, and is directly stretched from the height and the width to the screen size (height) And width), that is, stretching the target network video width to the screen width; stretching the target network video height to the screen height to make the target network video play the screen when it is played.
  • the embodiment provides a method for adjusting a video playing interface, and further includes: determining whether a display ratio of the target network video is greater than the preset screen ratio; and when a display ratio of the target network video is greater than the
  • the screen ratio is preset
  • the player stretches the target network video width to the screen width, the target network video height is stretched in proportion to the width, and is supplemented on both sides of the target network video height a black watermark border to a height of the screen
  • the display ratio of the target network video is not greater than the preset screen ratio
  • the player stretches the target network video height to the screen height, the playing
  • the device stretches the width of the target network video to the width of the screen.
  • the target network video is automatically stretched in different ways, so that the video plays as much as possible, and the image is played. Meet people's viewing habits.
  • step S101 a flowchart of a method for adjusting a video playing interface according to another embodiment of the present application is shown.
  • the method further includes:
  • Step S103 generating inquiry information asking whether to stretch the play, and displaying on the smart TV screen;
  • the user can determine whether to stretch the play according to his or her preference or usage habits, etc., the player generates an inquiry message asking whether to stretch the play before stretching the target network video, and displays the inquiry information on the screen of the smart TV.
  • the user selects whether to confirm the stretch play by the remote control or the like, or to deny the stretch play, and generate feedback information to send to the smart TV.
  • Step S104 determining whether the received information is a determined stretch play; if yes, executing step S102; otherwise, performing step S105:
  • step S102 is performed, and the size of the target network video displayed on the page is stretched according to the preset screen ratio of the smart TV. So that the target network video is as full as possible on the smart TV.
  • Step S105 playing at the display ratio of the target network video.
  • the negative stretch play is performed, and the player no longer stretches the target network video, but plays the target network video at the size displayed on the page.
  • the method for adjusting the video playing interface further includes: generating query information for asking whether to stretch and playing, and displaying the information on the smart TV screen; when obtaining the information for confirming the stretched play, performing And step of stretching the obtained display ratio of the target network video according to the preset screen ratio of the smart TV; otherwise, playing the display ratio of the target network video.
  • an inquiry question asking whether to stretch is proposed, and the user determines whether to stretch according to personal usage habits, improves user participation, and the user experience is better.
  • step S101 a method for adjusting a video playing interface according to another embodiment of the present application is shown.
  • Step S106 determining whether the display ratio of the target network video meets the preset stretchable range; if yes, executing step S102, otherwise, performing step S107;
  • step S102 is performed to the target.
  • the network video is stretched, otherwise, step S107 is performed without stretching.
  • the preset stretchable range is a range in which the target network video is stretched without distortion, and the ratio of the preset screen ratio of the smart TV to the target network video ratio satisfies 0.8 to 1.2.
  • Step S107 playing at a display ratio of the target network video
  • the target network video ratio does not satisfy the preset stretchable range, that is, the stretch appears to be distorted, the target network video is not stretched and played, and the target network video is played in a proportion of the page display.
  • the embodiment provides a method for adjusting a video playing interface, and further includes: determining whether a display ratio of the target network video meets a preset stretchable range, and if so, according to the smart television.
  • the preset screen scale stretches the displayed display ratio of the target network video; otherwise, it plays in the display ratio of the target network video.
  • the stretching is performed, otherwise the stretching is not performed, and the video image that is stretched and played is not distorted, and the user experience is high.
  • the present application also provides a computer readable recording medium on which a program for executing the above method is recorded.
  • the computer readable recording medium includes any mechanism for storing or transmitting information in a form readable by a computer (eg, a computer).
  • a machine-readable medium includes a read only memory (ROM), a random access memory (RAM), a magnetic disk storage medium, an optical storage medium, a flash storage medium, electricity, Optical, acoustic or other forms of propagating signals (eg, carrier waves, infrared signals, digital signals, etc.).
  • an embodiment of the apparatus for adjusting the video playback interface is also provided in the specification of the present application.
  • FIG. 5 a schematic diagram of a structure of an apparatus for adjusting a video playing interface provided by the present application, the apparatus includes: an obtaining module 101 and a stretching module 102;
  • the obtaining module 101 is configured to acquire the target network video according to the actual play address of the received target network video.
  • the acquisition module 101 of the player After receiving the actual play address of the target network video, the acquisition module 101 of the player acquires the target network video according to the actual play address.
  • the stretching module 102 is configured to stretch the obtained display ratio of the target network video according to a preset screen ratio of the smart TV, so that the target network video is played at a preset screen ratio.
  • the screen ratio of the smart TV can be preset and stored.
  • the player receives the actual play address of the target network video, it can be known that the target network video needs to be played, and then the screen ratio is obtained from the storage device.
  • the stretching module 102 stretches the target network video according to the screen ratio of the smart TV by 16:9, so that the preset screen ratio is satisfied during the target network video playing to ensure a more favorable viewing effect of the viewer.
  • the playback ratio of the player may be set by using the preset screen ratio, and the player plays the target network information by using the playback ratio when playing the acquired target network video.
  • the embodiment 1 of the present application provides an apparatus for adjusting a video playing interface, including: an acquiring module, configured to acquire the target network video according to an actual playing address of the received target network video; and a stretching module, configured to: And displaying the displayed display ratio of the target network video according to the preset screen ratio of the smart TV, so that the target network video is played at a preset screen ratio.
  • the target network video is automatically pulled according to the preset screen ratio of the smart TV screen. Stretching, the playback size of the video reaches the natural field of view that is most suitable for the user, and the user does not have to manually operate, thereby improving the user experience.
  • the stretching module 102 includes: a determining module 1021 and a first stretching module. 1022 and a second tensile module 1023;
  • the determining module 1021 is configured to determine whether a display ratio of the target network video is greater than the preset screen ratio, and trigger a first pull when a display ratio of the target network video is greater than the preset screen ratio.
  • the module 1022 is configured to trigger the second stretching module 1023 when the display ratio of the target network video is not greater than the preset screen ratio;
  • the preset screen ratio is 16:9.
  • the determining module 1021 determines a relationship between the display ratio of the target network video and the preset screen ratio.
  • the second stretching module 1023 is triggered.
  • the target network video stretching can be referred to as a 16:9 display effect, and the smart TV screen is spread to reach a full screen state; otherwise, the first stretching module 1022 is triggered, and the full screen state cannot be achieved.
  • the first stretching module 1022 is configured to stretch the target network video width to the screen width, the target network video height is stretched in proportion to the width, and is on both sides of the target network video height Supplementing the black watermark border to the height of the screen;
  • the ratio is width: height.
  • the process of stretching the target network video to the preset screen ratio by the first stretching module 1022 includes:
  • the target network video height is stretched in proportion to the width, so that the image quality of the target network video is not deformed during playback, and the target network video is not covered with full screen due to the proportional stretching. Height, so the black watermark border is added to the height of the screen on both sides of the target network video height.
  • the second stretching module 1023 is configured to stretch the target network video height to the screen height, and the player stretches a width of the target network video to a width of the screen.
  • the second stretching module 1023 stretches the target network video to a preset screen ratio, and directly stretches from the height and the width. To the size (height and width) of the screen, that is, to stretch the target network video width to the screen width; stretch the target network video height to the screen height so that the target network video plays the screen when it is played.
  • the embodiment provides a device for adjusting a video playing interface, where the stretching module includes: a determining module, a first stretching module, and a second stretching module; wherein the determining module is configured to determine Whether the display ratio of the target network video is greater than the preset screen ratio, when the display ratio of the target network video is greater than the preset screen ratio, triggering the first stretching module, when the target network video is displayed When the preset screen ratio is not greater than, the second stretching module is triggered; the first stretching module is configured to stretch the target network video width to the screen width, and the target network video height is The width is stretched in equal proportions, and a black watermark border is added to the height of the screen on both sides of the target network video height; the second stretching module is configured to stretch the target network video height to the screen height The player stretches the width of the target network video to the width of the screen.
  • the device automatically stretches the target network video in different ways according to the relationship between the preset screen ratio of the smart TV screen and the display ratio of the target network video, so that the video plays as much as possible when the video is played, and the image is played. Meet people's viewing habits.
  • FIG. 7 is a schematic structural diagram of an apparatus for adjusting a video playback interface according to another embodiment of the present application.
  • the structure shown in FIG. 5 further includes: an inquiry module 103 and a first playback module 104;
  • the query module 103 is configured to generate query information for asking whether to stretch the play, and display on the smart TV screen, when the information for confirming the stretch play is obtained, the stretching module 102 is triggered, otherwise , triggering the first play module 104;
  • the block 103 generates an inquiry message asking whether to stretch the play before stretching the target network video, and displays the inquiry information on the screen of the smart TV to prompt the user to select whether to perform stretching, and the user autonomously controls the device through a remote controller or the like. Choose whether to confirm stretch play or negative stretch play and generate feedback to send to the smart TV.
  • the stretching module 102 is triggered to stretch the target network video according to the preset screen ratio of the smart TV.
  • the size of the display is such that the target network video is spread as much as possible on the smart TV, otherwise the first play module 104 is triggered.
  • the first playing module 104 is configured to play at a display ratio of the target network video.
  • the negative stretch play is performed, and the player no longer stretches the target network video, and the first play module 104 plays the size of the target network video on the page display. .
  • the apparatus for adjusting a video playing interface further includes: an inquiry module, configured to generate inquiry information for asking whether to stretch play, and displaying on the smart television screen, when the confirmation is pulled When the information is played, the stretching module is triggered. Otherwise, the first playing module is triggered.
  • the first playing module is configured to play in the display ratio of the target network video. Before stretching the target network video, an inquiry question asking whether to stretch is proposed, and the user determines whether to stretch according to personal usage habits, improves user participation, and the user experience is better.
  • FIG. 8 is a schematic structural diagram of an apparatus for adjusting a video playing interface according to another embodiment of the present application.
  • the structure shown in FIG. 5 further includes: a determining module 105 and a second playing module 106;
  • the determining module 105 is configured to determine whether the display ratio of the target network video meets a preset stretchable range, and if so, trigger the stretching module 102, otherwise, trigger the second playing module 106;
  • the judgment module 105 Determine whether the display ratio of the target network video meets the preset stretchable range. If the preset stretchable range is satisfied, that is, the stretch does not appear distortion, the stretching module 102 is triggered to perform the target network video. Stretching, otherwise, triggering the second play module 106 without stretching.
  • the preset stretchable range is a range in which no distortion occurs after the target network video is stretched, and the ratio of the preset screen ratio of the smart TV to the display ratio of the target network video satisfies 0.8 to 1.2.
  • the second playing module 106 is configured to play at a display ratio of the target network video.
  • the determining module 105 determines that the target network video ratio does not satisfy the preset stretchable range, that is, the stretch appears to be distorted, the target network video is not stretched and played, and the second playing module 106 uses the target network video to The ratio displayed on the page plays the video.
  • another embodiment of the present application provides a device for adjusting a video playing interface, and further includes: a determining module, configured to determine whether a display ratio of the target network video meets a preset stretchable range, if The triggering module is triggered, otherwise, the second playing module is triggered; and the second playing module is configured to play in the display ratio of the target network video.
  • a determining module configured to determine whether a display ratio of the target network video meets a preset stretchable range, if The triggering module is triggered, otherwise, the second playing module is triggered; and the second playing module is configured to play in the display ratio of the target network video.
  • the application provides a specific application scenario of a method for adjusting a video playing interface in an actual application.
  • FIG. 1 A specific flow chart of an application scenario is shown in FIG. 1
  • Step S201 The user selects a target network video in the browser webpage of the smart TV to generate request information.
  • the user selects a target network video to be viewed in the displayed webpage of the smart TV through a control device such as a remote controller.
  • Step S202 The browser receives the request information, and opens a webpage where the target network video is located;
  • the browser After receiving the request information, the browser opens the browser to obtain a video tag of the webpage, and parses the video tag to obtain a size of the target network video displayed on the page and an actual play address of the video, according to the target network video.
  • the size of the page display is the ratio of the target network video. In this application scenario, the ratio is 16:9.
  • Step S203 The browser calls the player, and the player starts;
  • the browser sends a call request to invoke the player to play the target network video on the smart TV through the player.
  • the player is started, and the target network video can be obtained according to the actual play address.
  • Step S204 The player stretches the target network video ratio by 16:9, so that the target network video is played on the screen of the smart TV with a 16:9 effect.
  • the video is stretched, the height of the target network video is stretched to the height of the smart TV screen, and the width is stretched to the width of the smart TV, so that the video is played on the screen of the smart TV.
  • Play on the 16:9 effect that is, full-screen playback.
  • Step S301 The user selects a target network video in the browser webpage of the smart TV to generate request information.
  • the user selects a target network video to be viewed in the displayed webpage of the smart TV through a control device such as a remote controller.
  • Step S302 The browser receives the request information, and opens a webpage where the target network video is located;
  • the browser After receiving the request information, the browser opens the browser to obtain a video tag of the webpage, and parses the video tag to obtain a size of the target network video displayed on the page and an actual play address of the video, according to the target network video.
  • the size of the page display is the ratio of the target network video. In this application scenario, the ratio is 20:9.
  • Step S303 the browser calls the player, and the player starts
  • the browser sends a call request to invoke the player to play the target network video on the smart TV through the player.
  • the player is started, and the target network video can be obtained according to the actual play address.
  • Step S304 The player stretches the target network video ratio by 20:9, so that the target network video is played on the screen of the smart TV with a 16:9 effect.
  • the video is stretched, the width of the target network video is stretched to the width of the smart TV screen, the height and the width are stretched in proportion, and the black watermark is added on both sides of the target network video height.
  • the height of the border to the screen is stretched, the width of the target network video is stretched to the width of the smart TV screen, the height and the width are stretched in proportion, and the black watermark is added on both sides of the target network video height.
  • FIG. 11 is a schematic diagram of the smart TV screen 201.
  • the video playing area 202 is not covered with the smart TV screen 201, and the uncovered area, that is, the height of the target network video is supplemented by a black border on both sides.

Landscapes

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

Abstract

一种视频播放界面调整的方法和装置,应用于智能电视,该包括:依据接收到的目标网络视频的实际播放地址获取所述目标网络视频;依据所述智能电视的预设屏幕比例拉伸获取到的所述目标网络视频的显示比例,以使所述目标网络视频以预设屏幕比例播放。采用该方法,在选定目标网络视频后,在播放该目标网络视频过程时,自动根据智能电视屏幕的比例对目标网络视频进行拉伸并播放,在保证了图像逼真程度同时,不必用户手动操作,操作简单,提高了用户体验。

Description

一种视频播放界面调整的方法和装置
本申请要求在2013年10月30日提交中国专利局、申请号为201310530237.6、发明名称为“一种视频播放界面调整的方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请属于智能电视领域,尤其涉及一种视频播放界面调整的方法和装置。
背景技术
电视是现代社会中最常见的家用电器,随着科技技术的发展,具有全开放式平台,搭载了操作***的智能电视也应运而生。用户在基于该智能电视欣赏普通电视内容的同时,可以自行安装和卸载各类应用软件,可持续对智能电视的功能进行扩充和升级,能够给用户带来丰富的个性化体验。
智能电视能够实现浏览网页,并且可以实现对网页中视频进行播放。
但是,现在的智能电视在播放网络中的视频时,是对通过页面获取到视频源直接进行原始比例播放,因此,只能按照页面的视频窗口大小来播放视频。由于视频窗口的大小在各个网站中并不统一,而智能电视的屏幕,尤其宽荧屏电视的屏幕的尺寸与页面的视频窗口并不一致,所以,当用户在智能电视上观看网络视频时,电视屏幕上播放的视频尺寸要远小于电视屏幕的尺寸,在电视屏幕与视频之间存在黑边,用户观看感受不佳。用户想要使该视频的播放比例调整到适合电视屏幕观看,需要用户从网站设置多个放大比例按钮中选择适合电视屏幕比例的按钮,将该视频拉伸后播放,操作过程繁琐,用户体验效果差。
发明内容
有鉴于此,本申请的目的之一在于提供一种视频播放界面调整的方法和 装置,用户选定视频后,用户不必进行手动操作,可自动拉伸目标网络视频至最适合智能电视屏幕的比例,保证图像逼真程度,提高用户体验。
一种视频播放界面调整的方法,应用于智能电视,该方法包括:
依据接收到的目标网络视频的实际播放地址获取所述目标网络视频;
依据所述智能电视的预设屏幕比例拉伸获取到的所述目标网络视频的显示比例,以使所述目标网络视频以预设屏幕比例播放。
上述的方法,本申请一实施例中,所述尺寸包括:宽度和高度;依据所述智能电视的预设屏幕比例拉伸获取到的所述目标网络视频的显示比例包括:
判断所述目标网络视频的显示比例是否大于所述预设屏幕比例;
当所述目标网络视频的显示比例大于所述预设屏幕比例时,拉伸所述目标网络视频宽度至所述屏幕宽度,所述目标网络视频高度与所述宽度等比例拉伸,并且在所述目标网络视频高度两侧补充黑色水印边框至所述屏幕的高度;
当所述目标网络视频的显示比例不大于所述预设屏幕比例时,拉伸所述目标网络视频高度至所述屏幕高度,所述播放器拉伸所述目标网络视频的宽度至所述屏幕的宽度。
上述的方法,本申请一实施例中,所述智能电视的预设屏幕比例包括:宽高比为16∶9。
上述的方法,本申请一实施例中,依据接收到的目标网络视频的实际播放地址获取所述目标网络视频之后,依据所述智能电视的预设屏幕比例拉伸获取到的所述目标网络视频的显示比例之前,还包括:
生成询问是否拉伸播放的询问信息,并在所述智能电视屏幕显示;
当得到确认拉伸播放的信息时,执行依据所述智能电视的预设屏幕比例拉伸获取到的所述目标网络视频的显示比例这一步骤;
否则,以所述目标网络视频的显示比例播放。
上述的方法,本申请一实施例中,依据接收到的目标网络视频的实际播 放地址获取所述目标网络视频之后,依据所述智能电视的预设屏幕比例拉伸获取到的所述目标网络视频的显示比例之前,还包括:
判断所述目标网络视频的显示比例是否满足预设的可拉伸范围内,如果是,则执行依据所述智能电视的预设屏幕比例拉伸获取到的所述目标网络视频的显示比例这一步骤;
否则,以所述目标网络视频的显示比例播放;
其中,所述预设的可拉伸范围是所述目标网络视频拉伸后不出现失真情况的范围,包括:所述智能电视的预设屏幕比例与目标网络视频的显示比例的比值满足0.8~1.2。
一种视频播放界面调整的装置,应用于智能电视,该装置包括:
获取模块,用于依据接收到的目标网络视频的实际播放地址获取所述目标网络视频;
拉伸模块,用于依据所述智能电视的预设屏幕比例拉伸获取到的所述目标网络视频的显示比例,以使所述目标网络视频以预设屏幕比例播放。
上述的装置,本申请一实施例中,所述尺寸包括:宽度和高度,则所述拉伸模块包括:判断模块、第一拉伸模块和第二拉伸模块;
其中,
所述判断模块,用于判断所述目标网络视频的显示比例是否大于所述预设屏幕比例,当所述目标网络视频的显示比例大于所述预设屏幕比例时,触发第一拉伸模块,当所述目标网络视频的显示比例不大于所述预设屏幕比例时,触发第二拉伸模块;
所述第一拉伸模块,用于拉伸所述目标网络视频宽度至所述屏幕宽度,所述目标网络视频高度与所述宽度等比例拉伸,并且在所述目标网络视频高度两侧补充黑色水印边框至所述屏幕的高度;
所述第二拉伸模块,用于拉伸所述目标网络视频高度至所述屏幕高度,所述播放器拉伸所述目标网络视频的宽度至所述屏幕的宽度。
上述的装置,本申请一实施例中,还包括:询问模块和第一播放模块;
其中,
所述询问模块,用于生成询问是否拉伸播放的询问信息,并在所述智能电视屏幕显示,所述当得到确认拉伸播放的信息时,触发所述拉伸模块,否则,触发第一播放模块;
所述第一播放模块,用于以所述目标网络视频的显示比例播放。
上述的装置,本申请一实施例中,还包括:判断模块和第二播放模块;
其中,
所述判断模块,用于判断所述目标网络视频的显示比例是否满足预设的可拉伸范围内,如果是,触发拉伸模块,否则,触发第二播放模块;
所述第二播放模块,用于以所述目标网络视频的显示比例播放;
其中,所述预设的可拉伸范围是所述目标网络视频拉伸后不出现失真情况的范围,包括:所述智能电视的预设屏幕比例与目标网络视频的显示比例的比值满足0.8~1.2。
本申请提供了一种视频播放界面调整的方法,应用于智能电视,该方法包括:依据接收到的目标网络视频的实际播放地址获取所述目标网络视频;依据所述智能电视的预设屏幕比例拉伸获取到的所述目标网络视频的显示比例,以使所述目标网络视频以预设屏幕比例播放。采用该方法,在选定目标网络视频后,在播放该目标网络视频过程时,自动根据智能电视屏幕的比例对目标网络视频进行拉伸并播放,在保证了图像逼真程度同时,不必用户手动操作,操作简单,提高了用户体验。
附图说明
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本申请提供的一种视频播放界面调整的方法一实施例的流程图;
图2是本申请提供的一种视频播放界面调整的方法另一实施例的流程 图;
图3是本申请提供的一种视频播放界面调整的方法另一实施例的流程图;
图4是本申请提供的一种视频播放界面调整的方法另一实施例的流程图;
图5是本申请提供的一种视频播放界面调整的装置一实施例的结构示意图;
图6是本申请提供的一种视频播放界面调整的装置另一实施例的结构示意图;
图7是本申请提供的一种视频播放界面调整的装置另一实施例的结构示意图;
图8是本申请提供的一种视频播放界面调整的装置另一实施例的结构示意图;
图9是本申请提供的一种视频播放界面调整的方法的一应用场景的流程图;
图10是本申请提供的一种视频播放界面调整的方法的另一应用场景的流程图;
图11是本申请提供的一种视频播放界面调整的方法的另一应用场景中智能电视屏幕示意图。
具体实施方式
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
人的两只眼睛形成的视场存在宽度大于高度的现象,如果电视机不采用 吻合人眼视觉窗口的屏幕,就会使得人在看电视的时候,电视机两侧的环境也被看到,影响人的思维的集中度,从而破坏电视观看效果。人的自然视野的比例为16∶9,因此,为保证更有利于观众的观看效果,目前市场上的大部分液晶电视采用宽屏幕比例,如16∶9,在本申请的实施例中,智能电视的屏幕比例也采用16∶9。
用户请求播放目标网络视频,浏览器获取目标网络视频所在网页中的视频标签,该视频标签为目标网络视频的专用标签,解析该视频标签可以得到目标网络视频在页面显示的尺寸以及所述视频的实际播放地址,具体过程为:
(1)获取所述网页的a标签,并依据所述a标签获取到所述目标网络视频的网页地址URL;
(2)依据所述URL加载相应的超文本标记语言HTML5视频页面,所述视频页面中包括HTML5视频标签;
(3)调用JavaScript函数解析所述HTML5视频标签,得到目标网络视频在页面显示的尺寸以及所述视频的实际播放地址,根据该页面显示的尺寸得到目标网络视频的显示比例。
本申请实施例中提供的一种视频播放界面调整的方法是在智能电视的播放器中执行的方法。
本申请涉及的播放器是指能播放以数字信号形式存储的视频或音频文件的软件,该软件设置在智能电视中,可以为media player、RealPlayer等各种形式的播放器。
如图1所示,本申请一实施例提供的一种视频播放界面调整的方法的流程图,包括:
步骤S101:依据接收到的目标网络视频的实际播放地址获取所述目标网络视频;
播放器接收到目标网络视频的实际播放地址后,可根据该实际播放地址获取该目标网络视频。
步骤S102:依据所述智能电视的预设屏幕比例拉伸获取到的所述目标网 络视频的显示比例,以使所述目标网络视频以预设屏幕比例播放。
智能电视的屏幕比例可预设存储,接收到目标网络视频的实际播放地址时,可知需要对该目标网络视频进行播放,则此时从该存储装置中获取该屏幕比例。
播放器根据该智能电视的屏幕比例16∶9,拉伸所述目标网络视频,以使所述目标网络视频播放过程中满足该预设屏幕比例,以保证更有利于观众的观看效果。
具体的,可应用该预设屏幕比例设置该播放器的播放比例,该播放器在播放获取到的目标网络视频时,采用该播放比例播放目标网络信息。
综上,本实施例提供了一种视频播放界面调整的方法,包括:依据接收到的目标网络视频的实际播放地址获取所述目标网络视频;依据所述智能电视的预设屏幕比例拉伸获取到的所述目标网络视频的显示比例,以使所述目标网络视频以预设屏幕比例播放。采用该方法,根据智能电视屏幕的预设屏幕比例,自动对目标网络视频进行拉伸,使该视频的播放尺寸达到最适合人的自然视野,用户不必手动操作,提高了用户体验。
参见图2,示出了本申请另一实施例提供的一种视频播放界面调整的方法的流程图,图1所示的流程图中,步骤S102包括:
步骤S1021:判断所述目标网络视频的显示比例是否大于所述预设屏幕比例;如果是,执行步骤S1022;否则,执行步骤S1023;
该预设屏幕比例为16∶9。
判断该目标网络视频的显示比例与预设屏幕比例之间的关系,当该目标网络视频的显示比例不大于该预设屏幕比例16∶9时,可将目标网络视频拉伸成为16∶9显示效果,铺满智能电视屏幕,达到全屏状态,执行步骤S1023;否则,不能达到全屏状态,执行步骤S1022。
步骤S1022:拉伸所述目标网络视频宽度至所述屏幕宽度,所述目标网络视频高度与所述宽度等比例拉伸,并且在所述目标网络视频高度两侧补充 黑色水印边框至所述屏幕的高度;
比例为宽度∶高度。
当所述目标网络视频的显示比例大于所述预设屏幕比例16∶9时,拉伸该目标网络视频至预设屏幕比例的过程包括:
拉伸该目标网络视频的宽度至该屏幕宽度,实现在对该目标网络视频播放的宽度上达到全屏幕的宽度;
所述目标网络视频高度与所述宽度等比例拉伸,使该目标网络视频在播放过程中画质不产生形变失真,由于等比例拉伸,使得目标网络视频在高度上未铺满全屏幕的高度,所以在所述目标网络视频高度两侧补充黑色水印边框至所述屏幕的高度。
步骤S1023:拉伸所述目标网络视频高度至所述屏幕高度,拉伸所述目标网络视频的宽度至所述屏幕的宽度。
当所述目标网络视频的显示比例不大于所述预设屏幕比例16∶9时,拉伸该目标网络视频至预设屏幕比例,直接从高度和宽度两个方向拉伸到屏幕的尺寸(高度和宽度),即拉伸所述目标网络视频宽度至所述屏幕宽度;拉伸所述目标网络视频高度至所述屏幕高度,使该目标网络视频播放时铺满屏幕。
综上,本实施例提供了一种视频播放界面调整的方法,还包括:判断所述目标网络视频的显示比例是否大于所述预设屏幕比例;当所述目标网络视频的显示比例大于所述预设屏幕比例时,所述播放器拉伸所述目标网络视频宽度至所述屏幕宽度,所述目标网络视频高度与所述宽度等比例拉伸,并且在所述目标网络视频高度两侧补充黑色水印边框至所述屏幕的高度;当所述目标网络视频的显示比例不大于所述预设屏幕比例时,所述播放器拉伸所述目标网络视频高度至所述屏幕高度,所述播放器拉伸所述目标网络视频的宽度至所述屏幕的宽度。采用该方法,根据智能电视屏幕的预设屏幕比例和目标网络视频的显示比例的大小关系,自动对目标网络视频进行不同方式拉伸,使该视频播放时尽可能铺满屏幕,并且使播放图像满足人们观看习惯。
参见图3,示出了本申请另一实施例提供的一种视频播放界面调整的方法的流程图,图1所示的流程图中,步骤S101和步骤S102之间,还包括:
步骤S103:生成询问是否拉伸播放的询问信息,并在所述智能电视屏幕显示;
用户可根据自己的喜好或是使用习惯等,确定是否拉伸播放,则播放器在拉伸目标网络视频前生成询问是否拉伸播放的询问信息,并将该询问信息在智能电视的屏幕上显示,以提示用户选择是不是进行拉伸,用户通过遥控器等控制装置自主选择是确认拉伸播放,还是否定拉伸播放,并生成反馈的信息发送至智能电视。
步骤S104:判断接收到的信息是否为确定拉伸播放;如果是,执行步骤S102;否则,执行步骤S105:
播放器得到反馈的信息后,判断该信息是否为确认拉伸播放的信息,如果是,则执行步骤S102,依据所述智能电视的预设屏幕比例拉伸所述目标网络视频在页面显示的尺寸,使该目标网络视频在智能电视上尽可能铺满屏幕播放。
步骤S105:以所述目标网络视频的显示比例播放。
如果播放器得到的信息不是确认拉伸播放的信息,则为否定拉伸播放,此时播放器不再拉伸该目标网络视频,而是以该目标网络视频在页面显示的尺寸播放。
综上,本实施例提供的一种视频播放界面调整的方法,还包括:生成询问是否拉伸播放的询问信息,并在所述智能电视屏幕显示;当得到确认拉伸播放的信息时,执行依据所述智能电视的预设屏幕比例拉伸获取到的所述目标网络视频的显示比例这一步骤;否则,以所述目标网络视频的显示比例播放。在拉伸该目标网络视频之前,提出询问是否拉伸的询问信息,用户根据个人使用习惯确定是否拉伸,提高用户的参与度,用户体验更佳。
参见图4,示出了本申请另一实施例提供的一种视频播放界面调整的方 法的流程图,图1所示的流程图中,步骤S101和步骤S102之间,还包括:
步骤S106:判断所述目标网络视频的显示比例是否满足预设的可拉伸范围内;如果是,则执行步骤S102,否则,执行步骤S107;
由于在拉伸过程中,由于目标网络视频比例和智能电视预设屏幕比例间存在差异,可能会导致在拉伸目标网络视频完成后,在屏幕上显示时出现图像失真的情况,而一旦出现图像失真的情况,会导致用户观看效果受到影响,用户体验差,因此,当所述目标网络视频比例满足预设的可拉伸范围内,即拉伸不出现失真,则执行步骤S102,对该目标网络视频进行拉伸,否则,执行步骤S107,不拉伸。
所述预设的可拉伸范围是所述目标网络视频拉伸后不出现失真情况的范围,包括:所述智能电视的预设屏幕比例与目标网络视频比例的比值满足0.8~1.2。
步骤S107:以所述目标网络视频的显示比例播放;
当所述目标网络视频比例不满足预设的可拉伸范围内,即拉伸出现失真,则不对该目标网络视频进行拉伸播放,对该目标网络视频以页面显示的比例播放该视频。
综上,本实施例提供了一种视频播放界面调整的方法,还包括:判断所述目标网络视频的显示比例是否满足预设的可拉伸范围内,如果是,则依据所述智能电视的预设屏幕比例拉伸获取到的所述目标网络视频的显示比例;否则,以所述目标网络视频的显示比例播放。当目标网络视频满足拉伸要求时,进行拉伸,否则不拉伸,保证拉伸播放的视频图像不失真,用户体验较高。
本申请还提供一种在其上记录有用于执行上述方法的程序的计算机可读记录介质。
所述计算机可读记录介质包括用于以计算机(例如计算机)可读的形式存储或传送信息的任何机制。例如,机器可读介质包括只读存储器(ROM)、随机存取存储器(RAM)、磁盘存储介质、光存储介质、闪速存储介质、电、 光、声或其他形式的传播信号(例如,载波、红外信号、数字信号等)等。
与上述本申请提供的一种视频播放界面调整的方法实施例相对应的,本申请说明书中还提供了一种视频播放界面调整的装置实施例。
如图5所示,本申请提供的一种视频播放界面调整的装置一实施例的结构示意图,所述装置包括:获取模块101和拉伸模块102;
其中,所述获取模块101,用于依据接收到的目标网络视频的实际播放地址获取所述目标网络视频;
播放器的获取模块101接收到目标网络视频的实际播放地址后,根据该实际播放地址获取该目标网络视频。
其中,所述拉伸模块102,用于依据所述智能电视的预设屏幕比例拉伸获取到的所述目标网络视频的显示比例,以使所述目标网络视频以预设屏幕比例播放。
智能电视的屏幕比例可预设存储,播放器接收到目标网络视频的实际播放地址时,可知需要对该目标网络视频进行播放,则此时从该存储装置中获取该屏幕比例。
拉伸模块102根据该智能电视的屏幕比例16∶9,拉伸所述目标网络视频,以使所述目标网络视频播放过程中满足该预设屏幕比例,以保证更有利于观众的观看效果。
具体的,可应用该预设屏幕比例设置该播放器的播放比例,该播放器在播放获取到的目标网络视频时,采用该播放比例播放目标网络信息。
综上,本申请实施例1提供了一种视频播放界面调整的装置,包括:获取模块,用于依据接收到的目标网络视频的实际播放地址获取所述目标网络视频;拉伸模块,用于依据所述智能电视的预设屏幕比例拉伸获取到的所述目标网络视频的显示比例,以使所述目标网络视频以预设屏幕比例播放。采用该装置,根据智能电视屏幕的预设屏幕比例,自动对目标网络视频进行拉 伸,使该视频的播放尺寸达到最适合人的自然视野,用户不必手动操作,提高了用户体验。
参见图6,示出了本申请另一实施例提供的一种视频播放界面调整的装置的结构示意图,图5所示的结构中,拉伸模块102包括:判断模块1021、第一拉伸模块1022和第二拉伸模块1023;
其中,所述判断模块1021,用于判断所述目标网络视频的显示比例是否大于所述预设屏幕比例,当所述目标网络视频的显示比例大于所述预设屏幕比例时,触发第一拉伸模块1022,当所述目标网络视频的显示比例不大于所述预设屏幕比例时,触发第二拉伸模块1023;
该预设屏幕比例为16∶9。
判断模块1021判断该目标网络视频的显示比例与预设屏幕比例之间的关系,当该目标网络视频的显示比例不大于该预设屏幕比例16∶9时,则触发第二拉伸模块1023,可将目标网络视频拉伸称为16∶9显示效果,铺满智能电视屏幕,达到全屏状态;否则,触发第一拉伸模块1022,不能达到全屏状态。
所述第一拉伸模块1022,用于拉伸所述目标网络视频宽度至所述屏幕宽度,所述目标网络视频高度与所述宽度等比例拉伸,并且在所述目标网络视频高度两侧补充黑色水印边框至所述屏幕的高度;
比例为宽度∶高度。
当所述目标网络视频的显示比例大于所述预设屏幕比例16∶9时,第一拉伸模块1022拉伸该目标网络视频至预设屏幕比例的过程包括:
拉伸该目标网络视频的宽度至该屏幕宽度,实现在对该目标网络视频播放的宽度上达到全屏幕的宽度;
所述目标网络视频高度与所述宽度等比例拉伸,使该目标网络视频在播放过程中画质不产生形变失真,由于等比例拉伸,使得目标网络视频在高度上未铺满全屏幕的高度,所以在所述目标网络视频高度两侧补充黑色水印边框至所述屏幕的高度。
所述第二拉伸模块1023,用于拉伸所述目标网络视频高度至所述屏幕高度,所述播放器拉伸所述目标网络视频的宽度至所述屏幕的宽度。
当所述目标网络视频的显示比例不大于所述预设屏幕比例16∶9时,第二拉伸模块1023拉伸该目标网络视频至预设屏幕比例,直接从高度和宽度两个方向拉伸到屏幕的尺寸(高度和宽度),即拉伸所述目标网络视频宽度至所述屏幕宽度;拉伸所述目标网络视频高度至所述屏幕高度,使该目标网络视频播放时铺满屏幕。
综上,本实施例提供了一种视频播放界面调整的装置,所述拉伸模块包括:判断模块、第一拉伸模块和第二拉伸模块;其中,所述判断模块,用于判断所述目标网络视频的显示比例是否大于所述预设屏幕比例,当所述目标网络视频的显示比例大于所述预设屏幕比例时,触发第一拉伸模块,当所述目标网络视频的显示比例不大于所述预设屏幕比例时,触发第二拉伸模块;所述第一拉伸模块,用于拉伸所述目标网络视频宽度至所述屏幕宽度,所述目标网络视频高度与所述宽度等比例拉伸,并且在所述目标网络视频高度两侧补充黑色水印边框至所述屏幕的高度;所述第二拉伸模块,用于拉伸所述目标网络视频高度至所述屏幕高度,所述播放器拉伸所述目标网络视频的宽度至所述屏幕的宽度。采用该装置,根据智能电视屏幕的预设屏幕比例和目标网络视频的显示比例的大小关系,自动对目标网络视频进行不同方式拉伸,使该视频播放时尽可能铺满屏幕,并且使播放图像满足人们观看习惯。
参见图7,示出了本申请另一实施例提供的一种视频播放界面调整的装置的结构示意图,图5所示的结构中,还包括:询问模块103和第一播放模块104;
其中,所述询问模块103,用于生成询问是否拉伸播放的询问信息,并在所述智能电视屏幕显示,所述当得到确认拉伸播放的信息时,触发所述拉伸模块102,否则,触发第一播放模块104;
用户可根据自己的喜好或是使用习惯等,确定是否拉伸播放,则询问模 块103在拉伸目标网络视频前生成询问是否拉伸播放的询问信息,并将该询问信息在智能电视的屏幕上显示,以提示用户选择是不是进行拉伸,用户通过遥控器等控制装置自主选择是确认拉伸播放,还是否定拉伸播放,并生成反馈的信息发送至智能电视。
询问模块103得到反馈的信息后,判断该信息是否为确认拉伸播放的信息,如果是,则触发拉伸模块102,依据所述智能电视的预设屏幕比例拉伸所述目标网络视频在页面显示的尺寸,使该目标网络视频在智能电视上尽可能铺满屏幕播放,否则触发第一播放模块104。
其中,所述第一播放模块104,用于以所述目标网络视频的显示比例播放。
如果播放器得到的信息不是确认拉伸播放的信息,则为否定拉伸播放,此时播放器不再拉伸该目标网络视频,第一播放模块104以该目标网络视频在页面显示的尺寸播放。
综上,本实施例提供的一种视频播放界面调整的装置,还包括:询问模块,用于生成询问是否拉伸播放的询问信息,并在所述智能电视屏幕显示,所述当得到确认拉伸播放的信息时,触发拉伸模块,否则,触发第一播放模块;第一播放模块,用于以所述目标网络视频的显示比例播放。在拉伸该目标网络视频之前,提出询问是否拉伸的询问信息,用户根据个人使用习惯确定是否拉伸,提高用户的参与度,用户体验更佳。
参见图8,示出了本申请另一实施例提供的一种视频播放界面调整的装置的结构示意图,图5所示的结构中,还包括:判断模块105和第二播放模块106;
其中,所述判断模块105,用于判断所述目标网络视频的显示比例是否满足预设的可拉伸范围内,如果是,触发拉伸模块102,否则,触发第二播放模块106;
由于在拉伸过程中,由于目标网络视频比例和智能电视预设屏幕比例间 存在差异,可能会导致在拉伸目标网络视频完成后,在屏幕上显示时出现图像失真的情况,而一旦出现图像失真的情况,会导致用户观看效果受到影响,用户体验差,因此,判断模块105判断目标网络视频的显示比例是否满足预设的可拉伸范围内,如果满足预设的可拉伸范围内,即拉伸不出现失真,则触发拉伸模块102,对该目标网络视频进行拉伸,否则,触发第二播放模块106,不拉伸。
所述预设的可拉伸范围是所述目标网络视频拉伸后不出现失真情况的范围,包括:所述智能电视的预设屏幕比例与目标网络视频的显示比例的比值满足0.8~1.2。
其中,所述第二播放模块106,用于以所述目标网络视频的显示比例播放;
当判断模块105判定所述目标网络视频比例不满足预设的可拉伸范围内,即拉伸出现失真,则不对该目标网络视频进行拉伸播放,第二播放模块106对该目标网络视频以页面显示的比例播放该视频。
综上,本申请另一实施例提供了一种视频播放界面调整的装置,还包括:判断模块,用于判断所述目标网络视频的显示比例是否满足预设的可拉伸范围内,如果是,触发拉伸模块,否则,触发第二播放模块;第二播放模块,用于以所述目标网络视频的显示比例播放。当目标网络视频满足拉伸要求时,进行拉伸,否则不拉伸,保证拉伸播放的视频图像不失真,用户体验较高。
本申请提供了一种视频播放界面调整的方法在实际应用中的具体应用场景。
一应用场景的具体流程图,如图9所示。
步骤S201:用户在智能电视的浏览器网页中,选择一个目标网络视频,生成请求信息;
用户通过遥控器等控制装置,在智能电视的显示的网页中选择一个想要观看的目标网络视频。
步骤S202:浏览器接收所述请求信息,并打开所述目标网络视频所在网页;
浏览器接收到请求信息后,打开所述浏览器获取所述网页的视频标签,并解析所述视频标签得到目标网络视频在页面显示的尺寸以及所述视频的实际播放地址,根据目标网络视频在页面显示的尺寸得到目标网络视频的比例,本应用场景中该比例为16∶9。
步骤S203:浏览器调用播放器,播放器启动;
浏览器发送调用播放器的调用请求,以通过该播放器实现在智能电视中播放该目标网络视频。
播放器启动,并根据该实际播放地址可获取到该目标网络视频。
步骤S204:播放器拉伸目标网络视频比例16∶9,使目标网络视频在智能电视的屏幕以16∶9效果播放。
播放器获取到该目标网络视频后,对该视频进行拉伸,目标网络视频的高度拉伸至智能电视屏幕的高度,宽度拉伸至智能电视的宽度,使该视频播放时在智能电视的屏幕上以16∶9效果播放,即全屏播放。
另一应用场景的具体流程,如图10所示。
步骤S301:用户在智能电视的浏览器网页中,选择一个目标网络视频,生成请求信息;
用户通过遥控器等控制装置,在智能电视的显示的网页中选择一个想要观看的目标网络视频。
步骤S302:浏览器接收所述请求信息,并打开所述目标网络视频所在网页;
浏览器接收到请求信息后,打开所述浏览器获取所述网页的视频标签,并解析所述视频标签得到目标网络视频在页面显示的尺寸以及所述视频的实际播放地址,根据目标网络视频在页面显示的尺寸得到目标网络视频的比例,本应用场景中该比例为20∶9。
步骤S303:浏览器调用播放器,播放器启动;
浏览器发送调用播放器的调用请求,以通过该播放器实现在智能电视中播放该目标网络视频。
播放器启动,并根据该实际播放地址可获取到该目标网络视频。
步骤S304:播放器拉伸目标网络视频比例20∶9,使目标网络视频在智能电视的屏幕以16∶9效果播放。
播放器获取到该目标网络视频后,对该视频进行拉伸,拉伸目标网络视频的宽度至智能电视屏幕的宽度,高度与宽度等比例拉伸,并且在目标网络视频高度两侧补充黑色水印边框至所述屏幕的高度,
图11所示智能电视屏幕201示意图,视频播放区域202没有铺满智能电视屏幕201,未铺满区域即目标网络视频的高度两侧采用黑色边框补充。
以上对本申请所提供的一种视频播放界面调整的方法和装置,进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处。综上所述,本说明书内容不应理解为对本申请的限制。

Claims (10)

  1. 一种视频播放界面调整的方法,其特征在于,应用于智能电视,该方法包括:
    依据接收到的目标网络视频的实际播放地址获取所述目标网络视频;
    依据所述智能电视的预设屏幕比例拉伸获取到的所述目标网络视频的显示比例,以使所述目标网络视频以预设屏幕比例播放。
  2. 根据权利要求1所述的方法,其特征在于,所述尺寸包括:宽度和高度;依据所述智能电视的预设屏幕比例拉伸获取到的所述目标网络视频的显示比例包括:
    判断所述目标网络视频的显示比例是否大于所述预设屏幕比例;
    当所述目标网络视频的显示比例大于所述预设屏幕比例时,拉伸所述目标网络视频宽度至所述屏幕宽度,所述目标网络视频高度与所述宽度等比例拉伸,并且在所述目标网络视频高度两侧补充黑色水印边框至所述屏幕的高度;
    当所述目标网络视频的显示比例不大于所述预设屏幕比例时,拉伸所述目标网络视频高度至所述屏幕高度,所述播放器拉伸所述目标网络视频的宽度至所述屏幕的宽度。
  3. 根据权利要求1所述的方法,其特征在于,所述智能电视的预设屏幕比例包括:宽高比为16∶9。
  4. 根据权利要求1所述的方法,其特征在于,所述依据接收到的目标网络视频的实际播放地址获取所述目标网络视频之后,依据所述智能电视的预设屏幕比例拉伸获取到的所述目标网络视频的显示比例之前,还包括:
    生成询问是否拉伸播放的询问信息,并在所述智能电视屏幕显示;
    当得到确认拉伸播放的信息时,执行依据所述智能电视的预设屏幕比例拉伸获取到的所述目标网络视频的显示比例这一步骤;
    否则,以所述目标网络视频的显示比例播放。
  5. 根据权利要求1所述的方法,其特征在于,所述依据接收到的目标网 络视频的实际播放地址获取所述目标网络视频之后,依据所述智能电视的预设屏幕比例拉伸获取到的所述目标网络视频的显示比例之前,还包括:
    判断所述目标网络视频的显示比例是否满足预设的可拉伸范围内,如果是,则执行依据所述智能电视的预设屏幕比例拉伸获取到的所述目标网络视频的显示比例这一步骤;
    否则,以所述目标网络视频的显示比例播放;
    其中,所述预设的可拉伸范围是所述目标网络视频拉伸后不出现失真情况的范围,包括:所述智能电视的预设屏幕比例与目标网络视频的显示比例的比值满足0.8~1.2。
  6. 一种视频播放界面调整的装置,其特征在于,应用于智能电视,该装置包括:
    获取模块,用于依据接收到的目标网络视频的实际播放地址获取所述目标网络视频;
    拉伸模块,用于依据所述智能电视的预设屏幕比例拉伸获取到的所述目标网络视频的显示比例,以使所述目标网络视频以预设屏幕比例播放。
  7. 根据权利要求6所述的装置,其特征在于,所述尺寸包括:宽度和高度;所述拉伸模块包括:判断模块、第一拉伸模块和第二拉伸模块;
    其中,
    所述判断模块,用于判断所述目标网络视频的显示比例是否大于所述预设屏幕比例,当所述目标网络视频的显示比例大于所述预设屏幕比例时,触发第一拉伸模块,当所述目标网络视频的显示比例不大于所述预设屏幕比例时,触发第二拉伸模块;
    所述第一拉伸模块,用于拉伸所述目标网络视频宽度至所述屏幕宽度,所述目标网络视频高度与所述宽度等比例拉伸,并且在所述目标网络视频高度两侧补充黑色水印边框至所述屏幕的高度;
    所述第二拉伸模块,用于拉伸所述目标网络视频高度至所述屏幕高度,所述播放器拉伸所述目标网络视频的宽度至所述屏幕的宽度。
  8. 根据权利要求6所述的装置,其特征在于,还包括:询问模块和第一播放模块;
    其中,
    所述询问模块,用于生成询问是否拉伸播放的询问信息,并在所述智能电视屏幕显示,所述当得到确认拉伸播放的信息时,触发所述拉伸模块,否则,触发第一播放模块;
    所述第一播放模块,用于以所述目标网络视频的显示比例播放。
  9. 根据权利要求6所述的装置,其特征在于,还包括:判断模块和第二播放模块;
    其中,
    所述判断模块,用于判断所述目标网络视频的显示比例是否满足预设的可拉伸范围内,如果是,触发拉伸模块,否则,触发第二播放模块;
    所述第二播放模块,用于以所述目标网络视频的显示比例播放;
    其中,所述预设的可拉伸范围是所述目标网络视频拉伸后不出现失真情况的范围,包括:所述智能电视的预设屏幕比例与目标网络视频的显示比例的比值满足0.8~1.2。
  10. 一种在其上记录有用于执行权利要求1-5任一项所述方法的程序的计算机可读记录介质。
PCT/CN2014/089193 2013-10-30 2014-10-22 一种视频播放界面调整的方法和装置 WO2015062434A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US15/033,086 US20160269777A1 (en) 2013-10-30 2014-10-22 Method and device for adjusting video playback interface

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310530237.6A CN103561312A (zh) 2013-10-30 2013-10-30 一种视频播放界面调整的方法和装置
CN201310530237.6 2013-10-30

Publications (1)

Publication Number Publication Date
WO2015062434A1 true WO2015062434A1 (zh) 2015-05-07

Family

ID=50015444

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/089193 WO2015062434A1 (zh) 2013-10-30 2014-10-22 一种视频播放界面调整的方法和装置

Country Status (3)

Country Link
US (1) US20160269777A1 (zh)
CN (1) CN103561312A (zh)
WO (1) WO2015062434A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111031359A (zh) * 2019-12-24 2020-04-17 北京奇艺世纪科技有限公司 视频播放方法、装置、电子设备和计算机可读存储介质

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103561312A (zh) * 2013-10-30 2014-02-05 乐视致新电子科技(天津)有限公司 一种视频播放界面调整的方法和装置
CN104822072B (zh) * 2014-04-25 2018-11-06 腾讯科技(北京)有限公司 推送视频的播放控制方法和播放***以及客户端和服务器
CN105955689A (zh) * 2016-05-19 2016-09-21 乐视控股(北京)有限公司 多屏互动时的屏幕适配方法及装置
KR20180095197A (ko) * 2017-02-17 2018-08-27 엘지전자 주식회사 이동단말기 및 그 제어방법
CN107490864A (zh) * 2017-08-29 2017-12-19 杭州联络互动信息科技股份有限公司 一种用于vr头显的视频显示的方法、装置及vr头显
CN109348276B (zh) * 2018-11-08 2019-12-17 北京微播视界科技有限公司 视频画面调整方法、装置、计算机设备和存储介质
CN110286868A (zh) * 2019-06-28 2019-09-27 北京金山安全软件有限公司 视频显示调整方法、装置、电子设备及存储介质
CN110996115B (zh) * 2019-12-17 2022-02-11 广州酷狗计算机科技有限公司 直播视频播放方法、装置、设备、存储介质和程序产品
CN111988664B (zh) * 2020-09-01 2022-09-20 广州酷狗计算机科技有限公司 视频处理方法、装置、计算机设备及计算机可读存储介质
CN114071214A (zh) * 2021-11-17 2022-02-18 上海哔哩哔哩科技有限公司 视频展示方法及装置

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7038728B2 (en) * 2001-06-01 2006-05-02 Lg Electronics Inc. Image display method and apparatus
CN101630502A (zh) * 2009-08-03 2010-01-20 深圳创维-Rgb电子有限公司 图像显示方法
JP2011029728A (ja) * 2009-07-21 2011-02-10 Canon Inc 画像表示装置
CN102055924A (zh) * 2009-11-11 2011-05-11 深圳Tcl新技术有限公司 比例模式调整方法及采用该方法的电视机
CN102118499A (zh) * 2010-12-31 2011-07-06 深圳市同洲软件有限公司 移动终端控制显示终端播放视频的方法、装置和***
CN102254544A (zh) * 2011-07-12 2011-11-23 北京海尔集成电路设计有限公司 自动调整视频信号比例的方法及使用该方法的电视机
CN103561312A (zh) * 2013-10-30 2014-02-05 乐视致新电子科技(天津)有限公司 一种视频播放界面调整的方法和装置

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101582254B (zh) * 2008-05-13 2011-06-15 华为终端有限公司 一种图像呈现方法及装置
US9218792B2 (en) * 2008-12-11 2015-12-22 Nvidia Corporation Variable scaling of image data for aspect ratio conversion
JP5711479B2 (ja) * 2010-08-17 2015-04-30 キヤノン株式会社 表示制御装置及びその制御方法
CN102254300B (zh) * 2011-07-04 2013-04-03 北京工业大学 一种基于内容的图像自适应缩放方法
CN103034973B (zh) * 2012-12-05 2015-08-12 焦点科技股份有限公司 基于双三次插值的自适应图像缩放方法
CN102984476B (zh) * 2012-12-12 2016-03-23 深圳创维-Rgb电子有限公司 宽屏自适应图像处理方法和装置
CN103546715A (zh) * 2013-10-30 2014-01-29 乐视致新电子科技(天津)有限公司 一种智能电视的画面比例调节方法及装置

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7038728B2 (en) * 2001-06-01 2006-05-02 Lg Electronics Inc. Image display method and apparatus
JP2011029728A (ja) * 2009-07-21 2011-02-10 Canon Inc 画像表示装置
CN101630502A (zh) * 2009-08-03 2010-01-20 深圳创维-Rgb电子有限公司 图像显示方法
CN102055924A (zh) * 2009-11-11 2011-05-11 深圳Tcl新技术有限公司 比例模式调整方法及采用该方法的电视机
CN102118499A (zh) * 2010-12-31 2011-07-06 深圳市同洲软件有限公司 移动终端控制显示终端播放视频的方法、装置和***
CN102254544A (zh) * 2011-07-12 2011-11-23 北京海尔集成电路设计有限公司 自动调整视频信号比例的方法及使用该方法的电视机
CN103561312A (zh) * 2013-10-30 2014-02-05 乐视致新电子科技(天津)有限公司 一种视频播放界面调整的方法和装置

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111031359A (zh) * 2019-12-24 2020-04-17 北京奇艺世纪科技有限公司 视频播放方法、装置、电子设备和计算机可读存储介质
CN111031359B (zh) * 2019-12-24 2023-01-10 北京奇艺世纪科技有限公司 视频播放方法、装置、电子设备和计算机可读存储介质

Also Published As

Publication number Publication date
US20160269777A1 (en) 2016-09-15
CN103561312A (zh) 2014-02-05

Similar Documents

Publication Publication Date Title
WO2015062434A1 (zh) 一种视频播放界面调整的方法和装置
WO2015062435A1 (zh) 一种视频播放界面调整的方法和装置
US20200225909A1 (en) Systems and methods for generating a volume-based response for multiple voice-operated user devices
US8878997B2 (en) Electronic displays having paired canvases
EP3797522B1 (en) Systems and methods for displaying multiple media assets for a plurality of users
WO2017181594A1 (zh) 一种视频显示方法及装置
US20140168277A1 (en) Adaptive Presentation of Content
CN105763950A (zh) 一种弹幕显示方法及***
EP2611165A1 (en) Image processing apparatus and control method thereof
TW200805016A (en) A method and system for adjusting audio/video effect and mode in DTV
US9602857B2 (en) Information processing apparatus, information processing method and program
US10462531B2 (en) Methods, systems, and media for presenting an advertisement while buffering a video
WO2015078377A1 (zh) 一种桌面显示方法、装置及智能电视
WO2011085661A1 (zh) 嵌入式浏览器的网页脚本指令执行控制方法、终端和***
JP2012170053A (ja) インターネットテレビの制御システム及びその制御方法
WO2014134906A1 (zh) 基于iptv的网络视频播控方法及装置
KR102630037B1 (ko) 정보 처리 장치, 정보 처리 방법, 송신 장치, 및 송신 방법
WO2017181603A1 (zh) 一种视频显示方法及装置
WO2017181595A1 (zh) 一种视频显示方法及装置
WO2015188521A1 (zh) 一种对iptv电视实现屏保的方法及装置
US9003449B2 (en) Playback device, television reception device using the same, playback method, and computer program
CN108156515B (zh) 视频播放方法、智能电视及计算机可读存储介质
US20210227288A1 (en) Source apparatus and control method therefor
JP4649530B1 (ja) 再生装置及び再生方法
JP5896221B2 (ja) 情報処理方法、情報処理装置、および情報処理システム

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: 14858009

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 15033086

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14858009

Country of ref document: EP

Kind code of ref document: A1