CN103607594A - Method and apparatus for real-time video transcoding - Google Patents

Method and apparatus for real-time video transcoding Download PDF

Info

Publication number
CN103607594A
CN103607594A CN201310565727.XA CN201310565727A CN103607594A CN 103607594 A CN103607594 A CN 103607594A CN 201310565727 A CN201310565727 A CN 201310565727A CN 103607594 A CN103607594 A CN 103607594A
Authority
CN
China
Prior art keywords
transcoding
video
instruction
real
carried out
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
CN201310565727.XA
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.)
TVMining Beijing Media Technology Co Ltd
Original Assignee
TVMining Beijing Media Technology Co Ltd
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 TVMining Beijing Media Technology Co Ltd filed Critical TVMining Beijing Media Technology Co Ltd
Priority to CN201310565727.XA priority Critical patent/CN103607594A/en
Publication of CN103607594A publication Critical patent/CN103607594A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the invention provides a method and apparatus for real-time video transcoding. The method comprises the following steps that: a system message is monitored; when a message for indicating a video playing failure is monitored, notification information of transcoding of the video is displayed; and a transcoding instruction is received and transcoding is carried out on the video according to the transcoding instruction. In addition, a corresponding apparatus for real-time video transcoding is also provided. When the method and apparatus for real-time video transcoding that are disclosed in the embodiment of the invention are used, the system message is monitored in real time; and after the message for indicating a video playing failure is monitored, transcoding can be carried out on the video file with the playing failure in real time according to the selection of the user, so that the video file after the transcoding can be played by a terminal. Therefore, no matter which format a video file received by the terminal has, the received video file with the original format can be transcoded into one with the format required for terminal playing, so that the processed video file can be played by the terminal.

Description

A kind of method of real-time video transcoding and device
Technical field
The present invention relates to field of computer technology, relate in particular to a kind of method and device of real-time video transcoding.
Background technology
In today of mobile Internet high speed development, comprise that the intelligent terminal application of smart mobile phone, panel computer etc. is more and more extensive.When these intelligent terminals of application, displaying video is a wherein very important application.In view of the receivable video source of intelligent terminal is very extensive, the forms such as the video flowing comprising in so many video source, audio stream, encapsulation are difficult to enumerate especially.And the development of terminal plays program obviously can not meet the demand of playing all video formats, will often there is like this problem of terminal plays video failure, affected greatly user's experience.
Summary of the invention
In order to solve the incompatible problem of terminal video playback form in prior art, the embodiment of the present invention proposes a kind of method and apparatus of real-time video transcoding.
One aspect of the present invention, provides a kind of method of real-time video transcoding, comprising:
Supervisory control system message;
When monitoring video playback failure, demonstration can be carried out to described video the notice of transcoding;
Receive transcoding instruction, according to described transcoding instruction to described video is carried out to transcoding.
Another aspect of the present invention, provides a kind of device of real-time video transcoding, comprising:
Monitoring unit, for supervisory control system message;
Display unit, for when described monitoring unit monitors video playback failure, demonstration can be carried out to described video the notice of transcoding;
Transcoding units, for receiving transcoding instruction, according to described transcoding instruction to described video is carried out to transcoding.
Use the method and apparatus of the disclosed real-time video transcoding of the embodiment of the present invention, by real-time monitoring system message, after monitoring video playback failure, can to playing failed video file, carry out transcoding in real time according to user's selection, make the video file after transcoding can be by terminal plays, no matter terminal is received the video file of which kind of form like this, can both be transcoded into the form that terminal can be play, thereby by terminal plays.
Accompanying drawing explanation
It shown in Fig. 1, is the method schematic diagram of a kind of real-time video transcoding of providing of the embodiment of the present invention;
It shown in Fig. 2, is the interface schematic diagram whether prompting user that the embodiment of the present invention provides carries out transcoding;
It shown in Fig. 3, is the interface schematic diagram that after transcoding that the embodiment of the present invention provides completes, whether prompting user plays;
It shown in Fig. 4, is the structural representation of the device of a kind of real-time video transcoding of providing of the embodiment of the present invention;
It shown in Fig. 5, is the structural representation of the device of the another kind of real-time video transcoding that provides of the embodiment of the present invention.
Embodiment
In embodiments of the present invention, by real-time monitoring system message, after monitoring video playback failure, can to playing failed video file, carry out transcoding in real time according to user's selection, make the video file after transcoding can be by terminal plays, no matter terminal is received the video file of which kind of form like this, can both be transcoded into the form that terminal can be play, thereby by terminal plays.
Below describe the method for the real-time video transcoding that the embodiment of the present invention provides in detail.
Figure 1 shows that the method schematic diagram of the real-time video transcoding that one embodiment of the invention provides, according to this figure, each step be described in detail in detail as follows:
Step 101, supervisory control system message;
Step 102, when monitoring video playback failure, demonstration can be carried out to described video the notice of transcoding;
Wherein, described demonstration can be carried out the notice of transcoding to described video, also comprise:
Show the option that whether carries out transcoding.
Figure 2 shows that whether prompting user that one embodiment of the invention provides carries out the interface schematic diagram of transcoding.According to this figure, can point out very intuitively user to play failed video and can after transcoding, play, thereby can provide preferably user to experience.
Step 103, receive transcoding instruction, according to described transcoding instruction to described video is carried out to transcoding.
Wherein, described according to described transcoding instruction to described video is carried out to transcoding, comprising:
Obtaining the video code model that described system is supported, is the video code model that described system is supported by described video code conversion.The video code model that system is supported may be incessantly a kind of, in an embodiment of invention, can select for user the maximum coded format of access times of an acquiescence, can point out user to select a coded format of oneself liking, the embodiment of the present invention does not limit this yet.
After video code conversion is completed, also comprise:
After the transcoding of described video is completed, show the storing directory of the video file after transcoding.
Figure 3 shows that transcoding that one embodiment of the invention provides complete after the interface schematic diagram whether play of prompting user.According to this figure, can find out, after transcoding completes, can also comprise:
Show the option of whether playing the video file after described transcoding;
Receive the instruction of playing described video file;
Play the video file after described transcoding.
Use the method for the disclosed real-time video transcoding of the embodiment of the present invention, by real-time monitoring system message, after monitoring video playback failure, can to playing failed video file, carry out transcoding in real time according to user's selection, make the video file after transcoding can be by terminal plays, no matter terminal is received the video file of which kind of form like this, can both be transcoded into the form that terminal can be play, thereby by terminal plays.
Below introduce a kind of device of real-time video transcoding, in order to realize the method for the disclosed a kind of real-time video transcoding of previous embodiment.
Figure 4 shows that the structural representation of the device of a kind of real-time video transcoding that one embodiment of the invention provides.According to this figure, each part of introducing this device is as follows:
Monitoring unit 401, for supervisory control system message;
Display unit 402, for when described monitoring unit monitors video playback failure, demonstration can be carried out to described video the notice of transcoding;
Wherein, described display unit 402 also for:
Show the option that whether carries out transcoding.
Transcoding units 403, for receiving transcoding instruction, according to described transcoding instruction to described video is carried out to transcoding.
Wherein, described transcoding units 403, comprising described video is carried out to transcoding according to described transcoding instruction:
Obtaining the video code model that described system is supported, is the video code model that described system is supported by described video code conversion.
In aforesaid device, described display unit 402 also for:
After described transcoding units completes the transcoding of described video, show the storing directory of the video file after transcoding.
Figure 5 shows that the structural representation of the device of the another kind of real-time video transcoding that one embodiment of the invention provides.
According to this figure, the device of aforementioned real-time video transcoding also comprises:
Broadcast unit 404, for showing the option of whether playing the video file after described transcoding, receives the instruction of playing described video file, plays the video file after described transcoding.
Use the device of the disclosed real-time video transcoding of the embodiment of the present invention, by real-time monitoring system message, after monitoring video playback failure, can to playing failed video file, carry out transcoding in real time according to user's selection, make the video file after transcoding can be by terminal plays, no matter terminal is received the video file of which kind of form like this, can both be transcoded into the form that terminal can be play, thereby by terminal plays.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can complete by the relevant hardware of program command, aforesaid program can be stored in read/write memory medium, this program, when carrying out, is carried out the step that comprises said method embodiment; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc, CD, network node, schedulers.
Finally it should be noted that: these are only the preferred embodiments of the present invention, be not limited to the present invention, although the present invention is had been described in detail with reference to previous embodiment, for a person skilled in the art, its technical scheme that still can record aforementioned each embodiment is modified, or part technical characterictic is wherein equal to replacement.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (10)

1. a method for real-time video transcoding, is characterized in that, comprising:
Supervisory control system message;
When monitoring video playback failure, demonstration can be carried out to described video the notice of transcoding;
Receive transcoding instruction, according to described transcoding instruction to described video is carried out to transcoding.
2. method according to claim 1, is characterized in that, described demonstration can be carried out the notice of transcoding to described video, also comprise:
Show the option that whether carries out transcoding.
3. method according to claim 1 and 2, is characterized in that, described according to described transcoding instruction to described video is carried out to transcoding, comprising:
Obtaining the video code model that described system is supported, is the video code model that described system is supported by described video code conversion.
4. according to the method described in any one in claim 1-2, it is characterized in that, also comprise:
After the transcoding of described video is completed, show the storing directory of the video file after transcoding.
5. method according to claim 4, is characterized in that, also comprises:
Show the option of whether playing the video file after described transcoding;
Receive the instruction of playing described video file;
Play the video file after described transcoding.
6. a device for real-time video transcoding, is characterized in that, comprising:
Monitoring unit, for supervisory control system message;
Display unit, for when described monitoring unit monitors video playback failure, demonstration can be carried out to described video the notice of transcoding;
Transcoding units, for receiving transcoding instruction, according to described transcoding instruction to described video is carried out to transcoding.
7. device according to claim 6, is characterized in that, described display unit also for:
Show the option that whether carries out transcoding.
8. according to the device described in claim 6 or 7, it is characterized in that, described transcoding units, comprising described video is carried out to transcoding according to described transcoding instruction:
Obtaining the video code model that described system is supported, is the video code model that described system is supported by described video code conversion.
9. according to the device described in any one in claim 6-7, it is characterized in that, described display unit also for:
After described transcoding units completes the transcoding of described video, show the storing directory of the video file after transcoding.
10. device according to claim 9, is characterized in that, described device also comprises:
Broadcast unit, for showing the option of whether playing the video file after described transcoding, receives the instruction of playing described video file, plays the video file after described transcoding.
CN201310565727.XA 2013-11-13 2013-11-13 Method and apparatus for real-time video transcoding Pending CN103607594A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310565727.XA CN103607594A (en) 2013-11-13 2013-11-13 Method and apparatus for real-time video transcoding

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310565727.XA CN103607594A (en) 2013-11-13 2013-11-13 Method and apparatus for real-time video transcoding

Publications (1)

Publication Number Publication Date
CN103607594A true CN103607594A (en) 2014-02-26

Family

ID=50125791

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310565727.XA Pending CN103607594A (en) 2013-11-13 2013-11-13 Method and apparatus for real-time video transcoding

Country Status (1)

Country Link
CN (1) CN103607594A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105451031A (en) * 2015-11-18 2016-03-30 腾讯科技(深圳)有限公司 Video transcoding method and system thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105451031A (en) * 2015-11-18 2016-03-30 腾讯科技(深圳)有限公司 Video transcoding method and system thereof

Similar Documents

Publication Publication Date Title
CN103414949B (en) A kind of multimedia edit system based on intelligent television and method
CN102780919A (en) Method for carrying out video location and displaying through key frame
CN103533305B (en) A kind of plugin-free universal video monitoring of B/S frameworks
CN110740386B (en) Live broadcast switching method and device and storage medium
CN103984597A (en) Method, device and system for task run switching
WO2021031590A1 (en) Audio and video pushing method, mobile terminal and display terminal
CN104615430A (en) Android-system-based information notification display system and implementation method of Android-system-based information notification display system
CN102904857A (en) Client video playing system and method thereof
CN107509092A (en) Set top box plays method, set top box, terminal and the storage medium of audio in real time
CN104301797A (en) Method and device for controlling playing resources in mobile terminal browser
CN103051941A (en) Method and system for playing local video on mobile platform
CN101471116B (en) Electronic device and its energy-saving method
CN103853438A (en) Atlas picture switching method and browser
CN101911052A (en) Method of and apparatus for downloading data
CN102831630A (en) Method and device for rendering animation
CN101420546A (en) Digital television set-top box and customized setting method
CN104200824A (en) Audio recording method and device
CN103808107A (en) Refrigerator with video message leaving function
CN101341767A (en) Mobile animation message service method and system and terminal
CN103929607A (en) Communication method based on screen recording, and application client-side
CN103607594A (en) Method and apparatus for real-time video transcoding
CN103581569A (en) Method and system for recording electric power system teaching courseware
CN103139049A (en) Message interaction method, server and social network site (SNS) system
CN105323524A (en) Mobile terminal and memorandum realizing method and system of mobile terminal
CN112689194B (en) Functional machine video music matching method and device, terminal equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20140226