WO2017118353A1 - 显示视频文件的装置及方法 - Google Patents
显示视频文件的装置及方法 Download PDFInfo
- Publication number
- WO2017118353A1 WO2017118353A1 PCT/CN2016/113751 CN2016113751W WO2017118353A1 WO 2017118353 A1 WO2017118353 A1 WO 2017118353A1 CN 2016113751 W CN2016113751 W CN 2016113751W WO 2017118353 A1 WO2017118353 A1 WO 2017118353A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- video file
- video
- time period
- highlight
- frame data
- 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.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
- H04N21/4402—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
- H04N21/4402—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
- H04N21/440218—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by transcoding between formats or standards, e.g. from MPEG-2 to MPEG-4
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/83—Generation or processing of protective or descriptive data associated with content; Content structuring
- H04N21/845—Structuring of content, e.g. decomposing content into time segments
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/83—Generation or processing of protective or descriptive data associated with content; Content structuring
- H04N21/845—Structuring of content, e.g. decomposing content into time segments
- H04N21/8455—Structuring of content, e.g. decomposing content into time segments involving pointers to the content, e.g. pointers to the I-frames of the video stream
Definitions
- the present application relates to, but is not limited to, the field of communications technologies, and in particular, to an apparatus and method for displaying a video file.
- the video file when a video file is presented on a terminal, the video file is generally presented in the form of a video thumbnail, and the user selects and clicks on the video file content through the content in the video thumbnail.
- a still picture of a video thumbnail to display a video file can only display a very limited information of the video file, and the user cannot determine whether the video file needs to be viewed according to the video thumbnail, thereby failing to guide the user to select the favorite. Video.
- Embodiments of the present invention provide an apparatus and method for displaying a video file, which are intended to better guide a user to select a favorite video.
- Obtaining a module configured to: when the video file is read, decode the video file to obtain key frame data of the video file;
- An extracting module configured to extract, according to the key frame data, a highlight video segment in the video file according to a preset rule
- a display module configured to display the highlight video segment played when the display instruction of the video file is received.
- the extracting module may be configured to: extract the highlight video segment in the video file according to the information amount difference value of the adjacent key frame data.
- the extraction module may be configured to: generate a histogram of each key frame data; calculate an image information difference value between histograms of adjacent key frame data; and obtain a histogram of adjacent key frame data in a preset unit time period a cumulative image information difference value between the maps; obtaining a unit time period in which the cumulative image information difference value is greater than the preset first difference threshold value as the highlight time period, and extracting the video clip corresponding to the highlight time period in the video file, The extracted video clips are combined into a wonderful video clip.
- the obtaining module may be further configured to: when the video file is read, decode the video file to obtain audio data of the video file;
- the extracting module may be further configured to: generate a waveform map corresponding to the audio data per second; calculate a difference value of the audio information between the waveform graphs of the adjacent audio data; and acquire a waveform diagram of the adjacent audio data in the preset unit time period a cumulative audio information difference value; obtaining a unit time period in which at least one of the accumulated image information difference value and the accumulated audio information difference value is greater than a preset second difference threshold as a highlight time period, and extracting the video file
- the video segment corresponding to the wonderful time period is synthesized, and the extracted video segment is synthesized into a wonderful video segment.
- the display module may be configured to: establish a mapping relationship between the highlight video segment and the video file; and when receiving the display instruction of the video file, retrieve the highlight video segment according to the mapping relationship, And playing the highlight video clip to display the video file.
- the device for displaying a video file may further include:
- the playing module is configured to play the video file when receiving a click instruction for the highlight video clip played.
- the extracting module may be configured to: extract a highlight video segment in the video file according to the information amount of the key frame data.
- the extracting module may be configured to: acquire the information amount of the key frame data in the preset unit time period, and obtain the unit time period in which the sum of the information amounts is greater than the preset threshold as the exciting time period, and extract the wonderful information in the video file.
- the video segment corresponding to the time segment combines the extracted video segments into a wonderful video segment.
- the extracting module may be configured to: extract a highlight video segment in the video file according to key frame data in the video file that is in a preset intermediate time period or an ending time period.
- the key frame data of the acquired video file may include: a role in the video file or The frame data of the key action in the motion or change of the object.
- an embodiment of the present invention further provides a method for displaying a video file, where the method for displaying a video file includes the following steps:
- the video file is decoded to obtain key frame data of the video file
- the highlight video segment played is displayed.
- the step of extracting the highlight video clips in the video file according to the preset rule based on the key frame data may include:
- the highlight video segment in the video file is extracted according to the information amount difference value of the adjacent key frame data.
- the step of extracting the highlight video clips in the video file according to the preset rule based on the key frame data may include:
- the step of decoding the video file to obtain the key frame data of the video file may further include:
- the video file is decoded to obtain audio data of the video file
- the step of extracting the highlight video clips in the video file according to the preset rule may further include:
- the step of displaying the highlight video segment that is played may include:
- the highlight video segment is retrieved according to the mapping relationship, and the highlight video segment is played to display the video file.
- the method for displaying the video file may further include:
- the video file is played when a click command for the highlight video clip being played is received.
- the step of extracting the highlight video clips in the video file according to the preset rule based on the key frame data may include:
- the step of extracting the highlight video segment in the video file according to the information amount of the key frame data may include:
- the step of extracting the highlight video clips in the video file according to the preset rule based on the key frame data may include:
- the key frame data of the acquired video file may include: frame data in which the key action in the movement or change of the character or object in the video file is located.
- an embodiment of the present invention further provides a computer readable storage medium storing computer executable instructions, which are implemented by the processor to implement the above method for displaying a video file.
- the apparatus and method for displaying a video file when reading a video file, extracting a highlight video segment in the video file based on key frame data obtained by decoding the video file;
- the highlight video clip that is played is displayed when the video file is displayed. Since the video file can be displayed in the form of a highlight video clip playing the video file when the video file is presented, the user can provide more information about the video file than the static video thumbnail, for the user to display the video according to the video.
- the highlight video clip played during the file to select whether you want to view the video file to better guide the user to choose to watch the favorite video.
- FIG. 1 is a schematic structural diagram of hardware of an exemplary mobile terminal that implements an embodiment of the present application
- Figure 2 is a block diagram showing the electrical structure of the camera of Figure 1;
- FIG. 3 is a schematic diagram of functional modules of a first embodiment of an apparatus for displaying a video file according to the present application
- FIG. 4 is a schematic diagram of functional modules of a second embodiment of an apparatus for displaying a video file according to the present application
- FIG. 5 is a schematic flowchart diagram of a first embodiment of a method for displaying a video file according to the present application
- FIG. 6 is a schematic diagram of acquiring a wonderful time period in the video file in a first embodiment of a method for displaying a video file according to the present application;
- FIG. 7 is a schematic flowchart diagram of a second embodiment of a method for displaying a video file according to the present application.
- the mobile terminal can be implemented in one or more forms.
- the terminals described in this application may include, for example, mobile phones, smart phones, notebook computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Tablets), PMPs (Portable Multimedia Players), navigation devices, and the like.
- Mobile terminals and fixed terminals such as digital TVs, desktop computers, and the like.
- the terminal is a mobile terminal.
- configurations in accordance with embodiments of the present application can be applied to fixed type terminals in addition to elements that are specifically for mobile purposes.
- FIG. 1 is a schematic diagram showing the hardware structure of an exemplary mobile terminal implementing an embodiment of the present application.
- the mobile terminal 100 may include a wireless communication unit 110, an A/V (audio/video) input unit 120, a user input unit 130, a sensing unit 140, an output unit 150, a memory 160, an interface unit 170, a controller 180, and a power supply unit 190. And video decoding unit 200 and the like.
- Figure 1 illustrates a mobile terminal having various components, but it should be understood that not all illustrated components are required to be implemented. More or fewer components can be implemented instead. The elements of the mobile terminal will be described in detail below.
- Wireless communication unit 110 typically includes one or more components that permit radio communication between mobile terminal 100 and a wireless communication device or network.
- the wireless communication unit 110 may include at least one of the mobile communication module 112, the wireless internet module 113, the short-range communication module 114, and the location information module 115.
- the mobile communication module 112 transmits the radio signals to and/or receives radio signals from at least one of a base station (e.g., an access point, a Node B, etc.), an external terminal, and a server.
- a base station e.g., an access point, a Node B, etc.
- Such radio signals may include voice call signals, video call signals, or one or more types of data transmitted and/or received in accordance with text and/or multimedia messages.
- the wireless internet module 113 supports wireless internet access of the mobile terminal.
- the module can be internally or externally coupled to the terminal.
- the wireless internet access technology involved in the module may include WLAN (Wireless LAN) (Wi-Fi), Wibro (Wireless Broadband), Wimax (Worldwide Interoperability for Microwave Access), HSDPA (High Speed Downlink Packet Access), and the like.
- the short range communication module 114 is a module for supporting short range communication.
- Some examples of short-range communication technology include Bluetooth TM, a radio frequency identification (RFID), infrared data association (IrDA), ultra wideband (UWB), ZigBee, etc. TM.
- the location information module 115 is a module for checking or acquiring location information of the mobile terminal.
- a typical example of a location information module is a GPS (Global Positioning Device) module.
- the GPS module 115 calculates distance information and accurate time information from three or more satellites and applies triangulation to the calculated information to accurately calculate three-dimensional current position information based on longitude, latitude, and altitude.
- the method for calculating position and time information uses three satellites and corrects the calculated position and time information errors by using another satellite.
- the GPS module 115 is capable of calculating speed information by continuously calculating current position information in real time.
- the A/V input unit 120 is for receiving an audio or video signal.
- the A/V input unit 120 may include a camera 121 and a microphone 122 that processes image data of still pictures or video obtained by the image capturing device in a video capturing mode or an image capturing mode.
- the processed image frame can be displayed on the display unit 151.
- the image frames processed by the camera 121 may be stored in the memory 160 (or other storage medium) or transmitted via the wireless communication unit 110, and two or more cameras 121 may be provided according to the configuration of the mobile terminal.
- the microphone 122 can receive sound (audio data) via a microphone in an operation mode of a telephone call mode, a recording mode, a voice recognition mode, and the like, and can process such sound as audio data.
- the processed audio (voice) data can be converted to a format output that can be transmitted to the mobile communication base station via the mobile communication module 112 in the case of a telephone call mode.
- Microphone 122 may implement one or more types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated during the process of receiving and transmitting audio signals.
- the video decoding unit 200 is configured to perform decoding processing on the original video to obtain the decoded audio and video data of the original video.
- the user input unit 130 may generate key input data according to a command input by the user to control one or more operations of the mobile terminal.
- the user input unit 130 allows the user to input one or more types of information, and may include a keyboard, a pot, a touch pad (eg, a touch sensitive component that detects changes in resistance, pressure, capacitance, etc. due to contact). ), scroll wheel, rocker, etc. Especially when touched When the template is superimposed on the display unit 151 in the form of a layer, a touch screen can be formed.
- the sensing unit 140 detects the current state of the mobile terminal 100 (eg, the open or closed state of the mobile terminal 100), the location of the mobile terminal 100, the presence or absence of contact (ie, touch input) by the user with the mobile terminal 100, and the mobile terminal.
- the sensing unit 140 can sense whether the slide type mobile phone is turned on or off.
- the sensing unit 140 can detect whether the power supply unit 190 provides power or whether the interface unit 170 is coupled to an external device.
- the interface unit 170 serves as an interface through which at least one external device can connect with the mobile terminal 100.
- the external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, and an audio input/output. (I/O) port, video I/O port, headphone port, and more.
- the identification module may be one or more pieces of information stored to verify the user's use of the mobile terminal 100 and may include a User Identification Module (UIM), a Customer Identification Module (SIM), a Universal Customer Identification Module (USIM), and the like.
- UIM User Identification Module
- SIM Customer Identification Module
- USB Universal Customer Identification Module
- the device having the identification module may take the form of a smart card, and thus the identification device may be connected to the mobile terminal 100 via a port or other connection device.
- the interface unit 170 can be configured to receive input from an external device (eg, data information, power, etc.) and transmit the received input to one or more components within the mobile terminal 100 or can be used at the mobile terminal and external device Transfer data between.
- the interface unit 170 may function as a path through which power is supplied from the base to the mobile terminal 100 or may be used as one or more command signals allowing input from the base The path to the mobile terminal.
- One or more command signals or power input from the base may be used as a signal for identifying whether the mobile terminal is accurately mounted on the base.
- Output unit 150 is configured to provide an output signal (eg, an audio signal, a video signal, an alarm signal, a vibration signal, 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 can 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 can display a user interface (UI) or graphical user interface related to a call or other communication (eg, text messaging, multimedia file download, etc.) (GUI). 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 image and related functions, and the like.
- UI user interface
- GUI graphical user interface related to a call or other communication
- the display unit 151 may display a captured image and/or a received image, a UI or GUI showing a video or image and related functions, and the like.
- the display unit 151 can function 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.
- LCD liquid crystal display
- TFT-LCD thin film transistor LCD
- OLED organic light emitting diode
- a flexible display a three-dimensional (3D) display, and the like.
- 3D three-dimensional
- 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 a transparent display, and a typical transparent display may be, for example, a TOLED (Transparent Organic Light Emitting Diode) display or the like.
- TOLED Transparent Organic Light Emitting Diode
- 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 can be used to detect touch input pressure as well as touch input position and 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 when the mobile terminal is in a call signal receiving mode, a call mode, a recording mode, a voice recognition mode, a broadcast receiving mode, and the like.
- the audio signal is output as sound.
- the audio output module 152 can provide audio output (eg, call signal reception sound, message reception sound, etc.) associated with a particular function performed by the mobile terminal 100.
- the audio output module 152 can include a pickup, a buzzer, and the like.
- the memory 160 may store a software program or the like for processing and control operations performed by the controller 180, or may temporarily store data (for example, a phone book, a message, a still image, a video, etc.) that has been output or is to be output. Moreover, the memory 160 may store data regarding vibration and audio signals of one or more modes 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 (eg, SD or DX memory, etc.), a random access memory (RAM), a static random access memory ( SRAM), read only memory (ROM), electrically erasable programmable read only memory (EEPROM), programmable read only memory (PROM), magnetic memory, magnetic disk, optical disk, and the like.
- the mobile terminal 100 can cooperate with a network storage device that performs a storage function of the memory 160 through a network connection.
- the controller 180 typically controls the overall operation of the mobile terminal.
- the controller 180 executes the language Control and processing related to audio calls, data communications, video calls, etc.
- the controller 180 may include a multimedia module 181 for reproducing (or playing back) multimedia data, which may be constructed within the controller 180 or may be configured to be separate 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 under the control of the controller 180 and provides appropriate power required to operate each component and component.
- One or more implementations described herein can be implemented in a computer readable medium using, for example, computer software, hardware, or any combination thereof.
- the embodiments described herein may be through the use of application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays ( An FPGA, a processor, a controller, a microcontroller, a microprocessor, at least one of the electronic units designed to perform the functions described herein, in some cases, such an embodiment may be at the controller 180 Implemented in the middle.
- implementations such as procedures or functions may be implemented with separate software modules that permit the execution of at least one function or operation.
- the software code can be implemented by a software application (or program) written in any suitable programming language, which can be stored in memory 160 and executed
- the mobile terminal has been described in terms of its function.
- a slide type mobile terminal among a plurality of types of mobile terminals such as a folding type, a bar type, a swing type, a slide type mobile terminal, and the like will be described as an example. Therefore, the present application can be applied to any type of mobile terminal, and is not limited to a slide type mobile terminal.
- FIG. 2 is a block diagram showing the electrical structure of the camera 121 of FIG.
- the photographic lens 1211 is composed of a plurality of optical lenses for forming a subject image, and is a single focus lens or a zoom lens.
- the photographic lens 1211 is movable in the optical axis direction under the control of the lens driver 1221, and the lens driver 1221 controls the focus position of the photographic lens 1211 in accordance with a control signal from the lens driving control circuit 1222, and can also be controlled in the case of the zoom lens. Focus distance.
- the lens drive control circuit 1222 performs drive control of the lens driver 1221 in accordance with a control command from the microcomputer 1217.
- An imaging element 1212 is disposed on the optical axis of the photographic lens 1211 near the position of the subject image formed by the photographic lens 1211.
- the imaging element 1212 is for capturing an image of a subject and acquiring captured image data.
- Photodiodes constituting each pixel are arranged two-dimensionally and in a matrix on the imaging element 1212. Each photodiode generates a photoelectric conversion current corresponding to the amount of received light, which is subjected to charge accumulation by a capacitor connected to each photodiode.
- the front surface of each pixel is provided with a Bayer array of RGB color filters.
- the imaging element 1212 is connected to the imaging circuit 1213.
- the imaging circuit 1213 performs charge accumulation control and image signal readout control in the imaging element 1212, and performs waveform shaping after reducing the reset noise of the read image signal (analog image signal). Further, gain improvement or the like is performed to obtain an appropriate signal level.
- the imaging circuit 1213 is connected to an A/D converter 1214 that performs analog-to-digital conversion on the analog image signal and outputs a digital image signal (hereinafter referred to as image data) to the bus 1227.
- A/D converter 1214 that performs analog-to-digital conversion on the analog image signal and outputs a digital image signal (hereinafter referred to as image data) to the bus 1227.
- the bus 1227 is a transmission path for transmitting one or more kinds of data read or generated inside the camera.
- the A/D converter 1214 is connected to the bus 1227, and an image processor 1215, a JPEG processor 1216, a microcomputer 1217, a SDRAM (Synchronous Dynamic Random Access Memory) 1218, and a memory interface are also connected. (hereinafter referred to as memory I/F) 1219, LCD (Liquid Crystal Display) driver 1220.
- the image processor 1215 performs OB subtraction processing, white balance adjustment, color matrix calculation, gamma conversion, color difference signal processing, noise removal processing, simultaneous processing, edge processing, and the like on the image data based on the output of the imaging element 1212. deal with.
- the JPEG processor 1216 compresses the image data read out from the SDRAM 1218 in accordance with the JPEG compression method when the image data is recorded on the recording medium 1225. Further, the JPEG processor 1216 performs decompression of JPEG image data for image reproduction display. At the time of decompression, the file recorded on the recording medium 1225 is read, and after the compression processing is performed in the JPEG processor 1216, the decompressed image data is temporarily stored in the SDRAM 1218 and displayed on the LCD 1226. Further, in the present embodiment, the JPEG method is adopted as the image compression/decompression method. However, the compression/decompression method is not limited thereto, and other compression/decompression methods such as MPEG, TIFF, and H.264 may be
- the microcomputer 1217 functions as a control unit of the entire camera, and collectively controls one or more processing sequences of the camera.
- the microcomputer 1217 is connected to the operation unit 1223 and the flash memory 1224.
- the operating unit 1223 includes, but is not limited to, a physical button or a virtual button, and the entity or virtual button may be a power button, a camera button, an edit button, a dynamic image button, a reproduction button, a menu button, a cross button, an OK button, a delete button, an enlarge button Various control buttons such as input buttons and various input buttons.
- the operational state of these operational controls is detected, and the detection results are output to the microcomputer 1217.
- a touch panel is provided on the front surface of the LCD 1226 as a display, and the touch position of the user is detected, and the touch position is output to the microcomputer 1217.
- the microcomputer 1217 performs one or more processing sequences corresponding to the user's operation in accordance with the detection result from the operation position of the operation unit 1223.
- the flash memory 1224 stores programs for executing one or more processing sequences of the microcomputer 1217.
- the microcomputer 1217 performs overall control of the camera in accordance with the program. Further, the flash memory 1224 stores one or more adjustment values of the camera, and the microcomputer 1217 reads out the adjustment value, and performs control of the camera in accordance with the adjustment value.
- the SDRAM 1218 is an electrically rewritable volatile memory for temporarily storing image data or the like.
- the SDRAM 1218 temporarily stores image data output from the A/D converter 1214 and image data processed in the image processor 1215, the JPEG processor 1216, and the like.
- the memory interface 1219 is connected to the recording medium 1225, and performs control for writing image data and a file header attached to the image data to the recording medium 1225 and reading out from the recording medium 1225.
- the recording medium 1225 is, for example, a recording medium such as a memory card that can be detachably attached to the camera body.
- the recording medium 1225 is not limited thereto, and may be a hard disk or the like built in the camera body.
- the LCD driver 1220 is connected to the LCD 1226, and stores image data processed by the image processor 1215 in the SDRAM 1218.
- the image data stored in the SDRAM 1218 is read and displayed on the LCD 1226, or the image data stored in the JPEG processor 1216 is compressed.
- the JPEG processor 1216 reads the compressed image data of the SDRAM 1218, decompresses it, and displays the decompressed image data through the LCD 1226.
- the LCD 1226 is configured to display an image on the back of the camera body.
- the LCD 1226 can be an LCD display panel, but is not limited thereto, and various display panels such as an organic EL can also be used.
- An embodiment of a device for displaying a video file is proposed.
- the apparatus for displaying a video file includes:
- the obtaining module 01 is configured to decode the video file when the video file is read, and acquire key frame data of the video file.
- the video file when a video file is added to the video player for reading, the video file is decoded by using one or more video decoding technologies to remove redundant data such as non-key frames in the original video data.
- Data obtaining key frame data of the video file.
- the frame is the single image of the smallest unit in the animation, which is equivalent to each shot on the film, and the frame on the time axis of the animation software is a grid or a mark.
- a keyframe is equivalent to the original painting in a two-dimensional animation, which refers to the frame in which the key action of the character or object moves or changes.
- the key frame data of the video file obtained in this embodiment is the frame data of the key action in the movement or change of the character or the object in the video file, and can represent the main content of the video file.
- the extracting module 02 is configured to extract the highlight video segment in the video file according to the preset rule based on the key frame data.
- the key frame data of the video file includes key actions in the motion or change of the character or the object in the video file, The beautiful video content in the video file is described, and therefore, the highlight video clip in the video file can be extracted according to the key frame data.
- the amount of the corresponding key frame data is also large, and therefore, according to the key frame data.
- the amount of information to identify the highlights of the video file For example, the key frame data with a large amount of information in the video file can be obtained, and the obtained key frame data is encoded and synthesized into a wonderful video segment of the video file, and the same time period can be divided to obtain key frame data. And summing the amount of information to a larger period of time, and extracting a plurality of video segments corresponding to the time segment from the video file, and encoding and synthesizing the video segments into the highlight video segments of the video file.
- the video segment corresponding to the wonderful time period is synthesized, and the extracted video segment is synthesized into a wonderful video segment.
- the video file can be identified according to the information amount difference value of the adjacent key frame data.
- the highlights of the video section For example, the adjacent key frame data with a large difference in information amount in the video file can be obtained, and the obtained key frame data is encoded and synthesized into a wonderful video segment of the video file, and the same time period can also be divided. Obtaining a time period in which a sum of information difference values of adjacent key frame data is larger, and extracting, from the video file, a plurality of video segments corresponding to the time segment, and encoding, synthesizing the video segments into the video file. Highlights of the video.
- the highlight video portion in the video file is generally located in the middle or the end
- the key frame data in the video file at the preset intermediate time period or the end time period may also be acquired, and the obtained key frame data will be acquired. Coding, synthesizing into a wonderful video clip of the video file; or directly extracting a video clip in a preset intermediate time period or an end time period from the video file as a highlight video clip.
- the display module 03 is configured to display the highlight video clip played when the display instruction of the video file is received.
- a mapping relationship between the highlight video segment and the video file may be established, and the highlight video segment is mapped to the video file. .
- the highlight video segment associated with the video file mapping may be retrieved according to the established mapping relationship, and the highlight video segment may be played to utilize the played video segment.
- the user can know the wonderful video content of the video file according to the displayed wonderful video clip, so that it is possible to quickly determine whether it is necessary to view all the video content of the video file, and reach the content that is played when the video file is displayed.
- a wonderful video clip of the video file to better guide the user to choose the purpose of watching the video.
- the highlight video segment in the video file is extracted based on the key frame data obtained by decoding the video file; when the display instruction of the video file is received, the display is played.
- the wonderful video clip Since the video file can be displayed in the form of a highlight video clip that plays the video file when the video file is rendered, compared to the static video
- the thumbnail can provide the user with more information about the video file, and the user can select whether to view the video file according to the highlight video clip played when the video file is displayed, so as to better guide the user to select and watch the favorite video.
- the foregoing extraction module 02 may also be configured as:
- a histogram of each key frame data may be generated, and an image between the histograms of adjacent key frame data is calculated.
- Information difference value may be determined by a distribution and an area of a histogram of adjacent key frame data.
- the key frame data of the video file is divided into several unit time segments, and the length of the unit time period may be set to 10 s, and the unit time period includes all key frame data within 10 s.
- the first difference threshold may be preset. If the accumulated image information difference value of a certain unit time period is greater than the preset first difference threshold, the video segment corresponding to the unit time segment is identified as being in the video file.
- a plurality of unit time segments in which the accumulated image information difference value is greater than the preset first difference threshold may be obtained as the highlight time segment, and a plurality of video segments corresponding to the plurality of wonderful time segments are extracted in the video file, and the extracted video segments are performed.
- the code is synthesized into a wonderful video clip.
- the obtaining module 01 may be further configured to:
- the video file is decoded to obtain audio data of the video file
- the above extraction module 02 can also be set as:
- the video file if the video file includes audio, the video file is decoded to obtain key frame data of the video file, and audio data of the video file is also acquired, and audio data per second can be generated. Corresponding waveform diagrams, and calculate the difference value of the audio information between the waveform diagrams of adjacent audio data. The difference value of the audio information may be compared according to a waveform diagram of adjacent audio data.
- the audio data of the video file is divided into several unit time segments, and the length of the unit time period may be set to 10 s, and the unit time period includes all audio data within 10 s.
- the second difference threshold may be set in advance, if the accumulated image information difference value or the accumulated audio information difference value of a certain unit time period If the preset second difference threshold is greater than the preset second difference threshold, the video segment corresponding to the unit time segment is identified as a highlight video in the video file.
- the highlight video in the video file can be extracted more accurately, thereby providing more video files. Accurate and exciting videos to guide users to choose to watch their favorite videos.
- the key frame data and the audio data of the video file may be respectively divided into 10 identical time segments, labeled as 1, 2, . . . 10, in each of key frame data and audio data.
- the accumulated image information difference value and the accumulated audio information difference value corresponding to the time period are respectively marked above a time period, for example, the cumulative image information difference value corresponding to the time segment 1 of the key frame data is 50, and the time segment 1 corresponding to the audio data is accumulated.
- the audio information difference value is 30 or the like.
- the second difference threshold is set to 50 in advance.
- the video segment corresponding to the unit time period is identified as a video.
- the preset second difference threshold value 50 there are time period 1, time period 4, time period 5, time period 8, and time period 10, and the time period is 1.
- Time period 4, time period 5, time period 8 and time period 10 are used as wonderful time periods, and time period 1, time period 4, time period 5, time period 8 and time period 10 are extracted in the video file.
- the extracted 5 video segments are encoded into a wonderful video segment.
- the second embodiment of the present application provides an apparatus for displaying a video file.
- the apparatus for displaying a video file further includes:
- the playing module 04 is configured to play the video file when receiving a click instruction for the highlight video clip played.
- the video file when the video file is displayed by using the played video clip, if the click instruction of the highlight video clip is received, it is determined that the user needs to view all video content of the video file. And playing the video file, so that the user can select whether to view the video file according to the highlight video clip played when the video file is displayed, and play all the video files when the user needs to view the video file.
- Video content when the video file is displayed by using the played video clip, if the click instruction of the highlight video clip is received, it is determined that the user needs to view all video content of the video file. And playing the video file, so that the user can select whether to view the video file according to the highlight video clip played when the video file is displayed, and play all the video files when the user needs to view the video file.
- Video content when the video file is displayed by using the played video clip
- the present application further provides a method for displaying a video file, referring to FIG. 5, in the present application
- the method of displaying a video file includes:
- Step S10 When the video file is read, the video file is decoded to obtain key frame data of the video file.
- the video file when a video file is added to the video player for reading, the video file is decoded by using one or more video decoding technologies to remove redundant data such as non-key frames in the original video data.
- Data obtaining key frame data of the video file.
- the frame is the single image of the smallest unit in the animation, which is equivalent to each shot on the film, and the frame on the time axis of the animation software is a grid or a mark.
- a keyframe is equivalent to the original painting in a two-dimensional animation, which refers to the frame in which the key action of the character or object moves or changes.
- the key frame data of the video file obtained in this embodiment is the frame data of the key action in the movement or change of the character or the object in the video file, and can represent the main content of the video file.
- Step S20 Extract, according to the key frame data, a highlight video segment in the video file according to a preset rule.
- the key frame data of the video file includes key actions in the motion or change of the character or the object in the video file, The beautiful video content in the video file is described, and therefore, the highlight video clip in the video file can be extracted according to the key frame data.
- the amount of the corresponding key frame data is also large, and therefore, according to the key frame data.
- the amount of information to identify the highlights of the video file For example, the key frame data with a large amount of information in the video file can be obtained, and the obtained key frame data is encoded and synthesized into a wonderful video segment of the video file, and the same time period can be divided to obtain key frame data. And summing the amount of information to a larger period of time, and extracting a plurality of video segments corresponding to the time segment from the video file, and encoding and synthesizing the video segments into the highlight video segments of the video file.
- the highlight video portion in the video file can be identified according to the information amount difference value of the adjacent key frame data.
- the adjacent key frame data with a large difference in information amount in the video file can be obtained, and the obtained key frame data is encoded and synthesized into a wonderful video segment of the video file, and the same time period can also be divided.
- the highlight video portion in the video file is generally located in the middle or the end
- the key frame data in the video file at the preset intermediate time period or the end time period may also be acquired, and the obtained key frame data will be acquired. Coding, synthesizing into a wonderful video clip of the video file; or directly extracting a video clip in a preset intermediate time period or an end time period from the video file as a highlight video clip.
- Step S30 when receiving the display instruction of the video file, displaying the highlight video segment played.
- a mapping relationship between the highlight video segment and the video file may be established, and the highlight video segment is mapped to the video file. .
- the highlight video segment associated with the video file mapping may be retrieved according to the established mapping relationship, and the highlight video segment may be played to utilize the played video segment.
- the user can know the wonderful video content of the video file according to the displayed wonderful video clip, so that it is possible to quickly determine whether it is necessary to view all the video content of the video file, and reach the content that is played when the video file is displayed.
- a wonderful video clip of the video file to better guide the user to choose the purpose of watching the video.
- the highlight video segment in the video file is extracted based on the key frame data obtained by decoding the video file; when the display instruction of the video file is received, the display is played.
- the wonderful video clip Since the video file can be displayed in the form of a highlight video clip playing the video file when the video file is presented, the user can provide more information about the video file than the static video thumbnail, for the user to display the video according to the video. Highlight the video clips that are played during the file to choose whether you want to watch the video file for better guidance. The user chooses to watch the favorite video.
- step S20 may include:
- a histogram of each key frame data may be generated, and an image between the histograms of adjacent key frame data is calculated.
- Information difference value may be determined by a distribution and an area of a histogram of adjacent key frame data.
- the key frame data of the video file is divided into several unit time segments, and the length of the unit time period may be set to 10 s, and the unit time period includes all key frame data within 10 s.
- the first difference threshold may be preset. If the accumulated image information difference value of a certain unit time period is greater than the preset first difference threshold, the video segment corresponding to the unit time segment is identified as being in the video file.
- a plurality of unit time segments in which the accumulated image information difference value is greater than the preset first difference threshold may be obtained as the highlight time segment, and a plurality of video segments corresponding to the plurality of wonderful time segments are extracted in the video file, and the extracted video segments are performed.
- the code is synthesized into a wonderful video clip.
- step S10 may include:
- the video file is decoded to obtain audio data of the video file
- the above step S20 may include:
- the video file if the video file includes audio, the video file is decoded to obtain key frame data of the video file, and audio data of the video file is also acquired, and audio data per second can be generated. Corresponding waveform diagrams, and calculate the difference value of the audio information between the waveform diagrams of adjacent audio data. The difference value of the audio information may be compared according to a waveform diagram of adjacent audio data.
- the audio data of the video file is divided into several unit time segments, and the length of the unit time period may be set to 10 s, and the unit time period includes all audio data within 10 s.
- the second difference threshold may be set in advance, if the accumulated image information difference value or the accumulated audio information difference value of a certain unit time period If the preset second difference threshold is greater than the preset second difference threshold, the video segment corresponding to the unit time segment is identified as a highlight video in the video file.
- the accumulated image information difference value or the accumulated audio information difference value may be greater than the preset second difference
- the plurality of unit time segments of the different thresholds are used as the highlight time segments, and a plurality of video segments corresponding to the plurality of wonderful time segments are extracted in the video file, and the extracted video segments are encoded into one highlight video segment.
- the highlight video in the video file can be extracted more accurately, thereby providing the video file. More accurate and exciting videos to guide users to choose to watch their favorite videos.
- FIG. 6 is a schematic diagram of acquiring a wonderful time period in the video file in the first embodiment of the method for displaying a video file according to the present application.
- the key frame data and the audio data of the video file are respectively divided into 10 identical time segments, labeled as 1, 2, .10, respectively, above each time period of the key frame data and the audio data.
- the accumulated image information difference value and the accumulated audio information difference value corresponding to the time period are marked, and the cumulative image information difference value corresponding to the time segment 1 of the key frame data in FIG. 6 is 30, and the accumulated audio information corresponding to the time segment 1 of the audio data is
- the difference value is 50 or the like.
- the second difference threshold is set to 50 in advance. If the accumulated image information difference value or the accumulated audio information difference value of a certain unit time period is greater than the preset second difference threshold value 50, the video segment corresponding to the unit time period is identified as a video.
- time period 1 when the accumulated image information difference value or the accumulated audio information difference value is greater than the preset second difference threshold 50, there are time period 1, time period 4, time period 5, time period 8, and time period 10, and the time period is 1.
- Time period 4, time period 5, time period 8 and time period 10 are used as wonderful time periods, and time period 1, time period 4, time period 5, time period 8 and time period 10 are extracted in the video file.
- the extracted 5 video segments are encoded into a wonderful video segment.
- the second embodiment of the present application provides a method for displaying a video file.
- the method further includes:
- Step S40 When the click instruction for the highlight video clip being played is received, the video file is played.
- the video file when the video file is displayed by using the played video clip, if a click command for the highlight video clip is received, it is determined that the user needs to view the video. Playing all the video content of the frequency file, playing the video file, so that the user can select whether to view the video file according to the highlight video clip played when the video file is displayed, and can play when the user needs to view the video file. The entire video content of the video file.
- an embodiment of the present invention further provides a computer readable storage medium storing computer executable instructions, which are implemented by the computer executable instruction processor to implement the above method for displaying a video file.
- computer storage medium includes volatile and nonvolatile, implemented in any method or technology for storing information, such as computer readable instructions, data structures, program modules or other data. Sex, removable and non-removable media.
- Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridge, magnetic tape, magnetic disk storage or other magnetic storage device, or may Any other medium used to store the desired information and that can be accessed by the computer.
- communication media typically comprise computer readable instructions, data structures, program modules or such as carrier waves or other Other data in the modulated data signal, such as a transmission mechanism, and can include any information delivery medium.
- An embodiment of the present invention provides an apparatus and method for displaying a video file, which can display a video file in the form of a highlight video clip of the video file when the video file is presented, and can provide a user with a more static video thumbnail.
- the information about the video file is used by the user to select whether to view the video file according to the highlight video clip played when the video file is displayed, so as to better guide the user to select and watch the favorite video.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Controls And Circuits For Display Device (AREA)
- Television Signal Processing For Recording (AREA)
Abstract
本文公开了一种显示视频文件的装置及方法,上述装置包括:获取模块(01),设置为当读取视频文件时,对所述视频文件进行解码,获取所述视频文件的关键帧数据;提取模块(02),设置为基于所述关键帧数据,按预设规则提取所述视频文件中的精彩视频片段;显示模块(03),设置为当接收到所述视频文件的显示指令时,显示播放的所述精彩视频片段。
Description
本申请涉及但不限于通信技术领域,尤其涉及一种显示视频文件的装置及方法。
目前,在终端上呈现视频文件时,一般是通过视频缩略图的形式来呈现视频文件,用户通过视频缩略图中的内容来选择点击观看视频文件内容。然而,利用视频缩略图这一静态图片来显示视频文件只能显示该视频文件十分有限的信息,用户无法根据该视频缩略图确定是否需要观看该视频文件,从而无法很好地引导用户选择观看喜爱的视频。
发明内容
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。
本发明实施例提出一种显示视频文件的装置及方法,旨在更好地引导用户选择观看喜爱的视频。
本发明实施例提供的一种显示视频文件的装置,包括:
获取模块,设置为当读取视频文件时,对所述视频文件进行解码,获取所述视频文件的关键帧数据;
提取模块,设置为基于所述关键帧数据,按预设规则提取所述视频文件中的精彩视频片段;
显示模块,设置为当接收到所述视频文件的显示指令时,显示播放的所述精彩视频片段。
所述提取模块可以设置为:根据相邻关键帧数据的信息量差异值,提取所述视频文件中的精彩视频片段。
所述提取模块可以设置为:生成每一关键帧数据的直方图;计算相邻关键帧数据的直方图之间的图像信息差异值;获取预设的单位时间段内相邻关键帧数据的直方图之间的累计图像信息差异值;获取累计图像信息差异值大于预设第一差异阈值的单位时间段作为精彩时间段,提取所述视频文件中所述精彩时间段所对应的视频片段,将提取的视频片段合成为精彩视频片段。
所述获取模块还可以设置为:当读取视频文件时,对所述视频文件进行解码,获取所述视频文件的音频数据;
所述提取模块还可以设置为:生成每秒音频数据对应的波形图;计算相邻音频数据的波形图之间的音频信息差异值;获取预设的单位时间段内相邻音频数据的波形图之间的累计音频信息差异值;获取所述累计图像信息差异值和所述累计音频信息差异值中至少一项大于预设第二差异阈值的单位时间段作为精彩时间段,提取所述视频文件中所述精彩时间段对应的视频片段,将提取的视频片段合成为精彩视频片段。
所述显示模块可以设置为:建立所述精彩视频片段与所述视频文件之间的映射关系;当接收到所述视频文件的显示指令时,根据所述映射关系调取所述精彩视频片段,并播放所述精彩视频片段以显示所述视频文件。
所述显示视频文件的装置还可以包括:
播放模块,设置为当接收到对播放的所述精彩视频片段的点击指令时,播放所述视频文件。
所述提取模块可以设置为:根据所述关键帧数据的信息量,提取所述视频文件中的精彩视频片段。
所述提取模块可以设置为:获取预设的单位时间段内关键帧数据的信息量,获取信息量之和大于预设阈值的单位时间段作为精彩时间段,提取所述视频文件中所述精彩时间段所对应的视频片段,将提取的视频片段合成为精彩视频片段。
所述提取模块可以设置为:根据所述视频文件中处于预设中间时间段或结尾时间段的关键帧数据,提取所述视频文件中的精彩视频片段。
所述获取的视频文件的关键帧数据可以包括:所述视频文件中的角色或
者物体运动或变化中的关键动作所处的帧数据。
此外,本发明实施例还提出一种显示视频文件的方法,所述显示视频文件的方法包括以下步骤:
当读取视频文件时,对所述视频文件进行解码,获取所述视频文件的关键帧数据;
基于所述关键帧数据,按预设规则提取所述视频文件中的精彩视频片段;
当接收到所述视频文件的显示指令时,显示播放的所述精彩视频片段。
所述基于所述关键帧数据,按预设规则提取所述视频文件中的精彩视频片段的步骤可以包括:
根据相邻关键帧数据的信息量差异值,提取所述视频文件中的精彩视频片段。
所述基于所述关键帧数据,按预设规则提取所述视频文件中的精彩视频片段的步骤可以包括:
生成每一关键帧数据的直方图;
计算相邻关键帧数据的直方图之间的图像信息差异值;
获取预设的单位时间段内相邻关键帧数据的直方图之间的累计图像信息差异值;
获取累计图像信息差异值大于预设第一差异阈值的单位时间段作为精彩时间段,提取所述视频文件中所述精彩时间段所对应的视频片段,将提取的视频片段合成为精彩视频片段。
所述当读取视频文件时,对所述视频文件进行解码,获取所述视频文件的关键帧数据的步骤还可以包括:
当读取视频文件时,对所述视频文件进行解码,获取所述视频文件的音频数据;
所述基于所述关键帧数据,按预设规则提取所述视频文件中的精彩视频片段的步骤还可以包括:
生成每秒音频数据对应的波形图;
计算相邻音频数据的波形图之间的音频信息差异值;
获取预设的单位时间段内相邻音频数据的波形图之间的累计音频信息差异值;
获取所述累计图像信息差异值和所述累计音频信息差异值中至少一项大于预设第二差异阈值的单位时间段作为精彩时间段,提取所述视频文件中所述精彩时间段对应的视频片段,将提取的视频片段合成为精彩视频片段。
所述当接收到所述视频文件的显示指令时,显示播放的所述精彩视频片段的步骤可以包括:
建立所述精彩视频片段与所述视频文件之间的映射关系;
当接收到所述视频文件的显示指令时,根据所述映射关系调取所述精彩视频片段,并播放所述精彩视频片段以显示所述视频文件。
所述当接收到所述视频文件的显示指令时,显示播放的所述精彩视频片段的步骤之后,所述显示视频文件的方法还可以包括:
当接收到对播放的所述精彩视频片段的点击指令时,播放所述视频文件。
所述基于所述关键帧数据,按预设规则提取所述视频文件中的精彩视频片段的步骤可以包括:
根据所述关键帧数据的信息量,提取所述视频文件中的精彩视频片段。
所述根据所述关键帧数据的信息量,提取所述视频文件中的精彩视频片段的步骤可以包括:
获取预设的单位时间段内关键帧数据的信息量,获取信息量之和大于预设阈值的单位时间段作为精彩时间段,提取所述视频文件中所述精彩时间段所对应的视频片段,将提取的视频片段合成为精彩视频片段。
所述基于所述关键帧数据,按预设规则提取所述视频文件中的精彩视频片段的步骤可以包括:
根据所述视频文件中处于预设中间时间段或结尾时间段的关键帧数据,提取所述视频文件中的精彩视频片段。
所述获取的视频文件的关键帧数据可以包括:所述视频文件中的角色或者物体运动或变化中的关键动作所处的帧数据。
此外,本发明实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被处理器执行时实现上述的显示视频文件的方法。
本发明实施例提出的显示视频文件的装置及方法,在读取视频文件时,基于对所述视频文件进行解码获取的关键帧数据来提取所述视频文件中的精彩视频片段;当接收到所述视频文件的显示指令时,显示播放的所述精彩视频片段。由于在呈现视频文件时能通过以播放该视频文件的精彩视频片段的形式来显示视频文件,相比静态的视频缩略图能为用户提供更多该视频文件的相关信息,供用户根据显示该视频文件时播放的精彩视频片段来选择是否需要观看该视频文件,以更好地引导用户选择观看喜爱的视频。
在阅读并理解了附图和详细描述后,可以明白其他方面。
附图概述
图1为实现本申请实施例的一个示例性移动终端的硬件结构示意图;
图2为图1中相机的电气结构框图;
图3为本申请的显示视频文件的装置的第一实施例的功能模块示意图;
图4为本申请的显示视频文件的装置的第二实施例的功能模块示意图;
图5为本申请的显示视频文件的方法的第一实施例的流程示意图;
图6为本申请的显示视频文件的方法的第一实施例中获取所述视频文件中精彩时间段的示意图;
图7为本申请的显示视频文件的方法的第二实施例的流程示意图。
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
应当理解,此处所描述的实施例仅仅用以解释本申请,并不用于限定本申请。
现在将参考附图描述实现本申请实施例的移动终端。在后续的描述中,使用用于表示元件的诸如“模块”、“部件”或“单元”的后缀仅为了有利于本申请的说明,其本身并没有特定的意义。因此,“模块”与“部件”可以混合地使用。
移动终端可以以一种或多种形式来实施。例如,本申请中描述的终端可以包括诸如移动电话、智能电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、导航装置等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。下面,假设终端是移动终端。然而,本领域技术人员将理解的是,除了特别用于移动目的的元件之外,根据本申请的实施方式的构造也能够应用于固定类型的终端。
图1为实现本申请实施例的一个示例性移动终端的硬件结构示意。
移动终端100可以包括无线通信单元110、A/V(音频/视频)输入单元120、用户输入单元130、感测单元140、输出单元150、存储器160、接口单元170、控制器180、电源单元190和视频解码单元200等等。图1示出了具有多种组件的移动终端,但是应理解的是,并不要求实施所有示出的组件。可以替代地实施更多或更少的组件。将在下面详细描述移动终端的元件。
无线通信单元110通常包括一个或多个组件,其允许移动终端100与无线通信装置或网络之间的无线电通信。例如,无线通信单元110可以包括移动通信模块112、无线互联网模块113、短程通信模块114和位置信息模块115中的至少一个。
移动通信模块112将无线电信号发送到基站(例如,接入点、节点B等等)、外部终端以及服务器中的至少一个和/或从其接收无线电信号。这样的无线电信号可以包括语音通话信号、视频通话信号、或者根据文本和/或多媒体消息发送和/或接收的一种或多种类型的数据。
无线互联网模块113支持移动终端的无线互联网接入。该模块可以内部或外部地耦接到终端。该模块所涉及的无线互联网接入技术可以包括
WLAN(无线LAN)(Wi-Fi)、Wibro(无线宽带)、Wimax(全球微波互联接入)、HSDPA(高速下行链路分组接入)等等。
短程通信模块114是用于支持短程通信的模块。短程通信技术的一些示例包括蓝牙TM、射频识别(RFID)、红外数据协会(IrDA)、超宽带(UWB)、紫蜂TM等等。
位置信息模块115是用于检查或获取移动终端的位置信息的模块。位置信息模块的典型示例是GPS(全球定位装置)模块。根据当前的技术,GPS模块115计算来自三个或更多卫星的距离信息和准确的时间信息并且对于计算的信息应用三角测量法,从而根据经度、纬度和高度准确地计算三维当前位置信息。当前,用于计算位置和时间信息的方法使用三颗卫星并且通过使用另外的一颗卫星校正计算出的位置和时间信息的误差。此外,GPS模块115能够通过实时地连续计算当前位置信息来计算速度信息。
A/V输入单元120用于接收音频或视频信号。A/V输入单元120可以包括相机121和麦克风122,相机121对在视频捕获模式或图像捕获模式中由图像捕获装置获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元151上。经相机121处理后的图像帧可以存储在存储器160(或其它存储介质)中或者经由无线通信单元110进行发送,可以根据移动终端的构造提供两个或更多相机121。麦克风122可以在电话通话模式、记录模式、语音识别模式等等运行模式中经由麦克风接收声音(音频数据),并且能够将这样的声音处理为音频数据。处理后的音频(语音)数据可以在电话通话模式的情况下转换为可经由移动通信模块112发送到移动通信基站的格式输出。麦克风122可以实施一种或多种类型的噪声消除(或抑制)算法以消除(或抑制)在接收和发送音频信号的过程中产生的噪声或者干扰。
视频解码单元200用于对原始视频进行解码处理,获取原始视频经解码后的音频和视频数据。
用户输入单元130可以根据用户输入的命令生成键输入数据以控制移动终端的一种或多种操作。用户输入单元130允许用户输入一种或多种类型的信息,并且可以包括键盘、锅仔片、触摸板(例如,检测由于被接触而导致的电阻、压力、电容等等的变化的触敏组件)、滚轮、摇杆等等。特别地,当触
摸板以层的形式叠加在显示单元151上时,可以形成触摸屏。
感测单元140检测移动终端100的当前状态,(例如,移动终端100的打开或关闭状态)、移动终端100的位置、用户对于移动终端100的接触(即,触摸输入)的有无、移动终端100的取向、移动终端100的加速或将速移动和方向等等,并且生成用于控制移动终端100的操作的命令或信号。例如,当移动终端100实施为滑动型移动电话时,感测单元140可以感测该滑动型移动电话是打开还是关闭。另外,感测单元140能够检测电源单元190是否提供电力或者接口单元170是否与外部装置耦接。接口单元170用作至少一个外部装置与移动终端100连接可以通过的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。识别模块可以是存储用于验证用户使用移动终端100的一种或多种信息并且可以包括用户识别模块(UIM)、客户识别模块(SIM)、通用客户识别模块(USIM)等等。另外,具有识别模块的装置(下面称为“识别装置”)可以采取智能卡的形式,因此,识别装置可以经由端口或其它连接装置与移动终端100连接。接口单元170可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到移动终端100内的一个或多个元件或者可以用于在移动终端和外部装置之间传输数据。
另外,当移动终端100与外部底座连接时,接口单元170可以用作允许通过其将电力从底座提供到移动终端100的路径或者可以用作允许从底座输入的一种或多种命令信号通过其传输到移动终端的路径。从底座输入的一种或多种命令信号或电力可以用作用于识别移动终端是否准确地安装在底座上的信号。输出单元150被构造为以视觉、音频和/或触觉方式提供输出信号(例如,音频信号、视频信号、警报信号、振动信号等等)。
输出单元150可以包括显示单元151、音频输出模块152等等。
显示单元151可以显示在移动终端100中处理的信息。例如,当移动终端100处于电话通话模式时,显示单元151可以显示与通话或其它通信(例如,文本消息收发、多媒体文件下载等等)相关的用户界面(UI)或图形用户界面
(GUI)。当移动终端100处于视频通话模式或者图像捕获模式时,显示单元151可以显示捕获的图像和/或接收的图像、示出视频或图像以及相关功能的UI或GUI等等。
同时,当显示单元151和触摸板以层的形式彼此叠加以形成触摸屏时,显示单元151可以用作输入装置和输出装置。显示单元151可以包括液晶显示器(LCD)、薄膜晶体管LCD(TFT-LCD)、有机发光二极管(OLED)显示器、柔性显示器、三维(3D)显示器等等中的至少一种。这些显示器中的一些可以被构造为透明状以允许用户从外部观看,这可以称为透明显示器,典型的透明显示器可以例如为TOLED(透明有机发光二极管)显示器等等。根据特定想要的实施方式,移动终端100可以包括两个或更多显示单元(或其它显示装置),例如,移动终端可以包括外部显示单元(未示出)和内部显示单元(未示出)。触摸屏可用于检测触摸输入压力以及触摸输入位置和触摸输入面积。
音频输出模块152可以在移动终端处于呼叫信号接收模式、通话模式、记录模式、语音识别模式、广播接收模式等等模式下时,将无线通信单元110接收的或者在存储器160中存储的音频数据转换音频信号并且输出为声音。而且,音频输出模块152可以提供与移动终端100执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出模块152可以包括拾音器、蜂鸣器等等。
存储器160可以存储由控制器180执行的处理和控制操作的软件程序等等,或者可以暂时地存储己经输出或将要输出的数据(例如,电话簿、消息、静态图像、视频等等)。而且,存储器160可以存储关于当触摸施加到触摸屏时输出的一种或多种方式的振动和音频信号的数据。
存储器160可以包括至少一种类型的存储介质,所述存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘等等。而且,移动终端100可以与通过网络连接执行存储器160的存储功能的网络存储装置协作。
控制器180通常控制移动终端的总体操作。例如,控制器180执行与语
音通话、数据通信、视频通话等等相关的控制和处理。另外,控制器180可以包括用于再现(或回放)多媒体数据的多媒体模块181,多媒体模块181可以构造在控制器180内,或者可以构造为与控制器180分离。控制器180可以执行模式识别处理,以将在触摸屏上执行的手写输入或者图片绘制输入识别为字符或图像。
电源单元190在控制器180的控制下接收外部电力或内部电力并且提供操作每个元件和组件所需的适当的电力。
这里描述的一种或多种实施方式可以以使用例如计算机软件、硬件或其任何组合的计算机可读介质来实施。对于硬件实施,这里描述的实施方式可以通过使用特定用途集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理装置(DSPD)、可编程逻辑装置(PLD)、现场可编程门阵列(FPGA)、处理器、控制器、微控制器、微处理器、被设计为执行这里描述的功能的电子单元中的至少一种来实施,在一些情况下,这样的实施方式可以在控制器180中实施。对于软件实施,诸如过程或功能的实施方式可以与允许执行至少一种功能或操作的单独的软件模块来实施。软件代码可以由以任何适当的编程语言编写的软件应用程序(或程序)来实施,软件代码可以存储在存储器160中并且由控制器180执行。
至此,已经按照其功能描述了移动终端。下面,为了简要起见,将描述诸如折叠型、直板型、摆动型、滑动型移动终端等等的多种类型的移动终端中的滑动型移动终端作为示例。因此,本申请能够应用于任何类型的移动终端,并且不限于滑动型移动终端。
参照图2,图2为图1中相机121的电气结构框图。
摄影镜头1211由用于形成被摄体像的多个光学镜头构成,为单焦点镜头或变焦镜头。摄影镜头1211在镜头驱动器1221的控制下能够在光轴方向上移动,镜头驱动器1221根据来自镜头驱动控制电路1222的控制信号,控制摄影镜头1211的焦点位置,在变焦镜头的情况下,也可控制焦点距离。镜头驱动控制电路1222按照来自微型计算机1217的控制命令进行镜头驱动器1221的驱动控制。
在摄影镜头1211的光轴上、由摄影镜头1211形成的被摄体像的位置附近配置有摄像元件1212。摄像元件1212用于对被摄体像摄像并取得摄像图像数据。在摄像元件1212上二维且呈矩阵状配置有构成每个像素的光电二极管。每个光电二极管产生与受光量对应的光电转换电流,该光电转换电流由与每个光电二极管连接的电容器进行电荷蓄积。每个像素的前表面配置有拜耳排列的RGB滤色器。
摄像元件1212与摄像电路1213连接,该摄像电路1213在摄像元件1212中进行电荷蓄积控制和图像信号读出控制,对该读出的图像信号(模拟图像信号)降低重置噪声后进行波形整形,进而进行增益提高等以成为适当的信号电平。
摄像电路1213与A/D转换器1214连接,该A/D转换器1214对模拟图像信号进行模数转换,向总线1227输出数字图像信号(以下称之为图像数据)。
总线1227是用于传送在相机的内部读出或生成的一种或多种数据的传送路径。在总线1227连接着上述A/D转换器1214,此外还连接着图像处理器1215、JPEG处理器1216、微型计算机1217、SDRAM(Synchronous Dynamic random access memory,同步动态随机存取内存)1218、存储器接口(以下称之为存储器I/F)1219、LCD(Liquid Crystal Display,液晶显示器)驱动器1220。
图像处理器1215对基于摄像元件1212的输出的图像数据进行OB相减处理、白平衡调整、颜色矩阵运算、伽马转换、色差信号处理、噪声去除处理、同时化处理、边缘处理等多种图像处理。JPEG处理器1216在将图像数据记录于记录介质1225时,按照JPEG压缩方式压缩从SDRAM1218读出的图像数据。此外,JPEG处理器1216为了进行图像再现显示而进行JPEG图像数据的解压缩。进行解压缩时,读出记录在记录介质1225中的文件,在JPEG处理器1216中实施了解压缩处理后,将解压缩的图像数据暂时存储于SDRAM1218中并在LCD1226上进行显示。另外,在本实施方式中,作为图像压缩解压缩方式采用的是JPEG方式,然而压缩解压缩方式不限于此,当然可以采用MPEG、TIFF、H.264等其他的压缩解压缩方式。
微型计算机1217发挥作为该相机整体的控制部的功能,统一控制相机的一种或多种处理序列。微型计算机1217连接着操作单元1223和闪存1224。
操作单元1223包括但不限于实体按键或者虚拟按键,该实体或虚拟按键可以为电源按钮、拍照键、编辑按键、动态图像按钮、再现按钮、菜单按钮、十字键、OK按钮、删除按钮、放大按钮等多种输入按钮和多种输入键等操作控件。检测这些操作控件的操作状态,将检测结果向微型计算机1217输出。此外,在作为显示器的LCD1226的前表面设有触摸面板,检测用户的触摸位置,将该触摸位置向微型计算机1217输出。微型计算机1217根据来自操作单元1223的操作位置的检测结果,执行与用户的操作对应的一种或多种处理序列。
闪存1224存储用于执行微型计算机1217的一种或多种处理序列的程序。微型计算机1217根据该程序进行相机整体的控制。此外,闪存1224存储相机的一种或多种调整值,微型计算机1217读出调整值,按照该调整值进行相机的控制。
SDRAM1218是用于对图像数据等进行暂时存储的可电改写的易失性存储器。该SDRAM1218暂时存储从A/D转换器1214输出的图像数据和在图像处理器1215、JPEG处理器1216等中进行了处理后的图像数据。
存储器接口1219与记录介质1225连接,进行将图像数据和附加在图像数据中的文件头等数据写入记录介质1225和从记录介质1225中读出的控制。记录介质1225例如为能够在相机主体上自由拆装的存储器卡等记录介质,然而不限于此,也可以是内置在相机主体中的硬盘等。
LCD驱动器1220与LCD1226连接,将由图像处理器1215处理后的图像数据存储于SDRAM1218,需要显示时,读取SDRAM1218存储的图像数据并在LCD1226上显示,或者,JPEG处理器1216压缩过的图像数据存储于SDRAM1218,在需要显示时,JPEG处理器1216读取SDRAM1218的压缩过的图像数据,再进行解压缩,将解压缩后的图像数据通过LCD1226进行显示。
LCD1226配置在相机主体的背面进行图像显示。该LCD1226可以采用LCD显示面板,然而不限于此,也可以采用有机EL等多种显示面板。
基于上述移动终端硬件结构以及相机的电气结构示意图,提出本申请的
显示视频文件的装置的实施例。
如图3所示,在本申请的显示视频文件的装置的第一实施例中,该显示视频文件的装置包括:
获取模块01,设置为当读取视频文件时,对所述视频文件进行解码,获取所述视频文件的关键帧数据。
本实施例中,当有视频文件加入到视频播放器中进行读取时,利用一种或多种视频解码技术对所述视频文件进行解码,去除原始视频数据中的冗余数据如非关键帧数据,获取所述视频文件的关键帧数据。其中,帧就是动画中最小单位的单幅影像画面,相当于电影胶片上的每一格镜头,在动画软件的时间轴上帧表现为一格或一个标记。关键帧相当于二维动画中的原画,是指角色或者物体运动或变化中的关键动作所处的那一帧。本实施例中获取的所述视频文件的关键帧数据为所述视频文件中的角色或者物体运动或变化中的关键动作所处的帧数据,能体现所述视频文件的主要内容。
提取模块02,设置为基于所述关键帧数据,按预设规则提取所述视频文件中的精彩视频片段。
获取到能体现出所述视频文件的主要内容的关键帧数据后,由于所述视频文件的关键帧数据包括了所述视频文件中的角色或者物体运动或变化中的关键动作,即包括了所述视频文件中的精彩视频内容,因此,可根据所述关键帧数据提取所述视频文件中的精彩视频片段。
在一种实施方式中,由于通常情况下视频文件中的精彩视频部分的场景、人物、动作等信息都比较丰富,相应的关键帧数据量也较大,因此,可根据所述关键帧数据的信息量大小来识别视频文件中的精彩视频部分。如可获取视频文件中信息量较大的关键帧数据,并将获取的若干关键帧数据进行编码、合成为所述视频文件的精彩视频片段,也可划分若干相同的时间段,获取关键帧数据的信息量之和较大的时间段,并从所述视频文件中提取该时间段对应的若干视频片段,将若干视频片段进行编码、合成为所述视频文件的精彩视频片段。比如,获取预设的单位时间段内关键帧数据的信息量,获取信息量之和大于预设阈值的单位时间段作为精彩时间段,提取所述视频文件中所
述精彩时间段所对应的视频片段,将提取的视频片段合成为精彩视频片段。
在另一种实施方式中,由于通常情况下视频文件中的精彩视频部分内容都起伏跌宕,前后图像的差异很大,因此,可根据相邻关键帧数据的信息量差异值大小来识别视频文件中的精彩视频部分。如可获取视频文件中信息量差异值较大的相邻关键帧数据,并将获取的若干关键帧数据进行编码、合成为所述视频文件的精彩视频片段,也可划分若干相同的时间段,获取相邻关键帧数据的信息量差异值之和较大的时间段,并从所述视频文件中提取该时间段对应的若干视频片段,将若干视频片段进行编码、合成为所述视频文件的精彩视频片段。
此外,由于通常情况下视频文件中的精彩视频部分一般位于中间或结尾,因此,还可获取视频文件中处于预设中间时间段或结尾时间段的关键帧数据,并将获取的若干关键帧数据进行编码、合成为所述视频文件的精彩视频片段;或者直接从所述视频文件中提取处于预设中间时间段或结尾时间段的视频片段,作为精彩视频片段。
显示模块03,设置为当接收到所述视频文件的显示指令时,显示播放的所述精彩视频片段。
根据所述关键帧数据提取所述视频文件中的精彩视频片段后,可建立所述精彩视频片段与所述视频文件之间的映射关系,将所述精彩视频片段与所述视频文件进行映射关联。这样,当需要显示所述视频文件时,可根据建立的所述映射关系调取与所述视频文件映射关联的精彩视频片段,并播放所述精彩视频片段,以利用播放的所述精彩视频片段来显示所述视频文件。用户根据播放的所述精彩视频片段即可获知所述视频文件的精彩视频内容,从而很快可以确定是否需要观看所述视频文件的全部视频内容,达到在显示所述视频文件时通过播放的所述视频文件的精彩视频片段来更好地引导用户选择观看视频的目的。
本实施例中在读取视频文件时,基于对所述视频文件进行解码获取的关键帧数据来提取所述视频文件中的精彩视频片段;当接收到所述视频文件的显示指令时,显示播放的所述精彩视频片段。由于在呈现视频文件时能通过以播放该视频文件的精彩视频片段的形式来显示视频文件,相比静态的视频
缩略图能为用户提供更多该视频文件的相关信息,供用户根据显示该视频文件时播放的精彩视频片段来选择是否需要观看该视频文件,以更好地引导用户选择观看喜爱的视频。
进一步地,在其他实施例中,上述提取模块02还可以设置为:
生成每一关键帧数据的直方图;计算相邻关键帧数据的直方图之间的图像信息差异值;获取预设的单位时间段内相邻关键帧数据的直方图之间的累计图像信息差异值;获取累计图像信息差异值大于预设第一差异阈值的单位时间段作为精彩时间段,提取所述视频文件中所述精彩时间段所对应的视频片段,将提取的视频片段合成为精彩视频片段。
本实施例中,在对所述视频文件进行解码获取所述视频文件的关键帧数据后,可生成每一张关键帧数据的直方图,并计算相邻关键帧数据的直方图之间的图像信息差异值。其中,该图像信息差异值可通过相邻关键帧数据的直方图的分布和面积来确定。将所述视频文件的关键帧数据划分至若干单位时间段内,如该单位时间段的长短可设定为10s,该单位时间段内包含10s内的所有关键帧数据。获取每一单位时间段内相邻关键帧数据的直方图之间的累计图像信息差异值,如当单位时间段的长短为10s,每一秒有一个关键帧时,该单位时间段内按顺序依次有直方图1、直方图2……直方图10,则该单位时间段内相邻关键帧数据的直方图之间的累计图像信息差异值=(直方图2-直方图1)+(直方图3-直方图2)+……+(直方图10-直方图9)。
由于通常情况下视频文件中的精彩视频部分内容都起伏跌宕,前后图像的差异很大,因此,累计图像信息差异值越大的单位时间段所对应的视频片段为视频文件中精彩视频的可能性也越大。本实施例中,可预先设定第一差异阈值,若某一单位时间段的累计图像信息差异值大于预设第一差异阈值,则识别该单位时间段所对应的视频片段为视频文件中的精彩视频。可获取累计图像信息差异值大于预设第一差异阈值的若干单位时间段作为精彩时间段,并在所述视频文件中提取若干精彩时间段所对应的若干视频片段,将提取的若干视频片段进行编码合成为一个精彩视频片段。
进一步地,在其他实施例中,上述获取模块01还可以设置为:
当读取视频文件时,对所述视频文件进行解码,获取所述视频文件的音频数据;
上述提取模块02还可以设置为:
生成每秒音频数据对应的波形图;计算相邻音频数据的波形图之间的音频信息差异值;获取预设的单位时间段内相邻音频数据的波形图之间的累计音频信息差异值;获取所述累计图像信息差异值和所述累计音频信息差异值中至少一项大于预设第二差异阈值的单位时间段作为精彩时间段,提取所述视频文件中所述精彩时间段对应的视频片段,将提取的视频片段合成为精彩视频片段。
本实施例中,若所述视频文件包含音频,则在对所述视频文件进行解码获取所述视频文件的关键帧数据的同时,还获取所述视频文件的音频数据,可生成每秒音频数据对应的波形图,并计算相邻音频数据的波形图之间的音频信息差异值。其中,该音频信息差异值可根据相邻音频数据的波形图做差值运算。将所述视频文件的音频数据划分至若干单位时间段内,如该单位时间段的长短可设定为10s,该单位时间段内包含10s内的所有音频数据。获取每一单位时间段内相邻音频数据的波形图之间的累计音频信息差异值,如当单位时间段的长短为10s,该单位时间段内按顺序依次有波形图1、波形图2……波形图10,则该单位时间段内相邻音频数据的波形图之间的累计音频信息差异值=(波形图2-波形图1)+(波形图3-波形图2)+……+(波形图10-波形图9)。
由于通常情况下视频文件中的精彩视频部分内容起伏跌宕,前后音频的波形波动也比较大,因此,累计音频信息差异值越大的单位时间段所对应的视频片段为视频文件中精彩视频的可能性也越大。本实施例中,在同时考虑累计图像信息差异值及累计音频信息差异值的情况下,可预先设定第二差异阈值,若某一单位时间段的累计图像信息差异值或累计音频信息差异值大于预设第二差异阈值,则识别该单位时间段所对应的视频片段为视频文件中精彩视频。可获取累计图像信息差异值或累计音频信息差异值大于预设第二差异阈值的若干单位时间段作为精彩时间段,并在所述视频文件中提取若干精彩时间段所对应的若干视频片段,将提取的若干视频片段进行编码合成为一
个精彩视频片段。
本实施例中由于同时考虑了前后图像差异很大和音频波动较大这两个因素来确定视频文件中的精彩视频,能更加准确地提取所述视频文件中的精彩视频,从而提供视频文件中更准确的精彩视频来引导用户选择观看喜爱的视频。
进一步地,在其他实施例中,可将所述视频文件的关键帧数据和音频数据分别划分为10个相同的时间段,标记为1、2……10,在关键帧数据和音频数据的每一时间段上方分别标注该时间段对应的累计图像信息差异值和累计音频信息差异值,如关键帧数据的时间段1对应的累计图像信息差异值为50,音频数据的时间段1对应的累计音频信息差异值为30等。预先设定第二差异阈值为50,若某一单位时间段的累计图像信息差异值或累计音频信息差异值大于预设第二差异阈值50,则识别该单位时间段所对应的视频片段为视频文件中精彩视频。本实施例中,累计图像信息差异值或累计音频信息差异值大于预设第二差异阈值50的有时间段1、时间段4、时间段5、时间段8和时间段10,则将时间段1、时间段4、时间段5、时间段8和时间段10作为精彩时间段,并在所述视频文件中提取时间段1、时间段4、时间段5、时间段8和时间段10所对应的5个视频片段,将提取的5个视频片段进行编码合成为一个精彩视频片段。
如图4所示,本申请的第二实施例提出一种显示视频文件的装置,在上述实施例的基础上,显示视频文件的装置还包括:
播放模块04,设置为当接收到对播放的所述精彩视频片段的点击指令时,播放所述视频文件。
本实施例中在利用播放的所述精彩视频片段来显示所述视频文件时,若接收到对播放的所述精彩视频片段的点击指令,则判断出用户需要观看所述视频文件的全部视频内容,则播放所述视频文件,以使用户能根据显示该视频文件时播放的精彩视频片段来选择是否需要观看该视频文件,并能在用户需要观看该视频文件时,播放所述视频文件的全部视频内容。
本申请进一步提供一种显示视频文件的方法,参照图5,在本申请的显
示视频文件的方法的第一实施例中,该显示视频文件的方法包括:
步骤S10,当读取视频文件时,对所述视频文件进行解码,获取所述视频文件的关键帧数据。
本实施例中,当有视频文件加入到视频播放器中进行读取时,利用一种或多种视频解码技术对所述视频文件进行解码,去除原始视频数据中的冗余数据如非关键帧数据,获取所述视频文件的关键帧数据。其中,帧就是动画中最小单位的单幅影像画面,相当于电影胶片上的每一格镜头,在动画软件的时间轴上帧表现为一格或一个标记。关键帧相当于二维动画中的原画,是指角色或者物体运动或变化中的关键动作所处的那一帧。本实施例中获取的所述视频文件的关键帧数据为所述视频文件中的角色或者物体运动或变化中的关键动作所处的帧数据,能体现所述视频文件的主要内容。
步骤S20,基于所述关键帧数据,按预设规则提取所述视频文件中的精彩视频片段。
获取到能体现出所述视频文件的主要内容的关键帧数据后,由于所述视频文件的关键帧数据包括了所述视频文件中的角色或者物体运动或变化中的关键动作,即包括了所述视频文件中的精彩视频内容,因此,可根据所述关键帧数据提取所述视频文件中的精彩视频片段。
在一种实施方式中,由于通常情况下视频文件中的精彩视频部分的场景、人物、动作等信息都比较丰富,相应的关键帧数据量也较大,因此,可根据所述关键帧数据的信息量大小来识别视频文件中的精彩视频部分。如可获取视频文件中信息量较大的关键帧数据,并将获取的若干关键帧数据进行编码、合成为所述视频文件的精彩视频片段,也可划分若干相同的时间段,获取关键帧数据的信息量之和较大的时间段,并从所述视频文件中提取该时间段对应的若干视频片段,将若干视频片段进行编码、合成为所述视频文件的精彩视频片段。比如,获取预设的单位时间段内关键帧数据的信息量,获取信息量之和大于预设阈值的单位时间段作为精彩时间段,提取所述视频文件中所述精彩时间段所对应的视频片段,将提取的视频片段合成为精彩视频片段。
在另一种实施方式中,由于通常情况下视频文件中的精彩视频部分内容
都起伏跌宕,前后图像的差异很大,因此,可根据相邻关键帧数据的信息量差异值大小来识别视频文件中的精彩视频部分。如可获取视频文件中信息量差异值较大的相邻关键帧数据,并将获取的若干关键帧数据进行编码、合成为所述视频文件的精彩视频片段,也可划分若干相同的时间段,获取相邻关键帧数据的信息量差异值之和较大的时间段,并从所述视频文件中提取该时间段对应的若干视频片段,将若干视频片段进行编码、合成为所述视频文件的精彩视频片段。
此外,由于通常情况下视频文件中的精彩视频部分一般位于中间或结尾,因此,还可获取视频文件中处于预设中间时间段或结尾时间段的关键帧数据,并将获取的若干关键帧数据进行编码、合成为所述视频文件的精彩视频片段;或者直接从所述视频文件中提取处于预设中间时间段或结尾时间段的视频片段,作为精彩视频片段。
步骤S30,当接收到所述视频文件的显示指令时,显示播放的所述精彩视频片段。
根据所述关键帧数据提取所述视频文件中的精彩视频片段后,可建立所述精彩视频片段与所述视频文件之间的映射关系,将所述精彩视频片段与所述视频文件进行映射关联。这样,当需要显示所述视频文件时,可根据建立的所述映射关系调取与所述视频文件映射关联的精彩视频片段,并播放所述精彩视频片段,以利用播放的所述精彩视频片段来显示所述视频文件。用户根据播放的所述精彩视频片段即可获知所述视频文件的精彩视频内容,从而很快可以确定是否需要观看所述视频文件的全部视频内容,达到在显示所述视频文件时通过播放的所述视频文件的精彩视频片段来更好地引导用户选择观看视频的目的。
本实施例中在读取视频文件时,基于对所述视频文件进行解码获取的关键帧数据来提取所述视频文件中的精彩视频片段;当接收到所述视频文件的显示指令时,显示播放的所述精彩视频片段。由于在呈现视频文件时能通过以播放该视频文件的精彩视频片段的形式来显示视频文件,相比静态的视频缩略图能为用户提供更多该视频文件的相关信息,供用户根据显示该视频文件时播放的精彩视频片段来选择是否需要观看该视频文件,以更好地引导用
户选择观看喜爱的视频。
进一步地,在其他实施例中,上述步骤S20可以包括:
生成每一关键帧数据的直方图;
计算相邻关键帧数据的直方图之间的图像信息差异值;
获取预设的单位时间段内相邻关键帧数据的直方图之间的累计图像信息差异值;
获取累计图像信息差异值大于预设第一差异阈值的单位时间段作为精彩时间段,提取所述视频文件中所述精彩时间段所对应的视频片段,将提取的视频片段合成为精彩视频片段。
本实施例中,在对所述视频文件进行解码获取所述视频文件的关键帧数据后,可生成每一张关键帧数据的直方图,并计算相邻关键帧数据的直方图之间的图像信息差异值。其中,该图像信息差异值可通过相邻关键帧数据的直方图的分布和面积来确定。将所述视频文件的关键帧数据划分至若干单位时间段内,如该单位时间段的长短可设定为10s,该单位时间段内包含10s内的所有关键帧数据。获取每一单位时间段内相邻关键帧数据的直方图之间的累计图像信息差异值,如当单位时间段的长短为10s,每一秒有一个关键帧时,该单位时间段内按顺序依次有直方图1、直方图2……直方图10,则该单位时间段内相邻关键帧数据的直方图之间的累计图像信息差异值=(直方图2-直方图1)+(直方图3-直方图2)+……+(直方图10-直方图9)。
由于通常情况下视频文件中的精彩视频部分内容都起伏跌宕,前后图像的差异很大,因此,累计图像信息差异值越大的单位时间段所对应的视频片段为视频文件中精彩视频的可能性也越大。本实施例中,可预先设定第一差异阈值,若某一单位时间段的累计图像信息差异值大于预设第一差异阈值,则识别该单位时间段所对应的视频片段为视频文件中的精彩视频。可获取累计图像信息差异值大于预设第一差异阈值的若干单位时间段作为精彩时间段,并在所述视频文件中提取若干精彩时间段所对应的若干视频片段,将提取的若干视频片段进行编码合成为一个精彩视频片段。
进一步地,在其他实施例中,上述步骤S10可以包括:
当读取视频文件时,对所述视频文件进行解码,获取所述视频文件的音频数据;
上述步骤S20可以包括:
生成每秒音频数据对应的波形图;
计算相邻音频数据的波形图之间的音频信息差异值;
获取预设的单位时间段内相邻音频数据的波形图之间的累计音频信息差异值;
获取所述累计图像信息差异值和所述累计音频信息差异值中至少一项大于预设第二差异阈值的单位时间段作为精彩时间段,提取所述视频文件中所述精彩时间段对应的视频片段,将提取的视频片段合成为精彩视频片段。
本实施例中,若所述视频文件包含音频,则在对所述视频文件进行解码获取所述视频文件的关键帧数据的同时,还获取所述视频文件的音频数据,可生成每秒音频数据对应的波形图,并计算相邻音频数据的波形图之间的音频信息差异值。其中,该音频信息差异值可根据相邻音频数据的波形图做差值运算。将所述视频文件的音频数据划分至若干单位时间段内,如该单位时间段的长短可设定为10s,该单位时间段内包含10s内的所有音频数据。获取每一单位时间段内相邻音频数据的波形图之间的累计音频信息差异值,如当单位时间段的长短为10s,该单位时间段内按顺序依次有波形图1、波形图2……波形图10,则该单位时间段内相邻音频数据的波形图之间的累计音频信息差异值=(波形图2-波形图1)+(波形图3-波形图2)+……+(波形图10-波形图9)。
由于通常情况下视频文件中的精彩视频部分内容起伏跌宕,前后音频的波形波动也比较大,因此,累计音频信息差异值越大的单位时间段所对应的视频片段为视频文件中精彩视频的可能性也越大。本实施例中,在同时考虑累计图像信息差异值及累计音频信息差异值的情况下,可预先设定第二差异阈值,若某一单位时间段的累计图像信息差异值或累计音频信息差异值大于预设第二差异阈值,则识别该单位时间段所对应的视频片段为视频文件中精彩视频。可获取累计图像信息差异值或累计音频信息差异值大于预设第二差
异阈值的若干单位时间段作为精彩时间段,并在所述视频文件中提取若干精彩时间段所对应的若干视频片段,将提取的若干视频片段进行编码合成为一个精彩视频片段。
本实施例中由于同时考虑了前后图像差异很大或音频波动较大这两个因素来确定视频文件中的精彩视频,能更加准确地提取所述视频文件中的精彩视频,从而提供视频文件中更准确的精彩视频来引导用户选择观看喜爱的视频。
如图6所示,图6为本申请的显示视频文件的方法的第一实施例中获取所述视频文件中精彩时间段的示意图。
本实施例中,将所述视频文件的关键帧数据和音频数据分别划分为10个相同的时间段,标记为1、2……10,在关键帧数据和音频数据的每一时间段上方分别标注该时间段对应的累计图像信息差异值和累计音频信息差异值,如图6中关键帧数据的时间段1对应的累计图像信息差异值为30,音频数据的时间段1对应的累计音频信息差异值为50等。预先设定第二差异阈值为50,若某一单位时间段的累计图像信息差异值或累计音频信息差异值大于预设第二差异阈值50,则识别该单位时间段所对应的视频片段为视频文件中精彩视频。本实施例中,累计图像信息差异值或累计音频信息差异值大于预设第二差异阈值50的有时间段1、时间段4、时间段5、时间段8和时间段10,则将时间段1、时间段4、时间段5、时间段8和时间段10作为精彩时间段,并在所述视频文件中提取时间段1、时间段4、时间段5、时间段8和时间段10所对应的5个视频片段,将提取的5个视频片段进行编码合成为一个精彩视频片段。
如图7所示,本申请的第二实施例提出一种显示视频文件的方法,在上述实施例的基础上,在上述步骤S30之后还包括:
步骤S40,当接收到对播放的所述精彩视频片段的点击指令时,播放所述视频文件。
本实施例中在利用播放的所述精彩视频片段来显示所述视频文件时,若接收到对播放的所述精彩视频片段的点击指令,则判断用户需要观看所述视
频文件的全部视频内容,则播放所述视频文件,以使用户能根据显示该视频文件时播放的精彩视频片段来选择是否需要观看该视频文件,并能在用户需要观看该视频文件时,播放所述视频文件的全部视频内容。
此外,本发明实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令处理器执行时实现上述的显示视频文件的方法。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统、装置中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理单元的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些组件或所有组件可以被实施为由处理器,如数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他
传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。
以上仅为本申请的示例性实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。
本申请实施例提供一种显示视频文件的装置及方法,在呈现视频文件时能通过以播放该视频文件的精彩视频片段的形式来显示视频文件,相比静态的视频缩略图能为用户提供更多该视频文件的相关信息,供用户根据显示该视频文件时播放的精彩视频片段来选择是否需要观看该视频文件,以更好地引导用户选择观看喜爱的视频。
Claims (20)
- 一种显示视频文件的装置,包括:获取模块(01),设置为当读取视频文件时,对所述视频文件进行解码,获取所述视频文件的关键帧数据;提取模块(02),设置为基于所述关键帧数据,按预设规则提取所述视频文件中的精彩视频片段;显示模块(03),设置为当接收到所述视频文件的显示指令时,显示播放的所述精彩视频片段。
- 如权利要求1所述的显示视频文件的装置,其中,所述提取模块(02)设置为:根据相邻关键帧数据的信息量差异值,提取所述视频文件中的精彩视频片段。
- 如权利要求2所述的显示视频文件的装置,其中,所述提取模块(02)设置为:生成每一关键帧数据的直方图;计算相邻关键帧数据的直方图之间的图像信息差异值;获取预设的单位时间段内相邻关键帧数据的直方图之间的累计图像信息差异值;获取累计图像信息差异值大于预设第一差异阈值的单位时间段作为精彩时间段,提取所述视频文件中所述精彩时间段所对应的视频片段,将提取的视频片段合成为精彩视频片段。
- 如权利要求3所述的显示视频文件的装置,其中,所述获取模块(01)还设置为:当读取视频文件时,对所述视频文件进行解码,获取所述视频文件的音频数据;所述提取模块(02)还设置为:生成每秒音频数据对应的波形图;计算相邻音频数据的波形图之间的音频信息差异值;获取预设的单位时间段内相邻音频数据的波形图之间的累计音频信息差异值;获取所述累计图像信息差异值和所述累计音频信息差异值中至少一项大于预设第二差异阈值的单位时间段作为精彩时间段,提取所述视频文件中所述精彩时间段对应的视频片段,将提取的视频片段合成为精彩视频片段。
- 如权利要求1所述的显示视频文件的装置,其中,所述显示模块(03) 设置为:建立所述精彩视频片段与所述视频文件之间的映射关系;当接收到所述视频文件的显示指令时,根据所述映射关系调取所述精彩视频片段,并播放所述精彩视频片段以显示所述视频文件。
- 如权利要求1所述的显示视频文件的装置,所述显示视频文件的装置还包括:播放模块(04),设置为当接收到对播放的所述精彩视频片段的点击指令时,播放所述视频文件。
- 如权利要求1所述的显示视频文件的装置,其中,所述提取模块(02)设置为:根据所述关键帧数据的信息量,提取所述视频文件中的精彩视频片段。
- 如权利要求7所述的显示视频文件的装置,其中,所述提取模块(02)设置为:获取预设的单位时间段内关键帧数据的信息量,获取信息量之和大于预设阈值的单位时间段作为精彩时间段,提取所述视频文件中所述精彩时间段所对应的视频片段,将提取的视频片段合成为精彩视频片段。
- 如权利要求1所述的显示视频文件的装置,其中,所述提取模块(02)设置为:根据所述视频文件中处于预设中间时间段或结尾时间段的关键帧数据,提取所述视频文件中的精彩视频片段。
- 如权利要求1所述的显示视频文件的装置,其中,所述获取的视频文件的关键帧数据包括:所述视频文件中的角色或者物体运动或变化中的关键动作所处的帧数据。
- 一种显示视频文件的方法,包括以下步骤:当读取视频文件时,对所述视频文件进行解码,获取所述视频文件的关键帧数据;基于所述关键帧数据,按预设规则提取所述视频文件中的精彩视频片段;当接收到所述视频文件的显示指令时,显示播放的所述精彩视频片段。
- 如权利要求11所述的显示视频文件的方法,其中,所述基于所述关键帧数据,按预设规则提取所述视频文件中的精彩视频片段的步骤包括:根据相邻关键帧数据的信息量差异值,提取所述视频文件中的精彩视频片段。
- 如权利要求12所述的显示视频文件的方法,其中,所述基于所述关键帧数据,按预设规则提取所述视频文件中的精彩视频片段的步骤包括:生成每一关键帧数据的直方图;计算相邻关键帧数据的直方图之间的图像信息差异值;获取预设的单位时间段内相邻关键帧数据的直方图之间的累计图像信息差异值;获取累计图像信息差异值大于预设第一差异阈值的单位时间段作为精彩时间段,提取所述视频文件中所述精彩时间段所对应的视频片段,将提取的视频片段合成为精彩视频片段。
- 如权利要求13所述的显示视频文件的方法,其中,所述当读取视频文件时,对所述视频文件进行解码,获取所述视频文件的关键帧数据的步骤还包括:当读取视频文件时,对所述视频文件进行解码,获取所述视频文件的音频数据;所述基于所述关键帧数据,按预设规则提取所述视频文件中的精彩视频片段的步骤还包括:生成每秒音频数据对应的波形图;计算相邻音频数据的波形图之间的音频信息差异值;获取预设的单位时间段内相邻音频数据的波形图之间的累计音频信息差异值;获取所述累计图像信息差异值和所述累计音频信息差异值中至少一项大于预设第二差异阈值的单位时间段作为精彩时间段,提取所述视频文件中所述精彩时间段对应的视频片段,将提取的视频片段合成为精彩视频片段。
- 如权利要求11所述的显示视频文件的方法,其中,所述当接收到所述视频文件的显示指令时,显示播放的所述精彩视频片段的步骤包括:建立所述精彩视频片段与所述视频文件之间的映射关系;当接收到所述视频文件的显示指令时,根据所述映射关系调取所述精彩视频片段,并播放所述精彩视频片段以显示所述视频文件。
- 如权利要求11所述的显示视频文件的方法,所述当接收到所述视频文件的显示指令时,显示播放的所述精彩视频片段的步骤之后,所述显示视频文件的方法还包括:当接收到对播放的所述精彩视频片段的点击指令时,播放所述视频文件。
- 如权利要求11所述的显示视频文件的方法,其中,所述基于所述关键帧数据,按预设规则提取所述视频文件中的精彩视频片段的步骤,包括:根据所述关键帧数据的信息量,提取所述视频文件中的精彩视频片段。
- 如权利要求17所述的显示视频文件的方法,其中,所述根据所述关键帧数据的信息量,提取所述视频文件中的精彩视频片段的步骤,包括:获取预设的单位时间段内关键帧数据的信息量,获取信息量之和大于预设阈值的单位时间段作为精彩时间段,提取所述视频文件中所述精彩时间段所对应的视频片段,将提取的视频片段合成为精彩视频片段。
- 如权利要求11所述的显示视频文件的方法,其中,所述基于所述关键帧数据,按预设规则提取所述视频文件中的精彩视频片段的步骤,包括:根据所述视频文件中处于预设中间时间段或结尾时间段的关键帧数据,提取所述视频文件中的精彩视频片段。
- 如权利要求11所述的显示视频文件的方法,其中,所述获取的视频文件的关键帧数据包括:所述视频文件中的角色或者物体运动或变化中的关键动作所处的帧数据。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610004162.1 | 2016-01-04 | ||
| CN201610004162.1A CN105681894A (zh) | 2016-01-04 | 2016-01-04 | 显示视频文件的装置及方法 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2017118353A1 true WO2017118353A1 (zh) | 2017-07-13 |
Family
ID=56298917
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2016/113751 Ceased WO2017118353A1 (zh) | 2016-01-04 | 2016-12-30 | 显示视频文件的装置及方法 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN105681894A (zh) |
| WO (1) | WO2017118353A1 (zh) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111246244A (zh) * | 2020-02-04 | 2020-06-05 | 北京贝思科技术有限公司 | 集群内快速分析处理音视频的方法、装置及电子设备 |
| CN112347941A (zh) * | 2020-11-09 | 2021-02-09 | 南京紫金体育产业股份有限公司 | 基于5g mec的运动视频集锦智能生成和分发方法 |
| CN115052188A (zh) * | 2022-05-09 | 2022-09-13 | 北京有竹居网络技术有限公司 | 一种视频剪辑方法、装置、设备及介质 |
Families Citing this family (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105681894A (zh) * | 2016-01-04 | 2016-06-15 | 努比亚技术有限公司 | 显示视频文件的装置及方法 |
| CN106792272A (zh) * | 2016-11-28 | 2017-05-31 | 维沃移动通信有限公司 | 一种视频缩略图的生成方法及移动终端 |
| CN110798735B (zh) * | 2019-08-28 | 2022-11-18 | 腾讯科技(深圳)有限公司 | 视频处理方法、装置及电子设备 |
| CN113382287B (zh) * | 2020-03-09 | 2023-06-09 | 阿里巴巴集团控股有限公司 | 媒体文件的播放方法及装置和系统 |
| CN113225596B (zh) * | 2021-04-28 | 2022-11-01 | 百度在线网络技术(北京)有限公司 | 视频处理方法、装置、电子设备和存储介质 |
| CN113691864A (zh) * | 2021-07-13 | 2021-11-23 | 北京百度网讯科技有限公司 | 视频剪辑方法、装置、电子设备和可读存储介质 |
| CN114168095B (zh) * | 2021-11-30 | 2025-03-21 | 维沃移动通信有限公司 | 消息显示方法、装置和电子设备 |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101599179A (zh) * | 2009-07-17 | 2009-12-09 | 北京邮电大学 | 场地运动精彩镜头集锦自动生成方法 |
| CN102316370A (zh) * | 2010-06-29 | 2012-01-11 | 腾讯科技(深圳)有限公司 | 显示播放信息的方法和装置 |
| US20120163761A1 (en) * | 2010-12-27 | 2012-06-28 | Sony Corporation | Image processing device, image processing method, and program |
| CN104780417A (zh) * | 2015-03-20 | 2015-07-15 | 广东欧珀移动通信有限公司 | 一种预览视频文件的展示方法及移动终端和系统 |
| CN104951742A (zh) * | 2015-03-02 | 2015-09-30 | 北京奇艺世纪科技有限公司 | 敏感视频的检测方法和系统 |
| CN105681894A (zh) * | 2016-01-04 | 2016-06-15 | 努比亚技术有限公司 | 显示视频文件的装置及方法 |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101227590B (zh) * | 2007-01-19 | 2013-03-06 | 北京风行在线技术有限公司 | 基于p2p协议的媒体文件点播控制方法及装置 |
| CN102196001B (zh) * | 2010-03-15 | 2014-03-19 | 腾讯科技(深圳)有限公司 | 一种影片文件下载装置及方法 |
-
2016
- 2016-01-04 CN CN201610004162.1A patent/CN105681894A/zh active Pending
- 2016-12-30 WO PCT/CN2016/113751 patent/WO2017118353A1/zh not_active Ceased
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101599179A (zh) * | 2009-07-17 | 2009-12-09 | 北京邮电大学 | 场地运动精彩镜头集锦自动生成方法 |
| CN102316370A (zh) * | 2010-06-29 | 2012-01-11 | 腾讯科技(深圳)有限公司 | 显示播放信息的方法和装置 |
| US20120163761A1 (en) * | 2010-12-27 | 2012-06-28 | Sony Corporation | Image processing device, image processing method, and program |
| CN104951742A (zh) * | 2015-03-02 | 2015-09-30 | 北京奇艺世纪科技有限公司 | 敏感视频的检测方法和系统 |
| CN104780417A (zh) * | 2015-03-20 | 2015-07-15 | 广东欧珀移动通信有限公司 | 一种预览视频文件的展示方法及移动终端和系统 |
| CN105681894A (zh) * | 2016-01-04 | 2016-06-15 | 努比亚技术有限公司 | 显示视频文件的装置及方法 |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111246244A (zh) * | 2020-02-04 | 2020-06-05 | 北京贝思科技术有限公司 | 集群内快速分析处理音视频的方法、装置及电子设备 |
| CN111246244B (zh) * | 2020-02-04 | 2023-05-23 | 北京贝思科技术有限公司 | 集群内快速分析处理音视频的方法、装置及电子设备 |
| CN112347941A (zh) * | 2020-11-09 | 2021-02-09 | 南京紫金体育产业股份有限公司 | 基于5g mec的运动视频集锦智能生成和分发方法 |
| CN112347941B (zh) * | 2020-11-09 | 2021-06-08 | 南京紫金体育产业股份有限公司 | 基于5g mec的运动视频集锦智能生成和分发方法 |
| CN115052188A (zh) * | 2022-05-09 | 2022-09-13 | 北京有竹居网络技术有限公司 | 一种视频剪辑方法、装置、设备及介质 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN105681894A (zh) | 2016-06-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN105430295B (zh) | 图像处理装置及方法 | |
| US9742995B2 (en) | Receiver-controlled panoramic view video share | |
| WO2017054704A1 (zh) | 生成视频图片的方法及装置 | |
| KR102314594B1 (ko) | 이미지 디스플레이 방법 및 전자 장치 | |
| US20130040700A1 (en) | Image capture device and image capture method | |
| US20200402542A1 (en) | Recording and playing video using orientation of device | |
| CN104902185B (zh) | 拍摄方法及装置 | |
| KR20170013102A (ko) | 동영상 안정화 방법 및 이를 위한 전자 장치 | |
| WO2017124899A1 (zh) | 一种信息处理方法及装置、电子设备 | |
| JP2013048361A (ja) | 携帯機器 | |
| CN105513021B (zh) | 图像去噪装置和方法 | |
| CN102611835B (zh) | 数字拍摄设备及其控制方法 | |
| KR20150083636A (ko) | 전자 장치에서 이미지 운영 방법 및 장치 | |
| WO2018059206A1 (zh) | 终端、获取视频的方法及存储介质 | |
| CN105578056A (zh) | 拍摄的终端及方法 | |
| CN105681894A (zh) | 显示视频文件的装置及方法 | |
| US20130335594A1 (en) | Enhancing captured data | |
| WO2017054677A1 (zh) | 移动终端拍摄系统和移动终端拍摄方法 | |
| WO2017088662A1 (zh) | 对焦方法和装置 | |
| CN104967772B (zh) | 拍照方法和装置 | |
| WO2024067073A1 (zh) | 一种图片拍摄与分享方法及电子设备 | |
| WO2017114088A1 (zh) | 一种自动白平衡方法及装置、终端、存储介质 | |
| WO2018076941A1 (zh) | 一种实现全景拍摄的方法及装置 | |
| CN113095163B (zh) | 视频处理方法、装置、电子设备和存储介质 | |
| US8928764B2 (en) | Method and device for correcting user's hand tremor in imaging device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16883478 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: 16883478 Country of ref document: EP Kind code of ref document: A1 |