CN104735463A - Streaming media transmission method and system - Google Patents

Streaming media transmission method and system Download PDF

Info

Publication number
CN104735463A
CN104735463A CN201510143966.5A CN201510143966A CN104735463A CN 104735463 A CN104735463 A CN 104735463A CN 201510143966 A CN201510143966 A CN 201510143966A CN 104735463 A CN104735463 A CN 104735463A
Authority
CN
China
Prior art keywords
key frame
picture frame
transmission
frame
video file
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
CN201510143966.5A
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.)
Software Science And Technology Ltd Is Circulated And Sung In Nanjing
Original Assignee
Software Science And Technology Ltd Is Circulated And Sung In Nanjing
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 Software Science And Technology Ltd Is Circulated And Sung In Nanjing filed Critical Software Science And Technology Ltd Is Circulated And Sung In Nanjing
Priority to CN201510143966.5A priority Critical patent/CN104735463A/en
Publication of CN104735463A publication Critical patent/CN104735463A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26283Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for associating distribution time parameters to content, e.g. to generate electronic program guide data

Abstract

The embodiment of the invention discloses a streaming media transmission method. The streaming media transmission method comprises the steps that a video file is transmitted to a streaming media live broadcast server or a broadcast foreground; if a transmission error occurs, a key frame which is not later than the image frame which is transmitted at last is found in the video file; decoding is started from the found key frame; encoding is conducted by using the image frame which is transmitted at last as the key frame; the video file which is obtained after encoding is transmitted to the streaming media live broadcast server or the broadcast foreground. According to the streaming media transmission method, the key frame which is not later than the image frame which is transmitted at last is found in the video file, decoding is started from the found key frame, encoding is conducted by using the image frame which is transmitted finally as the key frame, in this way, it is guaranteed that the streaming media live broadcast server can directly decode received image frames under the conditions of network interruption and reconnection, and streaming media transmission reliability and stability are guaranteed.

Description

Flow-medium transmission method and system
Technical field
The embodiment of the present application relates to streaming media transmission technique field, particularly relates to a kind of flow-medium transmission method and system.
Background technology
At multimedia messagess such as transmission over networks audio/videos, mainly contain and download and stream transmission two schemes.Defeated audio/video file is general all comparatively large, so the memory capacity needed is also larger; Simultaneously due to the restriction of the network bandwidth, download and usually will spend several minutes even a few hours, so this processing method postpones also very large.During stream transmission, the time-base medias such as sound, image or animation by audio/video server to subscriber computer continuous, transmit in real time, user need not wait until that whole file is all downloaded complete, and only can need watch through the start-up study of several seconds or ten several seconds.When the time-base medias such as sound are play on a client, the remainder of file will continue in server on backstage to download.Stream transmission not only makes start-up study tenfold, hundred times of ground shorten, and do not need too large buffer memory capacity.Stream transmission avoids user and must wait for that the shortcoming that could watch all downloaded from the Internet by whole file.Along with the development of Internet technology, online Technology of Multimedia Stream Playing is widely used.
Streaming Media when transmitting, background process collection of server encoded video file, and the video file after coding is sent to live streaming media server.But, when network interruption and after reconnecting, described live streaming media server this connection as a new connection.When the picture frame that background process server continues to send over is non-key frame, just can decode because non-key frame must rely on key frame, again due to the disappearance of key frame, so the non-key frame before receiving key frame abandons by live streaming media server, and cause streaming media imperfect.
Therefore, be necessary to provide a kind of new solution to solve the problem in fact.
Summary of the invention
The embodiment of the present application provides a kind of flow-medium transmission method, for realizing reliability and the stability of stream media broadcast.
The embodiment of the present application provides a kind of stream media transmission system, for realizing reliability and the stability of stream media broadcast.
The embodiment of the present application provides another kind of flow-medium transmission method, for realizing reliability and the stability of stream media broadcast.
The embodiment of the present application provides another kind of stream media transmission system, for realizing reliability and the stability of stream media broadcast.
For solving the problems of the technologies described above, the embodiment of the present application provides:
A kind of flow-medium transmission method, comprising:
By video file to live streaming media server or the transmission of broadcasting foreground;
If there is error of transmission, in video file, find the key frame of the picture frame being not later than last transmission;
Decode from the key frame found;
The picture frame that finally transmits is encoded as key frame;
By the video file after coding to live streaming media server or the transmission of broadcasting foreground.
Further, find the key frame of the picture frame being not later than last transmission in video file before, described method also comprises:
Judge whether the last picture frame transmitted is key frame;
If the picture frame of last transmission is key frame, by video file to live streaming media server or the transmission of broadcasting foreground.
A kind of stream media transmission system, comprising:
Transmitting device, for transmitting video file to live streaming media server or broadcasting foreground;
Processing unit, if for there is error of transmission, finds the key frame of the picture frame being not later than last transmission in video file; Decode from the key frame found; The picture frame that finally transmits is encoded as key frame;
Described transmitting device concrete also for, by the video file after coding to live streaming media server or play foreground transmission.
Further, described processing unit concrete also for, find the key frame of the picture frame being not later than last transmission in video file before, judge whether the picture frame of last transmission is key frame; If the picture frame of last transmission is key frame, video file transmits to live streaming media server or broadcasting foreground by described transmitting device.
A kind of flow-medium transmission method, comprising:
The picture frame of video file is stored to back-up storage table;
By video file to live streaming media server or the transmission of broadcasting foreground;
If there is error of transmission, in back-up storage table, find the key frame of the picture frame being not later than last transmission;
Decode from the key frame found;
The picture frame that finally transmits is encoded as key frame;
By the video file after coding to live streaming media server or the transmission of broadcasting foreground.
Further, find the key frame of the picture frame being not later than last transmission in back-up storage table before, described method also comprises:
Judge whether the last picture frame transmitted is key frame;
If the picture frame of last transmission is key frame, by video file to live streaming media server or the transmission of broadcasting foreground.
Further, the picture frame of video file is stored to back-up storage table, specifically comprises:
Judge whether picture frame is key frame;
If picture frame is key frame, empty back-up storage table, described key frame is stored to back-up storage table;
If picture frame is not key frame, directly described picture frame is stored to back-up storage table.
A kind of stream media transmission system, comprising:
Transmitting device, for transmitting video file to live streaming media server or broadcasting foreground;
Back-up storage table, for the picture frame of store video files;
Processing unit, if for there is error of transmission, finds the key frame of the picture frame being not later than last transmission in back-up storage table; Decode from the key frame found; The picture frame that finally transmits is encoded as key frame;
Described transmitting device concrete also for, by the video file after coding to live streaming media server or play foreground transmission.
Further, described processing unit concrete also for: find the key frame of the picture frame being not later than last transmission in back-up storage table before, judge whether the picture frame of last transmission is key frame; If the picture frame of last transmission is key frame, video file transmits to live streaming media server or broadcasting foreground by described transmitting device.
Further, described processing unit specifically for: judge whether picture frame is key frame; If picture frame is key frame, empty back-up storage table, described key frame is stored to back-up storage table; If picture frame is not key frame, directly described picture frame is stored to back-up storage table.
Compared with prior art, the embodiment of the present application has following beneficial effect: the embodiment of the present application by finding the key frame of the picture frame being not later than last transmission in video file, decode from the key frame found, the picture frame that finally transmits is encoded as key frame, to ensure that live streaming media server can break in a network and reconnect the picture frame that can directly decode and receive, ensure reliability and the stability of streaming media.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide the further understanding to the embodiment of the present application, form the part of the embodiment of the present application, the schematic application embodiment of the embodiment of the present application and explanation thereof, for explaining the embodiment of the present application, do not form the improper restriction to the embodiment of the present application.In the accompanying drawings:
Fig. 1 is the step schematic diagram of the flow-medium transmission method that the embodiment of the present application provides;
Fig. 2 is the structural representation of the stream media transmission system that the embodiment of the present application provides;
Fig. 3 is the step schematic diagram of the another kind of flow-medium transmission method that the embodiment of the present application provides;
Fig. 4 is the flow chart of the another kind of flow-medium transmission method that the embodiment of the present application provides;
Fig. 5 is the structural representation of the another kind of stream media transmission system that the embodiment of the present application provides.
Embodiment
For making the object of the embodiment of the present application, technical scheme and advantage clearly, specifically apply for that embodiment and corresponding accompanying drawing are clearly and completely described the embodiment of the present application technical scheme below in conjunction with the embodiment of the present application.Obviously, described application embodiment is only the embodiment of the present application part application embodiment, instead of whole application embodiments.Based on the application embodiment in the embodiment of the present application, those of ordinary skill in the art are not making the every other application embodiment obtained under creative work prerequisite, all belong to the scope of the embodiment of the present application protection.
Fig. 1 is the step schematic diagram of the flow-medium transmission method that the embodiment of the present application provides.
Described flow-medium transmission method, comprising:
S101: by video file to live streaming media server or the transmission of broadcasting foreground.
In the embodiment of the present application, operating main body is background process server.Described background process server is for the treatment of video file.Described background process server comprises transmitting device, and video file transmits to live streaming media server or broadcasting foreground by described transmitting device.
In a kind of embodiment, described background process server is directly connected with broadcasting foreground.Video file transmits to broadcasting foreground by described transmitting device.Described broadcasting foreground is used for streaming media and carries out decoding broadcasting, and realizes the broadcasting of video file.
In another kind of embodiment, described background process server is connected with broadcasting foreground and live streaming media server respectively.Video file transmits to live streaming media server by described transmitting device.Described broadcasting foreground is used for streaming media and carries out decoding broadcasting, and realizes the broadcasting of video file.Described live streaming media server is used for Streaming Media to be quickly transferred to play foreground.
S102: if there is error of transmission, finds the key frame of the picture frame being not later than last transmission in video file.
Described background process server also comprises processing unit.When there is error of transmission, reconnect as network interruption.Described processing unit finds the key frame of the picture frame being not later than last transmission in video file.
S103: decode from the key frame found.
Described processing unit is decoded from the key frame found.
S104: the picture frame that finally transmits is encoded as key frame.
The picture frame that finally transmits is encoded as key frame by described processing unit.
S105: by the video file after coding to live streaming media server or the transmission of broadcasting foreground.
Video file after coding transmits to live streaming media server or broadcasting foreground by described transmitting device.
In online Technology of Multimedia Stream Playing, in order to control taking and the light and flexible of play-back technology itself resource, the code system of online streaming media playing support is limited and fixing.Therefore, online flow media playing method comprises: decoding-> coding-> decoding, to realize the code system supported from general code system changing into stream medium player, is finally supplied to and plays foreground broadcasting.
The embodiment of the present application by finding the key frame of the picture frame being not later than last transmission in video file, decode from the key frame found, the picture frame that finally transmits is encoded as key frame, to ensure that live streaming media server can break in a network and reconnect the picture frame that can directly decode and receive, ensure reliability and the stability of streaming media.
Further, find the key frame of the picture frame being not later than last transmission in video file before, described method also comprises: judge whether the last picture frame transmitted is key frame; If the picture frame of last transmission is key frame, by video file to live streaming media server or the transmission of broadcasting foreground.
Find the key frame of the picture frame being not later than last transmission in video file before, described processing unit judges whether the picture frame of last transmission is key frame; If the picture frame of last transmission is key frame, video file transmits to live streaming media server or broadcasting foreground by described transmitting device.When network interruption and after reconnecting, if what described background process server needed transmission is key frame, then video file transmits to live streaming media server or broadcasting foreground by described transmitting device, and do recompile operation again without the need to processing unit, to ensure the runnability of background process server.
Be the flow-medium transmission method that the application provides above, relevant technical staff in the field will be understood that the application goes back correspondence and provides a kind of stream media transmission system, as shown in Figure 2.
Fig. 2 is the structural representation of the stream media transmission system that the embodiment of the present application provides.
A kind of stream media transmission system 100 specifically comprises:
Transmitting device 101, for transmitting video file to live streaming media server or broadcasting foreground;
Processing unit 102, if for there is error of transmission, finds the key frame of the picture frame being not later than last transmission in video file; Decode from the key frame found; The picture frame that finally transmits is encoded as key frame;
Described transmitting device 101 concrete also for, by the video file after coding to live streaming media server or play foreground transmission.
Further, described processing unit 102 concrete also for, find the key frame of the picture frame being not later than last transmission in video file before, judge whether the picture frame of last transmission is key frame; If the picture frame of last transmission is key frame, by video file to live streaming media server or the transmission of broadcasting foreground.
Fig. 3 is the step schematic diagram of the another kind of flow-medium transmission method that the embodiment of the present application provides.
Fig. 4 is the flow chart of the another kind of flow-medium transmission method that the embodiment of the present application provides.
Described flow-medium transmission method, comprising:
S201: the picture frame of video file is stored to back-up storage table.
Described background process server also comprises back-up storage table, and described back-up storage table is used for the backup carrying out picture frame when video file transfer.The picture frame of video file is stored to back-up storage table by described processing unit.
Described back-up storage table can be queue.
S202: by video file to live streaming media server or the transmission of broadcasting foreground.
In the embodiment of the present application, operating main body is background process server.Described background process server is for the treatment of video file.Described background process server comprises transmitting device, and video file transmits to live streaming media server or broadcasting foreground by described transmitting device.
S203: if there is error of transmission, finds the key frame of the picture frame being not later than last transmission in back-up storage table.
Described background process server also comprises processing unit.When there is error of transmission, reconnect as network interruption.Described processing unit finds the key frame of the picture frame being not later than last transmission in back-up storage table.
S204: decode from the key frame found.
Described processing unit is decoded from the key frame found.
S205: the picture frame that finally transmits is encoded as key frame.
The picture frame that finally transmits is encoded as key frame by described processing unit.
S206: by the video file after coding to live streaming media server or the transmission of broadcasting foreground.
Video file after coding transmits to live streaming media server or broadcasting foreground by described transmitting device.
The embodiment of the present application by finding the key frame of the picture frame being not later than last transmission in back-up storage table, decode from the key frame found, the picture frame that finally transmits is encoded as key frame, to ensure that live streaming media server can break in a network and reconnect the picture frame that can directly decode and receive, ensure reliability and the stability of streaming media, meanwhile, avoid directly operating video file, and change video file.
Further, find the key frame of the picture frame being not later than last transmission in back-up storage table before, described method also comprises: judge whether the last picture frame transmitted is key frame; If the picture frame of last transmission is key frame, by video file to live streaming media server or the transmission of broadcasting foreground.
Find the key frame of the picture frame being not later than last transmission in back-up storage table before, described processing unit judges whether the picture frame of last transmission is key frame; If the picture frame of last transmission is key frame, video file transmits to live streaming media server or broadcasting foreground by described transmitting device.When network interruption and after reconnecting, if what described background process server needed transmission is key frame, then video file transmits to live streaming media server or broadcasting foreground by described transmitting device, and do recompile operation again without the need to processing unit, to ensure the runnability of background process server.
Further, be described the picture frame of video file is stored to back-up storage table.Judge whether picture frame is key frame; If picture frame is key frame, empty back-up storage table, described key frame is stored to back-up storage table; If picture frame is not key frame, directly described picture frame is stored to back-up storage table.
When the picture frame of video file is stored to back-up storage table, described processing unit judges whether picture frame is key frame, if picture frame is key frame, empties back-up storage table, described key frame is stored to back-up storage table; If picture frame is not key frame, directly described picture frame is stored to back-up storage table.Therefore, to comprising a key frame and subsequent image frames thereof in back-up storage table, background process server process data are less, ensure handling property.
In specific embodiment, described back-up storage table is queue.Picture frame backs up in queue by described background process server, carries out the transmission of picture frame.It should be noted that, when backing up, described background process server judges whether the picture frame of required backup is key frame, if picture frame is key frame, empties queue, described key frame is stored to queue; If picture frame is not key frame, directly described picture frame is stored to queue.Therefore, in queue, the first memory space is key frame, and other memory spaces are non-key frame.When occurring error of transmission, when needing to retransmit, decoding the key frame that the first memory space stores from queue, obtaining last picture frame in this queue.Then, this picture frame is encoded as key frame.Finally, by the key frame transport stream medium living broadcast server after coding or the transmission of broadcasting foreground.
Be the another kind of flow-medium transmission method that the application provides above, relevant technical staff in the field will be understood that the application goes back correspondence and provides a kind of stream media transmission system, as shown in Figure 5.
Fig. 5 is the structural representation of the another kind of stream media transmission system that the embodiment of the present application provides.
A kind of stream media transmission system 200 specifically comprises:
Transmitting device 201, for transmitting video file to live streaming media server or broadcasting foreground;
Back-up storage table 202, for the picture frame of store video files;
Processing unit 203, if for there is error of transmission, finds the key frame of the picture frame being not later than last transmission in back-up storage table 202; Decode from the key frame found; The picture frame that finally transmits is encoded as key frame;
Described transmitting device 201 concrete also for, by the video file after coding to live streaming media server or play foreground transmission.
Further, described processing unit 203 concrete also for: find the key frame of the picture frame being not later than last transmission in back-up storage table 202 before, judge whether the picture frame of last transmission is key frame; If the picture frame of last transmission is key frame, video file transmits to live streaming media server or broadcasting foreground by described transmitting device 201.
Further, described processing unit 203 concrete also for: judge whether picture frame is key frame; If picture frame is key frame, empty back-up storage table 202, described key frame is stored to back-up storage table 202; If picture frame is not key frame, directly described picture frame is stored to back-up storage table 202.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the flow chart of the method for the embodiment of the present invention, equipment (system) and computer program and/or block diagram.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can being provided to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computer or other programmable data processing device produce device for realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices is provided for the step realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
In one typically configuration, computing equipment comprises one or more processor (CPU), input/output interface, network interface and internal memory.
Internal memory may comprise the volatile memory in computer-readable medium, and the forms such as random access memory (RAM) and/or Nonvolatile memory, as read-only memory (ROM) or flash memory (flashRAM).Internal memory is the example of computer-readable medium.
Computer-readable medium comprises permanent and impermanency, removable and non-removable media can be stored to realize information by any method or technology.Information can be computer-readable instruction, data structure, the module of program or other data.The example of the storage medium of computer comprises, but be not limited to phase transition internal memory (PRAM), static RAM (SRAM), dynamic random access memory (DRAM), the random access memory (RAM) of other types, read-only memory (ROM), Electrically Erasable Read Only Memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassette tape, tape magnetic rigid disk stores or other magnetic storage apparatus or any other non-transmitting medium, can be used for storing the information can accessed by computing equipment.According to defining herein, computer-readable medium does not comprise temporary computer readable media (transitory media), as data-signal and the carrier wave of modulation.
Also it should be noted that, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, product or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, product or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, product or the equipment comprising described key element and also there is other identical element.
It will be understood by those skilled in the art that the embodiment of the application can be provided as method, system or computer program.Therefore, the application can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the application can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) of computer usable program code.
The foregoing is only the embodiment of the application, be not limited to the application.To those skilled in the art, the application can have various modifications and variations.Any amendment done within all spirit in the application and principle, equivalent replacement, improvement etc., within the right that all should be included in the application.

Claims (10)

1. a flow-medium transmission method, is characterized in that, comprising:
By video file to live streaming media server or the transmission of broadcasting foreground;
If there is error of transmission, in video file, find the key frame of the picture frame being not later than last transmission;
Decode from the key frame found;
The picture frame that finally transmits is encoded as key frame;
By the video file after coding to live streaming media server or the transmission of broadcasting foreground.
2. the method for claim 1, is characterized in that, find the key frame of the picture frame being not later than last transmission in video file before, described method also comprises:
Judge whether the last picture frame transmitted is key frame;
If the picture frame of last transmission is key frame, by video file to live streaming media server or the transmission of broadcasting foreground.
3. a stream media transmission system, is characterized in that, comprising:
Transmitting device, for transmitting video file to live streaming media server or broadcasting foreground;
Processing unit, if for there is error of transmission, finds the key frame of the picture frame being not later than last transmission in video file; Decode from the key frame found; The picture frame that finally transmits is encoded as key frame;
Described transmitting device concrete also for, by the video file after coding to live streaming media server or play foreground transmission.
4. system as claimed in claim 3, is characterized in that,
Described processing unit concrete also for, find the key frame of the picture frame being not later than last transmission in video file before, judge whether the picture frame of last transmission is key frame; If the picture frame of last transmission is key frame, video file transmits to live streaming media server or broadcasting foreground by described transmitting device.
5. a flow-medium transmission method, is characterized in that, comprising:
The picture frame of video file is stored to back-up storage table;
By video file to live streaming media server or the transmission of broadcasting foreground;
If there is error of transmission, in back-up storage table, find the key frame of the picture frame being not later than last transmission;
Decode from the key frame found;
The picture frame that finally transmits is encoded as key frame;
By the video file after coding to live streaming media server or the transmission of broadcasting foreground.
6. method as claimed in claim 5, is characterized in that, find the key frame of the picture frame being not later than last transmission in back-up storage table before, described method also comprises:
Judge whether the last picture frame transmitted is key frame;
If the picture frame of last transmission is key frame, by video file to live streaming media server or the transmission of broadcasting foreground.
7. the method as described in claim 5 or 6, is characterized in that,
The picture frame of video file is stored to back-up storage table, specifically comprises:
Judge whether picture frame is key frame;
If picture frame is key frame, empty back-up storage table, described key frame is stored to back-up storage table;
If picture frame is not key frame, directly described picture frame is stored to back-up storage table.
8. a stream media transmission system, is characterized in that, comprising:
Transmitting device, for transmitting video file to live streaming media server or broadcasting foreground;
Back-up storage table, for the picture frame of store video files;
Processing unit, if for there is error of transmission, finds the key frame of the picture frame being not later than last transmission in back-up storage table; Decode from the key frame found; The picture frame that finally transmits is encoded as key frame;
Described transmitting device concrete also for, by the video file after coding to live streaming media server or play foreground transmission.
9. system as claimed in claim 8, is characterized in that,
Described processing unit concrete also for: find the key frame of the picture frame being not later than last transmission in back-up storage table before, judge whether the picture frame of last transmission is key frame; If the picture frame of last transmission is key frame, video file transmits to live streaming media server or broadcasting foreground by described transmitting device.
10. system as claimed in claim 8 or 9, is characterized in that,
Described processing unit specifically for: judge whether picture frame is key frame; If picture frame is key frame, empty back-up storage table, described key frame is stored to back-up storage table; If picture frame is not key frame, directly described picture frame is stored to back-up storage table.
CN201510143966.5A 2015-03-26 2015-03-26 Streaming media transmission method and system Pending CN104735463A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510143966.5A CN104735463A (en) 2015-03-26 2015-03-26 Streaming media transmission method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510143966.5A CN104735463A (en) 2015-03-26 2015-03-26 Streaming media transmission method and system

Publications (1)

Publication Number Publication Date
CN104735463A true CN104735463A (en) 2015-06-24

Family

ID=53458827

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510143966.5A Pending CN104735463A (en) 2015-03-26 2015-03-26 Streaming media transmission method and system

Country Status (1)

Country Link
CN (1) CN104735463A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106488273A (en) * 2016-10-10 2017-03-08 广州酷狗计算机科技有限公司 A kind of method and apparatus of transmission live video
CN106604064A (en) * 2016-12-30 2017-04-26 北京奇艺世纪科技有限公司 Rapid broadcasting method and device
CN107172444A (en) * 2017-03-30 2017-09-15 武汉斗鱼网络科技有限公司 A kind of network direct broadcasting reconnection method and system
CN108243174A (en) * 2016-12-27 2018-07-03 北京新唐思创教育科技有限公司 Online living broadcast interactive system and method
CN110225362A (en) * 2019-06-04 2019-09-10 浙江大华技术股份有限公司 A kind of live broadcasting method, direct broadcast server and storage device
CN111314648A (en) * 2020-02-28 2020-06-19 联想(北京)有限公司 Information processing method, processing device, first electronic equipment and server
CN111478916A (en) * 2020-04-15 2020-07-31 北京仁光科技有限公司 Data transmission method, device and storage medium based on video stream

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1516184A (en) * 2003-01-10 2004-07-28 华为技术有限公司 Processing method of multi-media data
CN101459693A (en) * 2008-12-29 2009-06-17 中兴通讯股份有限公司 Stream media downloading method and system
CN102264004A (en) * 2011-08-05 2011-11-30 Tcl集团股份有限公司 Method and device for preventing deficiency of key frame from causing seek incapability
WO2012166813A1 (en) * 2011-06-03 2012-12-06 Apple Inc. Playlists for real-time or near real-time streaming

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1516184A (en) * 2003-01-10 2004-07-28 华为技术有限公司 Processing method of multi-media data
CN101459693A (en) * 2008-12-29 2009-06-17 中兴通讯股份有限公司 Stream media downloading method and system
WO2012166813A1 (en) * 2011-06-03 2012-12-06 Apple Inc. Playlists for real-time or near real-time streaming
CN102264004A (en) * 2011-08-05 2011-11-30 Tcl集团股份有限公司 Method and device for preventing deficiency of key frame from causing seek incapability

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106488273A (en) * 2016-10-10 2017-03-08 广州酷狗计算机科技有限公司 A kind of method and apparatus of transmission live video
CN106488273B (en) * 2016-10-10 2019-09-10 广州酷狗计算机科技有限公司 A kind of method and apparatus for transmitting live video
CN108243174A (en) * 2016-12-27 2018-07-03 北京新唐思创教育科技有限公司 Online living broadcast interactive system and method
CN106604064A (en) * 2016-12-30 2017-04-26 北京奇艺世纪科技有限公司 Rapid broadcasting method and device
CN107172444A (en) * 2017-03-30 2017-09-15 武汉斗鱼网络科技有限公司 A kind of network direct broadcasting reconnection method and system
CN107172444B (en) * 2017-03-30 2019-07-09 武汉斗鱼网络科技有限公司 A kind of network direct broadcasting reconnection method and system
CN110225362A (en) * 2019-06-04 2019-09-10 浙江大华技术股份有限公司 A kind of live broadcasting method, direct broadcast server and storage device
CN111314648A (en) * 2020-02-28 2020-06-19 联想(北京)有限公司 Information processing method, processing device, first electronic equipment and server
CN111478916A (en) * 2020-04-15 2020-07-31 北京仁光科技有限公司 Data transmission method, device and storage medium based on video stream

Similar Documents

Publication Publication Date Title
CN104735463A (en) Streaming media transmission method and system
US10452621B2 (en) Network coded storage with multi-resolution codes
CN104661083A (en) Video playing method and system as well as stream media playing method, device and system
CN106301865B (en) Data processing method and device applied to service providing device
US20200145722A1 (en) Bandwidth limited dynamic frame rate video trick play
JP6443173B2 (en) Video data processing apparatus, video data processing system, video data processing method, and video data processing program
RU2653245C2 (en) Apparatus and method for delivering and receiving multimedia data in a hybrid network
CN107920258B (en) Data processing method and device
US20180035143A1 (en) Popping-screen push system and method
BRPI0710236A2 (en) media reconstruction method and apparatus, computer program product, apparatus for creating a media representation, random access point data object, and media representation and document or container
US10070174B2 (en) Movie package file format to persist HLS onto disk
EP4087266A1 (en) Playback mode determining method and apparatus
CN105577645A (en) Agent-based HLS client-end device and realization method thereof
US10346074B2 (en) Method of compressing parity data upon writing
CN108449634B (en) Playing method for multi-process decoding, computer equipment and storage medium
CN104618418A (en) Method and device for playing multimedia file
US20140082678A1 (en) Video server and method for restarting rebuilding
US11910045B2 (en) Methods and systems for managing content quality in a storage medium
CN110620950A (en) Method, device and equipment for storing audio and video files
JP6834967B2 (en) Information processing device and information processing method
CN103002321A (en) Video server, image recording method, and rebuilding method
CN104333765A (en) Processing method and device of video live streams
CN104780389A (en) Video processing method and device
US11005908B1 (en) Supporting high efficiency video coding with HTTP live streaming
CN104683882A (en) Generation and play method and device for multiple speed file of stream medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150624

RJ01 Rejection of invention patent application after publication