Video display method, video player and electronic device

A video player and video playback technology, applied in the field of video playback, can solve problems such as out-of-sync sound and pictures, irregularities, etc., to improve user experience and avoid out-of-sync sounds and pictures

Inactive Publication Date: 2016-08-24
LE SHI ZHI ZIN ELECTRONIC TECHNOLOGY (TIANJIN) LTD
View PDF8 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The technical problem to be solved by the embodiments of the present invention is to propose a video playback method to solve the problem of out-of-sync sound and pictures caused by the irregularity of the video file itself during the playback process
[0006] Another technical problem to be solved in the embodiment of the present invention is to propose a video player to solve the problem that the sound and the picture are out of sync due to the irregularity of the video file itself during the playback process
[0007] Yet another technical problem to be solved in the embodiments of the present invention is to propose an electronic device to solve the problem of out-of-sync sound and pictures caused by the irregularity of the video file itself during playback.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Video display method, video player and electronic device
  • Video display method, video player and electronic device
  • Video display method, video player and electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0026] image 3 It is a schematic flow chart of a video playing method provided in Embodiment 1 of the present invention. The method can be executed by a video player of an electronic device, wherein the video player can be implemented by software and / or hardware, and can generally be integrated in an electronic device.

[0027] The electronic device may be any electronic device such as a mobile phone, a tablet computer, an IPAD or a notebook computer.

[0028] see figure 1 , the method of this embodiment includes the following steps:

[0029] Step S1, sending a request to the server for downloading the video file.

[0030] Specifically, when a video file needs to be downloaded, the user can click on the relevant network address to send a download request to the server. The video files include, but are not limited to, MP4 files.

[0031] Preferably, the user can send a download request to the server through the network address of the video file to be downloaded by searchin...

Embodiment 2

[0046] Figure 4 It is a schematic structural diagram of a video player provided by Embodiment 2 of the present invention.

[0047] The video player in this embodiment specifically includes: a request module 40 and a play module 41 .

[0048] Wherein, the request module 40 is configured to send a request to the server for downloading video files. Preferably, the user can send a download request to the server through the network address of the video file to be downloaded by searching the page input; or the user can obtain at least one network address for the user to select by searching the keyword input on the page, when the user selects and clicks After one of the network addresses, a download request is sent to the server.

[0049] The video files include, but are not limited to, MP4 files.

[0050] The server stores network resources, such as video files, documents and images.

[0051] The playback module 41 is used to read the metadata header information of the video fi...

Embodiment 3

[0058] The third embodiment provides an electronic device, the electronic device includes the video player described in the embodiment of the present invention, and the synchronous playback of the sound and picture of the video file can be realized by executing the video playing method in the embodiment of the present invention .

[0059] Specifically, the electronic device may be any electronic device such as a mobile phone, a tablet computer, an IPAD, or a notebook computer.

[0060] The computer of the embodiment of the present invention can send the request of downloading video file to server; The starting displacement of the first section audio data and the data block size; Open the main thread and the secondary thread, and the main thread and the secondary thread send the request of downloading the first section video data and the first section audio data to the server respectively; Receive the described The first video data and the first audio data returned by the serv...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

An embodiment of the invention discloses a video display method, a video player and an electronic device. The method comprises the following steps: sending a video file downloading request to a server; reading metadata header information of a video file and analyzing the metadata header information to obtain initial displacement and data block size of first section of video data and initial displacement and data block size of first section of audio data; starting a main thread and a secondary thread, wherein the main thread and the secondary thread send a request for downloading the first section of video data and a request for downloading the first section of audio data to the server respectively; receiving the first section of video data and the first section of audio data returned by the server according to the request for downloading the first section of video data and the request for downloading the first section of audio data, and playing the audio data and the video data synchronously; and downloading and playing next section of video data and audio data in sequence. Therefore, the problem of non-synchronous sound and pictures due to non-standard video files in the play process is solved.

Description

technical field [0001] Embodiments of the present invention relate to the technical field of video playback, and in particular, to a video playback method, player, and electronic device. Background technique [0002] With the development of science and technology, the dissemination of information is faster and faster, and the development of multimedia technology is increasingly updated. Video has become an important way of information dissemination. More and more users choose to watch videos to obtain various information. [0003] Usually, we watch network video through hypertext transfer protocol (HyperText Transfer Protocol, HTTP). The standard format of the video file is as follows figure 1 As shown, the audio data and video data in the original data moov box of the video file are stored in segmented data format, which can ensure smooth playback of the video file. [0004] However, in the actual playback process, some playback problems may also be encountered due to the...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04N21/43H04N21/433H04N21/437H04N21/4415H04N21/442H04N21/845
CPCH04N21/4307H04N21/4333H04N21/437H04N21/4415H04N21/44204H04N21/8456H04L69/22H04L67/02H04L65/612H04L67/01H04L65/4025
Inventor 韩旭
Owner LE SHI ZHI ZIN ELECTRONIC TECHNOLOGY (TIANJIN) LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products