Nothing Special   »   [go: up one dir, main page]

CN105763911A - Method and terminal for video playing - Google Patents

Method and terminal for video playing Download PDF

Info

Publication number
CN105763911A
CN105763911A CN201610038928.8A CN201610038928A CN105763911A CN 105763911 A CN105763911 A CN 105763911A CN 201610038928 A CN201610038928 A CN 201610038928A CN 105763911 A CN105763911 A CN 105763911A
Authority
CN
China
Prior art keywords
position information
video file
geographic position
terminal
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610038928.8A
Other languages
Chinese (zh)
Inventor
李家豪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201610038928.8A priority Critical patent/CN105763911A/en
Publication of CN105763911A publication Critical patent/CN105763911A/en
Pending legal-status Critical Current

Links

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/41Structure of client; Structure of client peripherals
    • H04N21/414Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance
    • H04N21/41407Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance embedded in a portable device, e.g. video client on a mobile phone, PDA, laptop
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/414Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance
    • H04N21/41422Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance located in transportation means, e.g. personal vehicle
    • 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/47217End-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 controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks
    • 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/854Content authoring
    • H04N21/8547Content authoring involving timestamps for synchronizing content

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention discloses a method and a terminal for video playing. The method comprises steps: when the terminal plays a video file with geographical position information, the video file is analyzed, and video information, audio information and the geographical position information in the video file are acquired; according to a to-be-queried geographical position in a received querying instruction, the terminal searches the geographical position information in the video file; when the to-be-queried geographical position is searched in the geographical position information in the video file, the terminal positions a first time stamp corresponding to the to-be-queried geographical position; and the terminal uses the first time stamp as a starting point to play the corresponding video information and the audio information. The invention provides another searching and positioning dimension on the video content apart from time dimension, and the user experience is improved.

Description

Video playing method and terminal
Technical Field
The present invention relates to the multimedia technology field, and in particular, to a method and a terminal for playing a video.
Background
Currently, in the process of playing a video file, video content in the file can be searched only according to a time attribute. A video user can only locate a certain piece of video content in a video file if he perceives an approximate point in time. Therefore, for the video file, the searching mode of the time dimension is single.
In addition, a camera such as a car recorder for recording the driving process of the vehicle captures a batch of video files in the driving course of the vehicle, each video file has a short duration, typically 5-10 minutes, but the video contents of the batch of video files collectively constitute the video contents of the driving course of the vehicle. It will be appreciated that the video content search of this collection of video files is also performed by means of a time attribute.
In summary, in the current video playing process, the search dimension of the video content is single, and the video content cannot be searched and positioned from other dimensions, so that the user experience is affected.
Disclosure of Invention
The invention mainly aims to provide a video playing method and a video playing terminal, aiming at providing another searching and positioning dimension for video contents besides a time dimension and improving user experience.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a video playing method, where the method includes:
when a terminal plays a video file with geographical position information, analyzing the video file to acquire video information, audio information and geographical position information contained in the video file; the geographic position information of the video file corresponds to the time stamps of the video file one by one;
the terminal searches the geographic position information in the video file according to the geographic position to be inquired in the received inquiry instruction;
when the geographical position to be inquired is searched in the geographical position information of the video file, the terminal is positioned to a first timestamp corresponding to the geographical position to be inquired;
and the terminal plays corresponding video information and audio information by taking the first time stamp as a starting point.
In the above scheme, the searching, by the terminal, the geographic position information in the video file according to the geographic position to be queried in the received query instruction specifically includes:
when the geographic position information of the video file has geographic position information meeting a preset error condition with the geographic position to be inquired, determining that the geographic position to be inquired is searched in the geographic position information of the video file by the terminal;
and when the geographic position information of the video file does not have geographic position information meeting a preset error condition with the geographic position to be inquired, determining that the geographic position to be inquired is not searched in the geographic position information of the video file by the terminal.
In the above aspect, the method further includes: when the geographic position information of the video file comprises a plurality of pieces of geographic position information meeting the preset error condition with the geographic position to be inquired, the terminal is positioned to the first time stamp corresponding to the geographic position information meeting the preset error condition with the geographic position to be inquired.
In the above aspect, the method further includes:
when the terminal plays a video file with geographical position information, drawing a motion track in a map according to the geographical position information of the video file;
and the terminal establishes a corresponding relation between each motion track point and the geographical position information.
In the above aspect, the method further includes:
the terminal receives a positioning instruction of the motion track point and obtains a motion track positioning point in the positioning instruction;
the terminal acquires geographical position information corresponding to the motion track positioning point;
the terminal acquires a second timestamp corresponding to the geographic position information corresponding to the motion track positioning point in the video file;
and the terminal plays the corresponding video information and audio information by taking the second time stamp as a starting point.
In a second aspect, an embodiment of the present invention provides a video playback terminal, where the terminal includes: the system comprises a playing module, an analysis module, a receiving module, a searching module, a positioning module and a playing control module; wherein,
the playing module is used for playing the video file with the geographical position information;
the analysis module is used for analyzing the video file to acquire video information, audio information and geographical position information included in the video file; the geographic position information of the video file corresponds to the time stamps of the video file one by one;
the receiving module is used for receiving a query instruction;
the searching module is used for searching the geographic position information in the video file according to the geographic position to be inquired in the inquiry instruction received by the receiving module; when the geographic position to be inquired is searched in the geographic position information of the video file, the positioning module is triggered;
the positioning module is used for positioning to a first timestamp corresponding to the geographical position to be inquired;
and the playing control module is used for controlling the playing module to play the corresponding video information and audio information by taking the first time stamp as a starting point.
In the foregoing solution, the search module is specifically configured to:
when the geographic position information of the video file has geographic position information meeting a preset error condition with the geographic position to be inquired, determining that the geographic position to be inquired is searched in the geographic position information of the video file by the terminal;
and when the geographic position information of the video file does not have geographic position information meeting a preset error condition with the geographic position to be inquired, determining that the geographic position to be inquired is not searched in the geographic position information of the video file by the terminal.
In the above solution, the positioning module is further configured to:
and when the geographic position information of the video file comprises a plurality of pieces of geographic position information meeting the preset error condition with the geographic position to be inquired, positioning to a first time stamp corresponding to the geographic position information of which the geographic position to be inquired meets the preset error condition.
In the above scheme, the terminal further comprises a drawing module and an establishing module; wherein,
the drawing module is used for drawing a motion track in a map according to the geographical position information of the video file when the video file with the geographical position information is played by the playing unit;
the establishing module is used for establishing the corresponding relation between each motion track point and the geographic position information.
In the above scheme, the receiving module is further configured to receive a positioning instruction of the motion track point, and obtain a motion track positioning point in the positioning instruction;
the terminal also comprises an acquisition module used for acquiring the geographical position information corresponding to the motion track positioning point;
acquiring a second timestamp corresponding to the geographic position information corresponding to the motion track positioning point in the video file;
the playing control module is further configured to control the playing module to play the corresponding video information and audio information with the second timestamp as a starting point.
According to the video playing method and the terminal provided by the embodiment of the invention, the geographic position information in the video file corresponds to the video content, so that the video content in the video file can be searched and positioned through the geographic position information, another searching and positioning dimension for the video content is provided besides a time dimension, and the user experience is improved.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of a mobile terminal according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a video playing method according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of another video playing method according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a terminal display interface according to an embodiment of the present invention;
fig. 5 is a schematic flowchart of another video playing method according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of another terminal display interface provided in an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a play terminal according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of another playback terminal according to an embodiment of the present invention.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
A mobile terminal implementing various embodiments of the present invention will now be described with reference to fig. 1. In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in themselves. Thus, "module" and "component" may be used in a mixture.
The mobile terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a Personal Digital Assistant (PDA), a tablet computer (PAD), a Portable Multimedia Player (PMP), a navigation device, etc., and a stationary terminal such as a digital TV, a desktop computer, etc. In the following, it is assumed that the terminal is a mobile terminal. However, it will be understood by those skilled in the art that the configuration according to the embodiment of the present invention can be applied to a fixed type terminal in addition to elements particularly used for moving purposes.
Fig. 1 is a schematic hardware configuration of a mobile terminal implementing various embodiments of the present invention.
The mobile terminal 100 may include a user input unit 130, an output unit 150, a memory 160, an interface unit 170, a controller 180, and a power supply unit 190, etc. Fig. 1 illustrates a mobile terminal having various components, but it is to be understood that not all illustrated components are required to be implemented, and that more or fewer components may instead be implemented, the elements of the mobile terminal being described in detail below.
The user input unit 130 may generate key input data according to a command input by a user to control various operations of the mobile terminal. The user input unit 130 allows a user to input various types of information, and may include a keyboard, dome sheet, touch pad (e.g., a touch-sensitive member that detects changes in resistance, pressure, capacitance, and the like due to being touched), scroll wheel, joystick, and the like. In particular, when the touch pad is superimposed on the display unit 151 in the form of a layer, a touch screen may be formed.
The interface unit 170 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The identification module may store various information for authenticating a user using the mobile terminal 100 and may include a User Identity Module (UIM), a Subscriber Identity Module (SIM), a Universal Subscriber Identity Module (USIM), and the like. In addition, a device having an identification module (hereinafter, referred to as an "identification device") may take the form of a smart card, and thus, the identification device may be connected with the mobile terminal 100 via a port or other connection means. The interface unit 170 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal and the external device.
In addition, when the mobile terminal 100 is connected with an external cradle, the interface unit 170 may serve as a path through which power is supplied from the cradle to the mobile terminal 100 or may serve as a path through which various command signals input from the cradle are transmitted to the mobile terminal. Various command signals or power input from the cradle may be used as signals for recognizing whether the mobile terminal is accurately mounted on the cradle. The output unit 150 is configured to provide output signals (e.g., audio signals, video signals, alarm signals, vibration signals, etc.) in a visual, audio, and/or tactile manner. The output unit 150 may include a display unit 151, an audio output module 152, and the like.
The display unit 151 may display information processed in the mobile terminal 100. For example, when the mobile terminal 100 is in a phone call mode, the display unit 151 may display a User Interface (UI) or a Graphical User Interface (GUI) related to a call or other communication (e.g., text messaging, multimedia file downloading, etc.). When the mobile terminal 100 is in a video call mode or an image capturing mode, the display unit 151 may display a captured image and/or a received image, a UI or GUI showing a video or an image and related functions, and the like.
Meanwhile, when the display unit 151 and the touch pad are overlapped with each other in the form of a layer to form a touch screen, the display unit 151 may serve as an input device and an output device. The display unit 151 may include at least one of a Liquid Crystal Display (LCD), a thin film transistor LCD (TFT-LCD), an Organic Light Emitting Diode (OLED) display, a flexible display, a three-dimensional (3D) display, and the like. Some of these displays may be configured to be transparent to allow a user to view from the outside, which may be referred to as transparent displays, and a typical transparent display may be, for example, a TOLED (transparent organic light emitting diode) display or the like. Depending on the particular desired implementation, the mobile terminal 100 may include two or more display units (or other display devices), for example, the mobile terminal may include an external display unit (not shown) and an internal display unit (not shown). The touch screen may be used to detect a touch input pressure as well as a touch input position and a touch input area.
The audio output module 152 may convert audio data received by the wireless communication unit 110 or stored in the memory 160 into an audio signal and output as sound when the mobile terminal is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output module 152 may provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output module 152 may include a speaker, a buzzer, and the like.
The memory 160 may store software programs or the like for processing and controlling operations performed by the controller 180, or may temporarily store data (e.g., a phonebook, messages, still images, videos, etc.) that has been output or is to be output. Also, the memory 160 may store data regarding various ways of vibration and audio signals output when a touch is applied to the touch screen.
The memory 160 may include at least one type of storage medium including a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, and the like. Also, the mobile terminal 100 may cooperate with a network storage device that performs a storage function of the memory 160 through a network connection.
The controller 180 generally controls the overall operation of the mobile terminal. For example, the controller 180 performs control and processing related to voice calls, data communications, video calls, and the like. In addition, the controller 180 may include a multimedia module 181 for reproducing (or playing back) multimedia data, and the multimedia module 181 may be constructed within the controller 180 or may be constructed separately from the controller 180. The controller 180 may perform a pattern recognition process to recognize a handwriting input or a picture drawing input performed on the touch screen as a character or an image.
The power supply unit 190 receives external power or internal power and provides appropriate power required to operate various elements and components under the control of the controller 180.
The various embodiments described herein may be implemented in a computer-readable medium using, for example, computer software, hardware, or any combination thereof. For a hardware implementation, the embodiments described herein may be implemented using at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a processor, a controller, a microcontroller, a microprocessor, an electronic unit designed to perform the functions described herein, and in some cases, such embodiments may be implemented in the controller 180. For a software implementation, the implementation such as a process or a function may be implemented with a separate software module that allows performing at least one function or operation. The software codes may be implemented by software applications (or programs) written in any suitable programming language, which may be stored in the memory 160 and executed by the controller 180.
Up to now, the mobile terminal has been described in terms of its functions. Hereinafter, a slide-type mobile terminal among various types of mobile terminals, such as a folder-type, bar-type, swing-type, slide-type mobile terminal, and the like, will be described as an example for the sake of brevity. Accordingly, the present invention can be applied to any type of mobile terminal, and is not limited to a slide type mobile terminal.
The mobile terminal 100 as shown in fig. 1 may be configured to operate with communication systems such as wired and wireless communication systems and satellite-based communication systems that transmit data via frames or packets.
Based on the hardware structure of the mobile terminal, the invention provides various embodiments of the method.
Example one
Based on fig. 2, a method for playing a video according to an embodiment of the present invention is shown, where the method may include:
s201: when a terminal plays a video file with geographical position information, analyzing the video file to acquire video information, audio information and geographical position information contained in the video file;
s202: the terminal searches the geographic position information in the video file according to the geographic position to be inquired in the received inquiry instruction;
s203: when the geographical position to be inquired is searched in the geographical position information of the video file, the terminal is positioned to a first timestamp corresponding to the geographical position to be inquired;
s204: and the terminal plays the corresponding video information and audio information by taking the first time stamp as a starting point.
It should be noted that the video file according to the embodiment of the present invention is a video file having geographic position information, and in the recording process of the video file, the obtained geographic position information is stored in a position track of the video file and is associated with a timestamp (PTS) of the position track, so that a geographic position sequence can be formed according to the sequence of the video file position track timestamps. Preferably, when a video of 30 Frames Per Second (FPS) is recorded, a geographical location information (e.g., latitude and longitude information) is stored every 1800 frames, and then the video records a geographical location information every 60 seconds. According to the recording process of the video file with the geographical location information, it can be known that: and the geographic position information of the video file corresponds to the time stamps of the video file one by one.
Illustratively, the searching, by the terminal, the geographic location information in the video file according to the geographic location to be queried in the received query instruction may specifically include:
when the geographic position information of the video file has geographic position information meeting a preset error condition with the geographic position to be inquired, determining that the geographic position to be inquired is searched in the geographic position information of the video file by the terminal;
when the geographic position information of the video file does not have geographic position information meeting a preset error condition with the geographic position to be inquired, determining that the geographic position to be inquired is not searched in the geographic position information of the video file by the terminal.
It should be noted that, when the number of the video files is multiple, the video file of the geographical position to be queried, which is searched from the geographical position information of the multiple video files, is used as the searched video file.
It can be understood that, when the geographic location to be queried in the query instruction sent by the user is not exactly in the geographic location information of the video file, the terminal may determine, according to a preset error condition (for example, only two digits after a decimal point of a longitude and latitude coordinate of the geographic location to be queried is reserved according to preset precision processing), the geographic location information located near the address location to be queried in the video file as the geographic location to be queried searched by the terminal in the video file.
It should be further noted that, when the geographic location information of the video file includes a plurality of pieces of geographic location information that satisfy a preset error condition with the geographic location to be queried, the method may further include: and the terminal is positioned to a first time stamp corresponding to the geographical position information of which the geographical position to be inquired meets the preset error condition.
It can be understood that, when there are a plurality of geographic location information in the video file and the geographic location to be queried satisfy the preset error condition, the geographic location sequence formed by combining the geographic location information of the video file is formed, so that the first timestamp positioned by the terminal in the video file is the first timestamp corresponding to the geographic location information of which the geographic location to be queried satisfies the preset error condition.
Based on the foregoing technical solution, referring to fig. 3, the method may further include:
s301: when a terminal plays a video file with geographical position information, drawing a motion track in a map according to the geographical position information of the video file;
s302: and the terminal establishes a corresponding relation between each motion track point and the geographical position information.
Specifically, by combining the geographical position sequence formed by the geographical position information of the video file, the movement track can be drawn on the map according to the geographical position sequence formed by the geographical position information, and the movement track can be displayed on the display unit of the terminal. As shown in the terminal display interface of fig. 4, the video file played in the playing window is a video file shot by the car recorder during the journey from sha, zheng, wuhan, and changsha to guangzhou when the user drives a car, and the video file includes the geographical location information, so that the movement track shown by the black bold line can be drawn on the map shown in the map display window according to the geographical location information, and the corresponding relationship between each movement track point and the geographical location information is established. Therefore, when the terminal plays the video file, the motion track on the map is marked according to the geographic position information corresponding to the video content being played, specifically as shown by a hollow circle in fig. 4, and when the played video content is that the user drives to the yellow crane building in wuhan, the geographic position of the yellow crane building in wuhan is correspondingly marked on the motion track of the map.
Accordingly, as shown in fig. 5, the method may further include:
s501: the terminal receives a positioning instruction of the motion track point and obtains a motion track positioning point in the positioning instruction;
s502: the terminal acquires the geographical position information corresponding to the movement track positioning point;
s503: the terminal acquires a second timestamp corresponding to the geographic position information corresponding to the motion track positioning point in the video file;
s504: and the terminal plays the corresponding video information and audio information by taking the second time stamp as a starting point.
It should be noted that, in the specific implementation process, the user may perform positioning on the motion trajectory, that is, the terminal may receive a positioning instruction sent by the user dragging the annotation point on the motion trajectory graph displayed on the map display window of fig. 4, and obtain the motion trajectory positioning point in the positioning instruction, for example, as shown in fig. 6, when the user drags the annotation point to the southern lake broadcast and television building of the changsha, the terminal may use the annotation point on the motion trajectory at this time as the motion trajectory positioning point and obtain the geographic position information corresponding to the motion trajectory positioning point; after the geographical position information corresponding to the motion track positioning point is obtained, a second timestamp corresponding to the geographical position information corresponding to the motion track positioning point in the video file is obtained through query from the video file; and the terminal plays the corresponding video information and audio information in the video file by taking the second timestamp as a starting point. As shown in fig. 6, when the motion trail location point is dragged to the long-sand south of the lake radio and television building in the map, the video playing window plays video information and audio information of the user driving through the south of the lake radio and television building in the video file.
The embodiment provides a video playing method, which corresponds geographical position information in a video file to video content, so that the video content in the video file can be searched and positioned through the geographical position information, another searching and positioning dimension for the video content is provided besides a time dimension, and user experience is improved.
Example two
Based on the same technical concept as the foregoing embodiment, referring to fig. 7, it shows a broadcasting terminal 70 provided by an embodiment of the present invention, where the terminal 70 may include: a playing module 701, an analyzing module 702, a receiving module 703, a searching module 704, a positioning module 705 and a playing control module 706; wherein,
the playing module 701 is configured to play a video file with geographic location information;
the parsing module 702 is configured to parse the video file to obtain video information, audio information, and geographic position information included in the video file; the geographic position information of the video file corresponds to the time stamps of the video file one by one;
the receiving module 703 is configured to receive a query instruction;
the searching module 704 is configured to search the geographic location information in the video file according to the geographic location to be queried in the query instruction received by the receiving module 703; when the geographic position to be queried is searched in the geographic position information of the video file, the positioning module 705 is triggered;
the positioning module 705 is configured to position to a first timestamp corresponding to a geographic location to be queried;
the playing control module 706 is configured to control the playing module 701 to play the corresponding video information and audio information with the first timestamp as a starting point.
In the foregoing solution, the search module 704 is specifically configured to:
when the geographic position information of the video file has geographic position information meeting a preset error condition with the geographic position to be inquired, determining that the geographic position to be inquired is searched in the geographic position information of the video file by the terminal;
and when the geographic position information of the video file does not have geographic position information meeting a preset error condition with the geographic position to be inquired, determining that the geographic position to be inquired is not searched in the geographic position information of the video file by the terminal.
It should be noted that, when the number of the video files is multiple, the searching module 704 searches the video file of the geographic location to be queried from the geographic location information of the multiple video files as the searched video file.
It can be understood that, when the geographic location to be queried in the query instruction sent by the user is not exactly in the geographic location information of the video file, the search module 704 may determine, according to a preset error condition (for example, only the last two decimal places of the longitude and latitude coordinates of the geographic location to be queried are reserved according to a preset precision process), the geographic location information located near the address location to be queried in the video file as the geographic location to be queried searched by the terminal in the video file. Therefore, in the above solution, the positioning module 705 is further configured to:
and when the geographic position information of the video file comprises a plurality of pieces of geographic position information meeting the preset error condition with the geographic position to be inquired, positioning to a first time stamp corresponding to the geographic position information of which the geographic position to be inquired meets the preset error condition.
It can be understood that, when there are a plurality of geographic location information in the video file and the geographic location to be queried satisfy the preset error condition, the geographic location sequence is formed by combining the geographic location information of the video file, so the first timestamp located by the locating module 705 in the video file is the first timestamp corresponding to the geographic location information whose geographic location to be queried satisfies the preset error condition.
Illustratively, referring to fig. 8, the terminal 70 further includes a drawing module 707 and a creating module 708; wherein,
the drawing module 707 is configured to draw a motion trajectory in a map according to the geographic position information of the video file when the playing unit plays the video file with the geographic position information;
the establishing module 708 is configured to establish a correspondence between each motion trajectory point and the geographic location information.
In the above scheme, the receiving module 703 is further configured to receive a positioning instruction of the motion track point, and obtain a motion track positioning point in the positioning instruction;
referring to fig. 8, the terminal 70 further includes an obtaining module 709, configured to obtain geographic location information corresponding to the motion trajectory locating point;
acquiring a second timestamp corresponding to the geographic position information corresponding to the motion track positioning point in the video file;
the playing control module 706 is further configured to control the playing module 701 to play the corresponding video information and audio information with the second timestamp as a starting point.
The embodiment provides a playing terminal 70, which corresponds geographic position information in a video file to video content, so that the video content in the video file can be searched and located through the geographic position information, another search and location dimension for the video content is provided besides a time dimension, and user experience is improved.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method described in the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A video playback method, the method comprising:
when a terminal plays a video file with geographical position information, analyzing the video file to acquire video information, audio information and geographical position information contained in the video file; the geographic position information of the video file corresponds to the time stamps of the video file one by one;
the terminal searches the geographic position information in the video file according to the geographic position to be inquired in the received inquiry instruction;
when the geographical position to be inquired is searched in the geographical position information of the video file, the terminal is positioned to a first timestamp corresponding to the geographical position to be inquired;
and the terminal plays corresponding video information and audio information by taking the first time stamp as a starting point.
2. The method according to claim 1, wherein the terminal searches for the geographic location information in the video file according to the geographic location to be queried in the received query instruction, specifically comprising:
when the geographic position information of the video file has geographic position information meeting a preset error condition with the geographic position to be inquired, determining that the geographic position to be inquired is searched in the geographic position information of the video file by the terminal;
and when the geographic position information of the video file does not have geographic position information meeting a preset error condition with the geographic position to be inquired, determining that the geographic position to be inquired is not searched in the geographic position information of the video file by the terminal.
3. The method of claim 2, further comprising: when the geographic position information of the video file comprises a plurality of pieces of geographic position information meeting the preset error condition with the geographic position to be inquired, the terminal is positioned to the first time stamp corresponding to the geographic position information meeting the preset error condition with the geographic position to be inquired.
4. The method according to any one of claims 1 to 3, further comprising:
when the terminal plays a video file with geographical position information, drawing a motion track in a map according to the geographical position information of the video file;
and the terminal establishes a corresponding relation between each motion track point and the geographical position information.
5. The method of claim 4, further comprising:
the terminal receives a positioning instruction of the motion track point and obtains a motion track positioning point in the positioning instruction;
the terminal acquires geographical position information corresponding to the motion track positioning point;
the terminal acquires a second timestamp corresponding to the geographic position information corresponding to the motion track positioning point in the video file;
and the terminal plays the corresponding video information and audio information by taking the second time stamp as a starting point.
6. A video playback terminal, characterized in that the terminal comprises: the system comprises a playing module, an analysis module, a receiving module, a searching module, a positioning module and a playing control module; wherein,
the playing module is used for playing the video file with the geographical position information;
the analysis module is used for analyzing the video file to acquire video information, audio information and geographical position information included in the video file; the geographic position information of the video file corresponds to the time stamps of the video file one by one;
the receiving module is used for receiving a query instruction;
the searching module is used for searching the geographic position information in the video file according to the geographic position to be inquired in the inquiry instruction received by the receiving module; when the geographic position to be inquired is searched in the geographic position information of the video file, the positioning module is triggered;
the positioning module is used for positioning to a first timestamp corresponding to the geographical position to be inquired;
and the playing control module is used for controlling the playing module to play the corresponding video information and audio information by taking the first time stamp as a starting point.
7. The terminal according to claim 6, wherein the search module is specifically configured to:
when the geographic position information of the video file has geographic position information meeting a preset error condition with the geographic position to be inquired, determining that the geographic position to be inquired is searched in the geographic position information of the video file by the terminal;
and when the geographic position information of the video file does not have geographic position information meeting a preset error condition with the geographic position to be inquired, determining that the geographic position to be inquired is not searched in the geographic position information of the video file by the terminal.
8. The terminal of claim 7, wherein the positioning module is further configured to:
and when the geographic position information of the video file comprises a plurality of pieces of geographic position information meeting the preset error condition with the geographic position to be inquired, positioning to a first time stamp corresponding to the geographic position information of which the geographic position to be inquired meets the preset error condition.
9. The terminal according to any of claims 6 to 8, characterized in that the terminal further comprises a rendering module and a building module; wherein,
the drawing module is used for drawing a motion track in a map according to the geographical position information of the video file when the video file with the geographical position information is played by the playing unit;
the establishing module is used for establishing the corresponding relation between each motion track point and the geographic position information.
10. The terminal according to claim 9, wherein the receiving module is further configured to receive a positioning instruction of the motion track point, and obtain a motion track positioning point in the positioning instruction;
the terminal also comprises an acquisition module used for acquiring the geographical position information corresponding to the motion track positioning point;
acquiring a second timestamp corresponding to the geographic position information corresponding to the motion track positioning point in the video file;
the playing control module is further configured to control the playing module to play the corresponding video information and audio information with the second timestamp as a starting point.
CN201610038928.8A 2016-01-20 2016-01-20 Method and terminal for video playing Pending CN105763911A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610038928.8A CN105763911A (en) 2016-01-20 2016-01-20 Method and terminal for video playing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610038928.8A CN105763911A (en) 2016-01-20 2016-01-20 Method and terminal for video playing

Publications (1)

Publication Number Publication Date
CN105763911A true CN105763911A (en) 2016-07-13

Family

ID=56342448

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610038928.8A Pending CN105763911A (en) 2016-01-20 2016-01-20 Method and terminal for video playing

Country Status (1)

Country Link
CN (1) CN105763911A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106484358A (en) * 2016-09-28 2017-03-08 珠海格力电器股份有限公司 Audio playing method and device and terminal
CN108960889A (en) * 2018-05-30 2018-12-07 链家网(北京)科技有限公司 Voice says room progress monitoring method and device in house virtual three-dimensional space
CN112434186A (en) * 2020-11-23 2021-03-02 杭州海康威视数字技术股份有限公司 Data processing method and device, electronic equipment and storage medium
CN114286160A (en) * 2021-12-28 2022-04-05 维沃移动通信有限公司 Video playing method and device and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004003788A2 (en) * 2002-06-29 2004-01-08 Inovas Limited Position referenced multimedia authoring and playback
CN101640775A (en) * 2009-08-24 2010-02-03 深圳华为通信技术有限公司 Video recording method, photo taking method and mobile terminal
CN102289520A (en) * 2011-09-15 2011-12-21 山西四和交通工程有限责任公司 Traffic video retrieval system and realization method thereof
CN102680992A (en) * 2012-06-05 2012-09-19 代松 Method for utilizing video files containing global positioning system (GPS) information to synchronously determine movement track
CN103165153A (en) * 2011-12-14 2013-06-19 中国电信股份有限公司 Method of playing video according to recording location trajectory and mobile video terminal
CN103530326A (en) * 2013-09-25 2014-01-22 深圳先进技术研究院 Method for adding geographical location information into video file and creating index

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004003788A2 (en) * 2002-06-29 2004-01-08 Inovas Limited Position referenced multimedia authoring and playback
CN101640775A (en) * 2009-08-24 2010-02-03 深圳华为通信技术有限公司 Video recording method, photo taking method and mobile terminal
CN102289520A (en) * 2011-09-15 2011-12-21 山西四和交通工程有限责任公司 Traffic video retrieval system and realization method thereof
CN103165153A (en) * 2011-12-14 2013-06-19 中国电信股份有限公司 Method of playing video according to recording location trajectory and mobile video terminal
CN102680992A (en) * 2012-06-05 2012-09-19 代松 Method for utilizing video files containing global positioning system (GPS) information to synchronously determine movement track
CN103530326A (en) * 2013-09-25 2014-01-22 深圳先进技术研究院 Method for adding geographical location information into video file and creating index

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106484358A (en) * 2016-09-28 2017-03-08 珠海格力电器股份有限公司 Audio playing method and device and terminal
WO2018058901A1 (en) * 2016-09-28 2018-04-05 珠海格力电器股份有限公司 Audio playing method and device, and terminal
CN108960889A (en) * 2018-05-30 2018-12-07 链家网(北京)科技有限公司 Voice says room progress monitoring method and device in house virtual three-dimensional space
CN108960889B (en) * 2018-05-30 2020-11-10 贝壳找房(北京)科技有限公司 Method and device for controlling voice speaking room progress in virtual three-dimensional space of house
CN112434186A (en) * 2020-11-23 2021-03-02 杭州海康威视数字技术股份有限公司 Data processing method and device, electronic equipment and storage medium
CN114286160A (en) * 2021-12-28 2022-04-05 维沃移动通信有限公司 Video playing method and device and electronic equipment
WO2023125253A1 (en) * 2021-12-28 2023-07-06 维沃移动通信有限公司 Video playback method and apparatus, and electronic device

Similar Documents

Publication Publication Date Title
CN111968640B (en) Voice control method, voice control device, electronic equipment and storage medium
CN104135716A (en) Push method and system of interest point information
CN107038074B (en) Memory optimization device and method based on association strategy
CN106412255B (en) Terminal and display methods
CN105357370A (en) Chat message positioning method and terminal
US11394871B2 (en) Photo taking control method and system based on mobile terminal, and storage medium
CN104639771B (en) It is a kind of that the method and device of information on services is provided
CN106547439B (en) Method and device for processing message
CN105049637A (en) Device and method for controlling instant communication
CN106775402A (en) A kind of mobile terminal and its method for realizing control
US20170090684A1 (en) Method and apparatus for processing information
CN108495168B (en) Bullet screen information display method and device
CN105763911A (en) Method and terminal for video playing
CN106598538B (en) Instruction set updating method and system
CN108073291B (en) Input method and device and input device
CN105704331B (en) Application program recommendation method and system of mobile terminal
CN105631450A (en) Character identifying method and device
CN105049916B (en) A kind of video recording method and device
CN105704527A (en) Terminal and method for video frame positioning for terminal
CN106357929A (en) Previewing method based on audio file and mobile terminal
KR102030691B1 (en) Mobile terminal and application searching method thereof
CN106534596B (en) Method and system for filtering anti-harassment calls
CN108241678B (en) Method and device for mining point of interest data
CN110213062B (en) Method and device for processing message
CN105530332A (en) Method and device for processing position information

Legal Events

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

Application publication date: 20160713

RJ01 Rejection of invention patent application after publication