CN108668162A - Processing method, device and the intelligent terminal that video file plays - Google Patents

Processing method, device and the intelligent terminal that video file plays Download PDF

Info

Publication number
CN108668162A
CN108668162A CN201810230910.7A CN201810230910A CN108668162A CN 108668162 A CN108668162 A CN 108668162A CN 201810230910 A CN201810230910 A CN 201810230910A CN 108668162 A CN108668162 A CN 108668162A
Authority
CN
China
Prior art keywords
file
video
video file
information
audio coding
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.)
Granted
Application number
CN201810230910.7A
Other languages
Chinese (zh)
Other versions
CN108668162B (en
Inventor
陈春晓
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Hisense Electronics Co Ltd
Original Assignee
Qingdao Hisense Electronics 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 Qingdao Hisense Electronics Co Ltd filed Critical Qingdao Hisense Electronics Co Ltd
Priority to CN201810230910.7A priority Critical patent/CN108668162B/en
Publication of CN108668162A publication Critical patent/CN108668162A/en
Application granted granted Critical
Publication of CN108668162B publication Critical patent/CN108668162B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/439Processing of audio elementary streams
    • H04N21/4398Processing of audio elementary streams involving reformatting operations of audio signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/432Content retrieval operation from a local storage medium, e.g. hard-disk
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/44Processing 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/4402Processing 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/440218Processing 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 transcoding between formats or standards, e.g. from MPEG-2 to MPEG-4

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Information Transfer Between Computers (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The application provides a kind of processing method that video file plays, the method includes:Document encapsulation format, video code model and the audio coding formats and file name of target video file are stored together as file identification;When receiving the playing request of the target video file, the corresponding file identification of the file name is read, so that player executes the initialization operation of the demultiplexing for the target video file, video decoding and audio decoder based on the file identification.The time that video file parses video and audio coding formats in such a way that traversal parses Document encapsulation format can be saved, player is directly hit and initializes required all information, rising for video file is promoted and broadcasts speed, to promote user experience.

Description

Processing method, device and the intelligent terminal that video file plays
Technical field
This application involves audio and video processing technology field more particularly to a kind of processing method of video file broadcasting, devices And intelligent terminal.
Background technology
In the prior art, for video file to be played, for example, current need to play video name to be " curious paper urine When the video file of trousers ", it is necessary first to inquire the encapsulation format information of the video file, and be loaded and solved according to encapsulation format information Multiplexing module (Demux) is then packaged parsing, to obtain the video file by demultiplexing module to the video file Video code model information and audio coding formats information, further according to the video code model information and audio coding formats of acquisition Information, loads Video decoding module and audio decoder module passes through broadcasting after initialization later to complete the initialization of player It puts device and plays the video file.
During broadcasting for above-mentioned described, due to needing the encapsulation format information of first traversal queries video file, taste Examination decapsulates video file, and parses the video code model information and sound that obtain the video file by decapsulating Frequency encoding format information, could correspondingly load demultiplexing module, Video decoding module and audio decoder module, and video file Encapsulation format, video code model, audio coding formats exist many kinds, in this way traversal mode into row format parse When will expend many times, so as to cause rising, to broadcast speed slower, that is to say, that user starts playing video file in selection Afterwards, it generally requires to wait for longer time that can just watch the video file, to cause user experience bad.
Based on this, how to promote rising for video file and broadcast speed and asked as those skilled in the art's technology urgently to be resolved hurrily Topic.
Invention content
The embodiment of the present application provides a kind of processing method, device and intelligent terminal that video file plays, to be promoted Speed is broadcast in rising for video file, promotes user experience.
In a first aspect, the embodiment of the present application provides a kind of processing method that video file plays, the method includes:
By Document encapsulation format, video code model and the audio coding formats and file name one of target video file It rises and is stored as file identification;
When receiving the playing request of the target video file, the corresponding file identification of the file name is read, So that player executes the demultiplexing for the target video file, video decoding and audio based on the file identification Decoded initialization operation.
The above method can be first by Document encapsulation format, the video of target video file for a target video file Coded format and audio coding formats are stored with file name together as file identification, if receiving target video The playing request of file can read the corresponding file identification of file name, be equivalent to the encapsulation lattice that can get video file Formula information, video code model information and audio coding formats information, in this way, player can be with according to the format information got It loads corresponding module and executes the initialization operation for being directed to demultiplexing, video decoding and audio decoder, in the process, neither It needs to inquire the encapsulation format information of the video file, need not also pass through and encapsulate the Video coding that parsing obtains the video file Therefore format information and audio coding formats information compared with the prior art, can save video file traversal resolution file envelope Format is filled, and then parses the time of video and audio coding formats, is solved when directly hitting player initialization by file identification Multiplexing module, the required all information of audio/video decoding module thus can be promoted video file rise broadcast speed, to carry Rise user experience.
In a possible realization method, by Document encapsulation format, video code model and the sound of target video file Before frequency coded format is stored with file name together as file identification, the method further includes:
Judge in the file designation information for the target video file downloaded from server whether to include video text Encapsulation format information, video code model information and the audio coding formats information of part;
If so, executing Document encapsulation format, video code model and the audio coding formats of target video file The step of being stored together as file identification with file name.
In this method, if in the target video file that server end is downloaded, it is included in file designation information The encapsulation format information of video file, video code model information and audio coding formats information, then can directly execute by Document encapsulation format, video code model and the audio coding formats and file name of target video file are together as file The step of mark is stored, then during actual play, player can be loaded directly into accordingly based on file identification Initialization module need not both inquire the encapsulation format information of the video file in the process, need not also be solved by encapsulating Therefore the video code model information and audio coding formats information that analysis obtains the video file can promote video file It rises and broadcasts speed, to promote user experience.
In a possible realization method, the file designation of the target video file for judging to download from server In information whether include the video file encapsulation format information, video code model information and audio coding formats information it Afterwards, the method further includes:
If it is not, then traversal package format is packaged parsing to the video file, to obtain regarding for the video file Frequency encoding format information and audio coding formats information;
Encapsulation format based on successfully resolved, and the video code model information and audio coding formats that get Information is executed Document encapsulation format, video code model and the audio coding formats and file name of target video file The step of being stored together as file identification.
In this method, the encapsulation for not including video file in information is named from the video file downloaded in server when determining Format information, video code model information and audio coding formats information can not have been extracted in the name information of video file When the player of effect initializes required information, solution can be packaged to video file by way of traversal package format Analysis, to obtain the video file video code model information and audio coding formats information, the encapsulation format based on successfully resolved, And the video code model information and audio coding formats information got, it executes and seals the file of target video file The operation that dress format, video code model and audio coding formats are stored with file name together as file identification, When player needs to play the target video file, each initialization module can be quickly loaded based on file identification, upgraded Broadcast speed.
In a possible realization method, by Document encapsulation format, video code model and the sound of target video file Frequency coded format is stored with file name together as file identification, is specifically included:
By file name, encapsulation format, video code model and the audio coding formats of the target video file according to The target video file is named in secondary arrangement again;
It is stored the information after name as the file identification of the target video file.
In this method, by by file name, encapsulation format, video code model and the sound of the target video file Frequency coded format is arranged in order, and is stored as file identification after naming again, in this way, when player is based on file identification When going to load each function module, it can put in order according to what is enumerated in name information, obtain corresponding file name, encapsulation lattice Formula, video code model and audio coding formats, between the sowing time for shortening video file.
In a possible realization method, the target video file is startup advertisement video file, is judged from server Whether include the encapsulation format information of the video file, video in the file designation information for the target video file downloaded Before encoding format information and audio coding formats information, the method further includes:
Detection startup advertisement video file whether there is;
If it is not, then sending the download request for the startup advertisement video file to server.
In this method, video file is startup advertisement video file, by first detecting whether startup advertisement video file is deposited When determining there are follow-up step when startup advertisement video file, is just carried out, the intelligence using this method can be being saved in this way The system resource of terminal.
Second aspect, the embodiment of the present application also provides the processing units that a kind of video file plays, including are used to execute The module for the processing method that video file in the arbitrary possible realization method of first aspect or first aspect plays.
The third aspect, the embodiment of the present application also provides a kind of intelligent terminal, including the application any embodiment provides The processing unit that video file plays.
Description of the drawings
Fig. 1 is the structural schematic diagram of the playing device of video file in the prior art;
Fig. 2 is the flow diagram for the processing method that video file provided by the embodiments of the present application plays;
Fig. 3 is the overall flow figure in specific play of video file provided by the embodiments of the present application;
Fig. 4 is the structural schematic diagram for the processing unit that video file provided by the embodiments of the present application plays;
Fig. 5 is a kind of hardware knot of intelligent terminal where the processing unit that video file provided by the embodiments of the present application plays Composition.
Specific implementation mode
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appended The example of consistent device and method of some aspects be described in detail in claims, the application.
It is the purpose only merely for description specific embodiment in term used in this application, is not intended to be limiting the application. It is also intended to including majority in the application and "an" of singulative used in the attached claims, " described " and "the" Form, unless context clearly shows that other meanings.It is also understood that term "and/or" used herein refers to and wraps Containing one or more associated list items purposes, any or all may be combined.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the application A little information should not necessarily be limited by these terms.These terms are only used for same type of information being distinguished from each other out.For example, not departing from In the case of the application range, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as One information.Depending on context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determination ".
In general, intelligent terminal (such as smart television) utilizes multimedia framework (such as Gstreamer frames) of increasing income The player plays video file of realization.However in Gstreamer frames, Plugin Mechanism is its core, all elements (element) all it is to be bundled in the form of plug-in unit (plugin) in pipeline (pipeline), to be used for realizing streaming media playing, Dynamic load mechanism be exactly in simple terms Gstreamer frames according to the format of requested Streaming Media in the plugin library of oneself Searching can be with plug-in unit to realize the one mode bound automatically.Such as:The video file for playing an ogg encapsulation format, referring to Fig. 1, file available source 01 (file-source) element read the video file data to be played, and are connected with file-source The format connect inquires 02 (typefind) element to judge which kind of encapsulation format video file to be played is, is carried according to typefind The result of confession 03 (Demux) element of selected demultiplexing, ogg-demuxer is the member for parsing ogg encapsulation format video files Part, by the coded video information and audio coding information of the video file that its parsing can know to play, to select Video Decoder 04 (Video decoder) and audio decoder 05 (Audio decoder), decoded video is defeated by video Go out the output of 06 (video-sink) element, decoded audio is exported by audio output 07 (audio-sink) element.Wherein, with File format relevant only Demux, Video decoder, Audio decoder these three elements, Gstreamer component libraries In have different elements for different formats, how to be quickly found out from component library and matched with video file format to be played Element be the application focus.
Based on this, this application provides processing method, device and intelligent terminals that a kind of video file plays.
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation describes.
Referring to Fig. 2, a kind of processing method that video file plays provided by the embodiments of the present application, this method can be applied to Intelligent terminal with video storage and playing function, such as smart television, this method may include steps of:
S101, Document encapsulation format, video code model and audio coding formats and file by target video file Title is stored together as file identification;
Wherein, target video file can be downloaded from server, and can also be that terminal manufacture when institute is preset , correspondingly, the file identification of target video file can be provided for video file according to preset rules by operating side Information, such as operating side for the video file name information in just comprising Document encapsulation format, video code model And audio coding formats and file name, can also be by intelligent terminal such as television set according to preset rules to video file into Row name, this embodiment of the present application is not limited thereto.
The file identification of above-mentioned satisfactory video file is preferably the naming method of video file, such as:One target Video file, video name are " curious paper diaper ", and the encapsulation format of the video file is MPEG-TS, video code model For MPEG Video Version 2, audio coding formats AC-3, it is pressed into file identification storage mode provided by the present application, The file identification of the video file can be《Curious paper diaper [MPEGTS] [MPEGVideoV2] [AC3] .mp4》, it is preferred that Using this file identification as the naming method of target video file.
S102, when receiving the playing request of the target video file, read the corresponding file of the file name Mark so that player based on the file identification execute for the target video file demultiplexing, video decoding with And the initialization operation of audio decoder.
In a better embodiment, if there is demand to be played out for the video file at this time, as player receives To the playing request for the video file that file name is " curious paper diaper ", at this point it is possible to which it is corresponding to read " curious paper diaper " File identification, as in above-described embodiment "《Curious paper diaper [MPEGTS] [MPEGVideoV2] [AC3] .mp4》”.
Specifically, it is to use the Android intelligent television based on Gstreamer frames to play above-mentioned naming method《It is good Strange paper diaper [MPEGTS] [MPEGVideoV2] [AC3] .mp4》Video file for, parse this document naming method, can be with The encapsulation format for obtaining video file to be played is MPEG-TS, video code model is MPEG Video Version 2, sound Frequency coded format is AC-3 can be quickly found out and video to be played further according to the format information got from component library The matched element of file format, i.e. (video decodes mould by avdemux_mpegts (demultiplexing module), androidmc-mpeg2 Block), androidmc-ac3 (audio decoder module) these three modules.
Further, in step S101, Document encapsulation format, video code model and the audio of target video file are compiled Before code format is stored with file name together as file identification, the above method further includes:
Judge in the file designation information for the target video file downloaded from server whether to include video text Encapsulation format information, video code model information and the audio coding formats information of part;
If so, executing Document encapsulation format, video code model and the audio coding formats of target video file The step of being stored together as file identification with file name.
In a better embodiment, such as in server end, operating side has been provided for target video text in other words Document encapsulation format information, video code model information and the audio coding formats information of part, are equivalent to and provide about video It is corresponding between the file name of file and Document encapsulation format information, video code model information and audio coding formats information Relationship, in this way, can be by Document encapsulation format, video code model and the audio coding formats and file of target video file Title is stored together as file identification, and the player of that terminal can only have filename when playing in playing request Claim, such as " curious paper diaper ", but player end still can be synchronized and be got in " curious paper diaper " corresponding file identification All players need format category information.
Further, if not including described from the file designation information for the target video file that server is downloaded Encapsulation format information, video code model information and the audio coding formats information of video file, next that can be executed such as Lower step:
Traversal package format is packaged parsing to the video file, to obtain the Video coding lattice of the video file Formula information and audio coding formats information;
Encapsulation format based on successfully resolved, and the video code model information and audio coding formats that get Information is executed Document encapsulation format, video code model and the audio coding formats and file name of target video file The step of being stored together as file identification.
In a better embodiment, when the target video file downloaded in server, file designation information is not met Preset naming rule, i.e., and the encapsulation format information not comprising target video file, video code model information and audio are compiled Code format information;
At this point, then needing the resolving of player similarly to the prior art to the execution of target video file, i.e. traversal envelope Format is filled, the video code model information and audio coding formats information of video file, the encapsulation lattice based on successfully resolved are obtained Formula, and the video code model information and audio coding formats information that get are executed the text of target video file The step that part encapsulation format, video code model and audio coding formats are stored with file name together as file identification Suddenly.
It is exemplary, be if server end provides a naming method《Curious paper diaper .mp4》Video file, At this point, the required format category information of player, therefore, player can not be extracted from naming method provided by the server The format that can attempt to carry out target video file traversal formula parses, and eventually by parsing, can obtain the encapsulation of video file Format is MPEG-TS, video code model is MPEG Video Version 2, audio coding formats AC-3, at this point, in order to Encapsulation format of the terminal device to the video file, audio/video coding mode is facilitated to be recorded, it can be by the target video File name, encapsulation format, video code model and the audio coding formats of file are arranged in order, to target video text Part is named again, such as《Curious paper diaper [MPEGTS] [MPEGVideoV2] [AC3] .mp4》;Using the information after name as institute The file identification for stating target video file is stored.
In this way, when playing next time, because the naming method of the video file is altered, pass through resolution file mark Know, i.e. naming method, the encapsulation format that can obtain video file is MPEG-TS, video code model is MPEG Video Version 2, audio coding formats AC-3 can be quickly found out and video to be played when in order to play from component library The matched element of file format, i.e. (video decodes mould by avdemux_mpegts (demultiplexing module), androidmc-mpeg2 Block), androidmc-ac3 (audio decoder module) these three modules, and carry out load realize initialization operation.
It should be pointed out that above-mentioned video file can be startup advertisement video file, which can To be after intelligent terminal is networked, periodically to download and preserve from operating side, end can not also be preset in manufacture by server In end.
In a better embodiment, the target video file is startup advertisement video file, is judged under server Whether include that the encapsulation format information of the video file, video are compiled in the file designation information of the target video file carried Before code format information and audio coding formats information, the method further includes:
Detection startup advertisement video file whether there is;
When determining there are when startup advertisement video file, the file designation information of the startup advertisement video file is obtained;
If it is not, then sending the download request for the startup advertisement video file to server.
It should be noted that when playing other specified video files, due to video file be to determine it is existing, It can be not provided with the step of detection video file whether there is.
To sum up, below by taking startup advertisement video file as an example, the angle played from video file illustrates this Shen in conjunction with Fig. 3 It please video file plays in embodiment overall flow:
S201, detection startup advertisement video file whether there is;When determining there are when startup advertisement video file, step is executed Rapid S202;Otherwise, step S209 is executed;
S202, the file identification for obtaining startup advertisement video file to be played, and according to preset naming rule to this File identification is parsed;
S203, judge that this document identifies whether to meet preset naming rule and obtains judgement as a result, when according to the judgement When as a result determining that this document mark meets preset naming rule, step S204 is executed;Otherwise, step S206 is executed;
S204, the encapsulation format information, video code model information and sound that the video file is obtained from this document mark Frequency encoding format information;
S205, encapsulation format information, video code model information and audio coding according to the video file of acquisition Format information, load demultiplexing module, Video decoding module and audio decoder module, to complete the initialization of player;
S206, parsing is packaged to the video file by way of traversal package format, to obtain the video file The encoding format information and audio coding formats information of video;According to the video code model information of the video file got With audio coding formats information, Video decoding module and audio decoder module are loaded, to complete the initialization of player;
S207, pass through the video file of the player plays after initialization;
When this document title meets preset naming rule, after executing step S207, step S209 can be executed;And work as This document mark does not meet preset naming rule, and after playing video file, this method can also include following step S208 after executing step S208, then executes step S209.
S208, the video file is renamed and is preserved according to preset naming rule;
S209, terminate flow.
Referring to Fig. 4, it is based on same inventive concept, a kind of processing dress that video file plays provided by the embodiments of the present application It sets, may include:Video file memory module 11 and player initialization module 12.
Video file memory module 11, for by the Document encapsulation format of target video file, video code model and Audio coding formats are stored with file name together as file identification;
Player initialization module 12, for when receiving the playing request of the target video file, described in reading The corresponding file identification of file name, so that player is executed based on the file identification for the target video file The initialization operation of demultiplexing, video decoding and audio decoder.
Preferably, can also can be used for through the broadcasting after initialization including playing control module, playing control module Device plays the video file.
In a better embodiment, described device further includes:
Whether judgment module wraps in the file designation information for judging the target video file downloaded from server Include the encapsulation format information, video code model information and audio coding formats information of the video file;
The video file memory module specifically includes:
First execution module, in the case where the judging result of the judgment module is to be, executing target video Document encapsulation format, video code model and the audio coding formats and file name of file are carried out together as file identification The operation of storage.
Further, the video file memory module further includes:
Parsing module is encapsulated, is used in the case where the judging result of the judgment module is no, traversal package format pair The video file is packaged parsing, is believed with the video code model information and audio coding formats that obtain the video file Breath;
Second execution module is used for the encapsulation format based on successfully resolved, and the video code model got Information and audio coding formats information are executed Document encapsulation format, video code model and the audio of target video file The operation that coded format is stored with file name together as file identification.
Further, the video file memory module specifically includes:
File name change module is used for the file name of the target video file, encapsulation format, Video coding lattice Formula and audio coding formats are arranged in order, and are named again the target video file;And using the information after name as The file identification of the target video file is stored.
It should be pointed out that the embodiment of the playing device of the application video file can be applied with video playing work( On the intelligent terminal of energy, such as intelligent TV set, smart mobile phone.Device embodiment can also be passed through by software realization The mode of hardware or software and hardware combining is realized.It is to pass through it as the device on a logical meaning for implemented in software Corresponding computer program instructions in nonvolatile memory are read and run shape in memory by the processor of place intelligent terminal At.For hardware view, as shown in figure 5, one of intelligent terminal where the processing unit played for the application video file Kind of hardware structure diagram, in addition to processor 71 shown in fig. 5, memory 72, network interface 73, nonvolatile memory 74 and interior Except portion's bus 75, the intelligent terminal in embodiment where device can also be wrapped generally according to the actual functional capability of the intelligent terminal Other hardware are included, this is repeated no more.
The function of each unit and the realization process of effect specifically refer to and correspond to step in the above method in above-mentioned apparatus Realization process, details are not described herein.
For device embodiments, since it corresponds essentially to embodiment of the method, so related place is referring to method reality Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separating component The unit of explanation may or may not be physically separated, and the component shown as unit can be or can also It is not physical unit, you can be located at a place, or may be distributed over multiple network units.It can be according to actual It needs that some or all of module therein is selected to realize the purpose of application scheme.Those of ordinary skill in the art are not paying In the case of going out creative work, you can to understand and implement.
The foregoing is merely the preferred embodiments of the application, not limiting the application, all essences in the application With within principle, any modification, equivalent substitution, improvement and etc. done should be included within the scope of the application protection god.

Claims (10)

1. the processing method that a kind of video file plays, which is characterized in that the method includes:
Document encapsulation format, video code model and the audio coding formats of target video file and file name one are acted as It is stored for file identification;
When receiving the playing request of the target video file, the corresponding file identification of the file name is read, so that It obtains player and the demultiplexing for the target video file, video decoding and audio decoder is executed based on the file identification Initialization operation.
2. the method as described in claim 1, which is characterized in that by Document encapsulation format, the Video coding of target video file Before format and audio coding formats are stored with file name together as file identification, the method further includes:
Judge in the file designation information for the target video file downloaded from server whether to include the video file Encapsulation format information, video code model information and audio coding formats information;
If so, executing Document encapsulation format, video code model and the audio coding formats of target video file and text The step of part title is stored together as file identification.
3. method as claimed in claim 2, which is characterized in that the target video file for judging to download from server File designation information in whether include encapsulation format information, video code model information and the audio coding of the video file After format information, the method further includes:
If it is not, then traversal package format is packaged parsing to the video file, the video to obtain the video file is compiled Code format information and audio coding formats information;
Encapsulation format based on successfully resolved, and the video code model information and audio coding formats that get are believed Breath is executed Document encapsulation format, video code model and the audio coding formats and file name one of target video file Play the step of being stored as file identification.
4. method as claimed in claim 3, which is characterized in that by Document encapsulation format, the Video coding of target video file Format and audio coding formats are stored with file name together as file identification, are specifically included:
File name, encapsulation format, video code model and the audio coding formats of the target video file are arranged successively Row, name the target video file again;
It is stored the information after name as the file identification of the target video file.
5. the method as described in claim 2~4 is any, which is characterized in that the target video file is startup advertisement video Whether file judges in the file designation information for the target video file downloaded from server to include the video file Before encapsulation format information, video code model information and audio coding formats information, the method further includes:
Detection startup advertisement video file whether there is;
If it is not, then sending the download request for the startup advertisement video file to server.
6. the processing unit that a kind of video file plays, which is characterized in that the device includes:
Video file memory module, for compiling the Document encapsulation format, video code model and audio of target video file Code format is stored with file name together as file identification;
Player initialization module, for when receiving the playing request of the target video file, reading the filename Claim corresponding file identification, so that player executes demultiplexing for the target video file based on the file identification With the decoding of, video and the initialization operation of audio decoder.
7. device as claimed in claim 6, which is characterized in that described device further includes:
Judgment module, whether including institute in the file designation information of the target video file for judging to download from server State the encapsulation format information, video code model information and audio coding formats information of video file;
The video file memory module specifically includes:
First execution module, in the case where the judging result of the judgment module is to be, executing target video file Document encapsulation format, video code model and audio coding formats and file name stored together as file identification Operation.
8. device as claimed in claim 7, which is characterized in that the video file memory module further includes:
Parsing module is encapsulated, in the case where the judging result of the judgment module is no, traversal package format to be to described Video file is packaged parsing, to obtain the video code model information and audio coding formats information of the video file;
Second execution module is used for the encapsulation format based on successfully resolved, and the video code model information got With audio coding formats information, execute Document encapsulation format, video code model and the audio coding of target video file The operation that format is stored with file name together as file identification.
9. device as claimed in claim 8, which is characterized in that the video file memory module specifically includes:
File name change module, for by the file name of the target video file, encapsulation format, video code model with And audio coding formats are arranged in order, and are named again the target video file;And using the information after name as described in The file identification of target video file is stored.
10. a kind of intelligent terminal, which is characterized in that the processing played including claim 6-9 any one of them video files Device.
CN201810230910.7A 2018-03-20 2018-03-20 Video file playing processing method and device and intelligent terminal Active CN108668162B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810230910.7A CN108668162B (en) 2018-03-20 2018-03-20 Video file playing processing method and device and intelligent terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810230910.7A CN108668162B (en) 2018-03-20 2018-03-20 Video file playing processing method and device and intelligent terminal

Publications (2)

Publication Number Publication Date
CN108668162A true CN108668162A (en) 2018-10-16
CN108668162B CN108668162B (en) 2021-06-04

Family

ID=63781990

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810230910.7A Active CN108668162B (en) 2018-03-20 2018-03-20 Video file playing processing method and device and intelligent terminal

Country Status (1)

Country Link
CN (1) CN108668162B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110324670A (en) * 2019-07-30 2019-10-11 北京奇艺世纪科技有限公司 A kind of transmission method of video, device and server
CN110996160A (en) * 2019-11-15 2020-04-10 广州华多网络科技有限公司 Video processing method and device, electronic equipment and computer readable storage medium
CN111787396A (en) * 2020-07-28 2020-10-16 北京金山云网络技术有限公司 Video stream parsing method and device
CN112565815A (en) * 2020-10-16 2021-03-26 腾讯科技(深圳)有限公司 File packaging method, file transmission method, file decoding method and related equipment
CN113747217A (en) * 2020-05-29 2021-12-03 聚好看科技股份有限公司 Display device and method for improving chorus speed
CN114302202A (en) * 2021-12-22 2022-04-08 深圳创维-Rgb电子有限公司 Audio and video screen projection method, device, equipment, system and storage medium
WO2022142156A1 (en) * 2020-12-30 2022-07-07 稿定(厦门)科技有限公司 Video file stream extraction method and apparatus
CN115190262A (en) * 2021-04-02 2022-10-14 海信集团控股股份有限公司 Electronic device, video stream processing method, device and medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080045205A1 (en) * 2006-08-18 2008-02-21 Samsung Electronics Co., Ltd. Method and apparatus for constructing database in mobile communication terminal
CN102625193A (en) * 2011-01-27 2012-08-01 郑州威科姆科技股份有限公司 A method of realizing multimedia file network playing by virtue of auxiliary files
US20130246586A1 (en) * 2005-01-31 2013-09-19 At&T Intellectual Property Ii, L.P. Method and system for supplying media over communication networks
CN104661079A (en) * 2015-02-03 2015-05-27 深圳创维数字技术有限公司 Multimedia format testing method and device
CN105589715A (en) * 2014-11-10 2016-05-18 日本电气株式会社 Information processing device, library loading method, and computer readable medium
CN107454447A (en) * 2017-09-04 2017-12-08 青岛海信电器股份有限公司 A kind of plug-in loading method of player, device and television set

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130246586A1 (en) * 2005-01-31 2013-09-19 At&T Intellectual Property Ii, L.P. Method and system for supplying media over communication networks
US20080045205A1 (en) * 2006-08-18 2008-02-21 Samsung Electronics Co., Ltd. Method and apparatus for constructing database in mobile communication terminal
CN102625193A (en) * 2011-01-27 2012-08-01 郑州威科姆科技股份有限公司 A method of realizing multimedia file network playing by virtue of auxiliary files
CN105589715A (en) * 2014-11-10 2016-05-18 日本电气株式会社 Information processing device, library loading method, and computer readable medium
CN104661079A (en) * 2015-02-03 2015-05-27 深圳创维数字技术有限公司 Multimedia format testing method and device
CN107454447A (en) * 2017-09-04 2017-12-08 青岛海信电器股份有限公司 A kind of plug-in loading method of player, device and television set

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
刘大会: "《数字电视实用技术》", 30 June 2010 *
裴昌幸: "《电视原理与现代电视系统》", 31 August 2011 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110324670A (en) * 2019-07-30 2019-10-11 北京奇艺世纪科技有限公司 A kind of transmission method of video, device and server
CN110996160A (en) * 2019-11-15 2020-04-10 广州华多网络科技有限公司 Video processing method and device, electronic equipment and computer readable storage medium
CN113747217A (en) * 2020-05-29 2021-12-03 聚好看科技股份有限公司 Display device and method for improving chorus speed
CN111787396A (en) * 2020-07-28 2020-10-16 北京金山云网络技术有限公司 Video stream parsing method and device
CN111787396B (en) * 2020-07-28 2023-02-21 北京金山云网络技术有限公司 Video stream parsing method and device
CN112565815A (en) * 2020-10-16 2021-03-26 腾讯科技(深圳)有限公司 File packaging method, file transmission method, file decoding method and related equipment
WO2022142156A1 (en) * 2020-12-30 2022-07-07 稿定(厦门)科技有限公司 Video file stream extraction method and apparatus
CN115190262A (en) * 2021-04-02 2022-10-14 海信集团控股股份有限公司 Electronic device, video stream processing method, device and medium
CN114302202A (en) * 2021-12-22 2022-04-08 深圳创维-Rgb电子有限公司 Audio and video screen projection method, device, equipment, system and storage medium

Also Published As

Publication number Publication date
CN108668162B (en) 2021-06-04

Similar Documents

Publication Publication Date Title
CN108668162A (en) Processing method, device and the intelligent terminal that video file plays
US20150094150A1 (en) Operation of a browser-incompatible application within a browser
CN102918868B (en) The scripting of hiding multimedia asset is accessed
CN111432225B (en) Method and equipment for commodity video cutting
US20050251749A1 (en) Presentation of media Content
EP2858374B1 (en) Information processing device, information processing method, program and application information table transmission device
CN105681874A (en) Network video online playing method and device
CN111510756A (en) Audio and video switching method and device, computer equipment and readable storage medium
CA2806828A1 (en) Reception apparatus, reception method, program, and broadcasting system
WO2012106269A1 (en) Media playback control
CN111510755A (en) Audio and video switching method and device, computer equipment and readable storage medium
US20100185765A1 (en) Content information providing and reproducing method and apparatus
CN108777819B (en) A kind of control method and control device based on browser player plays video web page
JP7181308B2 (en) MEDIA PLAYBACK LOADING CONTROL METHOD, APPARATUS AND STORAGE MEDIUM
CN107454447B (en) Plug-in loading method and device for player and television
US20070006276A1 (en) Audiovisual playback
CN111930973A (en) Multimedia data playing method and device, electronic equipment and storage medium
WO2008035855A1 (en) Method and apparatus for generating plurality of applications, and method and apparatus for processing application suitable for broadcasting receiving apparatus
CN103165151A (en) Method and device for playing multi-media file
CA3021656A1 (en) Methods and apparatus to identify media using inserted watermarks
CN110225376A (en) The interactive video production method and device launched for advertisement
CN107423312B (en) Live broadcast data playing method and device
CN103237215B (en) Player method and playback equipment
KR100909669B1 (en) How to Play Flash-based Video Content in Web Browsers of Mobile and Embedded Devices
US20130158690A1 (en) Systems and Methods for Dynamic Media Players Utilizing Media Traits

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218

Applicant after: Hisense Visual Technology Co., Ltd.

Address before: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218

Applicant before: QINGDAO HISENSE ELECTRONICS Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant