CN102263941A - Transcoding method and device for video file - Google Patents

Transcoding method and device for video file Download PDF

Info

Publication number
CN102263941A
CN102263941A CN2010101870653A CN201010187065A CN102263941A CN 102263941 A CN102263941 A CN 102263941A CN 2010101870653 A CN2010101870653 A CN 2010101870653A CN 201010187065 A CN201010187065 A CN 201010187065A CN 102263941 A CN102263941 A CN 102263941A
Authority
CN
China
Prior art keywords
video file
transcoding
tabulation
transcoding parameter
parameter
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
CN2010101870653A
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.)
SUZHOU WENDAO NETWORK TECHNOLOGY Co Ltd
Original Assignee
SUZHOU WENDAO NETWORK 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 SUZHOU WENDAO NETWORK TECHNOLOGY Co Ltd filed Critical SUZHOU WENDAO NETWORK TECHNOLOGY Co Ltd
Priority to CN2010101870653A priority Critical patent/CN102263941A/en
Publication of CN102263941A publication Critical patent/CN102263941A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Television Signal Processing For Recording (AREA)

Abstract

The invention discloses a transcoding method and a transcoding device for a video file. A user can acquire all video formats supported by a terminal and accurately set transcoding parameters to finish the transcoding of a video file only by knowing a digital terminal type applied by the transcoded video file.

Description

A kind of code-transferring method of video file and device
Technical field
The encoding and decoding that the present invention relates to video file are handled, and relate in particular to a kind of code-transferring method and device of video file.
Background technology
Video file is a kind of common and multimedia file of having wide range of applications.Existing video file comprises AVI, multiple file formats such as MPEG, MPEG4,3GP, Windows Media Video, MKV and Real Media.Video file can be play on nearly all digital terminal equipment, comprises personal computer, notebook computer, mobile phone, portable electronic device, Digital Television, high definition TV player etc.Yet dissimilar digital terminals is owing to the difference of aspects such as digital processing ability, screen size, and its video file format of supporting is also different.In addition, different terminal production firms often makes the digital terminal of being produced only support some kinds of video file formats of producer's appointment, and can not play the video file of other type for the consideration of aspects such as technology, copyright and commercial interest.
Therefore,, just need carry out transcoding, be converted into the video file format that digital terminal can be supported this video file if the user wishes the video file of certain form is applied to not support the digital terminal of this form.The process of transcoding can relate to the adjustment of resolution, frame rate, code check and the encoder type of video.
Also there is the method and apparatus that is used for mutual conversion between the various video file format in the prior art.But, in transcoding process, all need select to wish the file format that obtains voluntarily, but also will be provided with resolution, frame rate, code check and encoder type by the user.Because the user often and imperfectly understand all video formats that certain digital terminal can be supported, also be difficult to the transcoding parameter correctly is set at dissimilar digital terminals, often make video file that transcoding obtains can not be on digital terminal normal play, cause the transcoding failure.Therefore need urgently in the prior art a kind ofly to be easy to be provided with, transcoding mode simple to operate, make the user can intuitively finish transcoding quickly to video file.
Summary of the invention
The invention provides a kind of code-transferring method and device of video file, only need the user to select simply and be provided with, just can correctly finish transcoding video file.
For solving the problems of the technologies described above, the invention provides a kind of code-transferring method of video file, comprising:
Step 1: be written into video file and decode;
Step 2: generate first tabulation that comprises at least one digital terminal type option;
Step 3: the digital terminal type according to the user chooses in described first tabulation, generate second tabulation, described second tabulation comprises at least one video file format option that this digital terminal type is supported;
Step 4:, be the video file format of choosing with decoded video file recompile according to the video file format that the user chooses in described second tabulation.
Wherein, described step 4 comprises: according to the described video file format of choosing, generate transcoding parameter options table; The transcoding parameter of choosing in this transcoding parameter options table according to the user is to decoded video file recompile.
Wherein, described transcoding parameter comprises resolution, frame rate, bit rate and the encoder type of video.Further, described transcoding parameter also comprises sample rate, sound channel, bit rate and the encoder type of audio frequency.
Wherein, described step 4 also further comprises: the transcoding parameter according to described user chooses generates and stores parameter configuration table, the self-defining transcoding parameter of recording user.
The present invention also provides a kind of transcoding device of video file, comprising:
Decoder is written into video file and decodes;
Terminal type is selected module, generates first tabulation that comprises at least one digital terminal type option;
File format is selected module, and the digital terminal type according to the user chooses in described first tabulation generates second tabulation, and described second tabulation comprises at least one video file format option that this digital terminal type is supported;
Transcoder according to the video file format that the user chooses in described second tabulation, is the video file format of choosing with decoded video file recompile.
Wherein, described transcoding device comprises that also the transcoding parameter is provided with module, according to the described video file format of choosing, generates transcoding parameter options table; According to the transcoding parameter that the user chooses in this transcoding parameter options table, the control transcoder is to decoded video file recompile.
Wherein, described transcoding parameter comprises resolution, frame rate, bit rate and the encoder type of video.Further, described transcoding parameter also comprises sample rate, sound channel, bit rate and the encoder type of audio frequency.
Wherein, described transcoding parameter is provided with module according to the transcoding parameter that described user chooses, and generates and stores parameter configuration table, the self-defining transcoding parameter of recording user.
The invention has the beneficial effects as follows: be different from prior art, by method and apparatus of the present invention, the user only needs to know the applied digital terminal type of video file behind the transcoding, just can obtain all videos form that this terminal is supported, and the transcoding parameter correctly is set, finish transcoding to video file.
Description of drawings
Figure 1A-B is the flow chart of the video file code-transferring method of the embodiment of the invention;
Fig. 2 is first tabulation and second schematic diagram of tabulating in the embodiment of the invention;
Fig. 3 is the schematic diagram of embodiment of the invention transit code parameter options table;
Fig. 4 is the structural representation of the video file transcoding device of the embodiment of the invention.
Embodiment
By describing technology contents of the present invention, structural feature in detail, realized purpose and effect, give explanation below in conjunction with execution mode and conjunction with figs. are detailed.
See also Figure 1A-B, show the flow chart of the video file code-transferring method of present embodiment.Figure 1A is the overall flow figure of code-transferring method, comprising:
Step 101 is written into video file and decodes.Video file can be any one file format commonly used in digital terminal equipment, AVI for example, MPEG, MPEG4,3GP, Windows Media Video, MKV and Real Media etc.Generate video/audio by the decoded video file.
Step 102 generates first tabulation that comprises at least one digital terminal type option.Referring to the tabulation of first among Fig. 2 201, comprised more than one digital terminal type option 203 in this tabulation, the various digital terminal types of the video file behind the transcoding are used in expression.The digital terminal type option can be at a certain digital terminal product, and for example on behalf of the video file of transcoding generation, the iPod option among Fig. 2 promptly will be used to use on the iPod media player that Apple produces.The digital terminal type option also can be at the digital terminal product of a certain type, for example the Mobile Phone option among Fig. 2.It is the digital terminal of which kind of type that the user obviously can know own employed, therefore is easy to select respective selection in first tabulation.
Step 103, certain the digital terminal type according to the user chooses in described first tabulation 201 correspondingly generates the tabulation of second among Fig. 2 202.Described second tabulation 202 has been enumerated one or more video file format options 204, each option representative in first tabulation 201 selected digital terminal type a kind of video format that can support.The user can as required or like and therefrom select a kind of video format.
Step 104 according to the video file format that the user chooses in described second tabulation 202, is a selected video file format in second tabulation 202 with decoded video file recompile.The user can be written into digital terminal with the video file behind the transcoding then, because the employing of the video file behind the transcoding is the supported video format of terminal, therefore can play use on terminal.
Figure 1B has made further detailed description to step 104:
In step 1041,, generate transcoding parameter options table in second tabulation 202 according to the video file format that the user is chosen.Fig. 3 shows the form of this transcoding parameter options table 301.In this pick list, " Format Preset " option shows the video file format of being chosen.Under the video file format of being chosen, it is various video code conversion parameters in the selected file format procedure that the user can adjust former video file transcoding in " Video " Option Box.Particularly, can " Resolution " resolution of video is set in the Option Box, the frame rate and the code check of video is set, by the encoder type of " Encoder " selcetion.removelistener recompile in " Frame Rate " and " Bit Rate " Option Box.Equally, can also in " Audio " Option Box, the transcoding parameter to audio frequency be provided with, utilize " Sample Rate ", " Channel ", " Bit Rate ", " Encoder " Option Box is provided with the encoder type of sample rate, sound channel, code check and the audio frequency recompile of audio frequency transcoding respectively.
Step 1042, the transcoding parameter of the Voice ﹠ Video of choosing in this transcoding parameter options table 301 according to the user to the audio, video data recompile of decoded video file, generates the video file of the file format of choosing.
Step 1043, the various transcoding parameters according to the user chooses in transcoding parameter options table 301 generate parameter configuration table, are used for the self-defining transcoding parameter of recording user.Store this allocation list,, need not to be provided with repeatedly the transcoding parameter so that directly call in the transcoding process afterwards.
The present invention also provides a kind of transcoding device of video file, as shown in Figure 4, comprising:
Decoder 401 is written into video file and decodes, and generates the video/audio for the treatment of transcoding;
Terminal type is selected module 402, generates first tabulation that comprises at least one digital terminal type option, as the tabulation of first among Fig. 2 201;
File format is selected module 403, and the digital terminal type according to the user chooses in described first tabulation 201 generates second tabulation 202, and described second tabulation 202 comprises at least one video file format option that this digital terminal type is supported;
The transcoding parameter is provided with module 404, according to the video file format of being chosen in second tabulation 202, generates transcoding parameter options table, as the transcoding parameter options table 301 among Fig. 3; The user chooses at the various transcoding parameters of looking audio frequency in this transcoding parameter options table 301.This module is used to control transcoder 405 according to the transcoding parameter of setting, 401 decodings obtain to decoder video and voice data recompile.The transcoder 405 video/audio recompile that obtains of will decoding is the video file format of choosing.
The above only is embodiments of the invention; be not so limit claim of the present invention; every equivalent structure or equivalent flow process conversion that utilizes specification of the present invention and accompanying drawing content to be done; or directly or indirectly be used in other relevant technical fields, all in like manner be included in the scope of patent protection of the present invention.

Claims (10)

1. the code-transferring method of a video file is characterized in that, may further comprise the steps:
Step 1: be written into video file and decode;
Step 2: generate first tabulation that comprises at least one digital terminal type option;
Step 3: the digital terminal type according to the user chooses in described first tabulation, generate second tabulation, described second tabulation comprises at least one video file format option that this digital terminal type is supported;
Step 4:, be the video file format of choosing with decoded video file recompile according to the video file format that the user chooses in described second tabulation.
2. code-transferring method according to claim 1 is characterized in that, described step 4 comprises: according to the described video file format of choosing, generate transcoding parameter options table; The transcoding parameter of choosing in this transcoding parameter options table according to the user is to decoded video file recompile.
3. code-transferring method according to claim 2 is characterized in that, described transcoding parameter comprises resolution, frame rate, bit rate and the encoder type of video.
4. code-transferring method according to claim 3 is characterized in that, described transcoding parameter also comprises sample rate, sound channel, bit rate and the encoder type of audio frequency.
5. code-transferring method according to claim 2 is characterized in that, described step 4 also further comprises: the transcoding parameter according to described user chooses generates and stores parameter configuration table, the self-defining transcoding parameter of recording user.
6. the transcoding device of a video file is characterized in that, comprising:
Decoder is written into video file and decodes;
Terminal type is selected module, generates first tabulation that comprises at least one digital terminal type option;
File format is selected module, and the digital terminal type according to the user chooses in described first tabulation generates second tabulation, and described second tabulation comprises at least one video file format option that this digital terminal type is supported;
Transcoder according to the video file format that the user chooses in described second tabulation, is the video file format of choosing with decoded video file recompile.
7. transcoding device according to claim 6 is characterized in that, described transcoding device comprises that also the transcoding parameter is provided with module, according to the described video file format of choosing, generates transcoding parameter options table; According to the transcoding parameter that the user chooses in this transcoding parameter options table, the control transcoder is to decoded video file recompile.
8. transcoding device according to claim 7 is characterized in that, described transcoding parameter comprises resolution, frame rate, bit rate and the encoder type of video.
9. transcoding device according to claim 8 is characterized in that, described transcoding parameter also comprises sample rate, sound channel, bit rate and the encoder type of audio frequency.
10. transcoding device according to claim 7 is characterized in that, described transcoding parameter is provided with module according to the transcoding parameter that described user chooses, and generates and stores parameter configuration table, the self-defining transcoding parameter of recording user.
CN2010101870653A 2010-05-31 2010-05-31 Transcoding method and device for video file Pending CN102263941A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010101870653A CN102263941A (en) 2010-05-31 2010-05-31 Transcoding method and device for video file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010101870653A CN102263941A (en) 2010-05-31 2010-05-31 Transcoding method and device for video file

Publications (1)

Publication Number Publication Date
CN102263941A true CN102263941A (en) 2011-11-30

Family

ID=45010373

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010101870653A Pending CN102263941A (en) 2010-05-31 2010-05-31 Transcoding method and device for video file

Country Status (1)

Country Link
CN (1) CN102263941A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102929559A (en) * 2012-09-20 2013-02-13 深圳市亚特尔科技有限公司 Method and system for providing file
CN106210884A (en) * 2016-07-13 2016-12-07 腾讯科技(深圳)有限公司 The code-transferring method of video file and device
WO2018086417A1 (en) * 2016-11-10 2018-05-17 广州华多网络科技有限公司 Microphone alternating live broadcast method, apparatus and system
CN117714790A (en) * 2023-12-13 2024-03-15 北京曜志科技有限公司 Self-adaptive video transcoding method based on terminal equipment environment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1494806A (en) * 2001-01-09 2004-05-05 ɣ����ϵͳ���޹�˾ Call processing digit translation and characterization
CN1668109A (en) * 2004-03-10 2005-09-14 浙江大学 Adaptive video transcoding gateway having multiple transforming functions
CN101059797A (en) * 2006-04-20 2007-10-24 风网科技(北京)有限公司 Video frequency file automatic conversion system and its method
CN101635854A (en) * 2009-08-26 2010-01-27 腾讯科技(深圳)有限公司 Method and device for realizing transcoding merging
CN101697549A (en) * 2009-10-23 2010-04-21 中兴通讯股份有限公司 Method and system for displaying stream media and stream media management server

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1494806A (en) * 2001-01-09 2004-05-05 ɣ����ϵͳ���޹�˾ Call processing digit translation and characterization
CN1668109A (en) * 2004-03-10 2005-09-14 浙江大学 Adaptive video transcoding gateway having multiple transforming functions
CN101059797A (en) * 2006-04-20 2007-10-24 风网科技(北京)有限公司 Video frequency file automatic conversion system and its method
CN101635854A (en) * 2009-08-26 2010-01-27 腾讯科技(深圳)有限公司 Method and device for realizing transcoding merging
CN101697549A (en) * 2009-10-23 2010-04-21 中兴通讯股份有限公司 Method and system for displaying stream media and stream media management server

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102929559A (en) * 2012-09-20 2013-02-13 深圳市亚特尔科技有限公司 Method and system for providing file
CN102929559B (en) * 2012-09-20 2015-07-22 深圳市亚特尔科技有限公司 Method and system for providing file
CN106210884A (en) * 2016-07-13 2016-12-07 腾讯科技(深圳)有限公司 The code-transferring method of video file and device
CN106210884B (en) * 2016-07-13 2019-02-26 腾讯科技(深圳)有限公司 The code-transferring method and device of video file
WO2018086417A1 (en) * 2016-11-10 2018-05-17 广州华多网络科技有限公司 Microphone alternating live broadcast method, apparatus and system
US10834432B2 (en) 2016-11-10 2020-11-10 Guangzhou Huaduo Network Technology Co., Ltd. Method, device and system for in-sequence live streaming
CN117714790A (en) * 2023-12-13 2024-03-15 北京曜志科技有限公司 Self-adaptive video transcoding method based on terminal equipment environment

Similar Documents

Publication Publication Date Title
KR102130429B1 (en) Method and device for decoding multimedia file
CN110740363B (en) Screen projection method and system and electronic equipment
US11336953B2 (en) Video processing method, electronic device, and computer-readable medium
US9237383B2 (en) Peer to peer streaming of DVR buffered program data
CN106664458B (en) Method for transmitting video data, source device and storage medium
US9002826B2 (en) Media file caching for an electronic device to conserve resources
CN102074257A (en) Software and hardware-decoding general multi-media playing equipment and playing method thereof
Lei et al. Design and implementation of a real-time video stream analysis system based on FFMPEG
CN104754349A (en) Method and device for hardware decoding of audio/video
CN103036888A (en) Self-adapting stream-media play method and self-adapting play unit
US8194732B2 (en) Integrated circuit with conversion capability for portable media player
US8719437B1 (en) Enabling streaming to a media player without native streaming support
US12039693B2 (en) Apparatus and method of controlling the same
US10819951B2 (en) Recording video from a bitstream
WO2021031590A1 (en) Audio and video pushing method, mobile terminal and display terminal
EP2210191A1 (en) System and method for producing importance rate-based rich media, and server applied to the same
CN102263941A (en) Transcoding method and device for video file
CN102263942A (en) Scalable video transcoding device and method
CN104023260A (en) Hardware decoding implementation method and device, and player
CN104185033A (en) Method, device and system for processing multiple images of television
CN103702172A (en) Method and system for carrying out dolby transcoding on AV (Audio/Video)
CN1980368A (en) Multi-media document generating method of media playing apparatus and apparatus thereof
KR100932055B1 (en) System and method for providing media that cannot be played on terminal, and server applied thereto
CN103747249A (en) Audio and video decoding method and android mobile terminal
CN103035258A (en) Multimedia device for reducing a load

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20111130