CN104581234B - A kind of set-top box and the method and system based on set-top box realization media data transcoding - Google Patents
A kind of set-top box and the method and system based on set-top box realization media data transcoding Download PDFInfo
- Publication number
- CN104581234B CN104581234B CN201310505160.7A CN201310505160A CN104581234B CN 104581234 B CN104581234 B CN 104581234B CN 201310505160 A CN201310505160 A CN 201310505160A CN 104581234 B CN104581234 B CN 104581234B
- Authority
- CN
- China
- Prior art keywords
- transcoding
- media
- media data
- top box
- controller
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 37
- 230000003993 interaction Effects 0.000 claims abstract description 5
- 230000005540 biological transmission Effects 0.000 claims description 10
- 238000012545 processing Methods 0.000 claims description 5
- 238000004891 communication Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000006835 compression Effects 0.000 description 3
- 238000007906 compression Methods 0.000 description 3
- 238000011161 development Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000013500 data storage Methods 0.000 description 2
- 230000002452 interceptive effect Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
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
- H04N21/440236—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 media transcoding, e.g. video is transformed into a slideshow of still pictures, audio is converted into text
-
- 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/45—Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
- H04N21/458—Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations
- H04N21/4583—Automatically resolving scheduling conflicts, e.g. when a recording by reservation has been programmed for two programs in the same time slot
-
- 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/45—Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
- H04N21/462—Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
- H04N21/4621—Controlling the complexity of the content stream or additional data, e.g. lowering the resolution or bit-rate of the video stream for a mobile client with a small screen
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Software Systems (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention discloses a kind of set-top boxes, comprising: completes the signal transceiver of message and data interaction;The set-top box further include: controller determines Transcoding Scheme, and trigger converter and scheduling of resource processor for parsing the transcoding received request;Converter treats transcoding media data according to determining Transcoding Scheme and carries out transcoding, and media data after transcoding is sent to memory for obtaining media data to be transcoded;Scheduling of resource processor for downloading media data to be transcoded according to the triggering of controller and be sent to memory, and obtains and uploads media data after transcoding;Memory, for storing media data after media data and transcoding to be transcoded.The present invention also discloses a kind of method and systems that media data transcoding is realized based on set-top box, the media data of various high video encoding standards can be played using low performance media device using the present invention, while minimizing Family cost, maximum resource utilization can be made.
Description
Technical field
The present invention relates to transcoding multimedia data technologies, and in particular to a kind of set-top box and realizes media number based on set-top box
According to the method and system of transcoding.
Background technique
Formally arrive with broadcast and the development of IP network Video Applications, HD video epoch.For digital device,
It also makes troubles to video content processing while video pictures quality is substantially improved.During continuous evolution, MPEG
For (Moving Picture Experts Group) -2 because compression ratio is too high, occupied bandwidth is too big, is unfavorable for high clear video image
Storage and network transmission;And H.264 because compression ratio is high, occupied bandwidth is small, gradually become the mainstream format of HD video.
To improve transimission and storage efficiency, more and more advanced digital code/decode format comes into being, such as: after H.264
Later, compression efficiency, robustness and mistake H.265 are improved using advanced technology as a kind of new video encoding standard
Accidentally recovery capability, and real-time time delay is reduced, the transmission speed transmission 720P(resolution ratio 1280* using 1-2Mbps may be implemented
720) common high resolution audio and video transmission.
With being constantly progressive for video coding algorithm, media play decoding device in family is also required to follow development in science and technology
Spring tide constantly updates, and to have corresponding decoding capability, just adapts to this development, still, if all media set
Standby all to update, such cost is too high.Therefore, high Video coding can be played using existing low performance media device by how realizing
The media data of standard, becomes urgent problem to be solved.
Summary of the invention
In view of this, the main purpose of the embodiment of the present invention is to provide a kind of set-top box and realizes media based on set-top box
The method and system of transcoded data can be played the media data of various high video encoding standards using low performance media device, be made
While Family cost minimizes, maximum resource utilization can be made.
In order to achieve the above objectives, the technical scheme of the present invention is realized as follows:
The embodiment of the invention provides a kind of set-top boxes, the signal transceiver including completing message and data interaction;It is described
Set-top box further include: controller, converter, scheduling of resource processor and memory;Wherein,
Controller determines Transcoding Scheme, and trigger converter and scheduling of resource processing for parsing the transcoding received request
Device;
Converter is treated for obtaining media data to be transcoded according to the triggering of controller according to determining Transcoding Scheme
Transcoding media data carry out transcoding, and media data after transcoding is sent to memory;
Scheduling of resource processor, for downloading media data to be transcoded according to the triggering of controller and being sent to memory,
And it obtains and uploads media data after transcoding;
Memory, for storing media data after media data and transcoding to be transcoded.
In above scheme, the controller is also used to record and store mark ID, the media interviews of low performance media device
Control the transcoding capabilities collection of (MAC) address information, decoding capability collection and converter.
In above scheme, transcoding request includes: low performance media device ID, IP address, MAC Address and transcoding source
Location.
In above scheme, the transcoding request of the controller parsing low performance media device determines Transcoding Scheme, comprising:
Controller parses transcoding request, obtains and parses transcoding source address, obtain the corresponding matchmaker to be transcoded of transcoding source address
Physique formula, and media formats to be transcoded are matched with the transcoding capabilities collection, the transcoding capabilities collection is set with low performance media
Standby decoding capability collection matches.
In above scheme, the controller triggering converter and scheduling of resource processor include: to send comprising Transcoding Scheme
Transcoding message to converter, transmission includes that the download message of transcoding source address gives scheduling of resource processor.
In above scheme, the converter includes: the first sub-processor, decoder and encoder;Wherein,
First sub-processor, for reporting itself transcoding capabilities collection to controller, and turning of sending of processing controller
Code message;
The decoder obtains source media data, and source media data is sent for treating the decoding of transcoding media data
To encoder;
The encoder obtains media data after transcoding for recompiling to source media data.
In above scheme, the set-top box further includes router;
The router, the routing being used to provide the described between set-top box and internet.
The embodiment of the invention also provides a kind of method for realizing media data transcoding based on set-top box, the method packets
It includes:
The transcoding request received is received and parsed through, and determines Transcoding Scheme;Media data to be transcoded is downloaded, according to determining
Transcoding Scheme treats transcoding media data and carries out transcoding, and sends media data after transcoding.
In above scheme, it is described receive and parse through receive transcoding request before, the method also includes:
Record and store the transcoding energy of the ID of low performance media device, mac address information, decoding capability collection and converter
Power collection.
In above scheme, transcoding request includes: low performance media device ID, IP address, MAC Address and transcoding source
Location.
In above scheme, the determining Transcoding Scheme, comprising:
The transcoding request that low performance media device is sent is parsed, obtains and parses transcoding source address, obtain transcoding source address
Corresponding media formats to be transcoded, and media formats to be transcoded are matched with the transcoding capabilities collection;By the transcoding capabilities collection
It is matched with the decoding capability collection.
In above scheme, the transcoding media data for the treatment of carry out transcoding, comprising:
Media data to be transcoded is downloaded, transcoding media data is treated and decodes to obtain source media data, and to source media data
It is recompiled, obtains media data after transcoding.
The embodiment of the invention also provides a kind of systems for realizing media data transcoding based on set-top box, which includes machine
Top box and at least one low performance media device;Wherein,
The low performance media device, for sending transcoding request;
The set-top box is any one set-top box recited above.
In above scheme, the low performance media device is also used to initialize connection with set-top box, registers device id, and
Report itself decoding capability collection.
Set-top box provided by the embodiment of the present invention and the method and system that media data transcoding is realized based on set-top box, are connect
The transcoding request that low performance media device is sent is received and parsed, and determines Transcoding Scheme;Media data to be transcoded is downloaded, according to true
Fixed Transcoding Scheme treats transcoding media data and carries out transcoding, and media data gives low performance media device after sending transcoding;Such as
This, can be by the set-top box with media data transcoding function, the media number that existing low performance media device cannot be played
According to being converted to the media data that can be played, so that low performance media device be made full use of to play the matchmakers of various high video encoding standards
Volume data while minimizing Family cost, can make maximum resource utilization.
Detailed description of the invention
Fig. 1 is a kind of set-top box group of the embodiment of the present invention into structural schematic diagram;
Fig. 2 is a kind of implementation process signal of method that media data transcoding is realized based on set-top box of the embodiment of the present invention
Figure;
Fig. 3 is the implementation process signal for the method that another kind of the embodiment of the present invention realizes media data transcoding based on set-top box
Figure;
Fig. 4 is the system composed structure schematic diagram that the embodiment of the present invention realizes media data transcoding based on set-top box;
Fig. 5 is a kind of applied topology structure chart of system that the embodiment of the present invention realizes media data transcoding based on set-top box;
Fig. 6 is the system another kind applied topology structure that the embodiment of the present invention realizes media data transcoding based on set-top box
Figure.
Specific embodiment
The basic idea of the invention is that: the transcoding request that low performance media device is sent is received and parsed through, and determines transcoding
Scheme;Media data to be transcoded is downloaded, transcoding media data are treated according to determining Transcoding Scheme and carry out real-time transcoding, and are sent
Media data gives low performance media device after transcoding.
With reference to the accompanying drawing and specific embodiment is further described in detail the present invention again.
Fig. 1 is a kind of set-top box group of the embodiment of the present invention into structural schematic diagram, as shown in Figure 1, the set-top box has included:
At message and the signal transceiver of data interaction 11;The set-top box further include: controller 12, converter 13, at scheduling of resource
Manage device 14 and memory 15;Wherein,
Controller 12 determines Transcoding Scheme, and trigger converter 13 and scheduling of resource for parsing the transcoding received request
Processor 14;
Converter 13, for obtaining media data to be transcoded according to the triggering of controller 12, according to determining Transcoding Scheme
It treats transcoding media data and carries out transcoding, and media data after transcoding is sent to memory 15;
Wherein, the transcoding can be real-time transcoding;
Scheduling of resource processor 14, for downloading media data to be transcoded according to the triggering of controller 12 and being sent to storage
Device 15, and obtain and upload media data after transcoding;
Memory 15, for storing media data after media data and transcoding to be transcoded.
Further, the signal transceiver 11 completes message and data interaction, can specifically pass through cable LAN and nothing
Line local area network;
Here, the WLAN can be Wifi, bluetooth or other wireless communication modes;
Further, the controller 12 is also used to record and store the mark (ID) of low performance media device, media are visited
Ask the transcoding capabilities collection of control (MAC) address information, decoding capability collection and converter;
Here, the transcoding capabilities collection includes: the decoding media formats that the converter is supported, such as H.265, and coding matchmaker
Physique formula, such as MPEG-2, H.264, and the media formats are arranged by high complexity to low complex degree.
The decoding capability collection includes: the decoding media formats that low performance media device is supported, such as MPEG-2, H.264, and
The decoding media formats are arranged by high complexity to low complex degree;
The transcoding request includes: low performance media device ID, IP address, MAC Address and transcoding source address;
Here, the transcoding source address can be is locally stored in network uniform resource finger URL (URL) or local area network
URL.
Further, the controller 12 parses the transcoding request received, determines Transcoding Scheme, comprising:
Controller solution 12 analyses transcoding request, obtains and parse transcoding source address, and it is corresponding to be transcoded to obtain transcoding source address
Media formats, and media formats to be transcoded are matched with the transcoding capabilities collection, by the transcoding capabilities collection and decoding capability collection
Matching.
Further, the controller 12 triggers converter and scheduling of resource processor includes: to send comprising Transcoding Scheme
Transcoding message to converter, transmission includes that the download message of transcoding source address gives scheduling of resource processor.
Further, the converter 13 supports software and hardware transcoding, and when treating transcoding media data progress transcoding, excellent
Hardware transcoding is first selected, the format that hardware transcoding is not supported carries out software transcoding.
Further, the converter 13 includes: the first sub-processor 131, decoder 132 and encoder 133;Wherein,
First sub-processor 131, for reporting itself transcoding capabilities collection to controller 12, and processing controller 12 is sent
Transcoding message;
Decoder 132 obtains source media data, and source media data is sent for treating the decoding of transcoding media data
To encoder 133;
Encoder 133 obtains media data after transcoding, and will be after transcoding for recompiling to source media data
Media data is stored in memory 15.
Further, the scheduling of resource processor 14 downloads media data to be transcoded, specifically: scheduling of resource processor
The download message that 14 parsing controllers are sent, obtains transcoding source address, sends downloading request and downloads media data to be transcoded, and leads to
It crosses after signal transceiver 11 receives and is stored in memory 15, wait to be transcoded;
Here, the downloading request can be real time streaming transport protocol (RTSP) request, hypertext transfer protocol (HTTP)
Request or other communications protocol request methods.
Further, the set-top box further include: router 16 is used to provide the described the road between set-top box and internet
By.
Fig. 2 is a kind of implementation process signal of method that media data transcoding is realized based on set-top box of the embodiment of the present invention
Figure, as shown in Fig. 2, the implementation process of the method for realizing media data transcoding based on set-top box includes:
Step 201: low performance media device obtains media playing resources list;
Here, the low performance media device obtains media playing resources list, specifically: low performance media device passes through
Home gateway is connect with internet, as shown in figure 5, or connect by the set-top box containing routing function with internet, such as Fig. 6 institute
Show, obtains media playing resources list from internet;Alternatively, low performance media device passes through WLAN and each equipment of family
Connection obtains each equipment of family and Media Resource List is locally stored.
Step 202: low performance media device judges itself whether support to play media asset formats, if it does not, holding
Row step 203;If supported, step 204 is executed.
Step 203, low performance media device and controller initialization connect, and send transcoding request message to controller, it
Step 205 is executed afterwards;
Here, the low performance media device and controller initialization connection can pass through cable LAN or wireless office
Net WIFI perhaps bluetooth or other wireless communication modes in domain;
Before the low performance media device and controller initialization connection, low performance media device passes through software upgrading,
Support that carrying out transcoding with the set-top box requests interactive function;
When starting initialization, converter reports itself transcoding capabilities collection to controller and stores the set-top box, and works as
Occur automatically updating when new software version, expansible transcoding capabilities;
After the low performance media device and controller initialization connection, this method further include: low performance media device note
Volume device id, reports itself decoding capability collection to store to controller, and by controller;
The transcoding capabilities collection include set-top box support decoding media formats, such as H.265 and coding media formats, such as
MPEG-2, H.264, and the media formats are arranged by high complexity to low complex degree;
The decoding capability collection includes the decoding media formats that low performance media device is supported, such as MPEG-2, H.264, and
The decoding media formats are arranged by high complexity to low complex degree;
The transcoding request includes: low performance media device ID, IP address, MAC Address, transcoding source address;
Here, when the low performance media device is connect with controller again, controller can be by matching low performance matchmaker
Body device id matches the MAC Address of low performance media device or matches low performance media device IP or matching low performance matchmaker
Any combination of body device id, IP and MAC Address, or the other any marks that can be used as low performance media device identification of matching,
Obtain the decoding capability collection of low performance media device;
Step 204: low performance media device plays media resource, executes step 212 later.
Step 205: controller parses transcoding request message, obtains media formats to be transcoded, judges whether to support the matchmaker
Body format code transferring executes step 206 if supported;If it does not, executing step 208;
Here, described to judge whether to support the media format code transferring specifically: controller parse transcoding request, obtain to
Transcoding media format, and media formats to be transcoded are matched with itself transcoding capabilities collection, judge whether to support the media formats
Transcoding;
Step 206: controller determines Transcoding Scheme;
Here, the determining Transcoding Scheme specifically: controller is by media formats to be transcoded and itself transcoding capabilities collection
After matching, itself transcoding capabilities collection is matched with low performance media device decoding capability collection further, determines Transcoding Scheme, it is preferential to select
Hardware transcoding is selected, the format that hardware transcoding is not supported selects software transcoding.
Step 207: controller sends the download message comprising transcoding source address and gives scheduling of resource processor, and sends and include
The transcoding message of Transcoding Scheme executes step 209 to converter later;
Here, the transcoding source address can be is locally stored in network uniform resource finger URL (URL) or local area network
URL.
Step 208: controller transmission does not support transcoding message to give low performance media device, executes step 212 later.
Step 209: scheduling of resource processor downloads media data to be transcoded, and is sent to memory;
Here, the scheduling of resource processor downloads media data to be transcoded, specifically: under the parsing of scheduling of resource processor
Message is carried, transcoding source address is obtained, downloading request is sent and downloads media data to be transcoded, and sent out after being received by signal transceiver
Give memory;
Here, the downloading request can be RTSP request, HTTP request or other communications protocol request methods.
Step 210: converter treats transcoding media data and carries out real-time transcoding, and media data after transcoding is sent to and is deposited
Reservoir;
Here, the converter treats transcoding media data and carries out transcoding, specifically: the parsing of the first sub-processor is comprising turning
The transcoding request of code scheme, obtains Transcoding Scheme;Decoder is treated transcoding media data and is decoded, and source media data is obtained,
And source media data is sent to encoder;Encoder recompiles source media data, obtains media data after transcoding,
And in memory by media data storage after transcoding.
Step 211: media data gives low performance media device after scheduling of resource processor uploads transcoding, and executes step
212。
Step 212: terminating this process flow.
Fig. 3 is the implementation process signal of another method that media data transcoding is realized based on set-top box of the embodiment of the present invention
Figure, as shown in figure 3, should realize that the implementation process of the method for media data transcoding included: based on set-top box
Step 301: low performance media device and controller initialization connect, and obtain media playing resources column by set-top box
Table;
Here, the low performance media device and controller initialization connection can be or wireless by cable LAN
Local area network WIFI perhaps bluetooth or other wireless communication modes;
When the low performance media device is connect with controller again, can by matching low performance media device ID or
It matches the MAC Address of low performance media device or matches low performance media device IP or matching low performance media device ID, IP
And any combination of MAC Address, or the other any marks that can be used as low performance media device identification of matching, obtain low performance matchmaker
The decoding capability collection of body equipment;
Before the low performance media device is connect with controller, low performance media device by software upgrading, support with
The set-top box carries out transcoding and requests interactive function;
For the set-top box when starting initialization, converter reports itself transcoding capabilities collection to controller, is deposited by controller
Storage, and automatically updated when there is new software version, expansible transcoding capabilities;
After the low performance media device and controller initialization connection, this method further include: low performance media device note
Volume device id, reports itself decoding capability collection to store to controller, and by controller;
The transcoding capabilities collection includes the decoding media formats that the set-top box is supported, such as H.265 and coding media lattice
Formula, such as MPEG-2, H.264, and the media formats are arranged by high complexity to low complex degree;
The decoding capability collection includes the decoding media formats that low performance media device is supported, such as MPEG-2, H.264, and
The decoding media formats are arranged by high complexity to low complex degree;
Here, the acquisition media playing resources list specifically: set-top box is connect by home gateway with internet, such as
It shown in Fig. 5, or is connect with internet by the router of itself, as shown in fig. 6, obtaining media playing resources list, and is passed through
Media playing resources list is sent to low performance media device by signal transceiver;Alternatively, set-top box passes through wired or wireless office
Domain net is connect with each equipment of family, obtains each equipment of family and Media Resource List is locally stored, and by signal transceiver, by matchmaker
Body playing resource list is sent to low performance media device.
Step 302: low performance media device needs to play media resource, sends playing request message to controller;
Here, the playing request message includes: low performance media device ID, IP address, MAC Address, plays source address;
Here, the broadcasting source address can be is locally stored in network uniform resource finger URL (URL) or local area network
URL.
Step 303: controller parses transcoding request, obtains media formats to be played, whether judges low performance media device
It supports the media formats to decode, if supported, executes step 304;If it does not, executing step 306;
It is described here to judge whether low performance media device supports the media formats to decode, specifically: controller parsing is broadcast
Request message is put, obtains media formats to be played, and by media formats to be played and low performance media device decoding capability collection
Match, judges whether low performance media device supports the media formats to decode;
It is described to judge whether to support the media format code transferring specifically: controller parse playing request message, obtain to
Media formats are played, and media formats to be played are matched with itself transcoding capabilities collection, judge whether to support the media formats
Transcoding;
Step 304: scheduling of resource processor downloads media data to be played, and is sent to memory;
Scheduling of resource processor described here downloads media data to be played, specifically: controller transmission includes to play
The download message of source address gives scheduling of resource processor, and scheduling of resource processor parses download message, obtains and plays source address, hair
It send downloading request to download media data to be played, and is stored in memory after being received by signal transceiver;
Here, the downloading request can be RTSP request, HTTP request or other communications protocol request methods.
Step 305: scheduling of resource processor uploads media data to be played and gives low performance media device, executes step later
311。
Step 306: controller further judges whether itself supports the media format code transferring, if supported, executes step
Rapid 307;If it does not, executing step 309;
Step 307: controller determines Transcoding Scheme, and executes step 304 ': scheduling of resource processor downloads matchmaker to be played
Volume data, and it is sent to memory;
The determining Transcoding Scheme specifically: controller is first by media formats to be transcoded and itself transcoding capabilities collection
Match, further itself transcoding capabilities collection is matched with low performance media device decoding capability collection then, determines Transcoding Scheme, preferentially
Hardware transcoding is selected, the format that hardware transcoding is not supported selects software transcoding.
Step 308: controller sends the transcoding message comprising Transcoding Scheme to converter, and converter treats transcoding media number
It is sent to memory according to progress real-time transcoding, and by media data after transcoding, executes step 310;
Converter described here treats transcoding media data and carries out real-time transcoding, specifically: the first sub-processor parsing packet
Transcoding request containing Transcoding Scheme, obtains Transcoding Scheme;Decoder is treated transcoding media data and is decoded, and source media number is obtained
According to, and source media data is sent to encoder;Encoder recompiles source media data, obtains media number after transcoding
According to, and in memory by media data storage after transcoding.
Step 309: controller transmission does not support transcoding message to give low performance media device, executes step 311 later.
Step 310: media data gives low performance media device after scheduling of resource processor uploads transcoding, and executes step
311。
Step 311: terminating this process flow.
Fig. 4 is a kind of system composed structure schematic diagram that media data transcoding is realized based on set-top box of the embodiment of the present invention,
As shown in figure 4, should realize that the system composed structure of media data transcoding included that set-top box 42 is low at least one based on set-top box
Performance media device 41;Wherein,
The low performance media device 41, for sending transcoding request;
The set-top box 42 determines Transcoding Scheme, and it is real to treat transcoding media data for parsing the transcoding received request
When transcoding, media data after transcoding is sent to low performance media device.
Wherein, the machine top of the inside concrete composition of the set-top box 42 and each component part are realized function and Fig. 1 description
Box is identical.
Further, transcoding request includes: low performance media device ID, IP address, MAC Address and transcoding source
Location;
Here, the transcoding source address can be is locally stored in network uniform resource finger URL (URL) or local area network
URL.
Further, the low performance media device 41 is also used to initialize with set-top box 42 and connect, and registers device id, and
Report itself decoding capability collection;
Here, when the low performance media device 41 is connect with set-top box 42 again, set-top box 42 can be low by matching
Performance media device ID matches the MAC Address of low performance media device or matches low performance media device IP or match low
Any combination of performance media device ID, IP and MAC Address, or the other any low performance media device identifications of can be used as of matching
Mark obtains the decoding capability collection of low performance media device;
The decoding capability collection include low performance media device support decoding media formats, such as H.264, MPEG-2, and
The decoding media formats are arranged by high complexity to low complex degree;
Further, the set-top box 42 be also used to record and store the ID of low performance media device, mac address information,
Decoding capability collection and the transcoding capabilities collection of itself;
Here, the transcoding capabilities collection includes the decoding media formats that the converter is supported, such as H.265 and coding matchmaker
Physique formula, such as MPEG-2, H.264, and the media formats are arranged by high complexity to low complex degree.
Further, the determining Transcoding Scheme, specifically: the set-top box 42 parses what low performance media device was sent
Transcoding request, obtains transcoding source address, and parse transcoding source address, obtains the corresponding media formats to be transcoded of transcoding source address,
Media formats to be transcoded are matched with itself transcoding capabilities collection, and by the decoding of itself transcoding capabilities collection and low performance media device
Capability set matching.
It is described to treat transcoding media data real-time transcoding, specifically: the set-top box 42 downloads media data to be transcoded, right
Media data decoding to be transcoded, and decoded media data are recompiled.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention.
Claims (14)
1. a kind of set-top box, the signal transceiver including completing message and data interaction;It is characterized in that, the set-top box also wraps
It includes: controller, converter, scheduling of resource processor and memory;Wherein,
Controller determines Transcoding Scheme, and trigger converter and scheduling of resource processor for parsing the transcoding received request;
Converter, for obtaining media data to be transcoded according to the triggering of controller, according to determining Transcoding Scheme to be transcoded
Media data carries out transcoding, and media data after transcoding is sent to memory;
Scheduling of resource processor, for downloading media data to be transcoded according to the triggering of controller and be sent to memory, and
It obtains and uploads media data after transcoding;
Memory, for storing media data after media data and transcoding to be transcoded;
The controller is also used to record and store the transcoding capabilities collection of decoding capability collection and converter, wherein the decoding
Capability set includes: the decoding media formats that media device is supported, and the decoding media formats are by high complexity to low complex degree
Arrangement;
The transcoding capabilities collection includes: the decoding media formats that the converter is supported, and encodes media formats, and the media
Format is arranged by high complexity to low complex degree;
Wherein, the controller, specifically for the corresponding media to be transcoded of transcoding source address that will include in transcoding request
Format is matched with the transcoding capabilities collection, the transcoding capabilities collection is matched with the decoding capability collection, with the determination transcoding
Scheme.
2. set-top box according to claim 1, which is characterized in that the controller is also used to record and store low performance matchmaker
The mark ID of body equipment, media access control (MAC) address information.
3. set-top box according to claim 1, which is characterized in that the transcoding request further include: low performance media device ID,
IP address and MAC Address.
4. set-top box according to claim 3, which is characterized in that the controller is also used to:
Parse transcoding request, obtain and parse the transcoding source address, obtain the transcoding source address it is corresponding it is described to
Transcoding media format.
5. set-top box according to claim 4, which is characterized in that the controller triggering converter and scheduling of resource processor
It include: to send the transcoding message comprising Transcoding Scheme to converter, transmission includes the download message of transcoding source address to resource
Dispatch processor.
6. set-top box according to claim 1, which is characterized in that the converter include: the first sub-processor, decoder and
Encoder;Wherein,
First sub-processor, for reporting itself transcoding capabilities collection to controller, and the transcoding that processing controller is sent disappears
Breath;
The decoder obtains source media data, and source media data is sent to volume for treating the decoding of transcoding media data
Code device;
The encoder obtains media data after transcoding for recompiling to source media data.
7. set-top box according to claim 1, which is characterized in that the set-top box further includes router;
The router, the routing being used to provide the described between set-top box and internet.
8. a kind of method for realizing media data transcoding based on set-top box, which is characterized in that the described method includes:
The transcoding request received is received and parsed through, and determines Transcoding Scheme;
Media data to be transcoded is downloaded, transcoding media data are treated according to determining Transcoding Scheme and carry out transcoding, and send transcoding
Media data afterwards;
It is described to receive and parse through the transcoding request received, and determine Transcoding Scheme, comprising:
It is matched, is determined by the transcoding capabilities collection to the decoding capability collection and converter being stored in the set-top box
The Transcoding Scheme, wherein the decoding capability collection includes: the decoding media formats that media device is supported, and the decoding matchmaker
Physique formula is arranged by high complexity to low complex degree;The transcoding capabilities collection includes: the decoding media lattice that the converter is supported
Formula, and coding media formats, and the media formats are arranged by high complexity to low complex degree;
Wherein, the determining Transcoding Scheme, comprising: the corresponding matchmaker to be transcoded of transcoding source address that will include in transcoding request
Physique formula is matched with the transcoding capabilities collection, and the transcoding capabilities collection is matched with the decoding capability collection, to determine described turn
Code scheme.
9. method according to claim 8, which is characterized in that it is described receive and parse through receive transcoding request before, it is described
Method further include:
Record and store ID, the mac address information of low performance media device.
10. method according to claim 8, which is characterized in that the transcoding request further include: low performance media device ID,
IP address and MAC Address.
11. method according to claim 10, which is characterized in that the method also includes:
The transcoding request that low performance media device is sent is parsed, obtains and parses the transcoding source address, obtain the transcoding source
The corresponding media formats to be transcoded in address.
12. method according to claim 8, which is characterized in that the transcoding media data for the treatment of carry out transcoding, comprising:
Media data to be transcoded is downloaded, transcoding media data is treated and decodes to obtain source media data, and source media data is carried out
It recompiles, obtains media data after transcoding.
13. a kind of system for realizing media data transcoding based on set-top box, which is characterized in that the system includes set-top box and at least
One low performance media device;Wherein,
The low performance media device, for sending transcoding request;
The set-top box is any one of claim 1 to 7 set-top box.
14. 3 system according to claim 1, which is characterized in that the low performance media device is also used at the beginning of with set-top box
Beginningization connection, registers device id, and report itself decoding capability collection.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310505160.7A CN104581234B (en) | 2013-10-23 | 2013-10-23 | A kind of set-top box and the method and system based on set-top box realization media data transcoding |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310505160.7A CN104581234B (en) | 2013-10-23 | 2013-10-23 | A kind of set-top box and the method and system based on set-top box realization media data transcoding |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104581234A CN104581234A (en) | 2015-04-29 |
CN104581234B true CN104581234B (en) | 2019-10-11 |
Family
ID=53096285
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310505160.7A Active CN104581234B (en) | 2013-10-23 | 2013-10-23 | A kind of set-top box and the method and system based on set-top box realization media data transcoding |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104581234B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105578193A (en) * | 2015-12-31 | 2016-05-11 | 武汉亿播科技有限公司 | Data transcoding system and method based on digital video conversion box |
CN107635145B (en) * | 2016-07-19 | 2020-02-14 | 中国电信股份有限公司 | Audio self-adaptive playing and control method and system, set top box and playing terminal |
CN106303572A (en) * | 2016-08-30 | 2017-01-04 | 北京数码视讯软件技术发展有限公司 | A kind of flow-medium performance plays method, device and system |
CN107786888A (en) * | 2017-11-07 | 2018-03-09 | 四川九州电子科技股份有限公司 | The system and method for forwarding HDMI video signal is gathered using top box of digital machine |
CN109361925B (en) * | 2018-11-14 | 2019-07-16 | 浙江远算云计算有限公司 | A kind of video flowing accelerated method based on HEVC transcoding |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102143385A (en) * | 2011-03-16 | 2011-08-03 | 华为技术有限公司 | Media play processing method, digital media server and system |
CN202551259U (en) * | 2011-12-27 | 2012-11-21 | 北京朝歌数码科技股份有限公司 | Set-top box multi-format transcoding device and multimedia playing system |
CN203015055U (en) * | 2012-11-05 | 2013-06-19 | 惠州市伟乐科技有限公司 | Digital television set top box with transcoding function |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1798048A (en) * | 2004-12-29 | 2006-07-05 | 国际商业机器公司 | Method and device of sharing content information |
-
2013
- 2013-10-23 CN CN201310505160.7A patent/CN104581234B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102143385A (en) * | 2011-03-16 | 2011-08-03 | 华为技术有限公司 | Media play processing method, digital media server and system |
CN202551259U (en) * | 2011-12-27 | 2012-11-21 | 北京朝歌数码科技股份有限公司 | Set-top box multi-format transcoding device and multimedia playing system |
CN203015055U (en) * | 2012-11-05 | 2013-06-19 | 惠州市伟乐科技有限公司 | Digital television set top box with transcoding function |
Also Published As
Publication number | Publication date |
---|---|
CN104581234A (en) | 2015-04-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6944485B2 (en) | Requests for multiple chunks to a network node based on a single request message | |
US10116572B2 (en) | Method, device, and system for acquiring streaming media data | |
CN105284093B (en) | Method and apparatus for fetching media data | |
EP2805471B1 (en) | Method and apparatus for enabling pre-fetching of media | |
CN104737518B (en) | The system and method for indicating and transmitting for data | |
CN104581234B (en) | A kind of set-top box and the method and system based on set-top box realization media data transcoding | |
CN104704844B (en) | For orienting equipment, method and the system of coordinating the streaming of (CVO) with video | |
CN103888818B (en) | A kind of television program playing method, equipment and system | |
CN105049954B (en) | Multicast transmission method, device and system for OTT media | |
JP6513402B2 (en) | Device for acquiring content by selecting transport protocol according to available bandwidth | |
WO2012151865A1 (en) | Data transmission method and system | |
CN102055718B (en) | Method, device and system for layering request content in http streaming system | |
CN106303682B (en) | Method, apparatus, terminal and the server of channel switching | |
CN101160967A (en) | Electronic program guide, stream media scheduling and demanding system, method and device | |
CN102739627A (en) | Method and system for switching and playing video | |
WO2012109821A1 (en) | Method, system for sharing steaming media resources, and device with digital living network alliance (dlna) function | |
KR102499231B1 (en) | Receiving device, sending device and data processing method | |
CN107124668B (en) | Streaming transmission device and method, streaming transmission service system, and recording medium | |
CN102474517A (en) | A method of switching media content for a mobile apparatus | |
CN103491427A (en) | Method and device for processing video | |
WO2015060148A1 (en) | Reception apparatus, reception method, transmission apparatus, and transmission method | |
JP2014090419A (en) | Method for downloading content according to communication parameter, and related content receiver | |
CN115643426B (en) | Universal video playing method and system for space application field | |
JP2006319851A (en) | Portable terminal, streaming communication system, streaming communication method, and streaming communication program | |
WO2017114393A1 (en) | Http streaming media transmission method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |