WO2018120955A1 - 直播编码的方法、装置、终端、联动编码服务器及系统 - Google Patents
直播编码的方法、装置、终端、联动编码服务器及系统 Download PDFInfo
- Publication number
- WO2018120955A1 WO2018120955A1 PCT/CN2017/104466 CN2017104466W WO2018120955A1 WO 2018120955 A1 WO2018120955 A1 WO 2018120955A1 CN 2017104466 W CN2017104466 W CN 2017104466W WO 2018120955 A1 WO2018120955 A1 WO 2018120955A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- video screen
- screen direction
- video
- video information
- preset
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
-
- 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/41—Structure of client; Structure of client peripherals
- H04N21/426—Internal components of the client ; Characteristics thereof
- H04N21/42653—Internal components of the client ; Characteristics thereof for processing graphics
-
- 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/485—End-user interface for client configuration
- H04N21/4858—End-user interface for client configuration for modifying screen layout parameters, e.g. fonts, size of the windows
Definitions
- the present invention relates to the field of communications technologies, and in particular, to a live broadcast coding method, apparatus, terminal, linkage coding server and system.
- the live broadcast device and the playback device are more and more diverse, but at present, the screen resolutions at both ends of the live broadcast terminal and the playback terminal cannot be completely matched, so that regardless of whether the anchor uses a horizontal screen or a vertical screen live broadcast scheme, the playback terminal cannot always meet the horizontal screen at the same time.
- Both the mode and the portrait mode have better playback effects. For example, when the live broadcast is live on the horizontal screen, the play end in the landscape mode can be better matched with the live broadcast, and the playback in the portrait mode.
- the end playback is the content of the original horizontal screen live content after cropping, which affects the user's viewing experience to a certain extent.
- the present invention provides a live broadcast coding method, apparatus, terminal, linkage coding server and system, which can realize the video screen direction of the video information is consistent with the preset video screen direction.
- the present invention adopts the following technical solutions:
- a method of live broadcast coding including:
- the preset video screen direction is a vertical screen.
- the preset video screen direction is a landscape screen.
- the adjustment instruction carries a deflection angle value
- the generation adjustment instruction includes:
- An adjustment command is generated based on the deflection angle value.
- a method for providing live broadcast coding including:
- a device for providing live broadcast coding comprising:
- An acquisition acquiring module configured to collect video information, and obtain a video screen direction of the video information
- a comparison generating module configured to compare the video screen direction with a preset video screen direction, and generate an adjustment instruction if the video screen direction is different from the preset video screen direction;
- a sending module configured to send the video information and the adjustment instruction to the linkage encoding server, so that the linkage encoding server adjusts the video screen direction of the video information to a preset video screen direction according to the adjustment instruction .
- a device for providing live broadcast coding comprising:
- a receiving module configured to receive video information collected by the terminal and an adjustment instruction generated when a video screen direction of the video information is different from a preset video screen direction;
- an adjustment module configured to adjust a video screen direction of the video information to a preset video screen direction according to the adjustment instruction.
- One or more applications wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to:
- Providing a linkage encoding server including one or more processors
- One or more applications wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to:
- a system for broadcasting a live broadcast comprising a communication connected terminal and a linkage encoding server, wherein:
- the terminal collects video information, obtains a video screen direction of the video information, compares the video screen direction with a preset video screen direction, and generates an adjustment instruction if the video screen direction is different from a preset video screen direction; Transmitting the video information and the adjustment instruction to the linkage encoding server, so that the linkage encoding server adjusts the video screen direction of the video information to a preset video screen direction according to the adjustment instruction;
- the linkage encoding server receives the video information collected by the terminal and the adjustment instruction generated when the video screen direction of the video information is different from the preset video screen direction; adjusting the video screen direction of the video information to the preset video screen according to the adjustment instruction direction.
- the invention has a live broadcast coding method, a terminal, and a linkage coding server. And the system has the following beneficial effects:
- the method, the device, the terminal, the linkage coding server and the system of the live broadcast coding adjust the video screen direction of the collected video information to make the video screen direction coincide with the preset video screen direction, thereby uniformly collecting the video information of the video information.
- the screen orientation facilitates the display of the playback end, while avoiding the cropping of the video information in order to satisfy the display of the playback end, which improves the viewing experience of the user to a certain extent.
- FIG. 1 is a schematic flowchart diagram of a method for performing live broadcast coding according to an embodiment of a live broadcast coding method according to the present invention
- FIG. 2 is a schematic diagram showing a frame picture direction of a method for performing live broadcast coding according to an embodiment of the present invention
- FIG. 3 is a schematic flowchart diagram of another method for live broadcast coding according to an embodiment of a live broadcast coding method according to the present invention.
- FIG. 4 is a block diagram showing the structure of a device for performing live broadcast coding of an embodiment of a live broadcast coding apparatus according to the present invention
- FIG. 5 is a schematic structural diagram of another module of a device for performing live broadcast coding of an embodiment of a live broadcast coding apparatus according to the present invention.
- FIG. 6 is a schematic structural diagram of a module of a terminal embodiment of the present invention.
- FIG. 7 is a schematic structural diagram of a system module of an embodiment of a live broadcast coding system according to the present invention.
- FIG. 1 is a flowchart of a method for live broadcast coding, which includes:
- Step 101 Acquire video information, and obtain a video screen direction of the video information.
- the video screen direction is a direction of each frame of the video information, for example, the direction shown in FIG. 2 is a horizontal direction.
- the collected video information may be acquired by the imaging device of the terminal, including but not limited to one or more cameras in front or rear.
- the video information may be collected by an external camera device, which is not limited in this embodiment of the present invention.
- the direction of the video screen for obtaining video information can be obtained by sensing signals according to the gravity sensor. For example, if the current mobile terminal is placed vertically, when the mobile terminal is turned left or right by 90 degrees, it is placed horizontally. , there will be a corresponding induction signal generated. Considering that in general, the direction of each frame of the video information, that is, the direction of the video screen is consistent with the state of the mobile terminal, the direction of the video screen can be obtained according to the sensing signal of the gravity sensor, and the acquisition method has the acquisition method. Convenient, simple and cost effective.
- the video screen direction can also be obtained according to the acceleration sensor, and the specific principle refers to the above.
- Step 103 Compare the video screen direction with the preset video screen direction. If the video screen direction is different from the preset video screen direction, generate an adjustment instruction; wherein the preset video screen direction is a standard set by the live broadcast scheme.
- the playback direction for example, is vertical, so that the default playback direction of the playback end is vertical, so the user can see the high-quality playback effect through the vertical viewing mode, of course,
- the standard playback direction set by the live broadcast scheme may also be horizontal; the adjustment command is a prompt information for characterizing the difference between the direction of the video screen and the orientation of the preset video screen.
- the adjustment instruction carries a deflection angle value
- generating the adjustment instruction includes: calculating a video screen direction and a preset video screen direction deflection angle value; and generating an adjustment instruction according to the deflection angle value, wherein the deflection angle value is a video screen direction The deflection value with the orientation of the preset video screen.
- a coordinate system may be established with the preset video screen direction as the standard direction, and the deflection angle value is obtained by the video screen direction relative to the preset video screen direction deflection angle, for example, the default preset video.
- the deflection angle value is minus 90 degrees; when turning to the right 90 degrees, the deflection angle value is plus 90 degrees.
- Step 105 Send the video information and the adjustment instruction to the linkage encoding server, so that the linkage encoding server adjusts the video screen direction of the video information to a preset video screen direction according to the adjustment instruction;
- the linkage coding server is a computer equipped with specific video coding software. It is worth mentioning that it can also adjust the frame rate and code rate of the video through specific coding.
- the video information and the adjustment instruction may be sent to the linkage encoding server through an HTTP transmission protocol or an HTTPS transmission protocol or a TCP protocol.
- FIG. 3 shows a flowchart of the live broadcast coding method, which includes:
- Step 301 Receive video information collected by the terminal and an adjustment instruction generated when the video screen direction of the video information is different from the preset video screen direction; wherein the video information in step 301 corresponds to the video information in step 101; The adjustment instruction in 301 corresponds to the adjustment instruction in step 103, and therefore will not be described again with respect to specific details.
- receiving video information and adjusting instructions may be via an HTTP transport protocol or an HTTPS transport protocol or a TCP protocol.
- Step 303 Adjust the video screen direction of the video information to a preset video screen direction according to the adjustment instruction; wherein the preset video screen direction in step 303 corresponds to the preset video screen direction in step 103.
- adjusting the video screen direction of the video information to the preset video screen direction can be implemented by rotating matrix coding.
- the rotation matrix can obtain the preset video screen direction by two miscut changes.
- the preset video screen direction can be obtained by three equivalent miscuts.
- the rotation matrix to the cubic equivalent miscut matrix equation is as follows:
- the miscut transform is the basic image geometric transformation. First, the clockwise miscut transform is performed in the X direction, then the clockwise miscut transform is performed in the Y direction, and finally the clockwise miscut transform is performed in the X direction, and finally Image data after rotation angle.
- the deflection angle value is minus 90 degrees
- the pixels passing through the frame of the video information pass through the conversion matrix. It can convert its horizontal video information into vertical video information. Since the rotation matrix is based on pixel operation, there is no reduction in pixels, so the HD degree of the picture is guaranteed to a certain extent, and the premise of bringing a good visual experience to the user is created to a certain extent.
- a live broadcast coding method in the embodiment of the present invention adjusts the video screen direction of the collected video information by the linkage coding server, so that the video screen direction is consistent with the preset video screen direction, thereby unifying the collected video.
- the video screen orientation of the information while avoiding the cropping of the video information, to a certain extent enhances the user's viewing experience.
- an embodiment of the present invention provides a live broadcast coding apparatus, which includes an acquisition acquisition module 4001, a comparison generation module 4003, and a transmission module 4005, where
- the acquiring module 4001 is configured to collect video information and obtain a video screen direction of the video information.
- the comparison generating module 4003 is configured to compare the video screen direction with the preset video screen direction, and if the video screen direction is different from the preset video screen direction, generate an adjustment instruction;
- the sending module 4005 is configured to send the video information and the adjustment instruction to the linkage encoding server, so that the linkage encoding server adjusts the video screen direction of the video information to the preset video screen direction according to the adjustment instruction.
- the preset video screen orientation is a portrait screen.
- the preset video screen orientation is a landscape screen.
- the acquisition acquisition module 4001 includes an acquisition unit configured to acquire a video screen orientation of the video information according to the sensing signal of the gravity sensor.
- the comparison generating module 4003 comprises:
- a calculating unit configured to calculate a video screen direction and a preset video screen direction deflection angle value
- a generating unit configured to generate an adjustment instruction according to the deflection angle value.
- the embodiment of the present invention further provides a device for performing live broadcast coding, including a receiving module 5001 and an adjusting module 5003, where
- the receiving module 5001 is configured to receive video information collected by the terminal and an adjustment instruction generated when a video screen direction of the video information is different from a preset video screen direction;
- the adjusting module 5003 is configured to adjust a video screen direction of the video information to a preset video screen direction according to the adjustment instruction.
- the device for performing live broadcast coding has the settings of the acquisition and acquisition module 4001, the comparison generation module 4003, and the transmission module 4005, so that the direction of the video screen is consistent with the orientation of the preset video screen, thereby unifying the device.
- the video screen direction of the collected video information while avoiding the cropping of the video information, to a certain extent enhances the user's viewing experience.
- an embodiment of the present invention further provides a terminal, as shown in FIG. 6 , for the convenience of description, only parts related to the embodiment of the present invention are specifically illustrated. The technical details are not disclosed, please refer to the method part of the embodiment of the present invention.
- the terminal may be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), an in-vehicle computer, and the terminal is a mobile phone as an example:
- FIG. 6 is a block diagram showing a partial structure of a mobile phone related to a terminal provided by an embodiment of the present invention.
- the mobile phone includes: a radio frequency (RF) circuit 1510, a memory 1520, an input unit 1530, a display unit 1540, a sensor 1550, an audio circuit 1560, a wireless fidelity (WiFi) module 1570, and a processor 1580. And power supply 1590 and other components.
- RF radio frequency
- the RF circuit 1510 can be used for receiving and transmitting signals during the transmission or reception of information or during a call. Specifically, after receiving the downlink information of the base station, the processing is processed by the processor 1580. In addition, the data designed for the uplink is sent to the base station.
- RF circuit 1510 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like.
- LNA Low Noise Amplifier
- RF circuitry 1510 can also communicate with the network and other devices via wireless communication.
- the above wireless communication may use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (Code Division). Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), E-mail, Short Messaging Service (SMS), and the like.
- GSM Global System of Mobile communication
- GPRS General Packet Radio Service
- CDMA Code Division Multiple Access
- WCDMA Wideband Code Division Multiple Access
- LTE Long Term Evolution
- E-mail Short Messaging Service
- the memory 1520 can be used to store software programs and modules, and the processor 1580 executes various functional applications and data processing of the mobile phone by running software programs and modules stored in the memory 1520.
- the memory 1520 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to Data created by the use of the mobile phone (such as audio data, phone book, etc.).
- memory 1520 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
- the input unit 1530 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function controls of the handset.
- the input unit 1530 may include a touch panel 1531 and other input devices 1532.
- the touch panel 1531 also referred to as a touch screen, can collect touch operations on or near the user (such as the user using a finger, a stylus, or the like on the touch panel 1531 or near the touch panel 1531. Operation), and drive the corresponding connecting device according to a preset program.
- the touch panel 1531 may include two parts: a touch detection device and a touch controller.
- the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
- the processor 1580 is provided and can receive commands from the processor 1580 and execute them. In addition, it can be used in various types such as resistive, capacitive, infrared, and surface acoustic waves.
- the touch panel 1531 is now in use.
- the input unit 1530 may also include other input devices 1532.
- other input devices 1532 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
- the display unit 1540 can be used to display information input by the user or information provided to the user as well as various menus of the mobile phone.
- the display unit 1540 can include a display panel 1541.
- the display panel 1541 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
- the touch panel 1531 may cover the display panel 1541. After the touch panel 1531 detects a touch operation on or near the touch panel 1531, the touch panel 1531 transmits to the processor 1580 to determine the type of the touch event, and then the processor 1580 according to the touch event. The type provides a corresponding visual output on display panel 1541.
- touch panel 1531 and the display panel 1541 are used as two independent components to implement the input and input functions of the mobile phone in FIG. 6, in some embodiments, the touch panel 1531 and the display panel 1541 may be integrated. Realize the input and output functions of the phone.
- the handset may also include at least one type of sensor 1550, such as a light sensor, motion sensor, and other sensors.
- the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 1541 according to the brightness of the ambient light, and the proximity sensor may close the display panel 1541 and/or when the mobile phone moves to the ear. Or backlight.
- the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity.
- the mobile phone can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for the mobile phone can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, no longer Narration.
- the gesture of the mobile phone such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration
- vibration recognition related functions such as pedometer, tapping
- the mobile phone can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, no longer Narration.
- An audio circuit 1560, a speaker 1561, and a microphone 1562 can provide an audio interface between the user and the handset.
- the audio circuit 1560 can transmit the converted electrical data of the received audio data to the speaker 1561, and convert it into a sound signal output by the speaker 1561.
- the microphone 1562 converts the collected sound signal into an electrical signal, and the audio circuit 1560. After receiving, it is converted into audio data, and then processed by the audio data output processor 1580, sent to, for example, another mobile phone via the RF circuit 1510, or outputted to the memory 1520 for further processing.
- WiFi is a short-range wireless transmission technology.
- the mobile phone can help users to send and receive emails, browse web pages and access streaming media through the WiFi module 1570. It provides users with wireless broadband Internet access. ask.
- FIG. 6 shows the WiFi module 1570, it can be understood that it does not belong to the essential configuration of the mobile phone, and may be omitted as needed within the scope of not changing the essence of the invention.
- the processor 1580 is a control center for the handset that connects various portions of the entire handset using various interfaces and lines, by executing or executing software programs and/or modules stored in the memory 1520, and invoking data stored in the memory 1520, The phone's various functions and processing data, so that the overall monitoring of the phone.
- the processor 1580 may include one or more processing units; preferably, the processor 1580 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
- the modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 1580.
- the handset also includes a power source 1590 (such as a battery) that supplies power to the various components.
- a power source 1590 such as a battery
- the power source can be logically coupled to the processor 1580 via a power management system to manage functions such as charging, discharging, and power management through the power management system.
- the mobile phone may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
- the processor 1580 included in the terminal further has the following functions:
- the preset video screen orientation is a portrait screen.
- the preset video screen orientation is a landscape screen.
- the video screen orientation of the acquired video information is a video screen orientation in which the video information is acquired based on the sensing signal of the gravity sensor.
- the adjustment instruction carries a deflection angle value
- the generating the adjustment instruction comprises:
- An adjustment command is generated based on the deflection angle value.
- the embodiment of the present invention further provides a linkage encoding server, including one or more processors; a memory; one or more applications, wherein the one or more applications are stored in the memory and are Configured to be executed by the one or more processors, the one or more programs
- the method is: receiving the video information collected by the terminal and the adjustment instruction generated when the video screen direction of the video information is different from the preset video screen direction; adjusting the video screen direction of the video information to the preset video screen direction according to the adjustment instruction.
- the embodiment of the present invention further provides a live broadcast coding system, where the live broadcast coding system includes a communication connection terminal 7001 and a linkage coding server 7002, where:
- the terminal 7001 collects video information, obtains a video screen direction of the video information, compares the video screen direction with a preset video screen direction, and if the video screen direction is different from the preset video screen direction, generates an adjustment instruction; sends the video information and adjusts the instruction to Linking the encoding server 7002, so that the linkage encoding server 7002 adjusts the video screen direction of the video information to the preset video screen direction according to the adjustment instruction;
- the linkage encoding server 7002 receives the video information collected by the terminal 7001 and an adjustment instruction generated when the video screen direction of the video information is different from the preset video screen direction; and adjusts the video screen direction of the video information to the preset video screen direction according to the adjustment instruction.
- the disclosed system, apparatus, and method may be implemented in other manners.
- the device embodiments described above are merely illustrative.
- the division of the unit is only a logical function division.
- there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
- the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
- the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. You can choose some or all of them according to actual needs.
- the unit is to achieve the purpose of the solution of the embodiment.
- each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
- the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
- the program may be stored in a computer readable storage medium, and the storage medium may include: Read Only Memory (ROM), Random Access Memory (RAM), disk or optical disk.
- ROM Read Only Memory
- RAM Random Access Memory
- the invention has the following beneficial effects:
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computer Graphics (AREA)
- Human Computer Interaction (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
本发明公开了一种直播编码的方法、装置、终端、联动编码服务器及系统,其中直播编码的方法包括:采集视频信息,获取所述视频信息的视频屏幕方向;比较所述视频屏幕方向与预置视频屏幕方向,若所述视频屏幕方向与预置视频屏幕方向不同时,则生成调整指令;发送所述视频信息以及所述调整指令至联动编码服务器,以使所述联动编码服务器根据所述调整指令将所述视频信息的所述视频屏幕方向调整为预置视频屏幕方向。本发明通过调整采集的视频信息的视频屏幕方向,使得视频屏幕方向与预置视频屏幕方向相一致,进而统一了采集的视频信息的视频屏幕方向,避免了对视频信息的裁剪,在一定程度上提升了用户的观看体验。
Description
本发明涉及通信技术领域,更具体地,涉及一种直播编码的方法、装置、终端、联动编码服务器及系统。
随着直播技术的兴起,越来越多用户开始使用直播作为交互的手段。直播设备和播放设备越也来越多样化,但是目前由于直播端与播放端两端的屏幕分辨率不能完全匹配,导致无论主播采用横屏还是竖屏直播方案,始终不能同时满足播放端在横屏模式和竖屏模式下都具有较好的播放效果,譬如说,当直播端采用横屏直播时,对于横屏模式下的播放端能够与直播端更好的匹配,而对于竖屏模式的播放端播放的却是对原有横屏直播内容做裁剪后处理的内容,这在一定程度上影响了用户的观看体验。
发明内容
鉴于上述问题,本发明提出了一种直播编码的方法、装置、终端、联动编码服务器及系统,其可实现视频信息的视频屏幕方向与预置视频屏幕方向相一致,本发明采用如下技术方案:
方案一:
提供了一种直播编码的方法,包括:
采集视频信息,获取所述视频信息的视频屏幕方向;
比较所述视频屏幕方向与预置视频屏幕方向,若所述视频屏幕方向与预置视频屏幕方向不同时,则生成调整指令;
发送所述视频信息以及所述调整指令至联动编码服务器,以使所述联动编码服务器根据所述调整指令将所述视频信息的所述视频屏幕方向调整为预置视频屏幕方向。
优选地,所述预置视频屏幕方向为竖屏。
优选地,所述预置视频屏幕方向为横屏。
优选地,所述调整指令携带有偏转角度值,所述生成调整指令包括:
计算所述视频屏幕方向与预置视频屏幕方向偏转角度值;
根据所述偏转角度值生成调整指令。
提供一种直播编码的方法,包括:
接收终端采集的视频信息以及在视频信息的视频屏幕方向与预置视频屏幕方向不同时生成的调整指令;
根据所述调整指令将所述视频信息的视频屏幕方向调整为预置视频屏幕方向。
方案二:
提供一种直播编码的装置,包括:
采集获取模块,用于采集视频信息,获取所述视频信息的视频屏幕方向;
比较生成模块,用于比较所述视频屏幕方向与预置视频屏幕方向,若所述视频屏幕方向与预置视频屏幕方向不同时,则生成调整指令;
发送模块,用于发送所述视频信息以及所述调整指令至联动编码服务器,以使所述联动编码服务器根据所述调整指令将所述视频信息的所述视频屏幕方向调整为预置视频屏幕方向。
提供一种直播编码的装置,包括:
接收模块:用于接收终端采集的视频信息以及在视频信息的视频屏幕方向与预置视频屏幕方向不同时生成的调整指令;
调整模块,用于根据所述调整指令将所述视频信息的视频屏幕方向调整为预置视频屏幕方向。
方案三:
提供一种终端,包括一个或多个处理器;
存储器;
一个或多个应用程序,其中所述一个或多个应用程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个程序配置用于:
采集视频信息,获取所述视频信息的视频屏幕方向;
比较所述视频屏幕方向与预置视频屏幕方向,若所述视频屏幕方向与预置视频屏幕方向不同时,则生成调整指令;
发送所述视频信息以及所述调整指令至联动编码服务器,以使所述联动编码服务器根据所述调整指令将所述视频信息的所述视频屏幕方向调整为预置视频屏幕方向。
提供一种联动编码服务器,包括一个或多个处理器;
存储器;
一个或多个应用程序,其中所述一个或多个应用程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个程序配置用于:
接收终端采集的视频信息以及在视频信息的视频屏幕方向与预置视频屏幕方向不同时生成的调整指令;
根据所述调整指令将所述视频信息的视频屏幕方向调整为预置视频屏幕方向。
方案四:
提供一种直播编码的系统,所述直播编码的系统包括通信连接的终端和联动编码服务器,其中:
终端采集视频信息,获取所述视频信息的视频屏幕方向;比较所述视频屏幕方向与预置视频屏幕方向,若所述视频屏幕方向与预置视频屏幕方向不同时,则生成调整指令;发送所述视频信息以及所述调整指令至联动编码服务器,以使所述联动编码服务器根据所述调整指令将所述视频信息的所述视频屏幕方向调整为预置视频屏幕方向;
联动编码服务器接收终端采集的视频信息以及在视频信息的视频屏幕方向与预置视频屏幕方向不同时生成的调整指令;根据所述调整指令将所述视频信息的视频屏幕方向调整为预置视频屏幕方向。
与现有技术相比,该发明一种直播编码的方法、终端、联动编码服务器
及系统具有如下有益效果:
本发明一种直播编码的方法、装置、终端、联动编码服务器及系统通过调整采集的视频信息的视频屏幕方向,使得视频屏幕方向与预置视频屏幕方向相一致,进而统一采集的视频信息的视频屏幕方向,方便了播放端的显示,同时避免了为了满足播放端的显示而针对视频信息做出的裁剪,在一定程度上提升了用户的观看体验。
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1示出了本发明一种直播编码的方法实施例的直播编码的方法的流程示意图;
图2示出了本发明一种直播编码的方法实施例的帧画面方向为横向的示意图;
图3示出了本发明一种直播编码的方法实施例的另一种直播编码的方法的流程示意图;
图4示出了本发明一种直播编码的装置实施例的直播编码的装置的模块结构示意图;
图5示出了本发明一种直播编码的装置实施例的直播编码的装置的另一模块结构示意图;
图6示出了本发明一种终端实施例的模块结构示意图;
图7示出了本发明一种直播编码的系统实施例的系统模块结构示意图。
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述。
在本发明的说明书和权利要求书及上述附图中的描述的一些流程中,包含了按照特定顺序出现的多个操作,但是应该清楚了解,这些操作可以不按照其
在本文中出现的顺序来执行或并行执行,操作的序号如101、102等,仅仅是用于区分开各个不同的操作,序号本身不代表任何的执行顺序。另外,这些流程可以包括更多或更少的操作,并且这些操作可以按顺序执行或并行执行。需要说明的是,本文中的“第一”、“第二”等描述,是用于区分不同的消息、终端、模块等,不代表先后顺序,也不限定“第一”和“第二”是不同的类型。
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
请参阅图1-图2,本发明的一个实施例提供一种直播编码的方法,图1所示的为该直播编码的方法流程图,其包括:
步骤101:采集视频信息,获取所述视频信息的视频屏幕方向;其中,视频屏幕方向为视频信息中每帧画面的方向,譬如如图2所示的方向为横向。
具体地,采集视频信息可以通过终端的摄像设备来获取,包括但不限于前置或后置的一个或者多个摄像头。在一些实施方式中,采集视频信息还可以通过外接摄像设备进行,本发明实施例对此不作限制。
获取视频信息的视频屏幕方向可以通过根据重力感应器的感应信号来获取,譬如,假设目前的移动终端是竖向放置,当将该移动终端左转或者右转90度时,也即是横向放置,则会有相应的感应信号产生。考虑到一般情况下,视频信息的每帧画面的方向,也即视频屏幕方向与移动终端放置状态相一致,因此可以根据该重力感应器的感应信号来获取视频屏幕方向,这样的获取方式具有获取方便,简单易行且成本低廉的效果。
当然,考虑到重力感应器与加速度感应器在一定程度上功能是等同的,在一些实施方式中,还可以根据加速度感应器来获取视频屏幕方向,具体原理参考上述。
步骤103:比较所述视频屏幕方向与预置视频屏幕方向,若所述视频屏幕方向与预置视频屏幕方向不同时,则生成调整指令;其中,预置视频屏幕方向为直播方案设定的标准播放方向,譬如说为竖向,这样播放端默认的播放方向为竖向,于是用户通过竖向的观看模式就可以看到高品质的播放效果,当然,
直播方案设定的标准播放方向也可以是横向;调整指令为一个提示信息,用于表征视频屏幕方向与预置视频屏幕方向的不同。
在一些实施方式中,调整指令携带有偏转角度值,则生成调整指令包括:计算视频屏幕方向与预置视频屏幕方向偏转角度值;根据偏转角度值生成调整指令,其中偏转角度值为视频屏幕方向与预置视频屏幕方向的偏转值。
在具体实施计算偏转角度值时,可以以预置视频屏幕方向为标准方向建立一个坐标系,通过视频屏幕方向相对于预置视频屏幕方向偏向角来获取偏转角度值,譬如说,默认预置视频方向为竖向时,当移动终端由竖向向左转90度时,则偏转角度值为负90度;向右转90度时,则偏转角度值为正90度。
步骤105:发送所述视频信息以及所述调整指令至联动编码服务器,以使所述联动编码服务器根据所述调整指令将所述视频信息的所述视频屏幕方向调整为预置视频屏幕方向;其中,联动编码服务器为一台装有特定视频编码软件的计算机,值得一提的是,其还可以通过特定的编码来调整视频的帧率、码率等。
具体地,在一些实施方式中,视频信息以及调整指令可以通过HTTP传输协议或者HTTPS传输协议或者TCP协议发送至联动编码服务器。
匹配地,请参阅图3,本发明实施例还提供一种直播编码的方法,图3示出了该直播编码的方法的流程图,其包括:
步骤301:接收终端采集的视频信息以及在视频信息的视频屏幕方向与预置视频屏幕方向不同时生成的调整指令;其中,该步骤301中的视频信息对应于步骤101中的视频信息;该步骤301中的调整指令对应于步骤103中的调整指令,因此关于具体细节不再赘述。
在一些实施方式中,接收视频信息以及调整指令可以通过HTTP传输协议或者HTTPS传输协议或者TCP协议。
步骤303:根据所述调整指令将所述视频信息的视频屏幕方向调整为预置视频屏幕方向;其中,步骤303中的预置视频屏幕方向与步骤103中的预置视频屏幕方向相对应。
具体地,将视频信息的视频屏幕方向调整为预置视频屏幕方向可以通过旋转矩阵编码的方式实现。
旋转矩阵在旋转角度较小的情况下可以通过两次错切变化得到预置视频屏幕方向,在旋转角度较大的情况下可以通过三次等价错切得到预置视频屏幕方向,在实际中,对于旋转角度超过90度,可以首先旋转特殊角度90,180,270,然后在旋转剩下的角度数。其中,旋转矩阵到三次等价错切矩阵等式如下:
其中,错切变换是基本的图像几何变换,首先在X方向进行顺时针的错切变换,然后在Y方向进行顺时针的错切变换,最后再到X方向进行顺时针错切变换,最终得到旋转角度以后的图像数据。
示例地,当默认预置视频方向为竖向时,当移动终端由竖向向左转90度、也即偏转角度值为负90度时,通过对视频信息每帧画面的像素通过转换矩阵即可将其横向的视频信息转为竖向的视频信息。由于该旋转矩阵是基于像素操作,没有减少像素,因此在一定程度上保证了画面的高清度,在一定程度上创造了带给用户良好视觉体验的前提。
与现有技术相比,本发明实施例一种直播编码的方法通过联动编码服务器调整采集的视频信息的视频屏幕方向,使得视频屏幕方向与预置视频屏幕方向相一致,进而统一了采集的视频信息的视频屏幕方向,同时避免了对视频信息的裁剪,在一定程度上提升了用户的观看体验。
请参阅图4,基于同一个发明构思本发明实施例提供一种直播编码的装置,其包括采集获取模块4001、比较生成模块4003以及发送模块4005,其中,
采集获取模块4001,用于采集视频信息,获取视频信息的视频屏幕方向;
比较生成模块4003,用于比较视频屏幕方向与预置视频屏幕方向,若视频屏幕方向与预置视频屏幕方向不同时,则生成调整指令;
发送模块4005,用于发送视频信息以及调整指令至联动编码服务器,以使联动编码服务器根据调整指令将视频信息的视频屏幕方向调整为预置视频屏幕方向。
在一些实施方式中,预置视频屏幕方向为竖屏。
在一些实施方式中,预置视频屏幕方向为横屏。
在一些实施方式中,采集获取模块4001包括获取单元,用于根据重力感应器的感应信号获取视频信息的视频屏幕方向。
优选地,比较生成模块4003包括:
计算单元,用于计算视频屏幕方向与预置视频屏幕方向偏转角度值;
生成单元,用于根据偏转角度值生成调整指令。
请参阅图5,匹配地,本发明实施例还提供一种直播编码的装置,包括接收模块5001以及调整模块5003,其中,
接收模块5001:用于接收终端采集的视频信息以及在视频信息的视频屏幕方向与预置视频屏幕方向不同时生成的调整指令;
调整模块5003,用于根据调整指令将视频信息的视频屏幕方向调整为预置视频屏幕方向。
与现有技术相比,本发明实施例一种直播编码的装置通过采集获取模块4001、比较生成模块4003、发送模块4005的设置,使得视频屏幕方向与预置视频屏幕方向相一致,进而统一了采集的视频信息的视频屏幕方向,同时避免了对视频信息进行裁剪,在一定程度上提升了用户的观看体验。
请参阅图6,基于同直播编码的方法相同的发明构思,本发明实施例还提供一种终端,如图6所示,为了便于说明,仅示出了与本发明实施例相关的部分,具体技术细节未揭示的,请参照本发明实施例方法部分。该终端可以为包括手机、平板电脑、PDA(Personal Digital Assistant,个人数字助理)、POS(Point of Sales,销售终端)、车载电脑等任意终端设备,以终端为手机为例:
图6示出的是与本发明实施例提供的终端相关的手机的部分结构的框图。参考图6,手机包括:射频(Radio Frequency,RF)电路1510、存储器1520、输入单元1530、显示单元1540、传感器1550、音频电路1560、无线保真(wireless fidelity,WiFi)模块1570、处理器1580、以及电源1590等部件。本领域技术人员可以理解,图6中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
下面结合图6对手机的各个构成部件进行具体的介绍:
RF电路1510可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,给处理器1580处理;另外,将设计上行的数据发送给基站。通常,RF电路1510包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。此外,RF电路1510还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(Global System of Mobile communication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、长期演进(Long Term Evolution,LTE)、电子邮件、短消息服务(Short Messaging Service,SMS)等。
存储器1520可用于存储软件程序以及模块,处理器1580通过运行存储在存储器1520的软件程序以及模块,从而执行手机的各种功能应用以及数据处理。存储器1520可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器1520可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
输入单元1530可用于接收输入的数字或字符信息,以及产生与手机的用户设置以及功能控制有关的键信号输入。具体地,输入单元1530可包括触控面板1531以及其他输入设备1532。触控面板1531,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1531上或在触控面板1531附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板1531可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器1580,并能接收处理器1580发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实
现触控面板1531。除了触控面板1531,输入单元1530还可以包括其他输入设备1532。具体地,其他输入设备1532可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。
显示单元1540可用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单。显示单元1540可包括显示面板1541,可选的,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板1541。进一步的,触控面板1531可覆盖显示面板1541,当触控面板1531检测到在其上或附近的触摸操作后,传送给处理器1580以确定触摸事件的类型,随后处理器1580根据触摸事件的类型在显示面板1541上提供相应的视觉输出。虽然在图6中,触控面板1531与显示面板1541是作为两个独立的部件来实现手机的输入和输入功能,但是在某些实施例中,可以将触控面板1531与显示面板1541集成而实现手机的输入和输出功能。
手机还可包括至少一种传感器1550,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1541的亮度,接近传感器可在手机移动到耳边时,关闭显示面板1541和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。
音频电路1560、扬声器1561,传声器1562可提供用户与手机之间的音频接口。音频电路1560可将接收到的音频数据转换后的电信号,传输到扬声器1561,由扬声器1561转换为声音信号输出;另一方面,传声器1562将收集的声音信号转换为电信号,由音频电路1560接收后转换为音频数据,再将音频数据输出处理器1580处理后,经RF电路1510以发送给比如另一手机,或者将音频数据输出至存储器1520以便进一步处理。
WiFi属于短距离无线传输技术,手机通过WiFi模块1570可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访
问。虽然图6示出了WiFi模块1570,但是可以理解的是,其并不属于手机的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。
处理器1580是手机的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器1520内的软件程序和/或模块,以及调用存储在存储器1520内的数据,执行手机的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器1580可包括一个或多个处理单元;优选的,处理器1580可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1580中。
手机还包括给各个部件供电的电源1590(比如电池),优选的,电源可以通过电源管理系统与处理器1580逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。
尽管未示出,手机还可以包括摄像头、蓝牙模块等,在此不再赘述。
在本发明实施例中,该终端所包括的处理器1580还具有以下功能:
采集视频信息,获取视频信息的视频屏幕方向;
比较视频屏幕方向与预置视频屏幕方向,若视频屏幕方向与预置视频屏幕方向不同时,则生成调整指令;
发送视频信息以及调整指令至联动编码服务器,以使联动编码服务器根据调整指令将视频信息的视频屏幕方向调整为预置视频屏幕方向。
在一些实施方式中,预置视频屏幕方向为竖屏。
在一些实施方式中,预置视频屏幕方向为横屏。
在一些实施方式中,获取视频信息的视频屏幕方向为根据重力感应器的感应信号获取视频信息的视频屏幕方向。
优选地,调整指令携带有偏转角度值,生成调整指令包括:
计算视频屏幕方向与预置视频屏幕方向偏转角度值;
根据偏转角度值生成调整指令。
匹配地,本发明实施例还提供一种联动编码服务器,包括一个或多个处理器;存储器;一个或多个应用程序,其中所述一个或多个应用程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个程序配
置用于:接收终端采集的视频信息以及在视频信息的视频屏幕方向与预置视频屏幕方向不同时生成的调整指令;根据调整指令将视频信息的视频屏幕方向调整为预置视频屏幕方向。考虑到上述内容前文已经介绍,因此不再赘述。
请参阅图7,基于同直播编码的方法相同的发明构思,本发明实施例还提供一种直播编码的系统,该直播编码的系统包括通信连接的终端7001和联动编码服务器7002,其中:
终端7001采集视频信息,获取视频信息的视频屏幕方向;比较视频屏幕方向与预置视频屏幕方向,若视频屏幕方向与预置视频屏幕方向不同时,则生成调整指令;发送视频信息以及调整指令至联动编码服务器7002,以使联动编码服务器7002根据调整指令将视频信息的视频屏幕方向调整为预置视频屏幕方向;
联动编码服务器7002接收终端7001采集的视频信息以及在视频信息的视频屏幕方向与预置视频屏幕方向不同时生成的调整指令;根据调整指令将视频信息的视频屏幕方向调整为预置视频屏幕方向。
考虑到直播编码的系统与直播编码的方法基于同一个发明构思,因此,其具体内容及原理可以参照上述。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部
单元来实现本实施例方案的目的。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁盘或光盘等。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。
与现有技术相比,该发明具有如下有益效果:
以上对本发明所提供的一种直播编码方法、装置、终端、联动编码服务器及系统进行了详细介绍,对于本领域的一般技术人员,依据本发明实施例的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。
Claims (10)
- 一种直播编码的方法,其特征在于,包括:采集视频信息,获取所述视频信息的视频屏幕方向;比较所述视频屏幕方向与预置视频屏幕方向,若所述视频屏幕方向与预置视频屏幕方向不同时,则生成调整指令;发送所述视频信息以及所述调整指令至联动编码服务器,以使所述联动编码服务器根据所述调整指令将所述视频信息的所述视频屏幕方向调整为预置视频屏幕方向。
- 如权利要求1所述的方法,其特征在于,所述预置视频屏幕方向为竖屏。
- 如权利要求1所述的方法,其特征在于,所述预置视频屏幕方向为横屏。
- 如权利要求1所述的方法,其特征在于,所述调整指令携带有偏转角度值,所述生成调整指令包括:计算所述视频屏幕方向与预置视频屏幕方向偏转角度值;根据所述偏转角度值生成调整指令。
- 一种直播编码的方法,其特征在于,包括:接收终端采集的视频信息以及在视频信息的视频屏幕方向与预置视频屏幕方向不同时生成的调整指令;根据所述调整指令将所述视频信息的视频屏幕方向调整为预置视频屏幕方向。
- 一种直播编码的装置,其特征在于,包括:采集获取模块,用于采集视频信息,获取所述视频信息的视频屏幕方向;比较生成模块,用于比较所述视频屏幕方向与预置视频屏幕方向,若所述视频屏幕方向与预置视频屏幕方向不同时,则生成调整指令;发送模块,用于发送所述视频信息以及所述调整指令至联动编码服务器,以使所述联动编码服务器根据所述调整指令将所述视频信息的所述视频屏幕方向调整为预置视频屏幕方向。
- 一种直播编码的装置,其特征在于,包括:接收模块:用于接收终端采集的视频信息以及在视频信息的视频屏幕方向与预置视频屏幕方向不同时生成的调整指令;调整模块,用于根据所述调整指令将所述视频信息的视频屏幕方向调整为预置视频屏幕方向。
- 一种终端,其特征在于,包括一个或多个处理器;存储器;一个或多个应用程序,其中所述一个或多个应用程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个程序配置用于:采集视频信息,获取所述视频信息的视频屏幕方向;比较所述视频屏幕方向与预置视频屏幕方向,若所述视频屏幕方向与预置视频屏幕方向不同时,则生成调整指令;发送所述视频信息以及所述调整指令至联动编码服务器,以使所述联动编码服务器根据所述调整指令将所述视频信息的所述视频屏幕方向调整为预置视频屏幕方向。
- 一种联动编码服务器,其特征在于,包括一个或多个处理器;存储器;一个或多个应用程序,其中所述一个或多个应用程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个程序配置用于:接收终端采集的视频信息以及在视频信息的视频屏幕方向与预置视频屏幕方向不同时生成的调整指令;根据所述调整指令将所述视频信息的视频屏幕方向调整为预置视频屏幕方向。
- 一种直播编码的系统,其特征在于,所述直播编码的系统包括通信连接的终端和联动编码服务器,其中:终端采集视频信息,获取所述视频信息的视频屏幕方向;比较所述视频屏幕方向与预置视频屏幕方向,若所述视频屏幕方向与预置视频屏幕方向不同 时,则生成调整指令;发送所述视频信息以及所述调整指令至联动编码服务器,以使所述联动编码服务器根据所述调整指令将所述视频信息的所述视频屏幕方向调整为预置视频屏幕方向;联动编码服务器接收终端采集的视频信息以及在视频信息的视频屏幕方向与预置视频屏幕方向不同时生成的调整指令;根据所述调整指令将所述视频信息的视频屏幕方向调整为预置视频屏幕方向。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611242582.X | 2016-12-29 | ||
CN201611242582.XA CN106506554A (zh) | 2016-12-29 | 2016-12-29 | 直播编码的方法、装置、终端、联动编码服务器及系统 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018120955A1 true WO2018120955A1 (zh) | 2018-07-05 |
Family
ID=58334617
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/104466 WO2018120955A1 (zh) | 2016-12-29 | 2017-09-29 | 直播编码的方法、装置、终端、联动编码服务器及系统 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106506554A (zh) |
WO (1) | WO2018120955A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113849037A (zh) * | 2021-09-07 | 2021-12-28 | 联想(北京)有限公司 | 一种电子设备、控制方法、装置及计算机可读存储介质 |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106506554A (zh) * | 2016-12-29 | 2017-03-15 | 广州华多网络科技有限公司 | 直播编码的方法、装置、终端、联动编码服务器及系统 |
CN107147927B (zh) * | 2017-04-14 | 2020-04-03 | 北京小米移动软件有限公司 | 基于直播连麦的直播方法及装置 |
CN108093268B (zh) | 2017-12-29 | 2020-11-10 | 广州酷狗计算机科技有限公司 | 进行直播的方法和装置 |
CN108235090B (zh) * | 2018-01-22 | 2021-09-17 | 广州市千钧网络科技有限公司 | 一种调整画面角度的方法及装置 |
CN110366028B (zh) * | 2018-04-10 | 2022-11-04 | 腾讯科技(深圳)有限公司 | 屏幕视频获取方法及装置 |
CN111953919B (zh) * | 2019-05-17 | 2022-11-04 | 成都鼎桥通信技术有限公司 | 视频单呼中手持终端的视频录制方法和装置 |
CN111711833B (zh) * | 2020-07-28 | 2022-04-26 | 广州方硅信息技术有限公司 | 直播视频流推送控制方法、装置、设备及存储介质 |
CN114286136B (zh) * | 2021-12-28 | 2024-05-31 | 咪咕文化科技有限公司 | 视频播放编码方法、装置、设备及计算机可读存储介质 |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002185952A (ja) * | 2000-12-12 | 2002-06-28 | New Industry Research Organization | 実時間画像イメージマップシステムとそのイメージマップ提供方法 |
CN104410918A (zh) * | 2014-12-09 | 2015-03-11 | 广州华多网络科技有限公司 | 一种直播视频参数调整方法和装置 |
CN105068774A (zh) * | 2015-07-24 | 2015-11-18 | 福州瑞芯微电子股份有限公司 | 一种基于wfd的影像分享方法和系统 |
CN105227963A (zh) * | 2015-08-31 | 2016-01-06 | 北京暴风科技股份有限公司 | 对终端进行流媒体采集自动识别方向并调整的方法及系统 |
CN106484349A (zh) * | 2016-09-26 | 2017-03-08 | 腾讯科技(深圳)有限公司 | 直播信息的处理方法和装置 |
CN106506554A (zh) * | 2016-12-29 | 2017-03-15 | 广州华多网络科技有限公司 | 直播编码的方法、装置、终端、联动编码服务器及系统 |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103051782B (zh) * | 2012-12-10 | 2016-03-23 | 广东欧珀移动通信有限公司 | 一种移动终端投影调整方法及装置 |
CN103763505A (zh) * | 2013-12-31 | 2014-04-30 | 华为技术有限公司 | 一种在视频通话中适应屏幕方向切换的方法和装置 |
CN105959612A (zh) * | 2016-04-22 | 2016-09-21 | 惠州Tcl移动通信有限公司 | 一种移动终端视频通讯中画面角度自动修正方法及系统 |
-
2016
- 2016-12-29 CN CN201611242582.XA patent/CN106506554A/zh active Pending
-
2017
- 2017-09-29 WO PCT/CN2017/104466 patent/WO2018120955A1/zh active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002185952A (ja) * | 2000-12-12 | 2002-06-28 | New Industry Research Organization | 実時間画像イメージマップシステムとそのイメージマップ提供方法 |
CN104410918A (zh) * | 2014-12-09 | 2015-03-11 | 广州华多网络科技有限公司 | 一种直播视频参数调整方法和装置 |
CN105068774A (zh) * | 2015-07-24 | 2015-11-18 | 福州瑞芯微电子股份有限公司 | 一种基于wfd的影像分享方法和系统 |
CN105227963A (zh) * | 2015-08-31 | 2016-01-06 | 北京暴风科技股份有限公司 | 对终端进行流媒体采集自动识别方向并调整的方法及系统 |
CN106484349A (zh) * | 2016-09-26 | 2017-03-08 | 腾讯科技(深圳)有限公司 | 直播信息的处理方法和装置 |
CN106506554A (zh) * | 2016-12-29 | 2017-03-15 | 广州华多网络科技有限公司 | 直播编码的方法、装置、终端、联动编码服务器及系统 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113849037A (zh) * | 2021-09-07 | 2021-12-28 | 联想(北京)有限公司 | 一种电子设备、控制方法、装置及计算机可读存储介质 |
Also Published As
Publication number | Publication date |
---|---|
CN106506554A (zh) | 2017-03-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2018120955A1 (zh) | 直播编码的方法、装置、终端、联动编码服务器及系统 | |
CN107005721B (zh) | 直播间视频流推送控制方法及相应的服务器与移动终端 | |
CN105430424B (zh) | 一种视频直播的方法、装置和系统 | |
WO2019154181A1 (zh) | 显示控制方法及移动终端 | |
WO2019137248A1 (zh) | 视频插帧方法、存储介质以及终端 | |
WO2019141243A1 (zh) | 应用程序启动方法及移动终端 | |
WO2019174628A1 (zh) | 拍照方法及移动终端 | |
CN108989672B (zh) | 一种拍摄方法及移动终端 | |
US20160112632A1 (en) | Method and terminal for acquiring panoramic image | |
WO2015078366A1 (en) | Method and apparatus for displaying an image, and electronic device | |
EP4131931A1 (en) | Image capturing method and electronic device | |
WO2019129020A1 (zh) | 一种摄像头自动调焦方法、存储设备及移动终端 | |
CN108038825B (zh) | 一种图像处理方法及移动终端 | |
WO2016191938A1 (zh) | 通过触控板调节移动终端拍照焦距的方法和移动终端 | |
WO2014086218A1 (zh) | 界面调整方法、装置及终端 | |
WO2019184947A1 (zh) | 图像查看方法及移动终端 | |
US11842029B2 (en) | Image display method and mobile terminal | |
WO2019174541A1 (zh) | 移动终端的操作方法及移动终端 | |
CN109889757B (zh) | 一种视频通话方法及终端设备 | |
CN107644395B (zh) | 图像处理方法以及移动设备 | |
WO2020253295A1 (zh) | 控制方法、装置及终端设备 | |
US20210152729A1 (en) | Method and Apparatus for Shooting Video, and Storage Medium | |
WO2015100913A1 (zh) | 图像缩略图的生成方法、装置和终端 | |
WO2021057222A1 (zh) | 显示方法及终端 | |
WO2017215661A1 (zh) | 一种场景音效的控制方法、及电子设备 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17886507 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 17886507 Country of ref document: EP Kind code of ref document: A1 |