[go: up one dir, main page]

CN110602440A - Audio-video data stream transmission method and device and terminal - Google Patents

Audio-video data stream transmission method and device and terminal Download PDF

Info

Publication number
CN110602440A
CN110602440A CN201810606755.4A CN201810606755A CN110602440A CN 110602440 A CN110602440 A CN 110602440A CN 201810606755 A CN201810606755 A CN 201810606755A CN 110602440 A CN110602440 A CN 110602440A
Authority
CN
China
Prior art keywords
video data
data stream
screen
camera
audio
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810606755.4A
Other languages
Chinese (zh)
Inventor
蔡耀
杨乌拉
乔建成
蔡志强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Visionvera Information Technology Co Ltd
Original Assignee
Visionvera Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Visionvera Information Technology Co Ltd filed Critical Visionvera Information Technology Co Ltd
Priority to CN201810606755.4A priority Critical patent/CN110602440A/en
Publication of CN110602440A publication Critical patent/CN110602440A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • H04N7/183Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a single remote source
    • H04N7/185Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a single remote source from a mobile camera, e.g. for remote control

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the invention provides a method, a device and a terminal for transmitting audio and video data streams, wherein the method is applied to a video network and comprises the following steps: when the mobile terminal is connected with a vehicle-mounted terminal on a mobile command car, a camera is opened; setting the acquisition angle of a camera to be 90 degrees when the screen of the mobile terminal is horizontal; acquiring an original audio and video data stream through the set camera; encoding the original audio-video data stream; and transmitting the audio and video data stream after the coding processing to the vehicle-mounted terminal. In the embodiment of the invention, the acquisition angle of the camera is initially set, so that the picture displayed by the audio and video data stream output to the other side is unchanged under the condition that the system defaults to the screen state. The efficiency of the emergency command of the video link is reduced, and the user experience is improved.

Description

Audio-video data stream transmission method and device and terminal
Technical Field
The present invention relates to the field of video networking technologies, and in particular, to a method, an apparatus, and a terminal for transmitting audio and video data streams.
Background
With the rapid development of network science and technology, the video networking palm is the extension of video networking (namely remove the command car, be the application software of installing on android intelligent mobile terminal of video networking development), mainly through various wireless or internet technologies, extends away the function of video networking. The mobile command car integrates various communication devices such as a mobile backpack, a suitcase, a single soldier, a mobile phone and the like, is applied to image, voice and data communication between a field and a command center and between higher departments, and provides emergency communication guarantee. The information such as images, voice, data and the like acquired by various modes such as a vehicle top camera or single-soldier wireless image transmission and the like is collected on the mobile command car and is transmitted to a command center and application departments of related service centers through a satellite communication system on the mobile command car.
At present, when a mobile terminal (such as a mobile phone) is watched through a vehicle-mounted terminal (such as 2c) on a mobile command car live broadcast or a handheld call with the mobile terminal is carried out, under the condition that the mobile terminal is placed in a vertical screen, the 2c is used as an unmovable device, and a picture of the mobile phone is turned by 90 degrees, that is, a viewer on the mobile command car turns the picture due to different placement of the mobile terminal, for example, if the mobile terminal is placed in a horizontal screen, the picture seen by the viewer is positive, and if the mobile terminal is placed in a vertical screen, the picture seen by the viewer is turned (for example, inverted), that is, the picture seen by the viewer changes along with the placement position of the mobile terminal.
Therefore, in the existing mobile command car, the picture seen by the viewer can change along with the placement position of the mobile terminal (namely horizontal and vertical screen switching), so that the efficiency of the video-online emergency command is reduced, and the user experience is also reduced.
Disclosure of Invention
The technical problem to be solved by the embodiments of the present invention is to provide a method for transmitting audio and video data streams, so as to solve the technical problems in the prior art that the efficiency of video-associated emergency command is reduced and the user experience is reduced due to the displayed image turning caused by the horizontal and vertical screen switching of a mobile terminal.
Correspondingly, the embodiment of the invention also provides a device and a terminal for transmitting audio and video data streams, which are used for ensuring the realization and the application of the method.
In order to solve the problems, the invention is realized by the following technical scheme:
the first aspect provides a method for transmitting audio and video data streams, which is applied to video networking and includes:
when the mobile terminal is connected with a vehicle-mounted terminal on a mobile command car, a camera is opened;
setting the acquisition angle of a camera to be 90 degrees when the screen of the mobile terminal is horizontal;
acquiring an original audio and video data stream through the set camera;
encoding the original audio-video data stream;
and transmitting the audio and video data stream after the coding processing to the vehicle-mounted terminal.
Optionally, the method further includes:
monitoring whether the screen of the mobile terminal is switched horizontally or vertically;
if the screen is switched to the vertical screen, the acquisition angle of the camera is adjusted to be 0 degree, and the length and width parameters of the screen are interchanged; the method for acquiring the original audio and video data stream through the set camera specifically comprises the following steps: acquiring an original audio and video data stream through the adjusted camera;
and if the screen is switched to the transverse screen, keeping the acquisition angle of the camera at 90 degrees, and keeping the length and width parameters of the screen unchanged.
Optionally, the encoding processing on the original audio and video data stream includes: and carrying out H.264 coding processing on the original audio and video data stream.
Optionally, the sending the audio and video data stream after the encoding processing to the vehicle-mounted terminal includes: and sending the audio and video data stream subjected to coding processing to the vehicle-mounted terminal through a Socket protocol.
A second aspect provides an apparatus for transmitting audio and video data streams, the apparatus being applied in video networking, and comprising:
the starting module is used for starting the camera when the mobile terminal is connected with the vehicle-mounted terminal on the mobile command car;
the setting module is used for setting the acquisition angle of the camera to be 90 degrees when the screen of the device is horizontal;
the acquisition module is used for acquiring an original audio and video data stream through the camera set by the setting module;
the coding processing module is used for coding the original audio and video data stream;
and the sending module is used for sending the audio and video data stream after the coding processing to the vehicle-mounted terminal.
Optionally, the apparatus further comprises:
the monitoring module is used for monitoring whether the screen of the device is switched horizontally and vertically;
the adjusting module is used for adjusting the acquisition angle of the camera to 0 degree when the monitoring module monitors that the screen of the device is switched to a vertical screen, and the length and width parameters of the screen are interchanged;
the acquisition module is further used for acquiring an original audio and video data stream through the adjusted camera;
and the maintaining module is used for maintaining the acquisition angle of a camera of the device to be 90 degrees when the monitoring module monitors that the screen of the device is switched to the transverse screen, and the length and width parameters of the screen are unchanged.
Optionally, the encoding process is specifically configured to perform an h.264 encoding process on the original audio and video data stream.
Optionally, the sending module is specifically configured to send the audio and video data stream after the encoding processing to the vehicle-mounted terminal through a Socket protocol.
A third aspect provides a mobile terminal comprising: a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps in the method for transmitting an audio-visual data stream as described above.
A fourth aspect provides a computer-readable storage medium having stored thereon a computer program which, when being executed by a processor, carries out the steps in the method of transmitting an audio-visual data stream as described above.
Compared with the prior art, the embodiment of the invention has the following advantages:
in the embodiment of the invention, when the mobile terminal is connected with the vehicle-mounted terminal on the mobile command car, for example, when the mobile terminal (such as a mobile phone) is watched through the vehicle-mounted terminal on the mobile command car or the mobile terminal is communicated with a palm of the mobile phone, the camera is opened, the acquisition angle of the camera is 90 degrees when the screen of the mobile terminal is set to be horizontal, then the original audio and video data stream is acquired through the camera, the audio and video data stream is encoded, and finally the encoded audio and video data stream is sent to the vehicle-mounted terminal on the mobile command car for display. That is to say, in the embodiment of the present invention, the acquisition angle of the camera is initially set, so that the picture displayed by the audio-video data stream output to the other party is unchanged under the condition that the system defaults to the screen state. The efficiency of the emergency command of the video link is reduced, and the user experience is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
Fig. 1 is a flowchart of a method for transmitting audio and video data streams according to an embodiment of the present invention;
fig. 2 is another flowchart of a method for transmitting audio and video data streams according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an apparatus for transmitting audio and video data streams according to an embodiment of the present invention;
fig. 4 is another schematic structural diagram of an apparatus for transmitting audio and video data streams according to an embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
The video networking is an important milestone for network development, is a higher-level form of the Internet, is a real-time network, can realize high-definition video real-time transmission, and pushes a plurality of Internet applications to high-definition video, and high-definition faces each other.
The video networking adopts a real-time high-definition video exchange technology, can integrate required services such as dozens of services of video, voice, pictures, characters, communication, data and the like on a system platform on a network platform, such as high-definition video conference, video monitoring, intelligent monitoring analysis, emergency command, digital broadcast television, delayed television, network teaching, live broadcast, VOD on demand, television mail, Personal Video Recorder (PVR), intranet (self-office) channels, intelligent video broadcast control, information distribution and the like, and realizes high-definition quality video broadcast through a television or a computer.
To better understand the embodiments of the present invention, the following description refers to the terminology used in the internet of view:
mobile phone palm communication (mobile command vehicle): the application software is applied to android smart phones through video networking, and the application software can be installed on the mobile terminal.
The video network terminal: aurora, inspiration 2, inspiration 3, android phone/Pad; namely the in-vehicle terminal herein;
moving the command car: and (4) a video network mobile command system. The system is mainly used for solving the civil and wireless fields which can not be covered by the video network, realizes the seamless integration with the video network, and brings the command dispatching exchange function which is flexible to the video network to the command car, on the tactical backpack!
2 c: meteor 2 vehicle terminal (double legend 2), herein one of the vehicle terminals.
With the understanding of the above terms, please refer to fig. 1, which is a flowchart of a method for transmitting audio and video data streams according to an embodiment of the present invention, the method is applied in a video network, and the method includes:
step 101: when the mobile terminal establishes connection with a vehicle-mounted terminal on the mobile command car in a call mode, a camera is opened;
in this step, when detecting that the mobile terminal establishes a connection with a vehicle-mounted terminal on the mobile command car through the mobile phone palm communication (for example, when the mobile command car watches live broadcast of a mobile phone through the vehicle-mounted terminal or communicates with the mobile phone palm communication), the mobile terminal first opens a camera (camera). The mobile terminal can be a mobile phone, an iPad and the like, and the vehicle-mounted terminal can be a meteor 2 vehicle-mounted terminal (2c) and the like.
Step 102: setting the acquisition angle of a camera to be 90 degrees when the screen of the mobile terminal is horizontal;
in this step, when the camera is opened and the screen of the mobile terminal is set to be horizontal, the collection angle of the camera is 90 degrees, that is, the collection angle is set as a default, and as long as the screen of the mobile terminal is horizontal, the collection angle of the camera is 90 degrees.
Step 103: acquiring an original audio and video data stream through the set camera;
in this step, the mobile terminal acquires the original audio and video data stream through the camera after setting the acquisition angle, and the specific acquisition process is well known to those skilled in the art and will not be described herein again.
Step 104: encoding the original audio-video data stream;
in this step, one encoding processing method is: and the mobile terminal performs H.264 coding processing on the original audio and video data stream, wherein H.264 is a high-performance video coding and decoding technology. At present, two organizations are established for video coding and decoding, one is "International telecommunication Union (ITU-T)", which establishes standards of H.261, H.263+ and the like, and the other is "International organization for standardization (ISO)", which establishes standards of MPEG-1, MPEG-2, MPEG-4 and the like. H.264 is a new digital video coding standard commonly defined by the Joint Video Team (JVT) jointly built by two organizations, so it is both ITU-T's H.264 and ISO/IEC's MPEG-4 Advanced Video Coding (AVC), and it will become part10 of the MPEG-4 standard. Thus, reference to H.264 is made regardless of whether MPEG-4AVC, MPEG-4Part10, or ISO/IEC 14496-10.
Step 105: and transmitting the audio and video data stream after the coding processing to the vehicle-mounted terminal.
In this step, the audio and video data stream after the encoding process may be specifically sent to the vehicle-mounted terminal (for example, 2C) through a Socket protocol.
Wherein, at least one pair of port numbers (i.e. socket) is required for establishing the network communication connection. Socket is essentially A Programming Interface (API), and the TCP/IP is also an interface for programmers to use for network development, that is, Socket programming interface, for example, HTTP is a car, provides a specific form of encapsulating or displaying data, Socket is an engine, and provides network communication capability.
Socket, also commonly referred to as "Socket," is used to describe IP addresses and ports, and is a handle of a communication chain that can be used to implement communication between different virtual machines or different computers. A host computer on the Internet typically runs a plurality of service software, providing several services simultaneously. Each service opens a Socket and binds to a port, with different ports corresponding to different services.
In this step, the audio and video data stream is sent to the vehicle-mounted terminal through a Socket protocol, which is a well-known technology for those skilled in the art and will not be described herein again.
In the embodiment of the invention, when the mobile terminal is connected with the vehicle-mounted terminal on the mobile command car, for example, when the mobile terminal (such as a mobile phone) is watched through the vehicle-mounted terminal on the mobile command car or the mobile terminal is communicated with a palm of the mobile phone, the camera is opened, the acquisition angle of the camera is 90 degrees when the screen of the mobile terminal is set to be horizontal, then the original audio and video data stream is acquired through the camera, the audio and video data stream is encoded, and finally the encoded audio and video data stream is sent to the vehicle-mounted terminal on the mobile command car for display. That is to say, in the embodiment of the present invention, the acquisition angle of the camera is initially set, so that the picture displayed by the audio-video data stream output to the other party is unchanged under the condition that the system defaults to the screen state. The efficiency of the emergency command of the video link is reduced, and the user experience is improved.
Referring to fig. 2, another flow chart of a method for transmitting audio and video data streams according to an embodiment of the present invention is shown, where the method includes:
step 201: when the mobile terminal is connected with a vehicle-mounted terminal on a mobile command car, a camera is opened;
step 202: setting the acquisition angle of a camera to be 90 degrees when the screen of the mobile terminal is horizontal;
wherein, step 201 and step 202 are the same as step 101 and step 102, and are described in detail above, and are not described herein again.
Step 203: monitoring whether the screen of the mobile terminal is switched horizontally or vertically; if the screen is switched to the vertical screen, executing step 204; if the screen is switched to the landscape screen, executing step 205;
in the step, after the mobile terminal sets the acquisition angle of the camera when the screen is in a horizontal screen, whether the screen state of the mobile terminal changes or not is monitored, namely, the mobile terminal is switched from the horizontal screen to the vertical screen, or from the vertical screen to the horizontal screen, and the like. It should be noted that the screen change of the mobile terminal herein refers to switching between horizontal and vertical screens. The specific determination method is well known to those skilled in the art and will not be described herein.
Step 204: adjusting the acquisition angle of the camera to 0 degree, and exchanging the length and width parameters of the screen; then step 206 is executed;
in this step, if it is monitored that the screen state of the mobile terminal is switched from the horizontal screen state to the vertical screen state without any person, the acquisition angle of the camera needs to be adjusted, that is, the acquisition angle of the camera is adjusted from 90 degrees to 0 degrees, so that the subsequently acquired audio and video data streams and the pictures displayed by the audio and video data streams acquired by the horizontal screen cannot be turned over. For example, the parameters of the length and width of the screen may include, but are not limited to, screen resolution, such as: 1920 x 1080, 1280 x 720, etc. Where 1920 × 1080 indicates the screen resolution, 1920 pixels in the horizontal direction and 1080 pixels in the vertical direction. Similarly, 1280 × 720 also indicates screen resolution, with 1280 pixels in the horizontal direction and 720 pixels in the vertical direction.
Step 205: keeping the acquisition angle of the camera at 90 degrees, and keeping the length and width parameters of the screen unchanged; then step 206 is executed;
in this step, if the screen state of the mobile terminal is not changed, that is, the screen state is still the default landscape screen state, the collection angle of the camera is continuously kept to be still 90 degrees, which is the default angle.
Step 206: acquiring an original audio and video data stream through the set or adjusted camera;
step 207: encoding the original audio-video data stream;
step 208: and transmitting the audio and video data stream after the coding processing to the vehicle-mounted terminal.
The steps 206 to 208 are the same as the steps 103 to 105, and are described in detail above, and are not described herein again.
In the embodiment of the invention, when the mobile terminal monitors that the state of the screen of the mobile terminal changes, the acquisition angle of the camera is adjusted, so that the problem that a mobile phone live broadcast picture or a call is watched on a vehicle-mounted terminal of a mobile command car is solved, and the picture displayed by the vehicle-mounted terminal is unchanged (namely upright) no matter a transverse screen or a vertical screen of the mobile phone, so that the efficiency of the video-coupled emergency command is reduced, and the user experience is improved.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 3, a block diagram of a structure of an apparatus for transmitting audio and video data streams according to an embodiment of the present invention is shown, where the apparatus may be applied to a video network, and specifically may include the following modules: a starting module 31, a setting module 32, an obtaining module 33, an encoding processing module 34 and a sending module 35, wherein,
the starting module 31 is used for starting the camera when the mobile terminal establishes connection with the vehicle-mounted terminal on the mobile command car;
the setting module 32 is used for setting the acquisition angle of the camera to be 90 degrees when the screen of the device is horizontal;
an obtaining module 33, configured to obtain an original audio and video data stream through the camera set by the setting module 32;
the encoding processing module 34 is configured to perform encoding processing on the original audio and video data stream;
and the sending module 35 is configured to send the audio and video data stream after the encoding processing to the vehicle-mounted terminal.
Optionally, in another embodiment, on the basis of the above embodiment, the apparatus may further include: the monitoring module 41, the adjusting module 42 and the holding module 43 are schematically shown in fig. 4, wherein,
a monitoring module 41, configured to monitor whether a screen of the device is switched between horizontal and vertical screens;
the adjusting module 42 is configured to adjust the acquisition angle of the camera to 0 degree when the monitoring module 41 monitors that the screen of the device is switched to a vertical screen, and the length and width parameters of the screen are interchanged;
the obtaining module 33 is further configured to obtain an original audio and video data stream through the camera adjusted by the adjusting module 42;
and the maintaining module 43 is configured to maintain the acquisition angle of the camera of the device at 90 degrees and keep the length and width parameters of the screen unchanged when the monitoring module 41 monitors that the screen of the device is switched to the horizontal screen.
Optionally, in another embodiment, on the basis of the foregoing embodiment, the encoding process is specifically configured to perform an h.264 encoding process on the original audio and video data stream.
Optionally, in another embodiment, on the basis of the foregoing embodiment, the sending module is specifically configured to send the audio and video data stream after the encoding processing to the vehicle-mounted terminal through a Socket protocol.
Optionally, the apparatus may be integrated on a mobile terminal, or may be deployed independently, which is not limited in this embodiment.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
In the embodiment of the invention, when the mobile terminal monitors that the state of the screen of the mobile terminal changes, the acquisition angle of the camera is adjusted, so that the problem that a mobile phone live broadcast picture or a call is watched on a vehicle-mounted terminal of a mobile command car is solved, and the picture displayed by the vehicle-mounted terminal is unchanged (namely upright) no matter a transverse screen or a vertical screen of the mobile phone, so that the efficiency of the video-coupled emergency command is reduced, and the user experience is improved.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
Preferably, an embodiment of the present invention further provides a mobile terminal, which includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor, where the computer program, when executed by the processor, implements each process of the foregoing audio and video data stream transmission method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the foregoing audio and video data stream transmission method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The foregoing describes in detail a transmission method of audio and video data streams, a transmission device of audio and video data streams, and a terminal thereof, where a specific example is applied to explain the principle and the implementation of the present invention, and the description of the foregoing embodiment is only used to help understand the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A transmission method of audio-video data streams is applied to video networking and comprises the following steps:
when the mobile terminal is connected with a vehicle-mounted terminal on a mobile command car, a camera is opened;
setting the acquisition angle of a camera to be 90 degrees when the screen of the mobile terminal is horizontal;
acquiring an original audio and video data stream through the set camera;
encoding the original audio-video data stream;
and transmitting the audio and video data stream after the coding processing to the vehicle-mounted terminal.
2. The method of claim 1, further comprising:
monitoring whether the screen of the mobile terminal is switched horizontally or vertically;
if the screen is switched to the vertical screen, the acquisition angle of the camera is adjusted to be 0 degree, and the length and width parameters of the screen are interchanged; the method for acquiring the original audio and video data stream through the set camera specifically comprises the following steps: acquiring an original audio and video data stream through the adjusted camera;
and if the screen is switched to the transverse screen, keeping the acquisition angle of the camera at 90 degrees, and keeping the length and width parameters of the screen unchanged.
3. Method according to claim 1 or 2, characterized in that said encoding of said original stream of audiovisual data comprises:
and carrying out H.264 coding processing on the original audio and video data stream.
4. The method according to claim 1 or 2, wherein the sending the audio-video data stream after the encoding process to the vehicle-mounted terminal comprises:
and sending the audio and video data stream subjected to coding processing to the vehicle-mounted terminal through a Socket protocol.
5. An audio-visual data stream transmission device, which is applied to video networking, comprising:
the starting module is used for starting the camera when the mobile terminal is connected with the vehicle-mounted terminal on the mobile command car;
the setting module is used for setting the acquisition angle of the camera to be 90 degrees when the screen of the device is horizontal;
the acquisition module is used for acquiring an original audio and video data stream through the camera set by the setting module;
the coding processing module is used for coding the original audio and video data stream;
and the sending module is used for sending the audio and video data stream after the coding processing to the vehicle-mounted terminal.
6. The apparatus of claim 5, further comprising:
the monitoring module is used for monitoring whether the screen of the device is switched horizontally and vertically;
the adjusting module is used for adjusting the acquisition angle of the camera to 0 degree when the monitoring module monitors that the screen of the device is switched to a vertical screen, and the length and width parameters of the screen are interchanged;
the acquisition module is further used for acquiring an original audio and video data stream through the adjusted camera;
and the maintaining module is used for maintaining the acquisition angle of a camera of the device to be 90 degrees when the monitoring module monitors that the screen of the device is switched to the transverse screen, and the length and width parameters of the screen are unchanged.
7. The apparatus of claim 5 or 6,
the encoding process is specifically configured to perform an h.264 encoding process on the original audio/video data stream.
8. The apparatus of claim 5 or 6,
the sending module is specifically configured to send the audio and video data stream subjected to encoding processing to the vehicle-mounted terminal through a Socket protocol.
9. A mobile terminal, comprising: memory, processor and computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the transmission method of audiovisual data streams as claimed in any of claims 1 to 4.
10. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps in the method for transmitting an audio-visual data stream according to any one of claims 1 to 4.
CN201810606755.4A 2018-06-13 2018-06-13 Audio-video data stream transmission method and device and terminal Pending CN110602440A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810606755.4A CN110602440A (en) 2018-06-13 2018-06-13 Audio-video data stream transmission method and device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810606755.4A CN110602440A (en) 2018-06-13 2018-06-13 Audio-video data stream transmission method and device and terminal

Publications (1)

Publication Number Publication Date
CN110602440A true CN110602440A (en) 2019-12-20

Family

ID=68849114

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810606755.4A Pending CN110602440A (en) 2018-06-13 2018-06-13 Audio-video data stream transmission method and device and terminal

Country Status (1)

Country Link
CN (1) CN110602440A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111372047A (en) * 2020-03-02 2020-07-03 杭州普维云技术有限公司 An intelligent moving head camera
CN111988632A (en) * 2020-08-31 2020-11-24 上海博泰悦臻网络技术服务有限公司 Audio-visual entertainment device of vehicle and control method thereof
CN112532905A (en) * 2020-12-09 2021-03-19 杭州鸿泉物联网技术股份有限公司 Vehicle-mounted audio and video frame data processing method and device

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1455613A (en) * 2002-04-26 2003-11-12 日本电气株式会社 Foldable portable telephone with display part and a pair of front camera part
CN1812560A (en) * 2005-01-26 2006-08-02 乐金电子(惠州)有限公司 Image conversion equipment attached to camera head type portable information terminating machine
CN203563136U (en) * 2013-10-23 2014-04-23 北京播思无线技术有限公司 A mobile terminal capable of maintaining recorded videos in the horizontal state
CN103763505A (en) * 2013-12-31 2014-04-30 华为技术有限公司 Method and device suitable for screen direction switching in video call
CN104243830A (en) * 2014-09-29 2014-12-24 广东欧珀移动通信有限公司 Method and device for controlling camera to rotate
CN104469119A (en) * 2013-09-12 2015-03-25 联想(北京)有限公司 Information processing method and electronic equipment
CN106101553A (en) * 2016-07-27 2016-11-09 维沃移动通信有限公司 A kind of photographic method and mobile terminal
CN106331489A (en) * 2016-08-25 2017-01-11 天脉聚源(北京)传媒科技有限公司 Adjusting method and device of shooting interface
US20170064168A1 (en) * 2009-06-29 2017-03-02 Kendyl A. Roman Optical Adapters for Mobile Devices with a Camera
CN106484349A (en) * 2016-09-26 2017-03-08 腾讯科技(深圳)有限公司 The treating method and apparatus of live information
CN107592446A (en) * 2016-07-06 2018-01-16 腾讯科技(深圳)有限公司 A kind of method of video image processing, apparatus and system

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1455613A (en) * 2002-04-26 2003-11-12 日本电气株式会社 Foldable portable telephone with display part and a pair of front camera part
CN1812560A (en) * 2005-01-26 2006-08-02 乐金电子(惠州)有限公司 Image conversion equipment attached to camera head type portable information terminating machine
US20170064168A1 (en) * 2009-06-29 2017-03-02 Kendyl A. Roman Optical Adapters for Mobile Devices with a Camera
CN104469119A (en) * 2013-09-12 2015-03-25 联想(北京)有限公司 Information processing method and electronic equipment
CN203563136U (en) * 2013-10-23 2014-04-23 北京播思无线技术有限公司 A mobile terminal capable of maintaining recorded videos in the horizontal state
CN103763505A (en) * 2013-12-31 2014-04-30 华为技术有限公司 Method and device suitable for screen direction switching in video call
CN104243830A (en) * 2014-09-29 2014-12-24 广东欧珀移动通信有限公司 Method and device for controlling camera to rotate
CN107592446A (en) * 2016-07-06 2018-01-16 腾讯科技(深圳)有限公司 A kind of method of video image processing, apparatus and system
CN106101553A (en) * 2016-07-27 2016-11-09 维沃移动通信有限公司 A kind of photographic method and mobile terminal
CN106331489A (en) * 2016-08-25 2017-01-11 天脉聚源(北京)传媒科技有限公司 Adjusting method and device of shooting interface
CN106484349A (en) * 2016-09-26 2017-03-08 腾讯科技(深圳)有限公司 The treating method and apparatus of live information

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111372047A (en) * 2020-03-02 2020-07-03 杭州普维云技术有限公司 An intelligent moving head camera
CN111372047B (en) * 2020-03-02 2021-02-26 杭州普维云技术有限公司 An intelligent moving head camera
CN111988632A (en) * 2020-08-31 2020-11-24 上海博泰悦臻网络技术服务有限公司 Audio-visual entertainment device of vehicle and control method thereof
CN111988632B (en) * 2020-08-31 2023-08-25 上海博泰悦臻网络技术服务有限公司 Audio-visual entertainment device of vehicle and control method thereof
CN112532905A (en) * 2020-12-09 2021-03-19 杭州鸿泉物联网技术股份有限公司 Vehicle-mounted audio and video frame data processing method and device
CN112532905B (en) * 2020-12-09 2022-09-23 杭州鸿泉物联网技术股份有限公司 Vehicle-mounted audio and video frame data processing method and device

Similar Documents

Publication Publication Date Title
US10897614B2 (en) Method and an apparatus and a computer program product for video encoding and decoding
CN111295884B (en) Image processing apparatus and image processing method
CN109155854B (en) Encoding device, decoding device, encoding method, and decoding method
CN111801943B (en) Chroma block prediction method, apparatus for encoding and decoding video data, and encoding and decoding apparatus
CN109076246B (en) Video encoding method and system using image data correction mask
CN104126306B (en) Image processing device and method
KR102343700B1 (en) Video transmission based on independently encoded background updates
US20200314502A1 (en) Bandwidth Efficient Multiple User Panoramic Video Stream Delivery System and Method
US8803991B2 (en) Snapshot capture in video stream
WO2022013326A1 (en) Viewport dependent delivery methods for omnidirectional conversational video
DE112017001540T5 (en) METHOD AND DEVICE FOR CODING VIDEO USING SIGNAL DEPENDENT ADAPTIVE QUANTIZATION AND DECODING
US20140160239A1 (en) System and method for depth-guided filtering in a video conference environment
CN105532008A (en) User-adaptive video telephony
WO2018040577A1 (en) Method and system for realizing adaptive screen rotation in image collection process
WO2013127126A1 (en) Video image sending method, device and system
CN110602440A (en) Audio-video data stream transmission method and device and terminal
US20160057355A1 (en) Decoder and monitor system
CN103957391A (en) Method and system for displaying videos of all parties at same time during multi-party call in video intercom
US20020154331A1 (en) Image data transmission apparatus and image data receiving apparatus
US8768140B2 (en) Data processing unit and data encoding device
US20110317921A1 (en) Information processing equipment and method, and information processing system
Hu et al. Mobile edge assisted live streaming system for omnidirectional video
JP2015119335A (en) Terminal, system, program and method to thin out frame of photographed moving image in accordance with movement change amount
Misu et al. Real-time video coding system for up to 4K 120P videos with spatio-temporal format conversion
JP2012134874A (en) Tv conference system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20191220