[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN101329758B - System for processing multimedia data striding course - Google Patents

System for processing multimedia data striding course Download PDF

Info

Publication number
CN101329758B
CN101329758B CN 200810029872 CN200810029872A CN101329758B CN 101329758 B CN101329758 B CN 101329758B CN 200810029872 CN200810029872 CN 200810029872 CN 200810029872 A CN200810029872 A CN 200810029872A CN 101329758 B CN101329758 B CN 101329758B
Authority
CN
China
Prior art keywords
data
module
processing module
directshow
processing
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.)
Expired - Fee Related
Application number
CN 200810029872
Other languages
Chinese (zh)
Other versions
CN101329758A (en
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.)
Alibaba China Co Ltd
Original Assignee
Ucweb Inc
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 Ucweb Inc filed Critical Ucweb Inc
Priority to CN 200810029872 priority Critical patent/CN101329758B/en
Publication of CN101329758A publication Critical patent/CN101329758A/en
Application granted granted Critical
Publication of CN101329758B publication Critical patent/CN101329758B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

The invention discloses a multimedia data out-of-process processing system which comprises a DirectShow component, a data export module and a data processing module; wherein, the DirectShow component is used for acquiring and outputting multimedia data, the data export module is used for exporting the multimedia data of the DirectShow component, and the data processing module is used for processing the multimedia data output by the data export module. The system of the invention can export the multimedia data of the DirectShow component to open source coded programs such as an ffmpeg coder, so as to develop multimedia applications; the system of the invention not only reduces the developing difficulty and developing cost, but also increases rich editing and expanding functions, therefore the development process of multimedia applications is more effective.

Description

A kind of system for processing multimedia data striding course
Technical field
The present invention relates to a kind of multimedia data processing, particularly relate to a kind of system for processing multimedia data striding course.
Background technology
DirectShow be Microsoft provide one be enclosed within and carry out the kit that Streaming Media is handled on the windows platform, issue with the DirectX kit.DirectShow provides strong support for the seizure and the playback of media stream.Utilization DirectShow, we can be easily catch data from the capture card of supporting the WDM driving model, and carry out corresponding post-processed and even store in the file.It supports diversified media file format, comprises ASF, MPEG, AVI, MP3 and WAV or the like file, and DirectShow provides a kind of open development environment, and we can customize the assembly of oneself according to the needs of oneself.
In the existing DirectShow condensing encoder, the collection of video compression is used mostly is video compression standard H.264, and audio frequency then uses the AAC compression; In concrete Application and Development, usually all need to buy commercial H.264, AAC, MP4 scrambler, perhaps use the storehouse of increasing income such as libx264 to write.Because the existing framework more complicated of DirectShow, the source code resource is abundant inadequately, it is higher to buy the business software expense, and because business software does not have open source code again, also need cooperative venture to be solved if any problem, and it is very big and need possess profuse DirectShow development Experience oneself to write the scrambler workload, if desired expanded function, also need to write again the plug-in unit of DirectShow, so very loaded down with trivial details.
Summary of the invention
The object of the invention is to provide based on the deficiencies in the prior art the system for processing multimedia data striding course of the use DirectShow Streaming Media processing kit that a kind of cost is low, development difficulty is relatively low.
Purpose of the present invention is achieved through the following technical solutions: a kind of system for processing multimedia data striding course comprises:
The DirectShow assembly is used to obtain and export the multi-medium data that comprises video data and voice data; Described multi-medium data comprises the raw data of Source Filter output in the DirectShow assembly, perhaps the multi-medium data behind the compressed encoding of Transform Filter output in the DirectShow assembly;
The MKV container is used for being fused into as the multi-medium data of plug-in unit with the output of described DirectShow assembly of increasing income and looks the staggered mkv single data stream of audio frequency;
Data derive module, adopt standard I/O redirection pipeline, and with the mkv single data stream that audio frequency interlocks of looking of described MKV container output, real-time Transmission exports to data processing module;
Data processing module is used for by the scrambler of increasing income the multi-medium data that described data derive the real-time output of module being carried out data processing, and described processing comprises carries out compressed encoding or format conversion; Wherein, described data processing module and described DirectShow assembly be not in same process.
When described data derivation module was standard I/O redirection pipeline, described data processing module included reference input element, and being used to import described data derives the multi-medium data that module derives.
When described data when to derive module be two named pipes or during standard I/O redirection pipeline, described data processing module is the ffmpeg scrambler; When described data derivation module was standard I/O redirection pipeline, described data processing module can also be Mencoder scrambler or X264 scrambler.
The present invention exports to the multi-medium data in the DirectShow assembly in the coded programs of increasing income such as ffmpeg scrambler, carry out the exploitation of multimedia application, development difficulty and cost of development are reduced, but also increased abundant editor and expanded function, make that the multimedia application development process is more effective, increase the flexibility ratio of operation, improved work efficiency effectively.
Description of drawings
In conjunction with the accompanying drawings a kind of system for processing multimedia data striding course of the present invention is further elaborated, but the embodiment in the accompanying drawing does not constitute any limitation of the invention.
Fig. 1 is the structural representation of the system for processing multimedia data striding course of one embodiment of the present invention.
Fig. 2 is the structural representation of the system for processing multimedia data striding course of one of another kind of embodiment of the present invention.
Fig. 3 is the structural representation of the system for processing multimedia data striding course of one of another kind of embodiment of the present invention.
Embodiment
The invention will be further described with the following Examples, and the embodiment of a kind of system for processing multimedia data striding course of the present invention shown in Figure 1 includes:
DirectShow assembly 1, be used for obtaining and the output multi-medium data, this multi-medium data can be the raw data of Source Filter output in the DirectShow assembly, YUV for example, forms such as PCM look audio file, also can be the multi-medium data behind the compressed encoding of Transform Filter output in the DirectShow assembly, xvid for example, forms such as mp3 look audio file;
Data derive module 2, and being used for derives the multi-medium data of described DirectShow assembly 1, and are sent to data processing module 3;
Data processing module 3, the multi-medium data that is used for described data are derived module 2 outputs carries out data processing, comprises it can being that the multimedia video voice data is carried out compressed encoding, also can be the multimedia video voice data to be carried out data processing such as format conversion.
Fig. 2 is one of preferred embodiment of a kind of system for processing multimedia data striding course of the present invention, wherein, include video data and voice data in the DirectShow assembly 1 of this system for processing multimedia data striding course, above-mentioned data export the data that adopt two named pipess to realize to and derive module 21, comprise video input interface 211 and audio input interface 212 in this module, receive video data and voice data that DirectShow assembly 1 sends respectively, video pipeline output unit 214 and audio frequency pipeline output unit 213 transmit video/audio to ffmpeg data processing module 31, and this ffmpeg data processing module 31 and described DirectShow assembly be not in same process.Comprise video pipeline input block 311 and audio frequency pipeline input block 312 and ffmpeg scrambler 313 in the ffmpeg data processing module 31; Ffmpeg scrambler 313 can carry out compressed encoding to the multimedia video voice data, also can carry out data processing such as format conversion to the multimedia video voice data, the ffmpeg scrambler has the powerful and abundant audio frequency real-time edition function of looking, and for example cutting, changes functions such as video size.
Fig. 3 be a kind of system for processing multimedia data striding course of the present invention preferred embodiment two, wherein, comprise video data and voice data in the DirectShow assembly 1 of this system for processing multimedia data striding course, above-mentioned data export the MKV container to, the MKV container is the plug-in unit of increasing income of DirectShow, it is fused into the video data of input and voice data after encapsulating and looks the staggered mkv single data stream of audio frequency, and then the data that export the realization of employing standard I/O redirection pipeline to derive module 22, comprise in this module and look audio frequency input and connect 221, receive the mkv single data stream that audio frequency interlocks of looking of MKV container output, send 222 outputs of standard I/O redirection unit to, to look the staggered mkv single data stream of audio frequency by reference input element 321 in the data processing module and be sent to ffmpeg scrambler 322, and also can adopt Mencoder scrambler or X264 scrambler to replace ffmpeg scrambler 322.Mencoder and X264 scrambler are not supported named pipes, so can not receive the multi-medium data of two named pipes outputs, can use standard input and output pipeline, because the mkv data of Mencoder and the input of all support standards of X264, specifically, Mencoder has a lot of demoders, so can receive the data of the MKV container output of compression, and X264 does not have demoder, can only accept the raw data that yuv etc. does not have compression.
The concrete applicating example of a kind of system for processing multimedia data striding course of the present invention is as follows: in the video surveillance applications system, the DirectShow interface of quick VC404p four road monitor cards is gathered the multimedia video voice data in real time from the sky, be real-time transmitted to the ffmpeg coder processes through two named pipess or standard I/O redirection pipeline, H.264 video data adopts, and video compression standard carries out encoding process, voice data then adopts AAC (Advanced Audio Coding) encoding process, exports the multimedia video audio file of Mp4 form at last.
The present invention uses the stable scramblers of increasing income such as existing ffmpeg, has expanded the scrambler that DirectShow supports, can use the abundant order line functions of open source software such as ffmpeg like this, for example cutting, captions or the like; Allow useful data take out, be put into the fairly simple order line condensing routine of framework, development difficulty is reduced greatly from DirectShow.
Should be noted that at last; above embodiment only is used to illustrate technical scheme of the present invention; but not limiting the scope of the invention; although the present invention has been done to explain with reference to preferred embodiment; those of ordinary skill in the art is to be understood that; can make amendment or be equal to replacement technical scheme of the present invention, and not break away from the essence and the scope of technical solution of the present invention.

Claims (5)

1. a system for processing multimedia data striding course is characterized in that, comprising:
The DirectShow assembly is used to obtain and export the multi-medium data that comprises video data and voice data; Described multi-medium data comprises the raw data of Source Filter output in the DirectShow assembly, perhaps the multi-medium data behind the compressed encoding of Transform Filter output in the DirectShow assembly;
The MKV container is used for being fused into as the multi-medium data of plug-in unit with the output of described DirectShow assembly of increasing income and looks the staggered mkv single data stream of audio frequency;
Data derive module, adopt standard I/O redirection pipeline, and with the mkv single data stream that audio frequency interlocks of looking of described MKV container output, real-time Transmission exports to data processing module; Data processing module is used for by the scrambler of increasing income the multi-medium data that described data derive the real-time output of module being carried out data processing, and described processing comprises carries out compressed encoding or format conversion; Wherein, described data processing module and described DirectShow assembly be not in same process.
2. a kind of system for processing multimedia data striding course according to claim 1 is characterized in that described data processing module includes reference input element, and being used to import described data derives the multi-medium data that module derives.
3. a kind of system for processing multimedia data striding course according to claim 1 is characterized in that, described data processing module is the ffmpeg scrambler.
4. a kind of system for processing multimedia data striding course according to claim 1 is characterized in that, described data processing module is the Mencoder scrambler.
5. a kind of system for processing multimedia data striding course according to claim 1 is characterized in that, described data processing module is the X264 scrambler.
CN 200810029872 2008-07-30 2008-07-30 System for processing multimedia data striding course Expired - Fee Related CN101329758B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200810029872 CN101329758B (en) 2008-07-30 2008-07-30 System for processing multimedia data striding course

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200810029872 CN101329758B (en) 2008-07-30 2008-07-30 System for processing multimedia data striding course

Publications (2)

Publication Number Publication Date
CN101329758A CN101329758A (en) 2008-12-24
CN101329758B true CN101329758B (en) 2011-12-28

Family

ID=40205556

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200810029872 Expired - Fee Related CN101329758B (en) 2008-07-30 2008-07-30 System for processing multimedia data striding course

Country Status (1)

Country Link
CN (1) CN101329758B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102098513A (en) * 2010-12-20 2011-06-15 北京交通大学 Real-time transmission method of wireless video
CN104768075B (en) * 2015-04-16 2018-03-23 福建升腾资讯有限公司 Plug-in captions reorientation method and system based on DirectShow
CN106060486A (en) * 2016-07-29 2016-10-26 电子科技大学 Intelligent video monitoring system based on DirectShow technology
CN111131785A (en) * 2019-12-30 2020-05-08 元力(天津)科技有限公司 MPEG-4 video transmission system based on DirectShow

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101179660A (en) * 2007-12-12 2008-05-14 北京中星微电子有限公司 Camera video image processing system and method thereof

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101179660A (en) * 2007-12-12 2008-05-14 北京中星微电子有限公司 Camera video image processing system and method thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
无.MKV争当视频宠儿.《电脑报》.2004,(第3期),E01版. *

Also Published As

Publication number Publication date
CN101329758A (en) 2008-12-24

Similar Documents

Publication Publication Date Title
CN104796767B (en) A kind of cloud video editing method and system
CN103414949B (en) A kind of multimedia edit system based on intelligent television and method
CN103442071A (en) Mobile phone screen content real-time sharing method
CN103686210A (en) Method and system for achieving audio and video transcoding in real time
CN101329758B (en) System for processing multimedia data striding course
CN105306900A (en) Intelligent scheduling high definition integrated networking video monitoring system based on cloud computing
CN101895750A (en) Set-top box and PC-oriented real-time streaming media server and working method
CN105611317A (en) Video-audio transcoding device and method capable of supporting audio unvarnished transmission
CN102098553A (en) Video transmission method and system as well as video server
CN105208406A (en) Video data providing method and apparatus, video playing method and apparatuses, and video playing system
CN104836961A (en) Implementation method of real-time filter shooting based on Android system and system thereof
CN104980682A (en) Intelligent dynamic high-definition video transmission system
CN102752538A (en) Method for generating agent code stream materials
CN201435783Y (en) Video conference terminal
CN1933595A (en) Domestic internal video frequency monitoring system and video-frequency collecting and transmitting method based on cell phone
CN104768053A (en) Format conversion method and system based on streaming decomposition and streaming recombination
CN201663666U (en) Network video device
CN203086603U (en) Remote real-time audio and video data transmission control device
CN110868610A (en) Streaming media transmission method and device and server
CN105263021A (en) UVD-based HEVC video decoding method
CN112492335B (en) Video processing system, method and device
CN106330955A (en) Instant messaging extension method and system
Zai-Ying et al. Design of mobile phone video surveillance system for home security based on embedded system
CN101651814A (en) Embedded video server based on ARM framework and DSP framework
CN202258375U (en) Dual-chip audio and video player and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20200528

Address after: 310051 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: Alibaba (China) Co.,Ltd.

Address before: 100080, room 16, building 10-20, Building 29, Haidian District, Suzhou Street, Beijing

Patentee before: UC MOBILE Ltd.

TR01 Transfer of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20111228

Termination date: 20200730

CF01 Termination of patent right due to non-payment of annual fee