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

Method and device for processing video

A processing method and technology of a processing device, which are applied in the field of video processing, can solve the problems of inability to parse m3u8 format, unable to play media files, not supporting audio and video file formats, etc., and achieve the effect of saving storage space.

Inactive Publication Date: 2014-01-01
TVMINING BEIJING MEDIA TECH
View PDF8 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] With the development of technology, various audio and video formats and related resources emerge in an endless stream to meet people's entertainment and life needs. However, it is difficult for the current playback platform to cover all formats of audio and video file formats. On some operating systems A certain audio and video file format may not be supported. For example, m3u8 is an index file (playlist) format, and the index file contains a series of media files in TS (Transport Stream, transport stream) format. Android3.0 operation The system itself cannot parse the m3u8 format, so the media file cannot be played
[0003] Currently, FFmpeg (an open source and free cross-platform video and audio streaming solution) tool can be used for format conversion. However, FFmpeg relies on hardware devices, such as CPU (Central Processing Unit, central processing unit), etc., and the converted files are relatively large. Large, increasing the storage pressure

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
  • Method and device for processing video
  • Method and device for processing video
  • Method and device for processing video

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049] The preferred embodiments of the present invention will be described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described here are only used to illustrate and explain the present invention, and are not intended to limit the present invention.

[0050] Currently, FFmpeg tools can be used for format conversion, but FFmpeg relies on hardware devices and the converted files are large, which increases storage pressure. In the technical solution provided by the embodiments of the present invention, by obtaining the index file of the first video stream, the video fragment files are downloaded according to the playback sequence and download address of the video fragment files in the index file, and the video fragment files are parsed to obtain video frame data and audio frames Data, video frame data and audio frame data are respectively encoded, and the encoded video frame data and audio frame data are encapsulated...

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 discloses a method and device for processing video. The method and device for processing the video are used for playing media files corresponding to index files of the format of m3u8 on an Android operation system. The method for processing the video comprises the steps of acquiring the index file of a first video stream, downloading fragmented video files according to the playing sequence and the downloading address of the fragmented video files in the index files, parsing the fragmented video files to acquire video frame data and audio frame data, respectively encoding the acquired video frame data and the acquired audio frame data and packaging the encoded video frame data and the encoded audio frame data into a second video stream in the format of a RPT according to the playing sequence. According to the technical scheme, the fact that the second video stream is played on the Android operation system by using RTSP service is achieved, the second video stream is small, and therefore storage space is saved.

Description

technical field [0001] The present invention relates to the technical field of video processing, in particular to a video processing method and device. Background technique [0002] With the development of technology, various audio and video formats and related resources emerge in an endless stream to meet people's entertainment and life needs. However, it is difficult for the current playback platform to cover all formats of audio and video file formats. On some operating systems A certain audio and video file format may not be supported. For example, m3u8 is an index file (playlist) format, and the index file contains a series of media files in TS (Transport Stream, transport stream) format. Android3.0 operation The system itself cannot parse the m3u8 format and thus cannot play media files. [0003] Currently, FFmpeg (an open source and free cross-platform video and audio streaming solution) tool can be used for format conversion. However, FFmpeg relies on hardware devic...

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
IPC IPC(8): H04N21/438H04N21/434H04N21/4408H04N21/6437
Inventor 赵猛
Owner TVMINING BEIJING MEDIA TECH