WO2017084292A1 - 一种视频播放的实现方法和装置 - Google Patents

一种视频播放的实现方法和装置 Download PDF

Info

Publication number
WO2017084292A1
WO2017084292A1 PCT/CN2016/083723 CN2016083723W WO2017084292A1 WO 2017084292 A1 WO2017084292 A1 WO 2017084292A1 CN 2016083723 W CN2016083723 W CN 2016083723W WO 2017084292 A1 WO2017084292 A1 WO 2017084292A1
Authority
WO
WIPO (PCT)
Prior art keywords
picture
sub
video file
video
playing
Prior art date
Application number
PCT/CN2016/083723
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/120,302 priority Critical patent/US20180246625A1/en
Publication of WO2017084292A1 publication Critical patent/WO2017084292A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • H04N21/4316Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations for displaying supplemental content in a region of the screen, e.g. an advertisement in a separate window
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/432Content retrieval operation from a local storage medium, e.g. hard-disk
    • H04N21/4325Content retrieval operation from a local storage medium, e.g. hard-disk by playing back content from the storage medium
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47202End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting content on demand, e.g. video on demand
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47205End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for manipulating displayed content, e.g. interacting with MPEG-4 objects, editing locally
    • 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
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/858Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
    • H04N21/8586Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot by using a URL
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04803Split screen, i.e. subdividing the display area or the window area into separate subareas
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/10Indexing; Addressing; Timing or synchronising; Measuring tape travel
    • G11B27/102Programmed access in sequence to addressed parts of tracks of operating record carriers
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/10Indexing; Addressing; Timing or synchronising; Measuring tape travel
    • G11B27/34Indicating arrangements 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording

Definitions

  • the present invention relates to the field of media communication technologies, and in particular to a method and apparatus for implementing video playback.
  • the object of the present invention is to provide a method and a device for implementing video playback, which solves the problem of switching and viewing a plurality of video files by repeatedly playing a play address or clicking a play page of a different play address in media playback.
  • an embodiment of the present invention provides a method for implementing video playback.
  • the method includes the following steps:
  • the setting another play area as a sub-picture includes:
  • the sub-picture is set according to the default position and size or the sub-picture position and size are customized on the video play page.
  • the method further includes:
  • the method further includes:
  • the method includes:
  • an apparatus for implementing video playback includes:
  • a video playback triggering unit configured to receive a trigger instruction for playing a second video file during the playing of the first video file
  • a video picture setting unit configured to set a play area of the first video file in the video play page as a main picture, and set another play area in the video play page as a sub-picture;
  • a video picture playing unit configured to extract and play the first video file in the sub-picture according to a play address of the first video file; and acquire a play address of the second video file, in the The second video file is played in the main screen.
  • the setting, by the video picture setting unit, another play area as a sub-picture includes:
  • the sub screen is directly set according to the default position and size or the sub screen position and size are customized on the video play page.
  • the method further includes:
  • the video picture playing unit further includes: after playing the second video file in the main picture,
  • the video picture playing unit includes:
  • an apparatus including:
  • One or more processors are One or more processors;
  • a memory for storing operational instructions
  • the one or more processors are configured to retrieve an operational instruction from the memory and execute:
  • the processor is further configured to:
  • the setting another play area as a sub-picture includes:
  • the sub-picture is set according to the default position and size or the sub-picture position and size are customized on the video play page.
  • processor is further configured to execute:
  • the method further includes:
  • the processor is further configured to:
  • the method further includes:
  • processor is further configured to execute:
  • the method After receiving the trigger instruction for deleting the home screen, the method includes:
  • the method and apparatus for implementing video playback by using the play area of the first video file of the video play page as the main screen, setting another play area as a sub-picture; Playing the first video file in the sub-picture according to the play address of the first video file; acquiring a play address of the first video file, playing the second video in the main screen file.
  • the user can simultaneously view multiple video files in one video play page, and optimize the service of the video media.
  • FIG. 1 is a schematic flowchart of a method for implementing video playback in a first embodiment of the present invention
  • FIG. 2 is a schematic flowchart of a method for implementing video playback in an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of an apparatus for implementing video playback according to an embodiment of the present invention.
  • the present invention understands from the user's point of view that the user desires to be able to view multiple video files in the same video play page. Therefore, the idea of the present invention is to set a plurality of pictures in a video play page on a multimedia platform, and play for different video files.
  • FIG. 1 is a schematic flowchart of a method for implementing video playback according to a first embodiment of the present invention, where the method for implementing video playback includes:
  • Step 101 In the process of playing the first video file, receiving a trigger instruction for playing the second video file.
  • the video play page receives a play command for clicking another video file in the video application.
  • Step 102 The play area of the first video file in the video play page is used as a main screen, and another play area in the video play page is set as a sub-picture.
  • a play area of the first video file is being played as a main picture of the video play page in the video play page, and another play area may be set as a sub-picture on the video play page.
  • the sub-picture is set in an area other than the main picture of the video play page, mainly to avoid the effect that the sub-picture setting on the main picture area may cause the user to view the main picture.
  • the sub-screen when the sub-screen is set in an area other than the main screen of the video play page, the sub-screen may be set according to the preset default position and size, for example, the preset default position may be from the upper right end of the main screen. At 2cm, the default default size is 5cm*5cm.
  • the user can customize the position and size of the sub-picture as needed. Specifically, when the user performs the position and size of the customized sub-picture, the user can enter the editing state of the video play page, and draw on the area other than the main screen on the video play page. For example, use the mouse to draw an area in the area outside the main screen as a sub-picture.
  • the sub-screen when the sub-screen is set in an area other than the main screen of the video play page, the video file being played in the main screen may be paused, and then the sub-screen may be set in an area other than the main screen.
  • the size of the main screen on the video playback page is larger than the size of the sub-picture.
  • This design mainly considers that the video file of the main screen is mainly viewed on the video playback page.
  • the main screen is larger than the sub-picture to facilitate the user's viewing.
  • Step 103 Extract and play the first video file in the sub-picture according to the play address of the first video file, acquire a play address of the second video file, and play in the main screen.
  • the second video file Extract and play the first video file in the sub-picture according to the play address of the first video file, acquire a play address of the second video file, and play in the main screen. The second video file.
  • the clicked second video file may be played in the set main screen.
  • the first video file can be played according to the playback address of the first video file and the progress of the playback.
  • the audio of the video file played by the main screen and the audio of the video file played by the sub-picture are transmitted to the user through a terminal device channel, and if the video is played simultaneously, the overlay occurs.
  • the audio affects the effect of the user watching the video.
  • the user mainly views the video file of the main screen in the video play page, so the audio of the video file played by the main screen can be transmitted through the channel, and the audio settings of the video files played by all the sub-pictures. Is off state.
  • a plurality of sub-pictures may be set in the video play page, that is, at least one sub-picture is set in the video play page.
  • the clicked video file can be opened in the same video playing page by the above method.
  • the playing of the video file played in the sub-picture is extracted. Address and playback progress. Then, the play address and the play progress of the video file played in the main screen at this time are acquired, the video file is played in the sub-picture, and the audio of the video file is turned off. At the same time, according to the playback of the video file extracted from the sub-picture The address and playback progress are played in the main screen.
  • step 103 after the execution of step 103, it is also possible to receive a trigger instruction for deleting the sub-picture, and then the video file played in the sub-picture can be directly closed, and the sub-picture can be deleted.
  • the main picture and all the sub-pictures in the video play page can be moved on the video play page, that is, the position is changed. For example, clicking the main screen with the left mouse button or any sub-picture is not raised, and then the main picture or sub-picture changes position on the video play page as the mouse moves.
  • the step 103 after the step 103 is executed, it is also possible to receive a trigger instruction for deleting the home screen, and then the video file played in the home screen is closed.
  • the play address and progress of the video file played in the sub-picture are extracted, and the video file is played on the main screen according to the play address and progress.
  • the video file played in the sub-picture is closed, and the sub-picture is deleted.
  • the triggering instruction for deleting the home screen is received, the position of the current home screen and all the sub-pictures on the video playing page is obtained.
  • the sub-screen closest to the main screen is determined according to the position of the main screen on the video play page.
  • the play address and progress of the video file played in the sub-picture closest to the main picture are extracted, and the video file is played on the main screen according to the play address and progress.
  • the video file played in the sub-picture is closed, and the sub-picture is deleted.
  • the position information of the main picture and all the sub-pictures in the coordinate system can be determined by using the play page as a two-dimensional coordinate system, and then each sub-picture is calculated. The distance from the main screen is found as the sub-picture closest to the main picture based on the result of the calculation.
  • the implementation method of video playback according to the present invention implements a function that a user can simultaneously view a plurality of video files in one video play page.
  • the video file played on the main screen and the video file played by any sub-picture may be reversed in the video play page, further satisfying the user's selection of viewing focus on different video files in the same video play page.
  • the user can delete the video file that is not intended to be played, whether it is a video file of the main screen or a video file of any sub-picture, thereby improving the efficiency of playing the video file in the video playing page.
  • the present invention creatively proposes a multi-picture video play page, on which the user can meet various needs and give the user a new video viewing experience.
  • the integration of the playback function on the video application platform not only facilitates the user's viewing, but also greatly improves the service quality of the video application platform.
  • the implementation method of the video playing may specifically adopt the following steps:
  • Step 201 In the process of playing the first video file, receiving a trigger instruction for playing the second video file.
  • Step 202 The play area of the first video file of the video play page is used as the main screen, and another play area is set as the sub-picture.
  • Step 203 suspending the first video file being played.
  • step 204 it is determined whether the sub-screen is set according to the preset default position and size. If yes, step 205 is performed, and if not, step 206 is performed.
  • step 205 the sub-screen is set according to the default position and size, and step 207 is performed.
  • Step 206 Customize the position and size of the sub-picture on the video play page, and proceed to step 207.
  • Step 207 Extract and play the first video file in the sub-picture according to the play address of the first video file, and close the audio of the video file.
  • Step 208 Acquire a play address of the second video file, and play the second video file in the main screen.
  • step 208 may be performed according to the foregoing step 207, or step 208 may be performed first, or step 207 may be performed first, or step 207 and step 208 may be performed simultaneously.
  • video file swapping between the main picture and a sub-picture may be performed, including:
  • Step one receiving a trigger instruction for clicking the sub-screen.
  • Step 2 extract and play the video file in the main screen according to a play address and a play progress of the video file played in the sub-picture.
  • Step 3 Acquire and play the video file in the sub-picture according to the play address and the play progress of the video file played in the main screen, and turn off the audio of the video file.
  • the second step and the third step are performed in the first step, and the step two is performed in the first step.
  • the sub-picture in the video play page may also be deleted.
  • the sub-picture in the video play page may also be deleted.
  • step one a trigger instruction for deleting the sub-picture is received.
  • Step 2 Close the video file played in the sub-picture.
  • step three the sub screen is deleted.
  • the main screen in the video play page may also be deleted, including:
  • step one a trigger instruction for deleting the main screen is received.
  • Step 2 Obtain the position of the current main picture and all the sub-pictures on the video play page.
  • Step 3 judging the sub-picture closest to the main picture according to the position of the main picture on the video playing page.
  • step four the play address and progress of the video file played in the sub-picture closest to the main picture are extracted.
  • Step 5 playing the video file in the main screen according to the play address and progress of the video file played in the sub-picture closest to the main picture; and closing the video file played in the sub-picture, deleting the sub-picture.
  • the video playback apparatus includes a video playback trigger unit 301, a video screen setting unit 302, and a video that are sequentially connected.
  • Screen playback unit 303 The video play triggering unit 301 is configured to receive a trigger instruction for playing the second video file during the process of playing the first video file.
  • the video picture setting unit 302 is configured to set a play area of the first video file of the video play page as a main picture, and set another play area in the video play page as a sub-picture.
  • the video picture playing unit 303 is configured to extract and play the first video file in the sub-picture according to a play address of the first video file, and acquire a play address of the second video file, where The second video file is played in the main screen.
  • the video picture setting unit 302 is playing the play area of the first video file as the main picture of the video play page in the video play page, and at least one area outside the main picture of the video play page may be set.
  • Sub screen when the sub-screen is set in an area other than the main screen of the video playing page, the setting of the sub-screen may be performed according to the preset default position and size.
  • the position and size of the sub-picture can also be customized by the user's needs. Specifically, the user When the position and size of the custom sub-picture are performed, the editing state of the video play page can be entered, and the area other than the main screen on the video play page is drawn.
  • the size of the main screen on the video playback page is larger than the size of the sub-picture.
  • This design mainly considers that the video file of the main screen is mainly viewed on the video playback page.
  • the main screen is larger than the sub-picture to facilitate the user's viewing.
  • the audio of the video file played by the main screen and the audio of the video file played by the sub-picture are transmitted to the user through a terminal device channel, and if the video is played simultaneously, the superimposed audio appears. Affects the effect of the user watching the video.
  • the user mainly views the video file of the main screen in the video play page, so the audio of the video file played by the main screen can be transmitted through the channel, and the audio settings of the video files played by all the sub-pictures. Is off state.
  • the video screen playing unit 303 receives the triggering instruction for clicking the sub-picture, and extracts and plays the video according to the sub-picture.
  • the play address and playback progress of the file are played in the main screen. Acquiring and playing the video file in the sub-picture according to the play address and the play progress of the video file played in the main screen, and turning off the audio of the video file.
  • the video screen playing unit 303 may receive a trigger instruction for deleting the sub-picture, and may directly close in the sub-picture. Play the video file and delete the sub screen.
  • the video screen playing unit 303 receives the trigger instruction for deleting the main screen, the video file played in the main screen is closed.
  • the play address and progress of the video file played in the sub-picture are extracted, and the video file is played on the main screen according to the play address and progress.
  • the video file played in the sub-picture is closed, and the sub-picture is deleted.
  • the position of the current home screen and all the sub-pictures on the video playing page is obtained.
  • the sub-screen closest to the main screen is determined according to the position of the main screen on the video play page.
  • the play address and progress of the video file played in the sub-picture closest to the main picture are extracted, and the video file is played on the main screen according to the play address and progress.
  • the video file played in the sub-picture is closed, and the sub-picture is deleted.
  • an apparatus comprising: one or more processors;
  • a memory for storing operational instructions
  • the one or more processors are configured to retrieve an operational instruction from the memory and execute:
  • the processor is further configured to:
  • the setting another play area as a sub-picture includes:
  • the sub-picture is set according to the default position and size or the sub-picture position and size are customized on the video play page.
  • the processor is further configured to:
  • the method further includes:
  • the processor is further configured to:
  • the method further includes:
  • the processor is further configured to:
  • the method After receiving the trigger instruction for deleting the home screen, the method includes:
  • the method and device for implementing video playback provided by the present invention creatively solve the defect that a video play page can only play one video file on the video application platform, and can simultaneously play multiple videos in one video play page.
  • the function of the video file makes the content of the video playing page richer and can meet the diverse viewing needs of the user, and has wide promotion significance; finally, the implementation method and device of the whole video playing are compact and easy to implement.
  • the device described in the present disclosure may be various electronic terminal devices, such as a mobile phone, a personal digital assistant (PDA), a tablet computer (PAD), a smart TV, etc., and thus the scope of protection of the present disclosure should not be limited to a certain A specific type of device.
  • PDA personal digital assistant
  • PAD tablet computer
  • smart TV smart TV
  • the method according to the present disclosure may also be implemented as a computer program executed by a CPU, which may be stored in a computer readable storage medium.
  • the above-described functions defined in the method of the present disclosure are performed when the computer program is executed by the CPU.
  • the method steps and system units described above may also be implemented with a controller and a computer readable storage medium for storing a computer program that causes the controller to implement the steps or unit functions described above.
  • non-volatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash.
  • ROM read only memory
  • PROM programmable ROM
  • EPROM electrically programmable ROM
  • EEPROM electrically erasable programmable ROM
  • flash flash.
  • Volatile memory can include random access memory (RAM), which can act as external cache memory.
  • RAM can be Available in multiple formats such as synchronous RAM (DRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), and direct Rambus RAM (DRRAM).
  • DRAM synchronous RAM
  • DRAM dynamic RAM
  • SDRAM synchronous DRAM
  • DDR SDRAM dual data rate SDRAM
  • ESDRAM enhanced SDRAM
  • SLDRAM synchronous link DRAM
  • DRRAM direct Rambus RAM
  • Storage devices of the disclosed aspects are intended to comprise, without being limited to, these and other suitable types of memory.
  • DSPs digital signal processors
  • ASIC dedicated An integrated circuit
  • FPGA field programmable gate array
  • a general purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine.
  • the processor may also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration.
  • a software module may reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
  • An exemplary storage medium is coupled to the processor, such that the processor can read information from or write information to the storage medium.
  • the storage medium can be integrated with a processor.
  • the processor and the storage medium can reside in an ASIC.
  • the ASIC can reside in the user terminal.
  • the processor and the storage medium may reside as discrete components in the user terminal.
  • the functions may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored on or transmitted as one or more instructions or code on a computer readable medium.
  • Computer readable Media includes computer storage media and communication media including any medium that facilitates transfer of a computer program from one location to another.
  • a storage medium may be any available media that can be accessed by a general purpose or special purpose computer.
  • the computer readable medium may comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage device, disk storage device or other magnetic storage device, or may be used to carry or store a form of instructions Or the required program code of the data structure and any other medium that can be accessed by a general purpose or special purpose computer or a general purpose or special purpose processor. Also, any connection is properly termed a computer-readable medium.
  • a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technology such as infrared, radio, and microwave is used to transmit software from a website, server, or other remote source
  • the coaxial line Cables, fiber optic cables, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are all included in the definition of the medium.
  • a magnetic disk and an optical disk include a compact disk (CD), a laser disk, an optical disk, a digital versatile disk (DVD), a floppy disk, a Blu-ray disk, in which a disk generally reproduces data magnetically, and the optical disk optically reproduces data using a laser. . Combinations of the above should also be included within the scope of computer readable media.
  • a person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium.
  • the storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.

Abstract

本发明公开了一种视频播放的实现方法和装置,在进行第一视频文件播放的过程中,收到播放第二视频文件的触发指令;将视频播放页面中的所述第一视频文件的播放区域作为主画面,设置所述视频播放页面中的另一播放区域作为副画面;提取并根据所述第一视频文件的播放地址,在所述的副画面中播放所述第一视频文件;获取所述第二视频文件的播放地址,在所述主画面中播放所述第二视频文件。因此,所述视频播放的实现方法和装置解决了在媒体播放中只能反复跳转播放地址或点击不同播放地址的播放页面进行多个视频文件的切换观看问题。

Description

一种视频播放的实现方法和装置
本申请基于申请号为2015108107497,申请日为2015年11月20日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
技术领域
本发明涉及媒体传播技术领域,特别是指一种视频播放的实现方法和装置。
背景技术
随着计算机通信技术、互联网技术以及多媒体技术的发展,观看视频得到了越来越广泛的应用。用户在进行视频观看时,如果需要观看另一个视频文件,有两者播放形式,一种是将正在播放视频的页面跳转至需要观看的视频文件播放页面,另一种是在新的页面中打开并播放需要观看的视频文件。
但是,在两种播放形式中,都存在如果观看者再想观看之前的视频文件,则只能跳转回原来的播放地址,或者点击原来观看的视频文件的播放页面。因此,观看者反复的跳转或点击播放页面造成了非常麻烦的操作,同时影响了对之前的视频文件和现在的视频文件的观看体验。
发明内容
有鉴于此,本发明的目的在于提出一种视频播放的实现方法和装置,解决在媒体播放中只能反复跳转播放地址或点击不同播放地址的播放页面进行多个视频文件的切换观看问题。
基于上述目的本发明实施例提供了一种视频播放的实现方法,作为一个实施例该方法包括步骤:
在进行第一视频文件播放的过程中,收到播放第二视频文件的触发指令;
将视频播放页面的所述第一视频文件的播放区域作为主画面,设置所述 视频播放页面中的另一播放区域作为副画面;
提取并根据所述第一视频文件的播放地址,在所述的副画面中播放所述第一视频文件;
获取所述第二视频文件的播放地址,在所述的主画面中播放所述第二视频文件。
可选地,所述设置另一播放区域作为副画面包括:
暂停正在播放的第一视频文件;
判断是否根据预设的默认位置和尺寸设置副画面;
根据判断结果,按照默认位置和尺寸设置副画面或者在该视频播放页面自定义副画面位置和尺寸。
进一步地,在所述的主画面中播放所述第二视频文件之后还包括:
收到点击副画面的触发指令;
提取并根据副画面中第一视频文件的播放地址和播放进度,在所述的主画面中播放所述第一视频文件;
获取并根据主画面中播放的第二视频文件的播放地址和播放进度,在所述的副画面中播放所述第二视频文件,并关闭所述第二视频文件的音频。
可选地,在所述的主画面中播放该新视频文件之后还包括:
收到删除副画面的触发指令;
关闭在该副画面中播放的视频文件,并删除该副画面;
或者收到删除主画面的触发指令;
提取并根据副画面中播放的视频文件的播放地址和进度,在主画面中播放该视频文件;并关闭在该副画面中播放的该视频文件,删除该副画面。
进一步地,所述收到删除主画面的触发指令之后包括:
获取当前主画面和所有副画面在该视频播放页面上的位置;
根据主画面在该视频播放页面上的位置,判断距离所述主画面最接近的副画面;
提取并根据最接近主画面的副画面中播放的视频文件的播放地址和进度,在主画面中播放该视频文件;并关闭在该副画面中播放的该视频文件,删除该副画面。
在本发明实施例的另一方面,还提供了一种视频播放的实现装置,作为 一个实施例该装置包括:
视频播放触发单元,用于在进行第一视频文件播放的过程中,收到播放第二视频文件的触发指令;
视频画面设置单元,用于将视频播放页面中的所述第一视频文件的播放区域作为主画面,设置所述视频播放页面中的另一播放区域作为副画面;
视频画面播放单元,用于提取并根据所述第一视频文件的播放地址,在所述的副画面中播放所述第一视频文件;获取所述第二视频文件的播放地址,在所述的主画面中播放所述第二视频文件。
可选地,所述视频画面设置单元设置另一播放区域作为副画面包括:
暂停正在播放的第一视频文件;
判断是否根据预设的默认位置和尺寸设置副画面;
根据判断结果,直接按照默认位置和尺寸设置副画面或者在该视频播放页面自定义副画面位置和尺寸。
进一步地,所述视频画面播放单元所述的主画面中播放该新视频文件之后还包括:
收到点击副画面的触发指令;
提取并根据副画面中第一视频文件的播放地址和播放进度,在所述的主画面中播放所述第一视频文件;
获取并根据主画面中播放的第二视频文件的播放地址和播放进度,在所述的副画面中播放所述第二视频文件,并关闭该所述第二视频文件的音频。
可选地,所述视频画面播放单元在所述的主画面中播放所述第二视频文件之后还包括:
收到删除副画面的触发指令;
关闭在该副画面中播放的视频文件,并删除该副画面;
或者收到删除主画面的触发指令;
提取并根据副画面中播放的视频文件的播放地址和进度,在主画面中播放该视频文件;并关闭在该副画面中播放的该视频文件,删除该副画面。
进一步地,所述视频画面播放单元收到删除主画面的触发指令之后包括:
获取当前主画面和所有副画面在该视频播放页面上的位置;
根据主画面在该视频播放页面上的位置,判断距离所述主画面最接近的 副画面;
提取并根据最接近主画面的副画面中播放的视频文件的播放地址和进度,在主画面中播放该视频文件;并关闭在该副画面中播放的该视频文件,删除该副画面。
本发明实施例的又一方面,还提供了一种装置,包括:
一个或多个处理器;以及
用于存储操作指令的存储器;
所述一个或多个处理器被配置为从所述存储器中获取操作指令并执行:
在进行第一视频文件播放的过程中,收到播放第二视频文件的触发指令;
将视频播放页面中的所述第一视频文件的播放区域作为主画面,设置所述视频播放页面中的另一播放区域作为副画面;
提取并根据所述第一视频文件的播放地址,在所述的副画面中播放所述第一视频文件;
获取所述第二视频文件的播放地址,在所述主画面中播放所述第二视频文件。
可选地,所述处理器还用于执行:
所述设置另一播放区域作为副画面包括:
暂停正在播放的第一视频文件;
判断是否根据预设的默认位置和尺寸设置副画面;
根据判断结果,按照默认位置和尺寸设置副画面或者在该视频播放页面自定义副画面位置和尺寸。
进一步地,所述处理器还用于执行:
在所述的主画面中播放该新视频文件之后还包括:
收到点击副画面的触发指令;
提取并根据副画面中第一视频文件的播放地址和播放进度,在所述的主画面中播放所述第一视频文件;
获取并根据主画面中播放的第二视频文件的播放地址和播放进度,在所述的副画面中播放所述第二视频文件,并关闭所述第二视频文件的音频。
可选地,所述处理器还用于执行:
在所述的主画面中播放所述第二视频文件之后还包括:
收到删除副画面的触发指令;
关闭在该副画面中播放的视频文件,并删除该副画面;
或者收到删除主画面的触发指令;
提取并根据副画面中播放的视频文件的播放地址和进度,在主画面中播放该视频文件;并关闭在该副画面中播放的该视频文件,删除该副画面。
进一步地,所述处理器还用于执行:
所述收到删除主画面的触发指令之后包括:
获取当前主画面和所有副画面在该视频播放页面上的位置;
根据主画面在该视频播放页面上的位置,判断距离所述主画面最接近的副画面;
提取并根据最接近主画面的副画面中播放的视频文件的播放地址和进度,在主画面中播放该视频文件;并关闭在该副画面中播放的该视频文件,删除该副画面。
从上面所述可以看出,本发明实施例提供的视频播放的实现方法和装置,通过将视频播放页面的第一视频文件的播放区域作为主画面,设置另一播放区域作为副画面;提取并根据所述第一视频文件的播放地址,在所述的副画面中播放所述第一视频文件;获取所述第一视频文件的播放地址,在所述的主画面中播放所述第二视频文件。从而,实现了用户在一个视频播放页面中可以同时观看多个视频文件,优化了视频媒体的服务。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本发明。
附图说明
为了更清楚地说明本公开的实施例,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本发明第一实施例中视频播放的实现方法的流程示意图;
图2为本发明可参考实施例中视频播放的实现方法的流程示意图;
图3为本发明实施例视频播放的实现装置的结构示意图。
通过上述附图,已示出本公开明确的实施例,后文中将有更详细的描述。这些附图和文字描述并不是为了通过任何方式限制本公开构思的范围,而是通过参考特定实施例为本领域技术人员说明本公开的概念。
具体实施方式
为使本发明的目的、技术方案和优点更加清楚明白,以下结合具体实施例,并参照附图,对本发明进一步详细说明。
根据多媒体平台的使用现状,用户正在观看视频文件时,若想点击其他视频文件进行观看,只能将正在播放当前视频文件的播放页面跳转至该其他视频文件的播放地址页,或者要么在新的页面中打开该其他视频文件的播放地址页。当想再次观看前一个视频文件时,导致用户必须跳转回前一个视频文件的播放页面或者点击打开着的前一个视频文件播放页面,导致用户体验非常差。为了解决这一问题,本发明从用户角度,体会到用户希望在同一个视频播放页面中能够观看到多个视频文件。因此,本发明的思路是在多媒体平台上,在一个视频播放页面中设置多个画面,针对不同的视频文件进行播放。
参阅图1所示,为本发明第一实施例中视频播放的实现方法流程示意图,所述视频播放的实现方法包括:
步骤101,在进行第一视频文件播放的过程中,收到播放第二视频文件的触发指令。
在实施例中,在视频应用平台上,视频播放页面正在播放一个视频文件的过程中,收到了点击该视频应用中的另一个视频文件的播放指令。
步骤102,将视频播放页面中的所述第一视频文件的播放区域作为主画面,设置所述视频播放页面中的另一播放区域作为副画面。
作为实施例,在视频播放页面中正在播放第一视频文件的播放区域作为该视频播放页面的主画面,在该视频播放页面可以设置另一播放区域作为副画面。可选地,在该视频播放页面的主画面之外的区域设置副画面,主要是为了可以避免副画面设置在主画面区域上可能造成用户观看主画面的效果。
可选地,在该视频播放页面的主画面之外的区域设置副画面时,可以根据预设的默认位置和尺寸进行副画面的设置,例如:预设的默认位置可以是距离主画面右上端2cm处,预设的默认尺寸是5cm*5cm。
另外,也可以用户根据需要自定义副画面的位置和尺寸。具体来说,用户进行自定义副画面的位置和尺寸时,可以进入到该视频播放页面的编辑状态,在该视频播放页面上主画面之外的区域进行绘制。例如:利用鼠标在主画面之外的区域绘制出一个区域作为副画面。
需要说明的是,在该视频播放页面的主画面之外的区域设置副画面时,可以暂停主画面中正在播放的视频文件,然后在主画面之外的区域设置副画面。
值得说明的是,在视频播放页面上的主画面的尺寸要大于副画面的尺寸,这样的设计主要是考虑到,在视频播放页面上一般情况下主要进行观看的是主画面的视频文件,而主画面大于副画面有利于用户的观看。
步骤103,提取并根据所述第一视频文件的播放地址,在所述的副画面中播放所述第一视频文件;获取所述第二视频文件的播放地址,在所述的主画面中播放所述第二视频文件。
在实施例中,根据获取的所述第二视频文件的播放地址,在设置的主画面中可以播放点击的所述第二视频文件。而在设置的副画面中,则可以根据提取第一视频文件的播放地址以及播放的进度,来播放第一视频文件。需要说明的是,由于在视频应用的视频播放页面中,主画面播放的视频文件的音频和副画面播放的视频文件的音频都是通过一个终端设备声道传送给用户,若同时播放则出现叠加的音频,影响了用户观看视频的效果。而一般情况下,用户主要是观看所述视频播放页面中的主画面的视频文件,故设置主画面播放的视频文件的音频可以通过声道进行传送,而所有副画面播放的视频文件的音频设置为关闭状态。
另外,在本发明的所述视频播放的实现方法中,可以在视频播放页面中设置多个副画面,也就是在该视频播放页面中设置有至少一个副画面。当每点击一个视频文件进行观看时都可以通过上述方法在同一个视频播放页面中打开点击的视频文件。
作为另一个实施例,在步骤103执行之后,在用户同时观看该视频播放页面上的多个视频的过程中,收到了点击副画面的触发指令,则提取该副画面中播放的视频文件的播放地址和播放进度。然后,获取此时主画面中播放的视频文件的播放地址和播放进度,在所述的副画面中播放该视频文件,并关闭该视频文件的音频。与此同时,根据从副画面中提取的视频文件的播放 地址和播放进度,在所述主画面中播放该视频文件。
另外,在本发明的另一个实施例中,在步骤103执行之后还可能收到删除副画面的触发指令,则可以直接关闭在该副画面中播放的视频文件,并且删除该副画面即可。还值得说明的是,在视频播放页面中的主画面和所有的副画面,都可以在该视频播放页面上移动,即变化位置。例如:利用鼠标左键点击主画面或者任意一个副画面并不抬起,然后该主画面或副画面在视频播放页面上随着鼠标的移动而变化位置。
还有,在实施例中,步骤103执行之后还可能收到删除主画面的触发指令,则关闭在该主画面中播放的视频文件。提取副画面中播放的视频文件的播放地址和进度,根据该播放地址和进度,在主画面中播放该视频文件。与此同时,关闭在该副画面中播放的该视频文件,并删除该副画面。可选地,在所述收到删除主画面的触发指令之后获取当前主画面和所有副画面在该视频播放页面上的位置。根据主画面在该视频播放页面上的位置,判断距离所述主画面最接近的副画面。然后,提取最接近主画面的副画面中播放的视频文件的播放地址和进度,根据该播放地址和进度,在主画面中播放该视频文件。同时,关闭在该副画面中播放的该视频文件,并且删除该副画面。其中,判断距离所述主画面最接近的副画面时,能够通过以该播放页面为一个二维坐标系,确定主画面和所有副画面在该坐标系中的位置信息,然后计算每个副画面与该主画面的距离,根据计算的结果找到与该主画面距离最接近的副画面。
从上面的一些实施例中,可以看出本发明所述的视频播放的实现方法实现了用户在一个视频播放页面中能够同时观看多个视频文件的功能。并且,还可以在该视频播放页面中将主画面播放的视频文件和任意一个副画面播放的视频文件进行对调,进一步满足用户选择对同一视频播放页面中不同视频文件的观看侧重。而且,用户对于不想进行播放的视频文件,无论是主画面的视频文件还是任意一个副画面的视频文件,都可以删除,提高了在该视频播放页面中播放视频文件的效率。因此,本发明创造性地提出了一种多画面的视频播放页面,在该视频播放页面上可以满足用户多种需求,给用户全新的视频观看体验。与此同时,整合了视频应用平台上播放功能,不仅方便了用户的观看,而且大大提高了视频应用平台的服务质量。
作为一个可参考的实施例,参阅图2所示,所述视频播放的实现方法具体可采用如下步骤:
步骤201,在进行第一视频文件播放的过程中,收到播放第二视频文件的触发指令。
步骤202,将视频播放页面的第一视频文件的播放区域作为主画面,设置另一播放区域作为副画面。
步骤203,暂停正在播放的第一视频文件。
步骤204,判断是否根据预设的默认位置和尺寸设置副画面,若是则进行步骤205,若不是则执行步骤206。
步骤205,按照默认位置和尺寸设置副画面,进行步骤207。
步骤206,在该视频播放页面自定义副画面位置和尺寸,进行步骤207。
步骤207,提取并根据所述第一视频文件的播放地址,在所述的副画面中播放该第一视频文件,并关闭该视频文件的音频。
步骤208,获取所述第二视频文件的播放地址,在所述的主画面中播放该第二视频文件。
需要说明的是,步骤207和步骤208可以按照上面所述的先执行步骤207再进行步骤208,也可以先执行步骤208再进行步骤207,或者同时进行步骤207和步骤208。
作为另一个可参考的实施例,在进行完步骤207或步骤208,或者同时进行步骤207和步骤208之后,可以进行主画面和一个副画面之间的视频文件对调,包括:
步骤一,收到点击副画面的触发指令。
步骤二,提取并根据副画面中播放的视频文件的播放地址和播放进度,在所述的主画面中播放该视频文件。
步骤三,获取并根据主画面中播放的视频文件的播放地址和播放进度,在所述的副画面中播放该视频文件,并关闭该视频文件的音频。
需要说明的是,步骤二和步骤三不分先后顺序,可以是上面所述的先进行步骤二再执行步骤三,也可以先进行步骤三再执行步骤二,或者同时进行步骤二和步骤三。
作为又一个可参考的实施例,在进行完步骤207或步骤208,或者同时进行步骤207和步骤208之后,还可以删除视频播放页面中的副画面,包 括:
步骤一,收到删除副画面的触发指令。
步骤二,关闭在该副画面中播放的视频文件。
步骤三,删除该副画面。
作为又一个可参考的实施例,在进行完步骤207或步骤208,或者同时进行步骤207和步骤208之后,还可以删除视频播放页面中的主画面,包括:
步骤一,收到删除主画面的触发指令。
步骤二,获取当前主画面和所有副画面在该视频播放页面上的位置。
步骤三,根据主画面在该视频播放页面上的位置,判断距离所述主画面最接近的副画面。
步骤四,提取最接近主画面的副画面中播放的视频文件的播放地址和进度。
步骤五,根据最接近主画面的副画面中播放的视频文件的播放地址和进度,在主画面中播放该视频文件;并关闭在该副画面中播放的该视频文件,删除该副画面。
在本发明的另一方面实施例,还提供了一种视频播放的实现装置,如图3所示,所述的视频播放装置包括依次连接的视频播放触发单元301、视频画面设置单元302和视频画面播放单元303。其中,视频播放触发单元301用于在进行第一视频文件播放的过程中,收到播放第二视频文件的触发指令。视频画面设置单元302用于将视频播放页面的所述第一视频文件的播放区域作为主画面,设置所述视频播放页面中的另一播放区域作为副画面。视频画面播放单元303用于提取并根据所述第一视频文件的播放地址,在所述的副画面中播放所述第一视频文件;获取所述第二视频文件的播放地址,在所述的主画面中播放所述第二视频文件。
可选地,视频画面设置单元302在视频播放页面中正在播放第一视频文件的播放区域作为该视频播放页面的主画面,而在该视频播放页面的主画面之外的区域可以设置有至少一个副画面。可选地,在该视频播放页面的主画面之外的区域设置副画面时,可以根据预设的默认位置和尺寸进行副画面的设置。当然也可以用户的需要自定义副画面的位置和尺寸。具体来说,用户 进行自定义副画面的位置和尺寸时,可以进入到该视频播放页面的编辑状态,在该视频播放页面上主画面之外的区域进行绘制。
值得说明的是,在视频播放页面上的主画面的尺寸要大于副画面的尺寸,这样的设计主要是考虑到,在视频播放页面上一般情况下主要进行观看的是主画面的视频文件,而主画面大于副画面有利于用户的观看。另外,由于在视频应用的视频播放页面中,主画面播放的视频文件的音频和副画面播放的视频文件的音频都是通过一个终端设备声道传送给用户,若同时播放则出现叠加的音频,影响了用户观看视频的效果。而一般情况下,用户主要是观看所述视频播放页面中的主画面的视频文件,故设置主画面播放的视频文件的音频可以通过声道进行传送,而所有副画面播放的视频文件的音频设置为关闭状态。
作为本发明的另一实施例,在用户同时观看该视频播放页面上的多个视频的过程中,视频画面播放单元303收到了点击副画面的触发指令,则提取并根据副画面中播放的视频文件的播放地址和播放进度,在所述的主画面中播放该视频文件。获取并根据主画面中播放的视频文件的播放地址和播放进度,在所述的副画面中播放该视频文件,并关闭该视频文件的音频。
作为又一可参考的实施例,在用户同时观看该视频播放页面上的多个视频的过程中,视频画面播放单元303可能收到删除副画面的触发指令,则可以直接关闭在该副画面中播放的视频文件,并且删除该副画面即可。
另外,在用户同时观看该视频播放页面上的多个视频的过程中,若视频画面播放单元303收到删除主画面的触发指令,则关闭在该主画面中播放的视频文件。提取副画面中播放的视频文件的播放地址和进度,根据该播放地址和进度,在主画面中播放该视频文件。与此同时,关闭在该副画面中播放的该视频文件,并删除该副画面。可选地,在所述收到删除主画面的触发指令之后获取当前主画面和所有副画面在该视频播放页面上的位置。根据主画面在该视频播放页面上的位置,判断距离所述主画面最接近的副画面。然后,提取最接近主画面的副画面中播放的视频文件的播放地址和进度,根据该播放地址和进度,在主画面中播放该视频文件。同时,关闭在该副画面中播放的该视频文件,并且删除该副画面。
需要说明的是,在本发明所述的视频播放的实现装置的具体实施内容,在上面所述的视频播放的实现方法中已经详细说明了,故在此重复内容不再 说明。
本发明实施例的又一方面,还提供了一种装置,所述装置的一个实施例,包括:一个或多个处理器;以及
用于存储操作指令的存储器;
所述一个或多个处理器被配置为从所述存储器中获取操作指令并执行:
在进行第一视频文件播放的过程中,收到播放第二视频文件的触发指令;
将视频播放页面中的所述第一视频文件的播放区域作为主画面,设置所述视频播放页面中的另一播放区域作为副画面;
提取并根据所述第一视频文件的播放地址,在所述的副画面中播放所述第一视频文件;
获取所述第二视频文件的播放地址,在所述主画面中播放所述第二视频文件。
可选地,所述处理器还用于执行:
所述设置另一播放区域作为副画面包括:
暂停正在播放的第一视频文件;
判断是否根据预设的默认位置和尺寸设置副画面;
根据判断结果,按照默认位置和尺寸设置副画面或者在该视频播放页面自定义副画面位置和尺寸。
可选地,所述处理器还用于执行:
在所述的主画面中播放该新视频文件之后还包括:
收到点击副画面的触发指令;
提取并根据副画面中第一视频文件的播放地址和播放进度,在所述的主画面中播放所述第一视频文件;
获取并根据主画面中播放的第二视频文件的播放地址和播放进度,在所述的副画面中播放所述第二视频文件,并关闭所述第二视频文件的音频。
可选地,所述处理器还用于执行:
在所述的主画面中播放所述第二视频文件之后还包括:
收到删除副画面的触发指令;
关闭在该副画面中播放的视频文件,并删除该副画面;
或者收到删除主画面的触发指令;
提取并根据副画面中播放的视频文件的播放地址和进度,在主画面中播放该视频文件;并关闭在该副画面中播放的该视频文件,删除该副画面。
可选地,所述处理器还用于执行:
所述收到删除主画面的触发指令之后包括:
获取当前主画面和所有副画面在该视频播放页面上的位置;
根据主画面在该视频播放页面上的位置,判断距离所述主画面最接近的副画面;
提取并根据最接近主画面的副画面中播放的视频文件的播放地址和进度,在主画面中播放该视频文件;并关闭在该副画面中播放的该视频文件,删除该副画面。
综上所述,本发明提供的视频播放的实现方法、装置,创造性地解决了视频应用平台上视频播放页面只能播放一个视频文件的缺陷,实现了在一个视频播放页面中能够同时播放多个视频文件的功能;使得视频播放页面的内容更丰富,并能够满足用户多样的观看需要,具有广泛的推广意义;最后,整个所述视频播放的实现方法和装置紧凑,易于实现。
此外,典型地,本公开所述的装置可为各种电子终端设备,例如手机、个人数字助理(PDA)、平板电脑(PAD)、智能电视等,因此本公开的保护范围不应限定为某种特定类型的装置。
此外,根据本公开的方法还可以被实现为由CPU执行的计算机程序,该计算机程序可以存储在计算机可读存储介质中。在该计算机程序被CPU执行时,执行本公开的方法中限定的上述功能。
此外,上述方法步骤以及系统单元也可以利用控制器以及用于存储使得控制器实现上述步骤或单元功能的计算机程序的计算机可读存储介质实现。
此外,应该明白的是,本文所述的计算机可读存储介质(例如,存储器)可以是易失性存储器或非易失性存储器,或者可以包括易失性存储器和非易失性存储器两者。作为例子而非限制性的,非易失性存储器可以包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦写可编程ROM(EEPROM)或快闪存储器。易失性存储器可以包括随机存取存储器(RAM),该RAM可以充当外部高速缓存存储器。作为例子而非限制性的,RAM可以以 多种形式获得,比如同步RAM(DRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据速率SDRAM(DDR SDRAM)、增强SDRAM(ESDRAM)、同步链路DRAM(SLDRAM)以及直接RambusRAM(DRRAM)。所公开的方面的存储设备意在包括但不限于这些和其它合适类型的存储器。
本领域技术人员还将明白的是,结合这里的公开所描述的各种示例性逻辑块、模块、电路和算法步骤可以被实现为电子硬件、计算机软件或两者的组合。为了清楚地说明硬件和软件的这种可互换性,已经就各种示意性组件、方块、模块、电路和步骤的功能对其进行了一般性的描述。这种功能是被实现为软件还是被实现为硬件取决于具体应用以及施加给整个系统的设计约束。本领域技术人员可以针对每种具体应用以各种方式来实现所述的功能,但是这种实现决定不应被解释为导致脱离本公开的范围。
结合这里的公开所描述的各种示例性逻辑块、模块和电路可以利用被设计成用于执行这里所述功能的下列部件来实现或执行:通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、现场可编程门阵列(FPGA)或其它可编程逻辑器件、分立门或晶体管逻辑、分立的硬件组件或者这些部件的任何组合。通用处理器可以是微处理器,但是可替换地,处理器可以是任何传统处理器、控制器、微控制器或状态机。处理器也可以被实现为计算设备的组合,例如,DSP和微处理器的组合、多个微处理器、一个或多个微处理器结合DSP核、或任何其它这种配置。
结合这里的公开所描述的方法或算法的步骤可以直接包含在硬件中、由处理器执行的软件模块中或这两者的组合中。软件模块可以驻留在RAM存储器、快闪存储器、ROM存储器、EPROM存储器、EEPROM存储器、寄存器、硬盘、可移动盘、CD-ROM、或本领域已知的任何其它形式的存储介质中。示例性的存储介质被耦合到处理器,使得处理器能够从该存储介质中读取信息或向该存储介质写入信息。在一个替换方案中,所述存储介质可以与处理器集成在一起。处理器和存储介质可以驻留在ASIC中。ASIC可以驻留在用户终端中。在一个替换方案中,处理器和存储介质可以作为分立组件驻留在用户终端中。
在一个或多个示例性设计中,所述功能可以在硬件、软件、固件或其任意组合中实现。如果在软件中实现,则可以将所述功能作为一个或多个指令或代码存储在计算机可读介质上或通过计算机可读介质来传送。计算机可读 介质包括计算机存储介质和通信介质,该通信介质包括有助于将计算机程序从一个位置传送到另一个位置的任何介质。存储介质可以是能够被通用或专用计算机访问的任何可用介质。作为例子而非限制性的,该计算机可读介质可以包括RAM、ROM、EEPROM、CD-ROM或其它光盘存储设备、磁盘存储设备或其它磁性存储设备,或者是可以用于携带或存储形式为指令或数据结构的所需程序代码并且能够被通用或专用计算机或者通用或专用处理器访问的任何其它介质。此外,任何连接都可以适当地称为计算机可读介质。例如,如果使用同轴线缆、光纤线缆、双绞线、数字用户线路(DSL)或诸如红外线、无线电和微波的无线技术来从网站、服务器或其它远程源发送软件,则上述同轴线缆、光纤线缆、双绞线、DSL或诸如红外先、无线电和微波的无线技术均包括在介质的定义。如这里所使用的,磁盘和光盘包括压缩盘(CD)、激光盘、光盘、数字多功能盘(DVD)、软盘、蓝光盘,其中磁盘通常磁性地再现数据,而光盘利用激光光学地再现数据。上述内容的组合也应当包括在计算机可读介质的范围内。
公开的示例性实施例,但是应当注公开的示例性实施例,但是应当注意,在不背离权利要求限定的本公开的范围的前提下,可以进行多种改变和修改。根据这里描述的公开实施例的方法权利要求的功能、步骤和/或动作不需以任何特定顺序执行。此外,尽管本公开的元素可以以个体形式描述或要求,但是也可以设想多个,除非明确限制为单数。
应当理解的是,在本文中使用的,除非上下文清楚地支持例外情况,单数形式“一个”(“a”、“an”、“the”)旨在也包括复数形式。还应当理解的是,在本文中使用的“和/或”是指包括一个或者一个以上相关联地列出的项目的任意和所有可能组合。
上述本公开实施例序号仅仅为了描述,不代表实施例的优劣。
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。
所属领域的普通技术人员应当理解:以上所述仅为本发明的具体实施例而已,并不用于限制本发明,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。

Claims (15)

  1. 一种视频播放的实现方法,包括:
    在进行第一视频文件播放的过程中,收到播放第二视频文件的触发指令;
    将视频播放页面中的所述第一视频文件的播放区域作为主画面,设置所述视频播放页面中的另一播放区域作为副画面;
    提取并根据所述第一视频文件的播放地址,在所述的副画面中播放所述第一视频文件;
    获取所述第二视频文件的播放地址,在所述主画面中播放所述第二视频文件。
  2. 根据权利要求1所述的方法,其中,所述设置另一播放区域作为副画面包括:
    暂停正在播放的第一视频文件;
    判断是否根据预设的默认位置和尺寸设置副画面;
    根据判断结果,按照默认位置和尺寸设置副画面或者在该视频播放页面自定义副画面位置和尺寸。
  3. 根据权利要求2所述的方法,其中,在所述的主画面中播放该新视频文件之后还包括:
    收到点击副画面的触发指令;
    提取并根据副画面中第一视频文件的播放地址和播放进度,在所述的主画面中播放所述第一视频文件;
    获取并根据主画面中播放的第二视频文件的播放地址和播放进度,在所述的副画面中播放所述第二视频文件,并关闭所述第二视频文件的音频。
  4. 根据权利要求1所述的方法,其中,在所述的主画面中播放所述第二视频文件之后还包括:
    收到删除副画面的触发指令;
    关闭在该副画面中播放的视频文件,并删除该副画面;
    或者收到删除主画面的触发指令;
    提取并根据副画面中播放的视频文件的播放地址和进度,在主画面中播放该视频文件;并关闭在该副画面中播放的该视频文件,删除该副画面。
  5. 根据权利要求4所述的方法,其中,所述收到删除主画面的触发指令之后包括:
    获取当前主画面和所有副画面在该视频播放页面上的位置;
    根据主画面在该视频播放页面上的位置,判断距离所述主画面最接近的副画面;
    提取并根据最接近主画面的副画面中播放的视频文件的播放地址和进度,在主画面中播放该视频文件;并关闭在该副画面中播放的该视频文件,删除该副画面。
  6. 一种视频播放的实现装置,包括:
    视频播放触发单元,用于在进行第一视频文件播放的过程中,收到播放第二视频文件的触发指令;
    视频画面设置单元,用于将视频播放页面中的所述第一视频文件的播放区域作为主画面,设置所述视频播放页面中的另一播放区域作为副画面;
    视频画面播放单元,用于提取并根据所述第一视频文件的播放地址,在所述的副画面中播放所述第一视频文件;获取所述第二视频文件的播放地址,在所述主画面中播放所述第二视频文件。
  7. 根据权利要求6所述的装置,其中,所述视频画面设置单元设置另一播放区域作为副画面包括:
    暂停正在播放的第一视频文件;
    判断是否根据预设的默认位置和尺寸设置副画面;
    根据判断结果,按照默认位置和尺寸设置副画面或者在该视频播放页面自定义副画面位置和尺寸。
  8. 根据权利要求7所述的装置,其中,所述视频画面播放单元在所述的主画面中播放该新视频文件之后还包括:
    收到点击副画面的触发指令;
    提取并根据副画面中第一视频文件的播放地址和播放进度,在所述的主画面中播放所述第一视频文件;
    获取并根据主画面中播放的第二视频文件的播放地址和播放进度,在所述的副画面中播放所述第二视频文件,并关闭所述第二视频文件的音频。
  9. 根据权利要求6所述的装置,其中,所述视频画面播放单元在所述的主画面中播放所述第二视频文件之后还包括:
    收到删除副画面的触发指令;
    关闭在该副画面中播放的视频文件,并删除该副画面;
    或者收到删除主画面的触发指令;
    提取并根据副画面中播放的视频文件的播放地址和进度,在主画面中播放该视频文件;并关闭在该副画面中播放的该视频文件,删除该副画面。
  10. 根据权利要求9所述的装置,其中,所述视频画面播放单元收到删除主画面的触发指令之后包括:
    获取当前主画面和所有副画面在该视频播放页面上的位置;
    根据主画面在该视频播放页面上的位置,判断距离所述主画面最接近的副画面;
    提取并根据最接近主画面的副画面中播放的视频文件的播放地址和进度,在主画面中播放该视频文件;并关闭在该副画面中播放的该视频文件,删除该副画面。
  11. 一种装置,包括:一个或多个处理器;以及
    用于存储操作指令的存储器;
    所述一个或多个处理器被配置为从所述存储器中获取操作指令并执行:
    在进行第一视频文件播放的过程中,收到播放第二视频文件的触发指令;
    将视频播放页面中的所述第一视频文件的播放区域作为主画面,设置所述视频播放页面中的另一播放区域作为副画面;
    提取并根据所述第一视频文件的播放地址,在所述的副画面中播放所述第一视频文件;
    获取所述第二视频文件的播放地址,在所述主画面中播放所述第二视频文件。
  12. 根据权利要求11所述的装置,其中,所述处理器还用于执行:
    所述设置另一播放区域作为副画面包括:
    暂停正在播放的第一视频文件;
    判断是否根据预设的默认位置和尺寸设置副画面;
    根据判断结果,按照默认位置和尺寸设置副画面或者在该视频播放页面自定义副画面位置和尺寸。
  13. 根据权利要求12所述的装置,其中,所述处理器还用于执行:
    在所述的主画面中播放该新视频文件之后还包括:
    收到点击副画面的触发指令;
    提取并根据副画面中第一视频文件的播放地址和播放进度,在所述的主画面中播放所述第一视频文件;
    获取并根据主画面中播放的第二视频文件的播放地址和播放进度,在所述的副画面中播放所述第二视频文件,并关闭所述第二视频文件的音频。
  14. 根据权利要求11所述的装置,其中,所述处理器还用于执行:
    在所述的主画面中播放所述第二视频文件之后还包括:
    收到删除副画面的触发指令;
    关闭在该副画面中播放的视频文件,并删除该副画面;
    或者收到删除主画面的触发指令;
    提取并根据副画面中播放的视频文件的播放地址和进度,在主画面中播放该视频文件;并关闭在该副画面中播放的该视频文件,删除该副画面。
  15. 根据权利要求14所述的装置,其中,所述处理器还用于执行:
    所述收到删除主画面的触发指令之后包括:
    获取当前主画面和所有副画面在该视频播放页面上的位置;
    根据主画面在该视频播放页面上的位置,判断距离所述主画面最接近的副画面;
    提取并根据最接近主画面的副画面中播放的视频文件的播放地址和进度,在主画面中播放该视频文件;并关闭在该副画面中播放的该视频文件,删除该副画面。
PCT/CN2016/083723 2015-11-20 2016-05-27 一种视频播放的实现方法和装置 WO2017084292A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US15/120,302 US20180246625A1 (en) 2015-11-20 2016-05-27 Method and apparatus for implementation of video playback

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510810749.7A CN105872795A (zh) 2015-11-20 2015-11-20 一种视频播放的实现方法和装置
CN201510810749.7 2015-11-20

Publications (1)

Publication Number Publication Date
WO2017084292A1 true WO2017084292A1 (zh) 2017-05-26

Family

ID=56623725

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/083723 WO2017084292A1 (zh) 2015-11-20 2016-05-27 一种视频播放的实现方法和装置

Country Status (3)

Country Link
US (1) US20180246625A1 (zh)
CN (1) CN105872795A (zh)
WO (1) WO2017084292A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109922374A (zh) * 2019-03-01 2019-06-21 北京七鑫易维信息技术有限公司 多媒体播放的调整方法、装置、设备及存储介质
CN111753132A (zh) * 2020-07-06 2020-10-09 北京字节跳动网络技术有限公司 视频处理方法、装置、设备及存储介质

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1536883A (zh) * 2003-04-11 2004-10-13 Lg电子株式会社 在显示设备上播放pip的装置和方法
CN1997153A (zh) * 2006-12-31 2007-07-11 北京衡准科技有限公司 一种计算机的多视频播放方法及装置
CN101742173A (zh) * 2008-11-12 2010-06-16 中兴通讯股份有限公司 一种支持观看两路视频的方法及网络互动电视系统
CN103607657A (zh) * 2013-11-20 2014-02-26 乐视网信息技术(北京)股份有限公司 一种实现画中画播放的方法及画中画播放装置
WO2014097656A1 (ja) * 2012-12-20 2014-06-26 株式会社 東芝 電子機器及び表示制御方法
CN104284236A (zh) * 2014-10-22 2015-01-14 百度在线网络技术(北京)有限公司 在终端上控制播放多视频资源的方法和装置
CN104965693A (zh) * 2014-08-29 2015-10-07 腾讯科技(深圳)有限公司 一种视频处理的方法和系统

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103596053A (zh) * 2013-11-18 2014-02-19 深圳创维数字技术股份有限公司 一种pip播放的方法及终端
CN103747358A (zh) * 2013-12-23 2014-04-23 乐视网信息技术(北京)股份有限公司 一种视频播放方法及装置
KR102227661B1 (ko) * 2014-01-08 2021-03-15 삼성전자주식회사 화면 미러링 방법 및 그에 따른 장치
CN104602127B (zh) * 2014-09-01 2018-05-04 腾讯科技(北京)有限公司 导播视频同步播放方法和系统以及视频导播设备
CN104837051B (zh) * 2015-05-26 2019-02-22 腾讯科技(北京)有限公司 视频播放方法及客户端

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1536883A (zh) * 2003-04-11 2004-10-13 Lg电子株式会社 在显示设备上播放pip的装置和方法
CN1997153A (zh) * 2006-12-31 2007-07-11 北京衡准科技有限公司 一种计算机的多视频播放方法及装置
CN101742173A (zh) * 2008-11-12 2010-06-16 中兴通讯股份有限公司 一种支持观看两路视频的方法及网络互动电视系统
WO2014097656A1 (ja) * 2012-12-20 2014-06-26 株式会社 東芝 電子機器及び表示制御方法
CN103607657A (zh) * 2013-11-20 2014-02-26 乐视网信息技术(北京)股份有限公司 一种实现画中画播放的方法及画中画播放装置
CN104965693A (zh) * 2014-08-29 2015-10-07 腾讯科技(深圳)有限公司 一种视频处理的方法和系统
CN104284236A (zh) * 2014-10-22 2015-01-14 百度在线网络技术(北京)有限公司 在终端上控制播放多视频资源的方法和装置

Also Published As

Publication number Publication date
US20180246625A1 (en) 2018-08-30
CN105872795A (zh) 2016-08-17

Similar Documents

Publication Publication Date Title
WO2017088408A1 (zh) 一种截取视频分享的实现方法和装置
WO2017088406A1 (zh) 视频播放的方法及装置
WO2017113716A1 (zh) 播放中视频的显示方法及装置
US9977591B2 (en) Image with audio conversation system and method
RU2628108C2 (ru) Способ обеспечения выбора эпизода видеоматериала и устройство для этого
WO2020108403A1 (zh) 课件制作、回顾方法、装置、系统、设备和存储介质
WO2017092257A1 (zh) 一种现场直播中的共同收看仿真方法和装置
WO2022143924A1 (zh) 视频生成方法、装置、电子设备和存储介质
US20170024110A1 (en) Video editing on mobile platform
TWI711304B (zh) 一種視頻處理方法、用戶端及伺服器
US10320794B2 (en) System for sharing selectively ephemeral content
WO2017211020A1 (zh) 一种电视操控方法及装置
US20100325547A1 (en) Systems and Methods for Sharing Multimedia Editing Projects
WO2020062683A1 (zh) 视频获取方法、装置、终端和介质
WO2020249044A1 (zh) 窗口层级切换的方法、装置、设备和存储介质
TWI610180B (zh) 使用共享及個人裝置合作提供個人化使用者功能
US9497434B2 (en) Method and apparatus for multi-playing videos
WO2017181597A1 (zh) 视频播放方法及装置
KR20160098949A (ko) 동영상 생성 방법, 장치 및 컴퓨터 프로그램
JP2016126445A (ja) サーバ、サーバの制御方法およびプログラム
CN109905721A (zh) 一种直播间交互方法、系统、设备及计算机可读介质
JP2014030153A (ja) 情報処理装置及び情報処理方法、並びにコンピューター・プログラム
TW201541993A (zh) 互連視訊的播放
WO2017084292A1 (zh) 一种视频播放的实现方法和装置
KR102440341B1 (ko) 비디오 처리 방법, 장치, 단말기와 저장 매체

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 15120302

Country of ref document: US

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

Ref document number: 16865473

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16865473

Country of ref document: EP

Kind code of ref document: A1