CN102595114B - Method and terminal for playing video on low-side embedded product - Google Patents

Method and terminal for playing video on low-side embedded product Download PDF

Info

Publication number
CN102595114B
CN102595114B CN201110006931.9A CN201110006931A CN102595114B CN 102595114 B CN102595114 B CN 102595114B CN 201110006931 A CN201110006931 A CN 201110006931A CN 102595114 B CN102595114 B CN 102595114B
Authority
CN
China
Prior art keywords
video
code flow
video code
time stamp
audio
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.)
Active
Application number
CN201110006931.9A
Other languages
Chinese (zh)
Other versions
CN102595114A (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.)
Guangzhou Ankai Microelectronics Co.,Ltd.
Original Assignee
Anyka Guangzhou Microelectronics Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Anyka Guangzhou Microelectronics Technology Co Ltd filed Critical Anyka Guangzhou Microelectronics Technology Co Ltd
Priority to CN201110006931.9A priority Critical patent/CN102595114B/en
Publication of CN102595114A publication Critical patent/CN102595114A/en
Application granted granted Critical
Publication of CN102595114B publication Critical patent/CN102595114B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention is applied to the audio and video playing field, and provides a method and a terminal for playing video on a low-side embedded product. The method comprises the following steps of: obtaining audio data and video code stream, and adopting a digital-to-analog convertor to convert the audio data from a digital signal to an analog signal; confirming an audio timestamp of the audio data according to audio parameter of the digital-to-analog convertor; confirming a video timestamp of the video code stream according to frame rate of the obtained video code stream; and decoding the video code stream according to the audio timestamp and the video timestamp and playing the decoded video code stream. According to the embodiment of the invention, only when an absolute value of the difference between the audio timestamp and the video timestamp is less than a preset time threshold, can the video code stream coded by adopting an MJPED coding mode with lower complexity be decoded, so that the audio and the video can be played synchronously.

Description

A kind of method of displaying video on low side embedded product and terminal
Technical field
The invention belongs to audio and video playing field, particularly relate to a kind of method and terminal of displaying video on low side embedded product.
Background technology
Along with the fast development of network technology and multimedia technology, product market with multi-media player function also gets more and more, and as having the MP3 of audio playing function, has the MP4 etc. of audio and video playing function.
In existing low side embedded product, normal employing h.264 with real media (the Real Media Variable Bitrate of dynamic speed change sample rate, rmvb) video code flow is encoded, adopt Advanced Audio Coding (Advanced Audio Coding, AAC) and cook voice data is encoded, this h.264, the compression ratio of the coded system such as rmvb, AAC and cook is higher, and the complexity of corresponding decoding algorithm is also higher.
If provide audio playing function and video playback capability in low side embedded product simultaneously, then due to the lower hardware configuration of low side embedded product itself, by making, the effect of playing audio-video is not ideal, as asynchronous in produced audio frequency and video in playing process, the problems such as broadcasting pictures is not smooth.
Summary of the invention
Embodiments provide a kind of method of displaying video on low side embedded product, be intended to solve when providing audio playing function and video playback capability in low side embedded product, the audio frequency and video of generation are asynchronous, the slack problem of broadcasting pictures simultaneously.
The embodiment of the present invention is achieved in that a kind of method of displaying video on low side embedded product, and described method comprises step:
Obtain voice data and video code flow, and adopt digital to analog converter that described voice data is converted to analog signal from digital signal;
The audio time stamp of described voice data is determined according to the audio frequency parameter of digital to analog converter;
The video time stamp of described video code flow is determined according to the frame per second of the video code flow obtained;
According to described audio time stamp and described video time stamp decoded video code stream and the video code flow of broadcast decoder.
Another object of the embodiment of the present invention is the terminal providing a kind of displaying video on low side embedded product, and described terminal comprises:
Analog signal acquiring unit, for obtaining voice data and video code flow, and adopts digital to analog converter that described voice data is converted to analog signal from digital signal;
Audio time stamp determining unit, for determining the audio time stamp of described voice data according to the audio frequency parameter of digital to analog converter;
Video time stamp determining unit, for determining the video time stamp of described video code flow according to the frame per second of the video code flow obtained;
Video code flow broadcast unit, for according to described audio time stamp and described video time stamp decoded video code stream and the video code flow of broadcast decoder.
In the embodiment of the present invention, because the voice data in the file of voice and image combining adopts pcm encoder mode to encode, this pcm encoder does not compress voice data, video code flow in file adopts MJPEG coded system coding, this MJPEG coding carries out absolute coding to each frame video code flow, there is no interframe encode, reference and referenced relation is not had between each frame, therefore during the file of decompress(ion) by voice and image combining, do not need to carry out decompress(ion) to voice data, only need by this voice data by digital to analog converter converted back into analog signal, and during decompressing video code stream, do not need the management of motion compensation and reference frame, greatly reduce decoding complex degree, thus improve the decoding speed of whole file, and MJPEG does not need to have decoded, a whole frame of video just can show, effectively save memory headroom.Obtain the video code flow of being encoded by the voice data of pcm encoder and MJPEG, and the voice data of acquisition is converted to analog signal by digital to analog converter, the video time stamp of the audio time stamp of the audio frequency parameter determination voice data returned according to digital to analog converter again and the frame per second determination video code flow according to the video code flow of being encoded by MJPEG obtained, finally according to audio time stamp and video time stamp decoded video code stream and the video code flow of broadcast decoder.Due to only when the absolute value of the difference of video time stamp and audio time stamp is less than pre-configured time threshold, just the video code flow of the decoding MJPEG coded system coding that adopts complexity lower, therefore can make audio-visual synchronization play.
Accompanying drawing explanation
Fig. 1 is the method flow of displaying video on low side embedded product that first embodiment of the invention provides;
Fig. 2 is the terminal structure of displaying video on low side embedded product that second embodiment of the invention provides.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
In the embodiment of the present invention, obtain by the voice data of the file of voice and image combining and video code flow, analog signal is converted to by the voice data of pcm encoder from digital signal again by what obtain, and the audio time stamp of the audio frequency parameter determination voice data returned according to digital to analog converter and determine the video time stamp of the video code flow of being encoded by MJPEG according to the frame per second of video code flow, finally according to audio time stamp and video time stamp decoded video code stream and the video code flow of broadcast decoder.
In order to technical solutions according to the invention are described, be described below by specific embodiment.
embodiment one:
The method flow of displaying video on low side embedded product that Fig. 1 shows that first embodiment of the invention provides, in the present embodiment, resolve by the file of voice and image combining to obtain voice data and the video code flow of this file, and according to the video code flow after the timestamp broadcast decoder of voice data, details are as follows:
In step s 11, obtain voice data and video code flow, and adopt digital to analog converter that this voice data is converted to analog signal from digital signal.
As an alternative embodiment of the invention, at acquisition voice data and video code flow, and the taking a step forward of step adopting digital to analog converter this voice data to be converted to analog signal from digital signal comprises the steps:
Read the file by voice and image combining, and resolve this file to obtain voice data and the video code flow of this file.Is Audio Video Interleaved form (Audio VideoInterleaved as reading by voice and image combining file, AVI) file, then resolve this avi file according to the character code of characterization data block type in this avi file, to obtain voice data and video code flow that this avi file comprises.If the data block type of avi file uses a fourCC to characterize, this fourCC is numbered by the type codes of 2 bytes and the stream of 2 bytes and is formed, and use " db " represents non-compression video frame, " dc " represents compressed video frame, new palette is used in " pc " expression instead, " wb " represents compressed audio, the type characterizing this data block as fourCC " 00wb " is audio data block, and this audio data block is first stream of this avi file.
As an alternative embodiment of the invention, motion jpeg (Motion JPEG should be used by the video code flow of the file of voice and image combining, MJPEG) coded system is encoded, the pulse modulation mode of (Pulse Code Modulation, PCM) of recording should be used to encode by the voice data of the file of voice and image combining.In the present embodiment, by video MJPEG coding, all absolute coding is carried out to each frame video code flow, and there is no interframe encode, thus each the frame video code flow after coding is all key frame, and there is no reference frame and referenced frame, wherein, this key frame is I frame, and the value of four bytes before frame is the length of this frame.Owing to adopting the coded system of full I frame, the management of thus not needing to take exercises when decoding compensation and reference frame, thus can fast decoding, promote decoding speed.On the other hand, by audio frequency pcm encoder, voice data is converted to digital signal from analog signal, owing to not compressing this voice data, thus this voice data of decoding is not needed, the voice data being converted to digital signal is only needed to send into digital-to-analogue (DataAnalog, D/A) transducer, by the voice data of voice data from digital signal converted back into analog signal again.
In the present embodiment, after acquisition voice data and video code flow, by the voice data of acquisition stored in audio buffer district, by the video code flow of acquisition stored in video cache district.Take out from buffer area again when the voice data of acquisition is converted to analog signal from digital signal by needs.
As an alternative embodiment of the invention, the taking a step forward of step of the video code flow of acquisition stored in video cache district is being comprised the steps:
In the video cache district of depositing video code flow, a pre-configured video decode threshold value, for controlling the size of the video code flow that this video cache district deposits.In the present embodiment, according to the actual assignable size of internal memory, a pre-configured video decode threshold value, when video cache district stored in video code flow be greater than this video decode threshold value time, directly abandon the document analysis frame video code flow out from voice and image combining, frame per second due to normal play video code stream is broadcasting 20 multi-frame video frame per second, therefore when broadcasting 20 multi-frame video code stream per second, abandon the result of broadcast that a frame video code flow can not affect whole video code flow once in a while, but effectively can save the Embedded internal memory of low side; When video cache district stored in video code flow be less than this video decode threshold value time, will resolve obtain a frame video code flow stored in this video cache district.Such as, suppose that the upper limit of internal memory is 10K, pre-configured video decode threshold value is 10K, when resolving the frame video code flow obtained by the file of voice and image combining and being greater than 10K, then directly abandons this frame video code flow; When the frame video code flow obtained is not more than 10K, by this frame video code flow stored in video cache district.
In step s 12, the audio time stamp of this voice data is determined according to the audio frequency parameter of digital to analog converter.
In the present embodiment, voice data is converted to from digital signal the sample number (SAMPLES_SEND_ONCE) etc. that audio frequency parameter that analog signal returns has counting (COUNT), sample rate (SAMPLESPERSEC), once transmits, determine the audio time stamp of this voice data according to this audio frequency parameter, this audio time stamp plays the time of this audio frequency for identifying.Suppose that this audio time stamp audioPTS represents, then audioPTS can calculate according to following formula:
audioPTS=COUNT*SAMPLES_SEND_ONCE/SAMPLESPERSEC。
In step s 13, the video time stamp of this video code flow is determined according to the frame per second of the video code flow obtained.
In the present embodiment, the video time stamp of this video code flow is the time of playing this video code flow frame.The timestamp of each frame video code flow determines with reference to the timestamp of previous frame video code flow.Suppose that the frame per second of video code flow obtained is 25f/s, the video time stamp of current video code stream frame is 20ms, then the video time stamp of next video code flow frame should be 20+40=60ms.
In step S14, according to audio time stamp and video time stamp decoded video code stream and the video code flow of broadcast decoder.
In the present embodiment, the voice data of decoded audio buffer area and the video code flow of decoded video buffer area.
Wherein, according to audio time stamp and video time stamp decoded video code stream and the step of the video code flow of broadcast decoder be specially:
Pre-configured one be greater than 0 time threshold, judge whether the absolute value of the difference of video time stamp and audio time stamp is less than this pre-configured time threshold, if the absolute value of the difference of this video time stamp and audio time stamp is less than pre-configured time threshold, illustrate that audio decoder speed and video decode speed are more or less the same, the audio frequency and video play substantially can be synchronous, then continue from video cache district, take out a frame video code flow and carry out decoding and the video code flow of broadcast decoder; If the absolute value of the difference of video time stamp and audio time stamp is greater than pre-configured time threshold, illustrate that the decoding speed of video is greater than the decoding speed of audio frequency, the decoding speed frequently of photopic vision is in other words less than the decoding speed of audio frequency.When the decoding speed of video is greater than the decoding speed of audio frequency, the broadcasting speed of video is faster than the broadcasting speed of audio frequency, the then video code flow in temporary transient video cache district of not decoding, until the absolute value of the difference of video time stamp and audio time stamp is less than or equal to pre-configured time threshold, just continue decoded video code stream, to make the audio-visual synchronization of broadcasting; When the decoding speed of video is less than the decoding speed of audio frequency, the broadcasting speed of video is slower than the broadcasting speed of audio frequency, the video play lags behind the audio frequency of broadcasting, then directly abandon the video code flow frame stored in video cache district, the new video code flow frame obtained of decoding, with the absolute value of the difference of the audio time stamp of the voice data of the video time stamp and current broadcasting that reduce the video code flow frame of current broadcasting, finally reach the object that audio-visual synchronization is play.
In first embodiment of the invention, because the voice data in the file of voice and image combining adopts pcm encoder mode to encode, this pcm encoder does not compress voice data, video code flow in file adopts MJPEG coded system coding, this MJPEG coding carries out absolute coding to each frame video code flow, there is no interframe encode, reference and referenced relation is not had between each frame, therefore during the file of decompress(ion) by voice and image combining, do not need to carry out decompress(ion) to voice data, only need by this voice data by digital to analog converter converted back into analog signal, and during decompressing video code stream, do not need the management of motion compensation and reference frame, greatly reduce decoding complex degree, thus improve the decoding speed of whole file, and MJPEG does not need to have decoded, a whole frame of video just can show, effectively save memory headroom.Obtain the video code flow of being encoded by the voice data of pcm encoder and MJPEG, and the voice data of acquisition is converted to analog signal by digital to analog converter, the video time stamp of the audio time stamp of the audio frequency parameter determination voice data returned according to digital to analog converter again and the frame per second determination video code flow according to the video code flow of being encoded by MJPEG obtained, finally according to audio time stamp and video time stamp decoded video code stream and the video code flow of broadcast decoder.Due to only when the absolute value of the difference of video time stamp and audio time stamp is less than pre-configured time threshold, just the video code flow of the decoding MJPEG coded system coding that adopts complexity lower, therefore can make audio-visual synchronization play.
embodiment two:
The terminal structure of displaying video on low side embedded product that Fig. 2 shows that the embodiment of the present invention provides, for convenience of explanation, illustrate only part related to the present embodiment.
The terminal of displaying video should may be used for the various information processing terminals by wired or wireless network connection server on low side embedded product, such as mobile phone, pocket computer (Pocket PersonalComputer, PPC), palmtop PC, computer, notebook computer, personal digital assistant (PersonalDigital Assistant, PDA) etc., can be run on the software unit in these terminals, the unit that hardware cell or software and hardware combine, also can be integrated in these terminals as independently suspension member or run in the application system of these terminals, wherein:
Analog signal acquiring unit 21 obtains voice data and video code flow, and adopts digital to analog converter that this voice data is converted to analog signal from digital signal.
In the present embodiment, by obtain voice data and video code flow respectively stored in audio buffer district and video cache district.
As an alternative embodiment of the invention, the terminal of displaying video also should comprise on low side embedded product: audio-video document resolution unit 25.
This audio-video document resolution unit 25, for reading the file by voice and image combining, and resolve this file to obtain voice data and the video code flow of this file, wherein, this voice data uses pulse modulation recording pcm encoder, and this video code flow uses motion jpeg coding.
As an alternative embodiment of the invention, the terminal of displaying video also should comprise on low side embedded product: video decode threshold value dispensing unit 26 and video code flow memory cell 27.
This video decode threshold value dispensing unit 26 is for a pre-configured video decode threshold value.
This video code flow memory cell 27 is for judging whether the frame video code flow obtained is greater than this video decode threshold value, when this video code flow is greater than video decode threshold value, abandon this video code flow, when this video code flow is less than or equal to video decode threshold value, by this video code flow stored in video cache district.
In the present embodiment, before the video code flow that will obtain is stored in video cache district, video code flow memory cell 27 first judges whether the video code flow obtained is greater than pre-configured decoding threshold value.
Audio time stamp determining unit 22 determines the audio time stamp of this voice data according to the audio frequency parameter of digital to analog converter.
In the present embodiment, voice data is converted to from digital signal the sample number (SAMPLES_SEND_ONCE) etc. that audio frequency parameter that analog signal returns has counting (COUNT), sample rate (SAMPLESPERSEC), once transmits, determine the audio time stamp of this voice data according to this audio frequency parameter, this audio time stamp plays the time of this audio frequency for identifying.Suppose that this audio time stamp audioPTS represents, then audioPTS can calculate according to following formula:
audioPTS=COUNT*SAMPLES_SEND_ONCE/SAMPLESPERSEC。
Video time stamp determining unit 23 determines the video time stamp of this video code flow according to the frame per second of the video code flow obtained.
Video code flow broadcast unit 24 is according to this audio time stamp and this video time stamp decoded video code stream and the video code flow of broadcast decoder.
As an alternative embodiment of the invention, this video code flow broadcast unit 24 comprises: time threshold judge module 241, video code flow decoder module 242, video code flow not decoder module 243.
This time threshold judge module 241 pre-configured one be greater than 0 time threshold, judge whether the absolute value of the difference of video time stamp and audio time stamp is greater than this time threshold.
Video code flow decoder module 242, when the absolute value of the difference of this video time stamp and audio time stamp is less than or equal to pre-configured time threshold, takes out a frame video code flow and carries out decoding and the video code flow of broadcast decoder from video cache district.
Video code flow not decoder module 243 when the absolute value of the difference of video time stamp and audio time stamp is greater than pre-configured time threshold, the video code flow in video cache district of not decoding.
In the present embodiment, if the absolute value of the difference of video time stamp and audio time stamp is greater than pre-configured time threshold, then illustrate that the decoding speed of video is greater than the decoding speed of audio frequency, the decoding speed frequently of photopic vision is in other words less than the decoding speed of audio frequency.When the decoding speed of video is greater than the decoding speed of audio frequency, the broadcasting speed of video is faster than the broadcasting speed of audio frequency, the then video code flow in temporary transient video cache district of not decoding, until the absolute value of the difference of video time stamp and audio time stamp is less than or equal to pre-configured time threshold, just continue decoded video code stream, to make the audio-visual synchronization of broadcasting; When the decoding speed of video is less than the decoding speed of audio frequency, the broadcasting speed of video is slower than the broadcasting speed of audio frequency, the video play lags behind the audio frequency of broadcasting, then directly abandon the video code flow frame stored in video cache district, the new video code flow frame obtained of decoding, with the absolute value of the difference of the audio time stamp of the voice data of the video time stamp and current broadcasting that reduce the video code flow frame of current broadcasting, finally reach the object that audio-visual synchronization is play.
In second embodiment of the invention, the voice data of resolving due to audio-video document resolution unit 25 uses pcm encoder mode to encode, the video code flow of resolving uses MJPEG coded system coding, therefore the speed of video code flow broadcast unit 24 decoded video code stream can be promoted, in addition, it is wait for or decode or directly abandon that the video time stamp that the audio time stamp determined according to audio time stamp determining unit and 22 video time stamp determining units 23 are determined is determined stored in the video code flow in video cache district, effectively ensure that the synchronous broadcasting of audio frequency and video.
In the embodiment of the present invention, because the voice data in the file of voice and image combining adopts pcm encoder mode to encode, this pcm encoder does not compress voice data, video code flow in file adopts MJPEG coded system coding, this MJPEG coding carries out absolute coding to each frame video code flow, there is no interframe encode, reference and referenced relation is not had between each frame, therefore during the file of decompress(ion) by voice and image combining, do not need to carry out decompress(ion) to voice data, only need by this voice data by digital to analog converter converted back into analog signal, and during decompressing video code stream, do not need the management of motion compensation and reference frame, greatly reduce decoding complex degree, thus improve the decoding speed of whole file, and MJPEG does not need to have decoded, a whole frame of video just can show, effectively save memory headroom.Obtain the video code flow of being encoded by the voice data of pcm encoder and MJPEG, and the voice data of acquisition is converted to analog signal by digital to analog converter, the video time stamp of the audio time stamp of the audio frequency parameter determination voice data returned according to digital to analog converter again and the frame per second determination video code flow according to the video code flow of being encoded by MJPEG obtained, finally according to audio time stamp and video time stamp decoded video code stream and the video code flow of broadcast decoder.Due to only when the absolute value of the difference of video time stamp and audio time stamp is less than pre-configured time threshold, just the video code flow of the decoding MJPEG coded system coding that adopts complexity lower, therefore can make audio-visual synchronization play.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. the method for displaying video on low side embedded product, is characterized in that, described method:
Obtain voice data and video code flow, and adopt digital to analog converter that described voice data is converted to analog signal from digital signal;
The audio time stamp of described voice data is determined according to the audio frequency parameter of digital to analog converter; Suppose that this audio time stamp audioPTS represents, then
AudioPTS=COUNT*SAMPLES_SEND_ONCE/SAMPLESPERSEC; Wherein, COUNT is counting, and SAMPLESPERSEC is sample rate, and SAMPLES_SEND_ONCE is the sample number once transmitted;
The video time stamp of described video code flow is determined according to the frame per second of the video code flow obtained;
According to described audio time stamp and described video time stamp decoded video code stream and the video code flow of broadcast decoder.
2. the method for claim 1, is characterized in that, comprises the steps: the taking a step forward of step of described acquisition voice data and video code flow
Read the file by voice and image combining, and resolve described file to obtain voice data and the video code flow of described file;
Described voice data uses pulse modulation recording pcm encoder;
Described video code flow uses motion jpeg coding.
3. the method for claim 1, is characterized in that, comprises the steps: further after the step of described acquisition voice data and video code flow
By the voice data of acquisition stored in audio buffer district;
By the video code flow of acquisition stored in video cache district.
4. method as claimed in claim 3, is characterized in that, the taking a step forward of step of the video code flow of acquisition stored in video cache district comprised the steps:
A pre-configured video decode threshold value in described video cache district;
Judge whether the frame video code flow obtained is greater than described video decode threshold value, when described video code flow is greater than video decode threshold value, abandon described video code flow, when described video code flow is less than or equal to video decode threshold value, by described video code flow stored in video cache district.
5. the method for claim 1, is characterized in that, described according to audio time stamp and video time stamp decoded video code stream and the step of the video code flow of broadcast decoder be specially:
Pre-configured one be greater than 0 time threshold, judge whether the absolute value of the difference of video time stamp and audio time stamp is greater than described time threshold;
If the absolute value of the difference of described video time stamp and audio time stamp is less than or equal to pre-configured time threshold, from video cache district, then take out a frame video code flow carry out decoding and the video code flow of broadcast decoder, if the absolute value of the difference of video time stamp and audio time stamp is greater than pre-configured time threshold, then the video code flow in video cache district of not decoding.
6. method as claimed in claim 5, it is characterized in that, if the absolute value of the difference of described video time stamp and audio time stamp is greater than pre-configured time threshold, then the step of the video code flow in video cache district of not decoding is specially:
If the difference of video time stamp and audio time stamp is greater than pre-configured time threshold, then the video code flow that video cache district of temporarily not decoding stores, until the difference of video time stamp and audio time stamp is less than or equal to pre-configured time threshold;
If the difference of video time stamp and audio time stamp is less than pre-configured time threshold, then directly abandon the video code flow stored in video cache district.
7. the terminal of displaying video on low side embedded product, it is characterized in that, described terminal comprises:
Analog signal acquiring unit, for obtaining voice data and video code flow, and adopts digital to analog converter that described voice data is converted to analog signal from digital signal;
Audio time stamp determining unit, for determining the audio time stamp of described voice data according to the audio frequency parameter of digital to analog converter; Suppose that this audio time stamp audioPTS represents, then
AudioPTS=COUNT*SAMPLES_SEND_ONCE/SAMPLESPERSEC; Wherein, COUNT is counting, and SAMPLESPERSEC is sample rate, and SAMPLES_SEND_ONCE is the sample number once transmitted;
Video time stamp determining unit, for determining the video time stamp of described video code flow according to the frame per second of the video code flow obtained;
Video code flow broadcast unit, for according to described audio time stamp and described video time stamp decoded video code stream and the video code flow of broadcast decoder.
8. terminal as claimed in claim 7, it is characterized in that, described terminal also comprises:
Audio-video document resolution unit, for reading the file by voice and image combining, and resolves described file to obtain voice data and the video code flow of described file;
Described voice data uses pulse modulation recording pcm encoder;
Described video code flow uses motion jpeg coding.
9. terminal as claimed in claim 7, it is characterized in that, described terminal also comprises:
Video decode threshold value dispensing unit, for a pre-configured video decode threshold value;
Video code flow memory cell, for judging whether the frame video code flow obtained is greater than described video decode threshold value, when described video code flow is greater than video decode threshold value, abandon described video code flow, when described video code flow is less than or equal to video decode threshold value, by described video code flow stored in video cache district.
10. terminal as claimed in claim 7, it is characterized in that, described video code flow broadcast unit comprises:
Time threshold judge module, is greater than the time threshold of 0 for pre-configured one, judge whether the absolute value of the difference of video time stamp and audio time stamp is greater than described time threshold;
Video code flow decoder module, when the absolute value for the difference in described video time stamp and audio time stamp is less than or equal to pre-configured time threshold, takes out a frame video code flow and carries out decoding and the video code flow of broadcast decoder from video cache district;
Video code flow is decoder module not, when the absolute value for the difference in video time stamp and audio time stamp is greater than pre-configured time threshold, and the video code flow in video cache district of not decoding.
CN201110006931.9A 2011-01-13 2011-01-13 Method and terminal for playing video on low-side embedded product Active CN102595114B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110006931.9A CN102595114B (en) 2011-01-13 2011-01-13 Method and terminal for playing video on low-side embedded product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110006931.9A CN102595114B (en) 2011-01-13 2011-01-13 Method and terminal for playing video on low-side embedded product

Publications (2)

Publication Number Publication Date
CN102595114A CN102595114A (en) 2012-07-18
CN102595114B true CN102595114B (en) 2015-04-15

Family

ID=46483271

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110006931.9A Active CN102595114B (en) 2011-01-13 2011-01-13 Method and terminal for playing video on low-side embedded product

Country Status (1)

Country Link
CN (1) CN102595114B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103945261B (en) * 2013-01-23 2017-05-31 深圳市快播科技有限公司 A kind of video broadcasting method and device
CN104185028A (en) * 2013-05-20 2014-12-03 安凯(广州)微电子技术有限公司 Video playing method and terminal thereof
CN104333764B (en) * 2013-07-22 2017-09-29 安凯(广州)微电子技术有限公司 A kind of multi-channel video player method and device
CN106331718A (en) * 2016-08-31 2017-01-11 浙江大华技术股份有限公司 Video back-playing method and device
CN106488265A (en) * 2016-10-12 2017-03-08 广州酷狗计算机科技有限公司 A kind of method and apparatus sending Media Stream
CN106358000B (en) * 2016-10-14 2020-08-07 上海小镜医疗器械有限公司 Data transmission method, data processing method, data transmission system, data processing system, micro-vision instrument and electronic equipment
CN107277614A (en) * 2017-06-27 2017-10-20 深圳市爱培科技术股份有限公司 Audio and video remote player method, storage device and the mobile terminal of drive recorder
CN107580264A (en) * 2017-08-29 2018-01-12 青岛海信电器股份有限公司 Multimedia resource play handling method and device
CN109600665B (en) * 2018-08-01 2020-06-19 北京微播视界科技有限公司 Method and apparatus for processing data
CN109547831B (en) * 2018-11-19 2021-06-01 网宿科技股份有限公司 Method and device for synchronizing white board and video, computing equipment and storage medium
CN112637663B (en) * 2021-01-28 2023-02-28 广州敏视数码科技有限公司 Method for synchronously playing data of vehicle-mounted DVR
CN113382212B (en) * 2021-08-13 2021-11-16 深圳市有为信息技术发展有限公司 Method and device for playing real-time audio and video stream and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101656099A (en) * 2008-08-18 2010-02-24 安凯(广州)软件技术有限公司 Audio and video production and play method used for MP3 player
CN101916577A (en) * 2010-08-19 2010-12-15 北京中星微电子有限公司 Method and device for synchronously playing audio and video

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101656099A (en) * 2008-08-18 2010-02-24 安凯(广州)软件技术有限公司 Audio and video production and play method used for MP3 player
CN101916577A (en) * 2010-08-19 2010-12-15 北京中星微电子有限公司 Method and device for synchronously playing audio and video

Also Published As

Publication number Publication date
CN102595114A (en) 2012-07-18

Similar Documents

Publication Publication Date Title
CN102595114B (en) Method and terminal for playing video on low-side embedded product
Watkinson The MPEG handbook
CN102347042B (en) Audio track switching method, system thereof and audio and video file playing device
KR100736503B1 (en) Image decoding method and apparatus thereof
CN102055965B (en) Media file transcoding system and method
CN101656099A (en) Audio and video production and play method used for MP3 player
CN102163201A (en) Multimedia file segmentation method, device thereof and code converter
CN101753946A (en) Merge method and system for video file and audio file
CN102819851B (en) Method for implementing sound pictures by using computer
CN109040818B (en) Audio and video synchronization method, storage medium, electronic equipment and system during live broadcasting
CN101645967B (en) Mobile terminal for processing multimedia data in user-defined format and realization method thereof
KR100839800B1 (en) DMB terminal unit and peripheral for the same
CN104184980A (en) Data processing method and electronic device
CN101668206A (en) Multichannel video decoding display method and system based on H.264
CN1301016C (en) Apparatus and method for multimedia reproduction using output buffering in a mobile communication terminal
CN102075817A (en) Method and system for forwarding audio and video data
CN109302574B (en) Method and device for processing video stream
CN102110459B (en) Playing terminal and multimedia file playing method and device thereof
CN100425075C (en) Multimedia playing method for mobile communication terminal
CN101026753A (en) Multimedia coding-decoder and its method
US20040090554A1 (en) Picture coding method
TWI235359B (en) Electronic anti-shock system and performance improvement method thereof
CN101102518A (en) Image processing method
JP2991371B2 (en) Multimedia synchronous multiplexing method and encoder
KR100424473B1 (en) Method for parsing audio header in mobile terminal provided multimedia service

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Method and terminal for playing video on low-side embedded product

Effective date of registration: 20171102

Granted publication date: 20150415

Pledgee: China Co truction Bank Corp Guangzhou economic and Technological Development Zone sub branch

Pledgor: Anyka (Guangzhou) Microelectronics Technology Co., Ltd.

Registration number: 2017990001008

PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20181227

Granted publication date: 20150415

Pledgee: China Co truction Bank Corp Guangzhou economic and Technological Development Zone sub branch

Pledgor: Anyka (Guangzhou) Microelectronics Technology Co., Ltd.

Registration number: 2017990001008

PC01 Cancellation of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Method and terminal for playing video on low-side embedded product

Effective date of registration: 20190130

Granted publication date: 20150415

Pledgee: China Co truction Bank Corp Guangzhou economic and Technological Development Zone sub branch

Pledgor: Anyka (Guangzhou) Microelectronics Technology Co., Ltd.

Registration number: 2019440000051

PC01 Cancellation of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20200320

Granted publication date: 20150415

Pledgee: China Co truction Bank Corp Guangzhou economic and Technological Development Zone sub branch

Pledgor: ANYKA (GUANGZHOU) MICROELECTRONICS TECHNOLOGY Co.,Ltd.

Registration number: 2019440000051

CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 3 / F, C1 area, innovation building, 182 science Avenue, Science City, Guangzhou, Guangdong 510663

Patentee after: Guangzhou Ankai Microelectronics Co.,Ltd.

Address before: 3 / F, C1 area, innovation building, 182 science Avenue, Science City, Guangzhou, Guangdong 510663

Patentee before: ANYKA (GUANGZHOU) MICROELECTRONICS TECHNOLOGY Co.,Ltd.

CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: 510555 No. 107 Bowen Road, Huangpu District, Guangzhou, Guangdong

Patentee after: Guangzhou Ankai Microelectronics Co.,Ltd.

Address before: 3 / F, C1 area, innovation building, 182 science Avenue, Science City, Guangzhou, Guangdong 510663

Patentee before: Guangzhou Ankai Microelectronics Co.,Ltd.