Unlock instant, AI-driven research and patent intelligence for your innovation.

A method and device for playing audio and video

A technology for audio and video playback, audio and video, applied in image communication, selective content distribution, electrical components, etc. Effect

Active Publication Date: 2017-11-21
FUJIAN STAR NET EVIDEO INFORMATION SYST CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] For this reason, it is necessary to provide a method and device for playing audio and video, so as to solve the problems of occupying a lot of space for playing encrypted video on Android and a large workload of playing encrypted video while decrypting

Method used

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

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method and device for playing audio and video
  • A method and device for playing audio and video

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] In order to explain in detail the technical content, structural features, achieved goals and effects of the technical solution, the following will be described in detail in conjunction with specific embodiments and accompanying drawings.

[0038] see figure 1 , this embodiment provides a method for playing audio and video, which can be applied to electronic devices storing encrypted audio and video. The common forms of electronic devices can be mobile terminals (such as tablets, mobile phones, MIDs, etc.) or computers. Installed with an operating system, such as Android system, Apple system or Microsoft system, etc., when the user wants to watch the encrypted audio and video stored on the electronic device, the user first triggers a playback request through the input module of the electronic device, and then the electronic device responds to the playback request Start reading and playing encrypted audio and video.

[0039] First, step S101 is performed to read the encr...

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

PUM

No PUM Login to View More

Abstract

The invention provides an audio / video playing method and device. The audio / video playing method comprises the following steps that an encrypted audio / video is read, a decryption library corresponding to the encrypted audio / video is called to decrypt the encrypted audio / video, a decrypted data package is used as a resource of a streaming media service side, and a player is called and loads the URL address of the resource of the streaming media service side to play the audio / video. By the adoption of the audio / video playing method and device, the mode that the encrypted audio / video is decrypted and transmitted at the same time through the decryption library is adopted, and the situation that because the audio / video is fully encrypted, a large space and a great number of resources of a processor are occupied is avoided; in addition, the decrypted data package is transmitted to the player to be played through the media streaming service side; due to the fact that all existing players support steaming media, the players do not need to be changed, and the encrypted video can be easily and rapidly played.

Description

technical field [0001] The invention relates to the technical field of audio and video playback, in particular to an audio and video playback method and device. Background technique [0002] Playing audio and video under Android is generally played through the MediaPlayer interface provided by the SDK. The MediaPlayer interface is simple and easy to use. After calling the setDataSource and the prepare interface, it can be played. The rest are just parameters to control playback, pause, volume, etc. This is an extremely convenient interface for playing ordinary audio and video, but in some special scenarios, problems arise when encrypted audio and video need to be played. Playing encrypted video needs to complete the decryption work before the audio and video data is sent to the decoder. One way is to decrypt the audio and video files in advance and store a temporary decrypted audio and video file. SetDataSource uses this file during playback, so that it can be played normal...

Claims

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

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L29/06H04N21/858H04N21/81H04N21/44
Inventor 郑远林剑宇
Owner FUJIAN STAR NET EVIDEO INFORMATION SYST CO LTD