CN101389020A - Method for extending decoding capability of stream media playing device - Google Patents

Method for extending decoding capability of stream media playing device Download PDF

Info

Publication number
CN101389020A
CN101389020A CN 200810067059 CN200810067059A CN101389020A CN 101389020 A CN101389020 A CN 101389020A CN 200810067059 CN200810067059 CN 200810067059 CN 200810067059 A CN200810067059 A CN 200810067059A CN 101389020 A CN101389020 A CN 101389020A
Authority
CN
China
Prior art keywords
decoding
primary flow
playing
player
decoder
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN 200810067059
Other languages
Chinese (zh)
Inventor
李丹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN 200810067059 priority Critical patent/CN101389020A/en
Publication of CN101389020A publication Critical patent/CN101389020A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention relates to a method of enlarging the decoding ability of the stream media playing device, belonging to the technical field of computer media. The method utilizes the network so that the playing device is able to utilize the decoding device on the network to decode, thereby finishing the work of decoding playing. The playing device firstly detects whether the initial bit rate belongs to the bit rate which the device cannot decode; if so, the decoding work is transmitted to the decoding device on the network; the decoding device decodes the given initial bit rate and transmit in network; the playing device is able to send the format in decoding playing mode to the playing device; the playing device decodes and plays the bit rate transmitted by the playing decoding device to finish the whole work of decoding and playing; further, the playing device controls the decoding work of the decoding device. The invention is able to be used in the multimedia player, IP set-top box, bidirectional digital television set-top box having computer network interface so that these devices can play the stream media contents in plurality of formats.

Description

A kind of method of extending decoding capability of stream media playing device
Technical field
The present invention relates to a kind of method of Streaming Media decoding, belong to technical field of computer multimedia, particularly a kind of technology of utilizing network to realize remote decoder.
Background technology
The code decode algorithm of present various Streaming Medias and form are fast-developing, and video coding develops into MPEG1, MPEG2, MPEG4, RealVideo, Windows Media Video, H.264 waits from early stage FLC, FL; Audio coding develops into MP3, OGG, MPC, mp3Pro, RealAudio, APE and Windows Media Audio etc. from PCM; And the encapsulation format of Streaming Media also is multifarious, as AVI, MPG, RM, RMVB, OGM, MKV, WMV or the like.Can predict and also more form can occur in the future.Now, the some of them form can be decoded and play to a lot of built-in players, and the user just can view and admire the film of these forms by television set like this.
But because the variation of stream media format and development are rapidly, the form that existing various Streaming Media decoding devices are supported is limited, also can't support emerging encryption algorithm, has limited its use value.Some code decode algorithms are because the complexity and the operand of algorithm are huge, on the embedded streaming media playback equipment, can not support, even its hardware has the ability to support these algorithms, the decoding software upgrading of wanting to carry out format selling after can face a series of problems such as mandate expense, the high cycle of software development cost is long, escalation process is loaded down with trivial details of decoding again.
And review personal computer, be that the platform of fast most convenient appears the earliest, upgrades in various software decoders, therefore now usually adopt a kind of transcoding technology based on file, the form that utilizes earlier already installed decoder to support according to embedded type stream media player again after files in stream media is decoded on personal computer is recoded.Though this method can address the above problem, but for obtaining taking up room and all more satisfactory file destination of coding quality, its recompile process need is done a large amount of computings, so it is consuming time very long, usually need one to the twice time of original reproduction time just can finish, do not possess real-time, make us being difficult to stand.
Have the user's of embedded type stream media player family at great majority, also have a personal computer basically simultaneously, and if just on television set or projecting apparatus, watch film then do not need the mode of this inefficiency of file transcoding fully.Some users are connected directly to television set with computer and play, but computer and television set can not put together usually, move at every turn computer again line to install also be a loaded down with trivial details process.
Summary of the invention
For the various resources that embedded type stream media player can be made full use of in the family of family are carried out real-time decoding play operation, the present invention proposes a kind of equipment that has than high current media decodes ability that can utilize and replaces the method for decoding than the stream media playing device of weak solution sign indicating number ability, to strengthen and the decoding capability of extended flow apparatus for media playing.
The method of the extending decoding capability of stream media playing device that the present invention proposes comprises:
Source and course medium read module, operate on the decoding device, according to the positional information of the primary flow medium of player appointment, use the corresponding protocol visit also to read the primary flow media data and stream medium data is sent into corresponding decoder according to the form of primary flow medium;
The set of source decoder, the set of one group of various format decoder and demodulation multiplexer is responsible for various original media stream are carried out demultiplexing and/or decoding.Operate on the decoding device, provided by the third party usually, the user installs voluntarily;
The encoder set is made up of the encoder of one or more forms, and responsible Streaming Media after the decoder decode is re-encoded as is adapted at real-time Transmission on the network, the code stream that can play in real time on playback equipment.Encoder operates on the decoding device, is provided at random by playback equipment manufacturer usually, also can use the universaling coder form, but must can support real-time conversion;
Network transceiving module is responsible for the code stream of encoder output is sent to playback equipment by network, also is responsible for utilizing network to carry out the control information exchange of playback equipment and decoding device simultaneously.Pairing operation on decoding device and playback equipment;
The decoding device control module operates on the decoding device, is responsible for according to the network bandwidth, situations such as the hardware resource consumption of encoder, formulate the coding parameter of encoder for satisfying real-time and high-quality, the also responsible simultaneously various control commands of sending according to playback equipment are as obtaining of original media stream, play, suspend, stop F.F., rewind downs etc. are controlled each module that operates on the decoding device;
Player, operate on the playback equipment, the real-time code stream that reception broadcasts out by the equipment room internet from the decoding device, and carry out real-time decoding and play, the Play Control operation with the terminal use simultaneously comprises that the locating information of original media stream is sent to decoding device by Network Synchronization;
Decoding device moves the equipment of above-mentioned primary flow medium read module, decoder, encoder, network transceiving module and control module;
Playback equipment moves the equipment of above-mentioned player and network transceiving module.
Compare with the mode of file transcoding, benefit of the present invention is:
1, real-time decoding and coding process is used more convenient to user's substantially transparent.
2, encoder can make full use of the network bandwidth, the code stream that bit rate output is higher.Because code check restriction is comparatively loose, encoder just can with operand relatively the simple code mode just can guarantee output quality, thereby realize real-time easily.
The present invention equally also has the advantage similar with the file transcoding mode: when using personal computer as decoding device, playback equipment can obtain the upgrading of computer platform and expand characteristic easily, can be very easy to such an extent that obtain the decoder support of various format stream medias.
Description of drawings
Fig. 1 is a general structure schematic diagram of the present invention, has shown the logical relation between each physical equipment.
Fig. 2 is core of the present invention, the structure of the decoding device that alternative playback equipment is decoded and schematic flow sheet.Wherein, unidirectional dotted arrow is represented source code flow, and two-way filled arrows represents to control interactive information, and thick arrow is represented one or more code stream of source code flow after separating.
Embodiment
Below in conjunction with accompanying drawing the present invention is described specifically.
With reference to the accompanying drawings 1, a kind of method of extending decoding capability of stream media playing device, main flow process is:
Playback equipment is set up communication with decoding device earlier by network transceiving module and is connected, and in this example, uses Ethernet and utilizes ICP/IP protocol to carry out network communication;
When 1, beginning to play, player is checked the primary flow media formats, as this equipment of discovery do not have corresponding decoding capability, then assists decoding and points out primary flow medium position to the decoding device request.In this example, the primary flow medium are present in the playback equipment with document form, and playback equipment is open to decoding device with the Windows file sharing protocol with the primary flow media file;
2, decoding device equipment is opened on the playback equipment primary flow media file of sharing by the Windows file sharing protocol, and it is decoded and converts the code stream that playback equipment is supported in real time to, sends playback equipment then back to;
3, playback equipment carries out the real-time decoding broadcast with the code stream that receives.
With reference to the accompanying drawings 2, the relation of each module of decoding device and flow process:
1, control module receives the decoding request of playback equipment by network transceiving module, opens this document according to the network address control flows medium read module of its given primary flow media file.
In this example, use the Windows file sharing protocol, contained file address descriptor form is in the request package of therefore decoding: the playback equipment machine name the primary flow media file shared path the filename of primary flow media file.
2, the Streaming Media read module uses the Windows file sharing protocol to read the primary flow media file, reports its coded format to control module;
3, control module receives the decoding request of playback equipment by network transceiving module, determines the decoding capability of playback equipment itself according to the device type of its report.
In the present embodiment, playback equipment is supported xvid MPEG4 decoding video stream, MPEG Layer-3 audio stream decoding general decoding standard, and caption stream is used privately owned formats.Playback equipment is packaged in the decoding capability of its every kind code stream in the decoding request package by following form:
[code stream 1 type, code stream 1 form 1, code stream 1 form 2 ... ]
[code stream 2 types, code stream 2 forms]
[code stream 3 types, code stream 3 forms]
Code stream type and form adopt the GUID Unified coding that defines in the DirectShow of the Microsoft technology in this example.Therefore the request package of this playback equipment generation is in this example:
[STREAMTYPE_Video,MEDIASUBTYPE_XVID,MEDIASUBTYPE_xvid]
[STREAMTYPE_Audio,MEDIASUBTYPE_MP3,MEDIASUBTYPE_MPEG2_AUDIO]
[STREAMTYPE_Text, privately owned GUID]
4, control module is concentrated at encoder according to the coded format of primary flow media file and is chosen corresponding decoder, concentrates at encoder according to the decoding capability of playback equipment and chooses corresponding encoder, sets up decoding and coding relation, parameter and flow process.In this example, decoding device is a personal computer, operation Windows operating system, therefore this decoding and coding relation and flow process use the DirectShow technology of Microsoft to create: the input and output code stream form of its support all can be reported or be determined voluntarily to each decoder and encoder, represent that with the GUID Unified coding control module is set up the transfer of data ALT-CH alternate channel according to input/output format, source format and the object format of each codec.
5, the decoder collection is isolated one or more code stream and decoding output by the Streaming Media read module from the primary flow media file.
6, at the selected encoder of step 4 decoded each road code stream is encoded into the code stream form that meets playback equipment shown in step 3 respectively, adds when playing more neededly, and deliver to equipment by network transceiving module as additional informations such as timestamps.
7, the player that operates on the playback equipment is also play each the road code stream decoding that receives, and this step is relevant, not described within the scope of the present invention with the internal structure of concrete playback equipment about the decoding playing flow.The control that present embodiment adopts the DirectShow technology to decode and play equally.
Control module is given in control operations such as 8, user's broadcast that playback equipment is carried out, time-out, F.F., rewind down, location after network transceiving module receives.
9, control module is transformed into control operation to source medium read module respectively, and the control operation of each decoder and each encoder is to keep the state consistency of whole decoding Play System.

Claims (6)

1, a kind of method of extending decoding capability of stream media playing device comprises:
Primary flow medium read module according to the positional information of given primary flow medium location and obtain the content of primary flow medium, is sent into corresponding decoder according to the form of Streaming Media and is decoded;
The decoder collection is made up of one or more decoders, is responsible for the primary flow medium of various forms are carried out demultiplexing (separation) and decoding;
The encoder collection is made up of one or more encoders, is that the desired form of playing stream media is encoded again according to given target bit rate and player;
Network transceiving module will be decoded in real time and the code stream and the additional information thereof of the output of coding module are sent to player, simultaneously control module be sent in the control information of player;
Control module, according to the decoding request that player sends, control read module, the input and output of decoder and encoder and running status etc.;
Player is by the code stream that network transceiving module control decoding device is decoded and broadcast decoder equipment is exported;
Decoding device moves the equipment of above-mentioned primary flow medium read module, decoder, encoder, network transceiving module and control module;
Playback equipment moves the equipment of above-mentioned player and network transceiving module.
2, the method for a kind of extending decoding capability of stream media playing device according to claim 1 is characterized in that: primary flow medium read module must obtain the primary flow media content with corresponding protocol according to the positional information of the given Streaming Media of player.Read agreement and include but not limited to HTTP, FTP, MMS, RSTP, Local or Remote file access and other privately owned communications protocol.
3, the method for a kind of extending decoding capability of stream media playing device according to claim 1, it is characterized in that: whole Streaming Media is encoded from decoding again, transmission, receive and be a real-time process, run on the primary flow media decoder on the decoding device and the DST PLAYER that runs on the playback equipment is concurrent working in client terminal playing.
4, the method for a kind of extending decoding capability of stream media playing device according to claim 1 is characterized in that: use between decoding device and the playback equipment general, be used for that the interconnected mechanics of communication of equipment room is controlled and the code stream transmission.These interconnected mechanicss of communication include but not limited to wired ethernet, wireless network, general-purpose serial bus USB etc.
5, the method for a kind of extending decoding capability of stream media playing device according to claim 1, it is characterized in that: the operating state of the decoding device that the primary flow medium are decoded is controlled by playback equipment, includes but not limited to play, and suspends, the fast forwarding and fast rewinding location, synchronous etc.
6, the method for a kind of extending decoding capability of stream media playing device according to claim 1 is characterized in that: the decoder of being responsible for source code flow is decoded has at least one to operate on the decoding device.
CN 200810067059 2008-05-06 2008-05-06 Method for extending decoding capability of stream media playing device Pending CN101389020A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200810067059 CN101389020A (en) 2008-05-06 2008-05-06 Method for extending decoding capability of stream media playing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200810067059 CN101389020A (en) 2008-05-06 2008-05-06 Method for extending decoding capability of stream media playing device

Publications (1)

Publication Number Publication Date
CN101389020A true CN101389020A (en) 2009-03-18

Family

ID=40478150

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200810067059 Pending CN101389020A (en) 2008-05-06 2008-05-06 Method for extending decoding capability of stream media playing device

Country Status (1)

Country Link
CN (1) CN101389020A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101924791A (en) * 2010-08-06 2010-12-22 百度在线网络技术(北京)有限公司 Method, device and system for displaying multimedia information
CN102082761A (en) * 2009-11-27 2011-06-01 浙江省公众信息产业有限公司 Stream media protocol conversion system and method
CN102385864A (en) * 2010-08-31 2012-03-21 Tcl集团股份有限公司 Audio data decoding method, device and audio player
CN102447673A (en) * 2010-09-30 2012-05-09 突触计算机系统(上海)有限公司 Method and equipment for depacking multimedia file carrying a package format
CN103096163A (en) * 2011-11-01 2013-05-08 中国移动通信集团公司 Media player and play method of media file
CN103200154A (en) * 2012-01-05 2013-07-10 宏碁股份有限公司 Processing device and processing method for media content
CN103237215A (en) * 2013-04-17 2013-08-07 华为技术有限公司 Playing method and playing device
CN103686195A (en) * 2013-11-22 2014-03-26 华为技术有限公司 Video information processing method and video information processing equipment
CN105791959A (en) * 2014-12-22 2016-07-20 Tcl集团股份有限公司 Method and system of playing media file by smart television
CN111757123A (en) * 2020-07-07 2020-10-09 杭州海康威视数字技术股份有限公司 Distributed video decoding system, video decoding output method and device
CN113596591A (en) * 2021-02-24 2021-11-02 腾讯科技(北京)有限公司 Video playing method, device, equipment and computer readable storage medium

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102082761A (en) * 2009-11-27 2011-06-01 浙江省公众信息产业有限公司 Stream media protocol conversion system and method
CN101924791A (en) * 2010-08-06 2010-12-22 百度在线网络技术(北京)有限公司 Method, device and system for displaying multimedia information
CN101924791B (en) * 2010-08-06 2013-08-21 百度在线网络技术(北京)有限公司 Method, device and system for displaying multimedia information
CN102385864B (en) * 2010-08-31 2013-07-10 Tcl集团股份有限公司 Audio data decoding method, device and audio player
CN102385864A (en) * 2010-08-31 2012-03-21 Tcl集团股份有限公司 Audio data decoding method, device and audio player
CN102447673A (en) * 2010-09-30 2012-05-09 突触计算机系统(上海)有限公司 Method and equipment for depacking multimedia file carrying a package format
CN103096163A (en) * 2011-11-01 2013-05-08 中国移动通信集团公司 Media player and play method of media file
CN103096163B (en) * 2011-11-01 2015-12-09 中国移动通信集团公司 The player method of media player and media file
CN103200154A (en) * 2012-01-05 2013-07-10 宏碁股份有限公司 Processing device and processing method for media content
CN103237215A (en) * 2013-04-17 2013-08-07 华为技术有限公司 Playing method and playing device
CN103686195A (en) * 2013-11-22 2014-03-26 华为技术有限公司 Video information processing method and video information processing equipment
WO2015074380A1 (en) * 2013-11-22 2015-05-28 华为技术有限公司 Video information processing method and device
CN103686195B (en) * 2013-11-22 2017-04-05 华为技术有限公司 Video information processing method and equipment
CN105791959A (en) * 2014-12-22 2016-07-20 Tcl集团股份有限公司 Method and system of playing media file by smart television
CN105791959B (en) * 2014-12-22 2019-04-16 Tcl集团股份有限公司 A kind of smart television plays the method and system of media file
CN111757123A (en) * 2020-07-07 2020-10-09 杭州海康威视数字技术股份有限公司 Distributed video decoding system, video decoding output method and device
CN113596591A (en) * 2021-02-24 2021-11-02 腾讯科技(北京)有限公司 Video playing method, device, equipment and computer readable storage medium
CN113596591B (en) * 2021-02-24 2024-04-05 腾讯科技(北京)有限公司 Video playing method, device, equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN101389020A (en) Method for extending decoding capability of stream media playing device
CN101689170B (en) Interfaces for digital media processing
CN105814900B (en) System and method for managing adjacent channel in adaptive streaming environment
CN101505365B (en) Real-time video monitoring system implementing method based on network television set-top box
WO2013008867A1 (en) Transmission device, method for controlling transmission device, control program, and recording medium
US20070050837A1 (en) Method, apparatus and system for generating and distributing rich digital bookmarks for digital content navigation
KR101771003B1 (en) Content output system and codec information sharing method thereof
US12010401B2 (en) Systems and methods for production of fragmented video content
CN102742244A (en) Mobile media server
CN102007483A (en) Method and apparatus for displaying personalized user interface
CN101155089A (en) Wireless multimedia real-time learning system and method
US20100166387A1 (en) Method and apparatus for playing video data of high bit rate format by a player capable of playing video data of low bit rate format
CN102016819A (en) Method and device for providing and receiving a user interface with reference to the properties of the client
CN107197386B (en) Cross-platform video playing implementation method without client
KR20070080396A (en) System for intermediating a/v stream between the data network and the ieee 1394 network and method thereof
KR100672054B1 (en) The A/V stream intermediation system for intermediating A/V stream between the data network and the IEEE 1394 network and method thereof
KR100340169B1 (en) System and Method for Web Cataloging Dynamic Multimedia Using Java
CN101110750A (en) Processing method for implementing resource sharing of built-in equipment based on p2p technology
CN102625193A (en) A method of realizing multimedia file network playing by virtue of auxiliary files
CN104904226A (en) Multi-media file emulation device
CN115243074A (en) Video stream processing method and device, storage medium and electronic equipment
CN1972439A (en) Wireless video on-demand system, method and AVI file analysis, fluidizing method
CN101242329A (en) A multimedia network application processing system and method
Black et al. A compendium of robust data structures
CN102917275A (en) Streaming media playing system and playing method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
DD01 Delivery of document by public notice

Addressee: Li Dan

Document name: Notification of before Expiration of Request of Examination as to Substance

DD01 Delivery of document by public notice

Addressee: Li Dan

Document name: Notification that Application Deemed to be Withdrawn

C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20090318