CN105120301B - Method for processing video frequency and device, smart machine - Google Patents
Method for processing video frequency and device, smart machine Download PDFInfo
- Publication number
- CN105120301B CN105120301B CN201510527521.7A CN201510527521A CN105120301B CN 105120301 B CN105120301 B CN 105120301B CN 201510527521 A CN201510527521 A CN 201510527521A CN 105120301 B CN105120301 B CN 105120301B
- Authority
- CN
- China
- Prior art keywords
- video
- sharing
- frame
- chat
- video frequency
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 36
- 238000012545 processing Methods 0.000 title claims abstract description 26
- 230000004927 fusion Effects 0.000 claims abstract description 52
- 230000008569 process Effects 0.000 claims description 10
- 230000005540 biological transmission Effects 0.000 claims description 4
- 238000004891 communication Methods 0.000 description 11
- 238000005516 engineering process Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 5
- 230000008859 change Effects 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 239000003999 initiator Substances 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000000712 assembly Effects 0.000 description 2
- 238000000429 assembly Methods 0.000 description 2
- 230000005611 electricity Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- KLDZYURQCUYZBL-UHFFFAOYSA-N 2-[3-[(2-hydroxyphenyl)methylideneamino]propyliminomethyl]phenol Chemical compound OC1=CC=CC=C1C=NCCCN=CC1=CC=CC=C1O KLDZYURQCUYZBL-UHFFFAOYSA-N 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 230000003044 adaptive effect Effects 0.000 description 1
- 230000006835 compression Effects 0.000 description 1
- 238000007906 compression Methods 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 201000001098 delayed sleep phase syndrome Diseases 0.000 description 1
- 208000033921 delayed sleep phase type circadian rhythm sleep disease Diseases 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000007500 overflow downdraw method Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/234—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
- H04N21/23424—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving splicing one content stream with another content stream, e.g. for inserting or substituting an advertisement
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/478—Supplemental services, e.g. displaying phone caller identification, shopping application
- H04N21/4788—Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- Marketing (AREA)
- General Engineering & Computer Science (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The disclosure provides a kind of method for processing video frequency and device, smart machine, and wherein method includes: the sharing video frequency to be shared for playing the chat video of camera acquisition local terminal and local terminal, is adjusted to same code rate;In the chat video and sharing video frequency of same code rate, respectively by the frame chat video of the same acquisition time of correspondence and a frame sharing video frequency, it is fused into a fusion video frame;Each fusion video frame is sent to the opposite end that Video chat is carried out with local terminal, so that the sharing video frequency is watched while watching the chat video of local terminal in opposite end.The disclosure showed during Video chat with opposite end sharing video frequency.
Description
Technical field
This disclosure relates to network technology, in particular to a kind of method for processing video frequency and device, smart machine.
Background technique
With the development of network technology, two friends that cannot do not met in the same place can also pass through video electricity
Words see other side.For example, current chat software is provided with the function of Video chat mostly, very convenient remote relatives
Or the intimate communication between friend, liked by everybody and is widely used.In Video chat, people are led on video screen
The video in window that often both can see opposite end, it can also be seen that the video in window of local terminal.
Summary of the invention
The disclosure provides a kind of method for processing video frequency and device, smart machine, with realize during Video chat with
Opposite end sharing video frequency.
According to the first aspect of the embodiments of the present disclosure, a kind of method for processing video frequency is provided, comprising:
The sharing video frequency to be shared that the chat video of camera acquisition local terminal and local terminal are played, is adjusted to same
Code rate;
In the chat video and sharing video frequency of same code rate, a frame of the same acquisition time of correspondence is chatted respectively
Video and a frame sharing video frequency, are fused into a fusion video frame;
Each fusion video frame is sent to the opposite end that Video chat is carried out with local terminal, so that this is being watched in opposite end
The sharing video frequency is watched while the chat video at end.
Chat video and sharing video frequency when by by Video chat are adjusted to same code rate fusion in a frame, so that
It opposite end can be with local terminal share video during Video chat.
Optionally, the method also includes: receive video sharing request, video sharing request, which is used to indicate, to be regarded
Frequency division is enjoyed;In the broadcasting instruction for getting the sharing video frequency wait share, by the sharing video frequency broadcasting with pre-set dimension
It puts window to play out, the pre-set dimension is suitable for playing in local terminal.
By the way that the size of sharing video frequency to be adjusted, played according to pre-set dimension, so that sharing video frequency is more suitable for broadcasting
Window is put for the shared viewing of local terminal and opposite end, improves the viewing effect of video sharing.
Optionally, described to be adjusted to same code rate, comprising: the acquisition code rate of the chat video is shared with described
The height of the broadcasting code rate of video, is adjusted to identical as lower code rate for higher code rate.
Optionally, described that the frame chat video of the same acquisition time of correspondence and a frame sharing video frequency are fused into a fusion
Video frame, comprising: it is overlapped by the frame image of frame chat video, with the frame image of the frame sharing video frequency, and
The size that the frame image of the sharing video frequency is arranged is less than the frame image of chat video.
Picture size by the way that sharing video frequency is arranged is less than chat video, chats so that will not influence video in video sharing
It effect provides a kind of preferable video-see effect.
Optionally, it after each fusion video frame is sent to the opposite end for carrying out Video chat with local terminal, also wraps
It includes: receiving the size adjusting request that opposite end is sent, the frame for limiting the sharing video frequency is carried in the size adjusting request
The image dimension information of image;The superposition for carrying out the frame image of chat video and sharing video frequency, according to described image dimension information,
It is the corresponding size of described image dimension information by the size adjusting of the frame image of the sharing video frequency.
By requesting the adjustment of the picture size of progress sharing video frequency according to size adjusting, so as to the size of sharing video frequency
Control it is more flexible, opposite end also can by the size adjusting request control sharing video frequency size be arranged, be better able to meet
Share the viewing demand of both sides.
According to the second aspect of an embodiment of the present disclosure, a kind of video process apparatus is provided, comprising:
Code rate adjusts module, point to be shared for playing the chat video of camera acquisition local terminal and local terminal
Video is enjoyed, same code rate is adjusted to;
Video fusion module, for that will correspond to respectively same in the chat video and sharing video frequency of same code rate
The frame chat video of acquisition time and a frame sharing video frequency, are fused into a fusion video frame;
Video sending module, for each fusion video frame to be sent to the opposite end for carrying out Video chat with local terminal,
So that the sharing video frequency is watched while watching the chat video of local terminal in opposite end.
Optionally, device further include: request receiving module, for receiving video sharing request, the video sharing is asked
It asks and is used to indicate carry out video sharing;Video playback module, for referring in the broadcasting for getting the sharing video frequency to be shared
When showing, sharing video frequency is played out with the broadcast window of pre-set dimension, the pre-set dimension is suitable for playing in local terminal.
Optionally, the code rate adjusts module, when adjusting code rate, comprising: the acquisition code rate of the chat video,
With the height of the broadcasting code rate of the sharing video frequency, higher code rate is adjusted to identical as lower code rate.
Optionally, the video fusion module is shared in the frame chat video that will correspond to same acquisition time and a frame
When video fusion is at a fusion video frame, comprising: by the frame image of frame chat video, with the frame sharing video frequency
Frame image, is overlapped, and the size that the frame image of the sharing video frequency is arranged is less than the frame image of chat video.
Optionally, further includes: dimension acquisition module, for receiving the size adjusting request of opposite end transmission, the size tune
The image dimension information for limiting the frame image of the sharing video frequency is carried in whole request;The video fusion module, is used for
The superposition for carrying out the frame image of chat video and sharing video frequency, according to described image dimension information, by the frame of the sharing video frequency
The size adjusting of image is the corresponding size of described image dimension information.
According to the third aspect of an embodiment of the present disclosure, a kind of smart machine is provided, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
The sharing video frequency to be shared that the chat video of camera acquisition local terminal and local terminal are played, is adjusted to same
Code rate;
In the chat video and sharing video frequency of same code rate, a frame of the same acquisition time of correspondence is chatted respectively
Video and a frame sharing video frequency, are fused into a fusion video frame;
Each fusion video frame is sent to the opposite end that Video chat is carried out with local terminal, so that this is being watched in opposite end
The sharing video frequency is watched while the chat video at end.
The technical scheme provided by this disclosed embodiment can include the following benefits: chatting when by by Video chat
Its video and sharing video frequency are adjusted to same code rate, and merge in a frame, so that the opposite end of Video chat is in the same of chat
When can also watch sharing video frequency, realize during Video chat with opposite end sharing video frequency.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure
Example, and together with specification for explaining the principles of this disclosure.
Fig. 1 is a kind of interface one of video sharing shown according to an exemplary embodiment;
Fig. 2 is a kind of interface two of video sharing shown according to an exemplary embodiment;
Fig. 3 is a kind of application system of method for processing video frequency shown according to an exemplary embodiment;
Fig. 4 is a kind of flow chart of method for processing video frequency shown according to an exemplary embodiment;
Fig. 5 is a kind of video fusion schematic diagram shown according to an exemplary embodiment;
Fig. 6 is a kind of video fusion principle shown according to an exemplary embodiment;
Fig. 7 is a kind of structure chart of video process apparatus shown according to an exemplary embodiment;
Fig. 8 is the structure chart of another video process apparatus shown according to an exemplary embodiment;
Fig. 9 is a kind of block diagram of intelligent terminal shown according to an exemplary embodiment;
Figure 10 is a kind of block diagram of smart machine shown according to an exemplary embodiment.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
When carrying out Video chat between friend, the demand for carrying out video sharing is generated sometimes, for example, user A and use
Family B is used mobile phone (it is of course also possible to being the other equipment such as computer) and carries out Video chat, and user A wants synchronous with user B
Watch the film stored on oneself mobile phone, that is, user A chats with user B on one side, on one side in the mobile phone electricity of oneself
Shadow, and simultaneously, user B also wishes to watch above-mentioned film simultaneously when seeing the video of user A.
It referring to the exemplary scene of Fig. 1, shows from the screen interface from the point of view of user B, in the interface of the Video chat, leads to
The video of opposite end, i.e., the video of above-mentioned user A can be often shown with biggish window;And user B oneself is shown with wicket
The video of this side.In the disclosure, the effect of Yao Shixian is, when showing the video of user A, while with a lesser window
It shows " so-and-so film ", which is the film that user A will share with user B, and user A is also synchronous on the mobile phone of oneself to be seen
It sees, example referring to fig. 2, can be achieved with the both sides of the Video chat sharing video frequency in chat in this way.
Fig. 3 illustrates the application system of the method for processing video frequency of the disclosure, may include in the system the first client 31,
Second client 32 and server 33.Wherein, the first client 31 can be the client that user A is used, for example be that user A is stepped on
The chat software of record can show chat interface shown in Fig. 2;Second client 32 can be the client that user B is used, than
The chat software that user B in this way is logged in, can show chat interface shown in FIG. 1.And server 33 can be responsible for the first client
Information transmission between end 31 and the second client 32, for example, in Video chat, the user A's of the first client 31 acquisition
Video is the second client 32 display for being forwarded to user B by server 33 and using, similarly, the view of the second client 32 acquisition
Frequency is also to be forwarded to the first client 31 by server 33,.
Fig. 4 illustrates the process of the method for processing video frequency of the disclosure, and the process of this method can be the view in Video chat
The sender of frequency executes, and may include:
401, the sharing video frequency to be shared for playing the chat video of camera acquisition local terminal and local terminal, is adjusted to
Same code rate;
402, in the chat video and sharing video frequency of same code rate, respectively by a frame of the same acquisition time of correspondence
Chat video and a frame sharing video frequency, are fused into a fusion video frame;
403, each fusion video frame is sent to the opposite end that Video chat is carried out with local terminal, so that opposite end is being seen
The sharing video frequency is watched while seeing the chat video of local terminal.
It can see by the process of Fig. 4, if to realize the scene of above-mentioned video sharing, sender needs to carry out code
The processing such as rate adjustment and video fusion, sender is the initiator of this video sharing, for example, mobile phone of the user A by oneself
In find a film and watched together with the user B of video opposite end, that user A is exactly sender, needs to use by user A
The film of sharing is sent to the second client that user B is used by the first client.
In step 401, available to two kinds videos of the first client, a kind of video are the local terminals of camera acquisition
Chat video, another video are the sharing video frequencies to be shared that local terminal plays.
Illustratively, in specific implementation, it is assumed that smart phone and user B Video chat is used in user A, uses at this time
Family A can click an option on mobile phone, such as " film sharing ", then be equivalent to mobile phone and have been received that video sharing is asked
It asks, it is ornamental with the opposite end of Video chat progress audio video synchronization to indicate that user A wants.
Smart phone can be requested according to video sharing, the file of the video type stored in searching handset, and be showed
User A selects which film shared for user A.When user A has selected so-and-so film, it is equivalent to mobile phone and receives wait share
Sharing video frequency broadcasting instruction, then it is corresponding in user A by the film of sharing video frequency, that is, above-mentioned with the broadcast window of pre-set dimension
The first client play out.Wherein, pre-set dimension is suitable for playing in local terminal, such as Fig. 1 or Fig. 2 exemplary, and film is broadcast
It puts that window is usually smaller, is less than the display window of opposite end video, video compress can be played in the wicket, in this way may be used
It, can be with no restrictions as the window's position of film not influence Video chat.
The chat video of camera acquisition can be used conventional video mode and obtain, and pass through wicket in above-mentioned
When playing sharing video frequency, the first client is also available to arrive the sharing video frequency, the i.e. film played in Fig. 1 or Fig. 2.In step
In 401, chat video and sharing video frequency can be carried out code rate adjustment by the first client, be adjusted to same code rate.Illustratively,
Assuming that the code rate of camera acquisition chat video is 20 frame each second, the code rate of movie playback is 10 frame each second, that can be dropped
Low high code rate is reduced to 10 frame each second to low bit- rate, such as by the acquisition code rate for video of chatting, so that the same code rate of the two.
In step 402, the first client as the sharing video frequency sender of Video chat can will be adjusted to
The chat video and sharing video frequency of same code rate are merged.The mode of fusion may refer to the signal of Fig. 5, chat video or
Each frame of sharing video frequency is all piece image, for example, the frame image 51 in chat video shown in fig. 5, and share view
This two images is superimposed as a frame image, is equivalent to and two image groups are combined into an image one by the frame image 52 in frequency
Play display.
In superposition, the size of the frame image of sharing video frequency is less than the frame picture size of chat video, does not influence to regard in this way
Frequency is chatted, for example Fig. 5 is exemplary, and the second client of the side user B can be shown as interface shown in fig. 5, can on one side with
User's A Video chat watches sharing video frequency simultaneously on one side.In addition, the image that sharing video frequency also can be set is opposite in superposition
It in the position of the image of chat video, for example can be shown as the lower right corner in chat video image in Fig. 5, alternatively, can also
In upper right corner etc..
It should be noted that carry out fusion shown in fig. 5 is the frame chat video and one of corresponding same acquisition time
Frame sharing video frequency.Shown in Figure 6, after chat video and sharing video frequency are adjusted to same code rate, a frame is chatted video and a frame
Sharing video frequency corresponds to same acquisition time, and Fig. 6 illustrates five frames therein, respectively corresponds same acquisition time including five groups
Chat video image and sharing video frequency image.After being merged according to above-mentioned fusion method, five fusion video frames are obtained.I.e.
Originally it was two frames of chat video and sharing video frequency, and became a frame, while the image including two videos after fusion.
In step 403, each fusion video frame can be sent to and carry out Video chat with local terminal by the first client
Opposite end.When specific implementation, the first client, can be on one side while the sharing video frequency of the chat video and broadcasting that obtain acquisition
Fusion is sent on one side, and fused each frame data are compressed, the user B of opposite end is transmitted to, until whole movie plays, is sent out
First client of the side of sending no longer merges the data of film, continues to use conventional Video chat mode.
It can actually be the second client that user B is transmitted to by server when being sent to user B.Second visitor
Family end can unzip it the compression fusion frame that the first client sends over, and include simultaneously pair in the fusion frame of acquisition
The data of the chat video and sharing video frequency at end.
Method for processing video frequency through the foregoing embodiment realizes and also sends sharing while sending and chatting video flowing
The video flowing of video allows the opposite end of Video chat also to watch sharing video frequency together with local terminal while Video chat.
In another example, the opposite end of Video chat can also indicate that progress when playing the data of fusion video frame
The size adjusting of sharing video frequency image.For example, it is assumed that initiator is user A, opposite end is user B, and user B is possible to feel to share
Video display size when playing is bigger than normal, affects Video chat.At this point, client can be supplied to mono- size tune of user B
Whole triggering option, for example, user B clicks selection " one grade scale of drop ", or " two grade scales of drop ".
The size adjusting can be requested the first client for being sent to initiator by the second client, and carry above-mentioned user B
The image dimension information of selection, the picture size of the frame image for limiting sharing video frequency.First client is receiving image
After dimension information, change the size of the sharing video frequency in video fusion according to the information.For example, it is assumed that user has selected " drop one
A grade scale ", it is preset that the size of these grades can be client, then a grade is reduced on the basis of current size
, it is the corresponding size of described image dimension information by the size adjusting of the frame image of sharing video frequency.This mode can be square
Just user adjust video it is shared in size adjusting.
In order to realize above-mentioned method for processing video frequency, present disclose provides a kind of video process apparatus, which can be answered
For video sender.As shown in fig. 7, the apparatus may include: code rate adjusts module 71, video fusion module 72 and video hair
Send module 73;Wherein,
Code rate adjusts module 71, to be shared for playing the chat video of camera acquisition local terminal and local terminal
Sharing video frequency is adjusted to same code rate;
Video fusion module 72, for that will correspond to respectively same in the chat video and sharing video frequency of same code rate
The frame chat video of one acquisition time and a frame sharing video frequency, are fused into a fusion video frame;
Video sending module 73, for each fusion video frame to be sent to pair for carrying out Video chat with local terminal
End, so that the sharing video frequency is watched while watching the chat video of local terminal in opposite end.
Further, code rate adjust module, when adjust code rate, comprising: it is more described chat video acquisition code rate, and
The height of the broadcasting code rate of the sharing video frequency, is adjusted to identical as lower code rate for higher code rate.
Further, video fusion module 72 is shared in the frame chat video that will correspond to same acquisition time and a frame
When video fusion is at a fusion video frame, comprising: by the frame image of frame chat video, with the frame sharing video frequency
Frame image, is overlapped, and the size that the frame image of the sharing video frequency is arranged is less than the frame image of chat video.
Video process apparatus through the foregoing embodiment realizes and also sends sharing while sending and chatting video flowing
The video flowing of video allows the opposite end of Video chat also to watch sharing video frequency together with local terminal while Video chat.
Fig. 8 illustrates another video process apparatus, which can also include: request receiving module 74 and video playing
Module 75;
Request receiving module 74, for receiving video sharing request, the video sharing request is used to indicate carry out video
Share;
Video playback module 75, for being regarded sharing in the broadcasting instruction for getting the sharing video frequency wait share
Frequency is played out with the broadcast window of pre-set dimension, and the pre-set dimension is suitable for playing in local terminal.
Further, further includes: dimension acquisition module 76, for receiving the size adjusting request of opposite end transmission, the ruler
The image dimension information for limiting the frame image of the sharing video frequency is carried in very little adjustment request.Video fusion module 72 is used
In the superposition in the frame image for carrying out chat video and sharing video frequency, according to described image dimension information, by the sharing video frequency
Frame image size adjusting be the corresponding size of described image dimension information.
Present disclose provides a kind of smart machine, which may include: processor, for the executable finger of storage processor
The memory of order;Wherein, the processor is configured to: by camera acquisition local terminal chat video and local terminal play
Sharing video frequency to be shared is adjusted to same code rate;It, respectively will be right in the chat video and sharing video frequency of same code rate
The frame chat video and a frame sharing video frequency for answering same acquisition time, are fused into a fusion video frame;By each fusion
Video frame is sent to the opposite end that Video chat is carried out with local terminal, so that opposite end is watched while watching the chat video of local terminal
The sharing video frequency.
The smart machine can be implemented as an intelligent terminal or other kinds of equipment, following Fig. 9 and Figure 10 example
Two kinds of exemplary structures of the smart machine.
Fig. 9 is a kind of block diagram of intelligent terminal 900 shown according to an exemplary embodiment.For example, device 900 can be
Mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, Medical Devices, body-building are set
It is standby, personal digital assistant etc..
Referring to Fig. 9, device 900 may include following one or more components: processing component 902, memory 904, power supply
Component 906, multimedia component 908, audio component 910, the interface 912 of input/output (I/O), sensor module 914, and
Communication component 919.
The integrated operation of the usual control device 900 of processing component 902, such as with display, telephone call, data communication, phase
Machine operation and record operate associated operation.Processing element 902 may include that one or more processors 920 refer to execute
It enables, to complete above-mentioned method.In addition, processing component 902 may include one or more modules, it is convenient for 902 He of processing component
Interaction between other assemblies.For example, processing component 902 may include multi-media module, to facilitate multimedia component 908 and place
Manage the interaction between component 902.
Memory 904 is configured as storing various types of data to support the operation in equipment 900.These data are shown
Example includes the instruction of any application or method for operating on device 900, contact data, and telephone book data disappears
Breath, picture, video etc..Memory 904 can be by any kind of volatibility or non-volatile memory device or their group
It closes and realizes, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile
Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash
Device, disk or CD.
Electric power assembly 908 provides electric power for the various assemblies of device 900.Electric power assembly 908 may include power management system
System, one or more power supplys and other with for device 900 generate, manage, and distribute the associated component of electric power.
Multimedia component 908 includes the screen of one output interface of offer between described device 900 and user.One
In a little embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen
Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensings
Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding action
Boundary, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakers
Body component 908 includes a front camera and/or rear camera.When equipment 900 is in operation mode, such as screening-mode or
When video mode, front camera and/or rear camera can receive external multi-medium data.Each front camera and
Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 910 is configured as output and/or input audio signal.For example, audio component 910 includes a Mike
Wind (MIC), when device 900 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone is matched
It is set to reception external audio signal.The received audio signal can be further stored in memory 904 or via communication set
Part 919 is sent.In some embodiments, audio component 90 further includes a loudspeaker, is used for output audio signal.
I/O interface 912 provides interface between processing component 902 and peripheral interface module, and above-mentioned peripheral interface module can
To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock
Determine button.
Sensor module 914 includes one or more sensors, and the state for providing various aspects for device 900 is commented
Estimate.For example, sensor module 914 can detecte the state that opens/closes of equipment 900, and the relative positioning of component, for example, it is described
Component is the display and keypad of device 900, and sensor module 914 can be with 900 1 components of detection device 900 or device
Position change, the existence or non-existence that user contacts with device 900,900 orientation of device or acceleration/deceleration and device 900
Temperature change.Sensor module 914 may include proximity sensor, be configured to detect without any physical contact
Presence of nearby objects.Sensor module 914 can also include optical sensor, such as CMOS or ccd image sensor, at
As being used in application.In some embodiments, which can also include acceleration transducer, gyro sensors
Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 919 is configured to facilitate the communication of wired or wireless way between device 900 and other equipment.Device
900 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.In an exemplary implementation
In example, communication component 919 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel.
In one exemplary embodiment, the communication component 919 further includes near-field communication (NFC) module, to promote short range communication.Example
Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology,
Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 900 can be believed by one or more application specific integrated circuit (ASIC), number
Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided
It such as include the memory of instruction, above-metioned instruction can be executed by the processor of device to complete the above method.For example, described non-provisional
Property computer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and light data and deposit
Store up equipment etc..
Figure 10 is a kind of block diagram of smart machine 1000 shown according to an exemplary embodiment.For example, device 1000 can
To be provided as PC etc..Referring to Fig.1 0, it further comprises one or more processing that device 1000, which includes processing component 1022,
Device, and the memory resource as representated by memory 1032, can be by the instruction of the execution of processing component 1022, example for storing
Such as application program.The application program stored in memory 1032 may include it is one or more each correspond to one group
The module of instruction.In addition, processing component 1022 is configured as executing instruction, to execute the above method.
Device 1000 can also include that a power supply module 1026 be configured as the power management of executive device 1000, and one
Wired or wireless network interface 1050 is configured as device 1000 being connected to network and input and output (I/O) interface
1058.Device 1000 can be operated based on the operating system for being stored in memory 1032, such as Windows ServerTM, Mac
OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure
Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or
Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure
Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following
Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.
Claims (9)
1. a kind of method for processing video frequency characterized by comprising
The sharing video frequency to be shared that the acquisition code rate and local terminal for comparing the chat video of camera acquisition local terminal play is broadcast
Higher code rate is adjusted to identical as lower code rate by the height for putting code rate;
In the chat video and sharing video frequency of same code rate, respectively by the frame chat video of the same acquisition time of correspondence
With a frame sharing video frequency, it is fused into a fusion video frame;
Each fusion video frame is sent to the opposite end that Video chat is carried out with local terminal, so that opposite end is in viewing local terminal
The sharing video frequency is watched while chat video.
2. the method according to claim 1, wherein further include:
Video sharing request is received, the video sharing request is used to indicate carry out video sharing;
In the broadcasting instruction for getting the sharing video frequency wait share, by the sharing video frequency with the broadcasting window of pre-set dimension
Mouth plays out, and the pre-set dimension is suitable for playing in local terminal.
3. the video the method according to claim 1, wherein the frame by the same acquisition time of correspondence is chatted
A fusion video frame is fused into a frame sharing video frequency, comprising:
It is overlapped, and the frame image of the frame image of frame chat video and the frame sharing video frequency described in setting
The size of the frame image of sharing video frequency is less than the frame image of chat video.
4. according to the method described in claim 3, it is characterized in that, by each fusion video frame be sent to and local terminal into
After the opposite end of row Video chat, further includes:
The size adjusting request that opposite end is sent is received, the frame for limiting the sharing video frequency is carried in the size adjusting request
The image dimension information of image;
The superposition for carrying out the frame image of chat video and sharing video frequency, according to described image dimension information, by the sharing video frequency
Frame image size adjusting be the corresponding size of described image dimension information.
5. a kind of video process apparatus characterized by comprising
Code rate adjust module, for compare camera acquisition local terminal chat video acquisition code rate and local terminal play to
The height of the broadcasting code rate of the sharing video frequency of sharing, is adjusted to identical as lower code rate for higher code rate;
Video fusion module, for same acquisition will to be corresponded to respectively in the chat video and sharing video frequency of same code rate
The frame chat video of time and a frame sharing video frequency, are fused into a fusion video frame;
Video sending module, for each fusion video frame to be sent to the opposite end for carrying out Video chat with local terminal, so that
It obtains opposite end and watches the sharing video frequency while watching the chat video of local terminal.
6. device according to claim 5, which is characterized in that further include:
Request receiving module, for receiving video sharing request, the video sharing request is used to indicate carry out video sharing;
Video playback module, for get the sharing video frequency wait share broadcasting instruction when, by sharing video frequency with pre-
If the broadcast window of size plays out, the pre-set dimension is suitable for playing in local terminal.
7. device according to claim 5, which is characterized in that
The video fusion module is fused into one in the frame chat video that will correspond to same acquisition time and a frame sharing video frequency
When merging video frame, comprising: by the frame image of the frame image of frame chat video and the frame sharing video frequency, carry out
Superposition, and the size that the frame image of the sharing video frequency is arranged is less than the frame image of chat video.
8. device according to claim 7, which is characterized in that
Further include: dimension acquisition module carries in the size adjusting request for receiving the size adjusting request of opposite end transmission
For limiting the image dimension information of the frame image of the sharing video frequency;
The video fusion module, the superposition of the frame image for carrying out chat video and sharing video frequency, according to described image ruler
The size adjusting of the frame image of the sharing video frequency is the corresponding size of described image dimension information by very little information.
9. a kind of smart machine characterized by comprising
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
The sharing video frequency to be shared that the acquisition code rate and local terminal for comparing the chat video of camera acquisition local terminal play is broadcast
Higher code rate is adjusted to identical as lower code rate by the height for putting code rate;
In the chat video and sharing video frequency of same code rate, respectively by the frame chat video of the same acquisition time of correspondence
With a frame sharing video frequency, it is fused into a fusion video frame;
Each fusion video frame is sent to the opposite end that Video chat is carried out with local terminal, so that opposite end is in viewing local terminal
The sharing video frequency is watched while chat video.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510527521.7A CN105120301B (en) | 2015-08-25 | 2015-08-25 | Method for processing video frequency and device, smart machine |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510527521.7A CN105120301B (en) | 2015-08-25 | 2015-08-25 | Method for processing video frequency and device, smart machine |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105120301A CN105120301A (en) | 2015-12-02 |
CN105120301B true CN105120301B (en) | 2019-03-01 |
Family
ID=54668147
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510527521.7A Active CN105120301B (en) | 2015-08-25 | 2015-08-25 | Method for processing video frequency and device, smart machine |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105120301B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106060675A (en) * | 2016-06-24 | 2016-10-26 | 捷开通讯(深圳)有限公司 | System and method for playing audio/video simultaneously |
CN106101749A (en) * | 2016-07-29 | 2016-11-09 | 北京小米移动软件有限公司 | TV programme sharing method and device |
CN106507027A (en) * | 2016-11-28 | 2017-03-15 | 北京小米移动软件有限公司 | Video calling recording method and device |
CN106658215A (en) * | 2016-12-15 | 2017-05-10 | 北京小米移动软件有限公司 | Method and device for pushing live file |
CN107483873A (en) * | 2017-08-29 | 2017-12-15 | 珠海格力电器股份有限公司 | A kind of video sharing method, device and mobile terminal |
CN108924464B (en) * | 2018-07-10 | 2021-06-08 | 腾讯科技(深圳)有限公司 | Video file generation method and device and storage medium |
CN112015506B (en) * | 2020-08-19 | 2023-08-22 | 北京字节跳动网络技术有限公司 | Content display method and device |
CN113612959A (en) * | 2021-07-23 | 2021-11-05 | 深圳Tcl新技术有限公司 | Video call method and device, storage medium and electronic equipment |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1701594A (en) * | 2003-07-18 | 2005-11-23 | 索尼株式会社 | Imaging apparatus |
CN104461220A (en) * | 2013-09-13 | 2015-03-25 | 联想(北京)有限公司 | Information processing method and electronic device |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060087936A1 (en) * | 2004-10-21 | 2006-04-27 | Gary Bart | Data capture device and method of storing data |
CN101232598A (en) * | 2008-02-28 | 2008-07-30 | 北京中星微电子有限公司 | Equipment and method for displaying video image |
US8893022B2 (en) * | 2010-04-01 | 2014-11-18 | Microsoft Corporation | Interactive and shared viewing experience |
CA2722460A1 (en) * | 2010-11-26 | 2012-05-26 | Centre De Recherche Informatique De Montreal | Screen sharing and video conferencing system and method |
-
2015
- 2015-08-25 CN CN201510527521.7A patent/CN105120301B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1701594A (en) * | 2003-07-18 | 2005-11-23 | 索尼株式会社 | Imaging apparatus |
CN104461220A (en) * | 2013-09-13 | 2015-03-25 | 联想(北京)有限公司 | Information processing method and electronic device |
Also Published As
Publication number | Publication date |
---|---|
CN105120301A (en) | 2015-12-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105120301B (en) | Method for processing video frequency and device, smart machine | |
CN106105246B (en) | Display methods, apparatus and system is broadcast live | |
CN106165430B (en) | Net cast method and device | |
CN106375772B (en) | Video broadcasting method and device | |
CN105100829B (en) | Video content intercept method and device | |
CN105516754B (en) | Picture display control method, device and terminal | |
CN107769881B (en) | Information synchronization method, apparatus and system, storage medium | |
CN109729372B (en) | Live broadcast room switching method, device, terminal, server and storage medium | |
CN106331761A (en) | Live broadcast list display method and apparatuses | |
CN105120144A (en) | Image shooting method and device | |
CN104657099A (en) | Method, device and system for screen projection | |
EP3264774B1 (en) | Live broadcasting method and device for live broadcasting | |
CN106507178B (en) | Video broadcasting method and device | |
CN106231378A (en) | The display packing of direct broadcasting room, Apparatus and system | |
CN106371802A (en) | Terminal volume control method and device | |
CN105635846B (en) | Apparatus control method and device | |
CN110475134A (en) | A kind of comment content display method, device, electronic equipment and storage medium | |
CN109600549A (en) | Photographic method, device, equipment and storage medium | |
CN103997686B (en) | Playing management method and device based on smart television | |
CN106453032B (en) | Information-pushing method and device, system | |
CN106101773A (en) | Content is with shielding method, device and display device | |
CN105872573A (en) | Video playing method and apparatus | |
CN105430469B (en) | Playback method, device, terminal and the server of audio, video data | |
CN106375803B (en) | Processing method, processing unit and the processing system of live information | |
CN105389152B (en) | Project the method, apparatus and terminal device of picture |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |