CN109151578A - The playback method of electronic equipment and its audio-video that is switched on - Google Patents

The playback method of electronic equipment and its audio-video that is switched on Download PDF

Info

Publication number
CN109151578A
CN109151578A CN201810865477.4A CN201810865477A CN109151578A CN 109151578 A CN109151578 A CN 109151578A CN 201810865477 A CN201810865477 A CN 201810865477A CN 109151578 A CN109151578 A CN 109151578A
Authority
CN
China
Prior art keywords
audio
played
video document
video
thread
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.)
Withdrawn
Application number
CN201810865477.4A
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.)
MediaTek Inc
Original Assignee
MStar Semiconductor Inc Taiwan
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 MStar Semiconductor Inc Taiwan filed Critical MStar Semiconductor Inc Taiwan
Priority to CN201810865477.4A priority Critical patent/CN109151578A/en
Priority to TW107140805A priority patent/TW202008791A/en
Publication of CN109151578A publication Critical patent/CN109151578A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/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/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44204Monitoring of content usage, e.g. the number of times a movie has been viewed, copied or the amount which has been watched
    • 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/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8166Monomedia components thereof involving executable data, e.g. software

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Stored Programmes (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

This application discloses the playback methods of a kind of electronic equipment and its audio-video that is switched on, this method comprises: calling control thread to read booting configuration file to obtain the quantity of the address of booting audio-video document and booting audio-video document;Judge whether currently playing number is not more than the quantity of the booting audio-video document using the control thread;When judging quantity of the currently playing number no more than the booting audio-video document, broadcasting thread is called to play audio-video document to be played.By the above-mentioned means, the application enables to play multiple audio-video documents in electronic equipment start process.

Description

The playback method of electronic equipment and its audio-video that is switched on
Technical field
This application involves audio and video playing technical field, more particularly to broadcasting for a kind of electronic equipment and its booting audio-video Put method.
Background technique
With the development of science and technology and the growth of user demand, the use of electronic equipment such as smart television have spread to crowd More families bring good experience for user.
Current smart television often plays some audio-videos in start process, is waited when being switched on increasing user Interest.However, present inventor has found in long-term R&D process, current smart television is past in start process Toward can only play a single audio-video document, it is unable to continuous to play multiple audio-videos.
Summary of the invention
The application is mainly solving the technical problems that provide the playback method of a kind of electronic equipment and its audio-video that is switched on, energy Enough so that playing multiple audio-video documents in electronic equipment start process.
In order to solve the above technical problems, the technical solution that the application uses is: providing a kind of electronic equipment booting sound The playback method of video, which comprises call control thread to read booting configuration file to obtain booting audio-video text The address of part and the quantity of booting audio-video document;It is described to judge whether currently playing number is not more than using the control thread The quantity of booting audio-video document;When judging quantity of the currently playing number no more than the booting audio-video document, call It plays thread and plays audio-video document to be played.
In order to solve the above technical problems, another technical solution that the application uses is: a kind of electronic equipment is provided, it is described Electronic equipment includes: processor and memory, and the booting audio-video document of the electronic equipment is stored in the memory Control the playing program of the booting audio-video document of program and the electronic equipment, the processor call the control program with The playing program executes following steps to establish control thread respectively and play thread: control thread being called to read booting Configuration file is to obtain the address of booting audio-video document and the quantity of booting audio-video document;Sentenced using the control thread Whether the currently playing number that breaks is not more than the quantity of the booting audio-video document;When judging currently playing number no more than described When the quantity of booting audio-video document, broadcasting thread is called to play audio-video document to be played.
The beneficial effect of the application is: being in contrast to the prior art, the application electronic equipment booting audio-video is broadcast It puts in method, obtains the address of booting audio-video document and booting sound by calling control thread to read booting configuration file The quantity of video file, and judge whether currently playing number is not more than the quantity of the booting audio-video document, it is broadcast currently When putting quantity of the number no more than the booting audio-video document, broadcasting thread is called to play audio-video document to be played.It is logical Aforesaid way is crossed, multiple booting audio-video documents can be set for electronic equipment in the application, need to play sound to be played When video file, by calling control thread to carry out pair the quantity of currently playing number and set booting audio-video document Than judgement, and at the end of showing that booting audio-video document does not play also through judgement, further calling plays thread and plays wait broadcast The audio-video document put, so that electronic equipment can play multiple audio-video documents in start process, to enhance user's sight The interest seen.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, the drawings in the following description are only some examples of the present application, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.Wherein:
Fig. 1 is the flow diagram of one embodiment of playback method of the application electronic equipment booting audio-video;
Fig. 2 is the flow diagram of step S16 in Fig. 1;
Fig. 3 is the flow diagram in Fig. 2 after step S162;
Fig. 4 is the flow diagram of another embodiment of playback method of the application electronic equipment booting audio-video;
Fig. 5 is the flow diagram of step S16 in Fig. 1;
Fig. 6 is the flow diagram of the another embodiment of playback method of the application electronic equipment booting audio-video;
Fig. 7 is the structural schematic diagram of one embodiment of the application electronic equipment.
Specific embodiment
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 description, it is clear that described embodiments are only a part of embodiments of the present application, rather than whole embodiments.Based on this Embodiment in application, those of ordinary skill in the art are obtained every other under the premise of not making creative labor Embodiment shall fall in the protection scope of this application.
Referring to Fig. 1, Fig. 1 is the process signal of one embodiment of playback method of the application electronic equipment booting audio-video Figure.
Electronic equipment is to refer to the smart television of playing audio-video document, number in start process in present embodiment Set-top box, Web TV box and smart phone, computer, personal digital assistant etc..Wherein, the master of method in the application is executed Body, which can be above-mentioned electronic equipment itself or other, can assist above-mentioned electronic equipment to execute the application electronic equipment booting sound Other equipment of the playback method of video, such as can be the Web TV box connecting with smart television.Specifically, this implementation In mode, the playback method of electronic equipment booting audio-video includes:
Step S12: control thread is called to read booting configuration file to obtain the address of booting audio-video document and open The quantity of machine audio-video document;
Wherein, the playback method of the electronic equipment booting audio-video provided in present embodiment can be by controlling thread and broadcasting Unwrapping wire journey etc. is realized jointly.Control thread can be started when electronic equipment is switched on, by calling control thread to electronics The broadcasting of the booting audio-video document of equipment is controlled, and is played out using thread is played to audio-video document.
Before playing booting audio-video document, the related data for the booting audio-video document for needing to play is obtained, these Related data can be obtained from booting configuration file, and specifically, booting configuration file may include booting audio-video document Address, booting audio-video document quantity etc..
Wherein, be switched on audio-video document address i.e. electronic equipment start process in play audio-video document storage Address, in an application scenarios, the storage address can be electronic equipment or execute present embodiment in method its The local data base of its equipment or cloud database etc..For example, in smart television start process, Web TV box energy Enough specific addresses of connection network acquisition booting audio-video document, to facilitate follow-up play thread corresponding according to address broadcasting Be switched on audio-video document.
And the number for the audio-video document that the quantity for the audio-video document that is switched on i.e. electronic equipment needs to play in start process Amount.In present embodiment, the quantity of the audio-video document that is switched on is greater than 1, i.e. the electronic equipment sound that needs to play in start process Video file is two or more.Wherein, be switched on audio-video document quantity can be system default quantity, or can also be with Preparatory self-setting according to the demand of user, and be stored in booting configuration file.It can specifically read by control thread It is calculated after booting configuration file.
Step S14: judge whether currently playing number is not more than the quantity of booting audio-video document using control thread;
Wherein, currently playing number refers to which time booting audio-video document to be played is in this start process The audio-video document of broadcasting.For example, 2 audio-video documents have been played in a start process, and sound to be played regards Frequency file is the 3rd broadcasting, then, currently playing number is the 3rd time.
Specifically, currently playing number can be set by the execution of the method in the electronic equipment or present embodiment that are switched on It is standby to be recorded and saved during electronic equipment playing audio-video or after playing, thus utilizing control thread It can be directly acquired when being judged.For example, in present embodiment, it is adjustable after audio-video document to be played finishes playing With the audio and video playing number after the completion of control thread recording played.And currently completing number is in electronic equipment with primary booting In process upper one be switched on recorded after audio-video document finishes playing finish playing after audio and video playing number basis On it is again plus 1 obtained.
It is readily appreciated that ground, under normal circumstances, quantity of the currently playing number no more than booting audio-video document, example as above In, currently playing number is the 3rd time, and when the audio-video quantity that is switched on is 3 or other numerical value greater than 3, it is normal condition, And when the audio-video quantity that is switched on is 2 or 1, then illustrate that currently playing number has been over the number of booting audio-video document Amount illustrates that booting audio-video document has finished, and electronic equipment can formally be switched on.
Step S16: when judging quantity of the currently playing number no more than booting audio-video document, broadcasting thread is called to broadcast Put audio-video document to be played.
Due in present embodiment, the quantity of the booting audio-video document of electronic equipment can be it is multiple, therefore, in electronics During device power-up, after even playing an audio-video document, booting audio-video document might not have been played Finish, and needs to judge the size relation between currently playing number and the quantity for the audio-video document that is switched on.
Specifically, in quantity of the currently playing number no more than booting audio-video document, illustrate that electronic equipment will not also All booting audio-video documents play.Audio-video document to be played is also not broadcast all booting audio-video documents When discharging complete, next booting audio-video document that will be played out can call broadcasting thread to play the sound to be played at this time Video file.
By the above-mentioned means, multiple booting audio-video documents can be arranged for electronic equipment in present embodiment, needing When playing audio-video document to be played, by calling control thread to currently playing number and set booting audio-video text The quantity of part compares judgement, and at the end of showing that booting audio-video document does not play also through judgement, further calls and broadcast Unwrapping wire journey plays audio-video document to be played, so that electronic equipment can play multiple audio-video texts in start process Part, to enhance the interest of user's viewing.
Wherein, in one embodiment, before step S14, the playback method of the application electronic equipment booting audio-video is also Include:
The video data of the last frame for the audio-video document that upper one plays is acquired, and is played playing thread preparation wait broadcast Before the audio-video document put, the video data of the lasting last frame for playing the audio-video document that upper one plays.
It is readily appreciated that ground, electronic equipment plays in front and back and has interval of time between two audio-video documents, at this If the linking without other audio-videos in being spaced, electronic equipment will will appear blank screen phenomenon.
In present embodiment, during playing a upper audio-video document, control thread acquires the audio-video document Last frame video data.And after an audio-video document on this plays, continue to play control thread sound collected The last frame video data of video file, and close broadcasting thread.And when audio-video document to be played starts to play, it opens The dynamic thread that plays plays the audio-video document to be played and stops showing the last frame video data of a upper audio-video document.
The last of a upper audio-video document is played between two audio-video documents by the above-mentioned means, playing in electronic equipment One-frame video data can either keep the continuity of audio and video playing in this way, while can be avoided electronic equipment again in broadcasting There is the case where blank screen before starting after terminating with the next audio-video document of broadcasting in one audio-video document, so as to mention The effect of high electronic equipment playing audio-video in start process, promotes the viewing experience of user.
Wherein, referring to Fig. 2, in one embodiment, step S16 further comprises:
Step S162: it when judging quantity of the currently playing number no more than booting audio-video document, detects to be played Whether audio-video document includes video data;
It is readily appreciated that ground, can only include video data in audio-video document, or only include audio data, Huo Zhetong When include video data and audio data.
In present embodiment, when control thread judges quantity of the currently playing number no more than booting audio-video document, The address for playing the booting audio-video document that thread is got according to control thread can be called, sound to be played is further got The specifying information of video file, and whether detect in the audio-video document to be played includes video data.
Step S164: when audio-video document to be played does not include video data, using playing, thread broadcasting is to be played Audio-video document in audio data, and by the display of electronic equipment show preset electronic equipment manufacturer indicate.
When audio-video document to be played does not include video data and only includes audio data, if continuing to wait for according to this The audio-video document of broadcasting plays out, then obviously will appear only sound and play out, and the case where blank screen.
In present embodiment, the image or video of manufacturer's mark of electronic equipment are preset, it specifically can be by electronics Equipment manufacturer's setting, either can also preset other images or video according to the hobby of oneself by user, wait broadcast When the audio-video document put does not include video data, by the display of electronic equipment and audio data simultaneous display, so as to Enough avoid the feelings because of audio-video document to be played not comprising electronic equipment blank screen in start process caused by video data Condition, while can also be played to a certain extent for the manufacturer of electronic equipment by showing manufacturer's mark of preset electronic equipment Certain propaganda function.
Wherein, referring to Fig. 3, after step S162, further comprising in an application scenarios:
Step S1632: when audio-video document to be played includes video data, detecting audio-video document to be played is No includes audio data;
Step S1634: it when audio-video document to be played includes audio data, calls and plays thread synchronization broadcasting audio Data and video data.
It again include audio number to detect audio-video document to be played i.e. include video data in this application scene According to when, call and play thread synchronization playing audio-fequency data and video data, to complete the broadcasting of audio-video document to be played.
In addition, if when detecting audio-video document to be played only and including video data and do not include audio data, It calls and plays thread only playing video data.
Wherein, referring to Fig. 4, in one embodiment, the playback method of the application electronic equipment booting audio-video also wraps It includes:
Step S22: during playing audio-video document to be played, detect whether there is exception using thread is played It plays;
It is readily appreciated that ground, may cause to play thread because of various factors in electronic equipment playing audio-video document It can not normal play.For example, play thread can not open the address of audio-video document to be played, can not decode it is to be played Audio-video document, the wide or high information that can not obtain video data in audio-video document to be played can not be obtained wait broadcast There is Caton very so as to cause electronic equipment broadcasting in the sample rate for the audio data in audio-video document put or channel information etc. To stuck situation.
And in electronic equipment start process, it will affect electronic equipment if booting audio-video document can not be played smoothly Smooth booting, thus further influence user's normal use electronic equipment.In present embodiment, sound view to be played is being played In the process of frequency file, while calling and playing thread and detect whether above situation occur, with when there are above-mentioned abnormal conditions, It can cope in time.
Step S24: when detecting to have abnormal play, report is played to control thread feedback is abnormal;
In present embodiment, can in control thread registration abnormity respond module, play thread detect to exist it is abnormal When broadcasting, report is played to control thread feedback is abnormal by the respond module in control thread, so that control thread obtains in time Know abnormal the case where playing, and generates counter-measure.
Step S26: control thread terminates after receiving exception and playing report and plays thread, and return step: utilizing control Thread processed judges whether currently playing number is not more than the quantity of booting audio-video document.
Since when occurring playing abnormal, corresponding booting audio-video document usually will not be able to continue normal play, this In embodiment, control thread terminates after receiving the exception for playing thread feedback and playing report and plays thread, meanwhile, it returns Return step S14.
It should be pointed out that return step S14 and continue with control thread judge currently playing number when, can not general Upper one abnormal plays plays as primary.That is, for example above-mentioned abnormal play before corresponding audio-video document plays controls thread When being judged, corresponding currently playing number is 2, then there is exception in the broadcasting due to the audio-video document, it is controlling Thread Termination processed plays thread and return step S14 and when being judged, currently playing number still can be regarded as 2, so that Electronic equipment can play sufficient amount of booting audio-video document in start process, so as to smoothly complete booting.
Wherein, referring to Fig. 5, in one embodiment, step S16 further comprises:
Step S1661: it calls control thread to read booting configuration file, obtains the volume mould of audio-video document to be played Formula;
In present embodiment, booting configuration file further comprises the volume mode of audio-video document to be played, Before starting broadcasting thread plays the audio-video document to be played, control thread can further be called to configure by reading booting File and obtain corresponding volume mode.
Specifically, volume mode may include silent mode, Voiced mode or be empty.
Step S1662: it when volume mode is silent mode, calls and plays the mute broadcasting of thread audio-video text to be played Part;
It is silent mode in the volume mode for the audio-video document to be played that control thread is got in present embodiment When, then it calls and plays the mute audio data played in the audio-video document to be played of thread, and corresponding view is played simultaneously Frequency evidence, or in no video data, manufacturer's mark of preset electronic equipment is played simultaneously.
Step S1663: when volume mode is Voiced mode, corresponding first volume value is further obtained, and call and broadcast Unwrapping wire journey plays audio-video document to be played according to the control of the first volume value;
It is Voiced mode in the volume mode for the audio-video document to be played that control thread is got in present embodiment When, corresponding first volume value can be obtained, further to play audio-video document to be played according to first volume value.
In an application scenarios, the volume mode for getting audio-video document to be played is Voiced mode, but into One step can not get corresponding specific volume value, can adopt the volume value of a booting audio-video document at this time, or use The volume default value that prestores of control thread is further played according to first volume value to be played using as the first volume value Audio data in audio-video document, and manufacturer's mark of corresponding video data or preset electronic equipment is played simultaneously.
Step S1664: when volume mode is empty, the second of the first audio-video document is obtained further according to preset rules Volume value, and broadcasting thread is called to play the audio data in audio-video document to be played according to the second volume value.
In present embodiment, when volume mode is empty, illustrate not to the volume value of audio-video document to be played into Row limits, and therefore, can also adopt the volume value of a booting audio-video document, or default using the volume that control thread prestores Value further plays according to second volume value audio number in audio-video document to be played using as the second volume value According to, and corresponding video data is played simultaneously.
In present embodiment, by configuring the volume mode of corresponding booting audio-video document in booting configuration file, To obtain corresponding volume value, and broadcasting thread is called to play corresponding audio-video to be played according to the volume value in turn The audio data of file, to meet broadcast request.
In an application scenarios, referring to Fig. 6, Fig. 6 is the playback method one of the application electronic equipment booting audio-video The flow diagram of embodiment.
Method specifically comprises the following steps: in present embodiment
S10: starting control thread;
S20: control thread is called to read booting configuration file;
S30: the quantity of booting audio-video document and the address of booting audio-video document to be played are obtained;
S40: judge whether currently playing number is not more than the quantity of the booting audio-video document using control thread;
S50a: if currently playing number no more than the quantity of booting audio-video document, further calls control thread to read Be switched on configuration file, to obtain the volume value of audio-video document to be played;
S50b: if currently playing number is greater than the quantity of booting audio-video document, control thread is terminated, and terminate the stream Journey;
S60: detect whether audio-video document to be played includes video data;
S70a: when audio-video document to be played includes video data, detect whether audio-video document to be played wraps Containing audio data;
S80a: it when audio-video document to be played includes audio data, calls and plays thread synchronization playing audio-fequency data And video data;
S80b: it when audio-video document to be played does not include audio data, calls and plays thread playing video data;
S90: judging whether the audio-video document plays terminates;
S100: if playing terminates, control thread acquisition last frame video data is simultaneously shown;
S70a: if not playing terminates, return step S70a;
S110: terminating and play thread, calls the audio and video playing number after the completion of control thread recording played, return step S40。
S70b: when audio-video document to be played does not include video data, sound to be played is played using thread is played Audio data in video file, and show that the manufacturer of preset electronic equipment indicates by the display of electronic equipment;
S80c: judging whether the audio-video document plays terminates;
S110: if playing terminates, S110 is thened follow the steps;
S70b: if being not over broadcasting, return step S70b.
Wherein, similar with the respective embodiments described above in present embodiment, related detailed content please refers to above-mentioned each embodiment party Formula, details are not described herein again.
Referring to Fig. 7, Fig. 7 is the structural schematic diagram of one embodiment of the application electronic equipment.Wherein, in present embodiment Electronic equipment is to refer to the smart television of playing audio-video document, top box of digital machine, Web TV box in start process And smart phone, computer, personal digital assistant etc..
Specifically, electronic equipment includes: processor 31 and memory 32.Wherein, electronic equipment is stored in memory 32 Booting audio-video document control program and electronic equipment booting audio-video document playing program, processor 31 call control Processing procedure sequence and playing program are to establish control thread respectively and play thread, and the step of executing Fig. 1-5, do not repeat herein.
It should be pointed out that step and the application performed by electronic equipment in above-mentioned the application electronic apparatus embodiment Identical in the playback method embodiment of electronic equipment booting audio-video, related detailed content please refers to above embodiment, Details are not described herein again.
The foregoing is merely presently filed embodiments, are not intended to limit the scope of the patents of the application, all to utilize this Equivalent structure or equivalent flow shift made by application specification and accompanying drawing content, it is relevant to be applied directly or indirectly in other Technical field similarly includes in the scope of patent protection of the application.

Claims (18)

1. the playback method of a kind of electronic equipment booting audio-video, which is characterized in that the described method includes:
Control thread is called to read booting configuration file to obtain the address of booting audio-video document and booting audio-video document Quantity;
Judge whether currently playing number is not more than the quantity of the booting audio-video document using the control thread;
When judging quantity of the currently playing number no more than the booting audio-video document, broadcasting thread is called to play to be played Audio-video document.
2. the method according to claim 1, wherein whether judging currently playing number using the control thread No more than it is described booting audio-video document quantity the step of before, the method further includes:
The video data of the last frame for the audio-video document that upper one plays is acquired, and is prepared described in broadcasting in the broadcasting thread Before audio-video document to be played, the video data of the last frame for the audio-video document that described upper one plays persistently is played.
3. the method according to claim 1, wherein when judging currently playing number no more than booting sound view When the quantity of frequency file, calls and plays the step of thread plays audio-video document to be played, further comprise:
When judging quantity of the currently playing number no more than the booting audio-video document, the audio-video to be played is detected Whether file includes video data;
When the audio-video document to be played does not include video data, played using the broadcasting thread described to be played Audio data in audio-video document, and show by the display of the electronic equipment manufacturer of the preset electronic equipment Mark.
4. according to the method described in claim 3, it is characterized in that, when judging currently playing number no more than booting sound view When the quantity of frequency file, and after detecting the step of audio-video document to be played includes video data, the method into One step includes:
When the audio-video document to be played includes the video data, whether the audio-video document to be played is detected Include audio data;
When the audio-video document to be played includes the audio data, the broadcasting thread synchronization is called to play the sound Frequency evidence and the video data.
5. the method according to claim 1, wherein the method also includes:
During playing the audio-video document to be played, detects whether to exist using the broadcastings thread and broadcast extremely It puts;
It is detecting to feed back abnormal broadcasting report to the control thread there are when the abnormal broadcasting;
The control thread terminates the broadcasting thread, and return step: utilizing institute after receiving the abnormal broadcasting report It states control thread and judges whether currently playing number is not more than the quantity of the booting audio-video document.
6. according to the method described in claim 5, it is characterized in that, abnormal play includes that the broadcasting thread can not be opened The address of the audio-video document to be played, can not decode the audio-video document to be played, can not obtain it is described wait broadcast The wide or high information for the video data in audio-video document put can not obtain in the audio-video document to be played The sample rate or channel information of audio data.
7. playing audio-video document to be played the method according to claim 1, wherein calling and playing thread Step further comprises:
It calls the control thread to read the booting configuration file, obtains the volume mould of the audio-video document to be played Formula;
When the volume mode is silent mode, call the broadcasting thread is mute to play the audio-video text to be played Part;
When the volume mode is Voiced mode, corresponding first volume value is further obtained, and call the broadcasting thread The audio-video document to be played is played according to first volume value control;
When the volume mode is empty, the second volume of first audio-video document is obtained further according to preset rules Value, and the broadcasting thread is called to play the audio-video document to be played according to second volume value.
8. the method according to claim 1, wherein the method also includes:
After the audio-video document to be played finishes playing, the audio-video after the completion of the control thread recording played is called Broadcasting time.
9. the method according to claim 1, wherein the address of the booting audio-video document includes: the electricity The local data base and cloud database of sub- equipment.
10. a kind of electronic equipment, which is characterized in that the electronic equipment includes: processor and memory, is deposited in the memory Contain broadcasting for the control program of the booting audio-video document of the electronic equipment and the booting audio-video document of the electronic equipment Put program, the processor calls the control program and the playing program to establish control thread and broadcasting thread respectively, And execute following steps:
Control thread is called to read booting configuration file to obtain the address of booting audio-video document and booting audio-video document Quantity;
Judge whether currently playing number is not more than the quantity of the booting audio-video document using the control thread;
When judging quantity of the currently playing number no more than the booting audio-video document, broadcasting thread is called to play to be played Audio-video document.
11. electronic equipment according to claim 10, which is characterized in that judged currently executing using the control thread Whether broadcasting time was not more than before the step of quantity of the booting audio-video document, and the processor also executes following step It is rapid:
The video data of the last frame for the audio-video document that upper one plays is acquired, and is prepared described in broadcasting in the broadcasting thread Before audio-video document to be played, the video data of the last frame for the audio-video document that described upper one plays persistently is played.
12. electronic equipment according to claim 10, which is characterized in that judge that currently playing number is not more than executing to work as When the quantity of the booting audio-video document, when broadcasting thread being called to play the step of audio-video document to be played, the place Reason device further performs the step of:
When judging quantity of the currently playing number no more than the booting audio-video document, the audio-video to be played is detected Whether file includes video data;
When the audio-video document to be played does not include video data, played using the broadcasting thread described to be played Audio data in audio-video document, and show by the display of the electronic equipment manufacturer of the preset electronic equipment Mark.
13. electronic equipment according to claim 12, which is characterized in that judge that currently playing number is not more than executing to work as When the quantity of the booting audio-video document, and the step of whether audio-video document to be played includes video data detected Later, the processor also executes following steps:
When the audio-video document to be played includes the video data, whether the audio-video document to be played is detected Include audio data;
When the audio-video document to be played includes the audio data, the broadcasting thread synchronization is called to play the sound Frequency evidence and the video data.
14. electronic equipment according to claim 10, which is characterized in that the processor also executes following steps:
During playing the audio-video document to be played, detects whether to exist using the broadcastings thread and broadcast extremely It puts;
It is detecting to feed back abnormal broadcasting report to the control thread there are when the abnormal broadcasting;
The control thread terminates the broadcasting thread, and return step: utilizing institute after receiving the abnormal broadcasting report It states control thread and judges whether currently playing number is not more than the quantity of the booting audio-video document.
15. electronic equipment according to claim 14, which is characterized in that it is described it is abnormal play include the broadcasting thread without Method opens the address of the audio-video document to be played, can not decode the audio-video document to be played, can not obtain institute It states the wide or high information of the video data in audio-video document to be played or the audio-video text to be played can not be obtained The sample rate or channel information of audio data in part.
16. electronic equipment according to claim 10, which is characterized in that call broadcasting thread to play in execution to be played When the step of audio-video document, the processor is further performed the step of:
It calls the control thread to read the booting configuration file, obtains the volume mould of the audio-video document to be played Formula;
When the volume mode is silent mode, call the broadcasting thread is mute to play the audio-video text to be played Part;
When the volume mode is Voiced mode, corresponding first volume value is further obtained, and call the broadcasting thread The audio-video document to be played is played according to first volume value control;
When the volume mode is empty, the second volume of first audio-video document is obtained further according to preset rules Value, and the broadcasting thread is called to play the audio-video document to be played according to second volume value.
17. electronic equipment according to claim 10, which is characterized in that the processor also executes following steps:
After the audio-video document to be played finishes playing, the audio-video after the completion of the control thread recording played is called Broadcasting time.
18. electronic equipment according to claim 10, which is characterized in that the address of the booting audio-video document includes: The local data base and cloud database of the electronic equipment.
CN201810865477.4A 2018-08-01 2018-08-01 The playback method of electronic equipment and its audio-video that is switched on Withdrawn CN109151578A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810865477.4A CN109151578A (en) 2018-08-01 2018-08-01 The playback method of electronic equipment and its audio-video that is switched on
TW107140805A TW202008791A (en) 2018-08-01 2018-11-16 Electronic apparatus and boot audio and video file playback method of the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810865477.4A CN109151578A (en) 2018-08-01 2018-08-01 The playback method of electronic equipment and its audio-video that is switched on

Publications (1)

Publication Number Publication Date
CN109151578A true CN109151578A (en) 2019-01-04

Family

ID=64799449

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810865477.4A Withdrawn CN109151578A (en) 2018-08-01 2018-08-01 The playback method of electronic equipment and its audio-video that is switched on

Country Status (2)

Country Link
CN (1) CN109151578A (en)
TW (1) TW202008791A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120136964A1 (en) * 1999-01-22 2012-05-31 Pointset Corporation Method and apparatus for setting programmable features of an appliance
CN103702179A (en) * 2013-12-11 2014-04-02 乐视致新电子科技(天津)有限公司 Television system, sound volume setting device and sound volume setting method
CN105872621A (en) * 2015-12-15 2016-08-17 乐视致新电子科技(天津)有限公司 Method, device and terminal for realizing startup advertisement of smart TV
CN107295388A (en) * 2017-06-21 2017-10-24 微鲸科技有限公司 Boot animation starts method, device and readable storage medium storing program for executing
CN107872689A (en) * 2016-09-26 2018-04-03 法乐第(北京)网络科技有限公司 Play content updating method, device, terminal and server

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120136964A1 (en) * 1999-01-22 2012-05-31 Pointset Corporation Method and apparatus for setting programmable features of an appliance
CN103702179A (en) * 2013-12-11 2014-04-02 乐视致新电子科技(天津)有限公司 Television system, sound volume setting device and sound volume setting method
CN105872621A (en) * 2015-12-15 2016-08-17 乐视致新电子科技(天津)有限公司 Method, device and terminal for realizing startup advertisement of smart TV
CN107872689A (en) * 2016-09-26 2018-04-03 法乐第(北京)网络科技有限公司 Play content updating method, device, terminal and server
CN107295388A (en) * 2017-06-21 2017-10-24 微鲸科技有限公司 Boot animation starts method, device and readable storage medium storing program for executing

Also Published As

Publication number Publication date
TW202008791A (en) 2020-02-16

Similar Documents

Publication Publication Date Title
US11122323B2 (en) Smart television signal source-based method for displaying floating menu and smart television
CN108024079B (en) Screen recording method, device, terminal and storage medium
CN114302193B (en) Display device and protocol detection method
CN103686350A (en) Method and system for adjusting image quality
CN103680551A (en) Player and method thereof for simultaneously playing multiple videos
US9491401B2 (en) Video call method and electronic device supporting the method
US20150326933A1 (en) Video reproduction apparatus, control method thereof, and computer-readable storage medium storing program
CN103139597A (en) Test method and digital television terminal
EP3713245A1 (en) Epg user interface display method and apparatus
JPH10509564A (en) Telecommunications system and method
CN102724452A (en) Picture processing method and device for video playing
CN109657091A (en) State rendering method, device, equipment and the storage medium of interactive voice equipment
CN110968391A (en) Screenshot method, screenshot device, terminal equipment and storage medium
CN113727166A (en) Advertisement display method and device
CN110650352B (en) Video processing method of IPTV browser
EP3089468A1 (en) Smart television 3d setting information processing method and device
CN101127845A (en) Image processing apparatus and image processing method for executing an external application
CN109151578A (en) The playback method of electronic equipment and its audio-video that is switched on
CN111107283B (en) Information display method, electronic equipment and storage medium
CN108366297B (en) Method and device for following terminal information and smart television
US8407594B2 (en) System and method for dynamically establishing extended display identification data
CN105912298A (en) Sound playing control method and device
CN114374869B (en) Panoramic video playing method and device and computer storage medium
CN105592362B (en) Control the method and system of intelligent terminal application automatic running
CN108282695A (en) A kind of digital television control method, device, readable medium and storage control

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
TA01 Transfer of patent application right

Effective date of registration: 20200410

Address after: No.1, Duhang 1st Road, Hsinchu City, Hsinchu Science Park, Taiwan, China

Applicant after: MEDIATEK Inc.

Address before: 1, 4th Floor, 26 Taiyuan Street, Zhubei City, Xinzhu County

Applicant before: MStar Semiconductor, Inc.

TA01 Transfer of patent application right
WW01 Invention patent application withdrawn after publication

Application publication date: 20190104

WW01 Invention patent application withdrawn after publication