CN109005453B - Video stream playing control method and electronic equipment - Google Patents
Video stream playing control method and electronic equipment Download PDFInfo
- Publication number
- CN109005453B CN109005453B CN201810878662.7A CN201810878662A CN109005453B CN 109005453 B CN109005453 B CN 109005453B CN 201810878662 A CN201810878662 A CN 201810878662A CN 109005453 B CN109005453 B CN 109005453B
- Authority
- CN
- China
- Prior art keywords
- video
- video stream
- video source
- electronic device
- playing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
- H04N21/44008—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics in the video stream
-
- 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/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
- H04N21/4402—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
- H04N21/440218—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by transcoding between formats or standards, e.g. from MPEG-2 to MPEG-4
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/222—Studio circuitry; Studio devices; Studio equipment
- H04N5/262—Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
- H04N5/268—Signal distribution or switching
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/01—Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/01—Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level
- H04N7/0125—Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level one of the standards being a high definition standard
Abstract
The embodiment of the invention provides a video stream playing control method and electronic equipment, wherein the video stream playing control method is applied to the electronic equipment and comprises the following steps: acquiring a video stream; determining a video source from the video stream; the video sources include a first video source from an electronic device and a second video source of a second electronic device different from the electronic device; according to the control instruction, when the video source is a first video source, switching to a first play mode for playing the first video source; and when the video source is a second video source, switching to a second play mode for playing the second video source. According to the video stream playing control method and the electronic equipment, the playing mode is switched according to the video source, the input and the output of the video stream of the electronic equipment can be realized, the equipment such as an image capturing box in the prior art is not required to be arranged, and the use is more convenient for users.
Description
Technical Field
The embodiment of the invention relates to the technical field of video playing control, in particular to a video stream playing control method and electronic equipment.
Background
The video interface of the computer generally includes an HDMI interface and a DP interface, and the HDMI interface and the DP interface are mainly used for outputting a video signal, for example, outputting the video signal to a projector or another display, but the HDMI interface and the DP interface cannot be used for inputting a video signal, and another electronic device generally needs to convert the video signal into a PCIE or USB signal when inputting the video signal to the notebook computer.
For example, taking the current popular live webcast as an example, a game player needs to transmit a game screen on an electronic device to an image capture box through an HDMI interface, and then convert an HDMI signal into a PCIE signal or a USB signal by affecting the capture box and transmit the converted signal to another electronic device, and needs to purchase additional conversion equipment, and the connection relationship is complex.
Disclosure of Invention
In view of the foregoing problems in the prior art, embodiments of the present invention provide a video stream playing control method and an electronic device, so that the electronic device can implement input and output of a video stream.
In order to solve the above problems, the embodiment of the present invention provides the following technical solutions:
a video stream playing control method is applied to an electronic device and comprises the following steps: acquiring a video stream; determining a video source from the video stream; the video sources include a first video source from the electronic device and a second video source of a second electronic device different from the electronic device; according to a control instruction, when the video source is a first video source, switching to a first play mode for playing the first video source; and when the video source is a second video source, switching to a second play mode for playing the second video source.
As an improvement of the embodiment of the present invention, the acquiring a video stream includes: obtaining a video stream from a processor of the electronic device; or an external video stream obtained from a multimedia interface.
In a further improvement, the multimedia interface is an HDMI interface.
In a further improvement, when the first play mode for playing the first video source is switched, the video stream is obtained from the processor and output to the HDMI interface.
The improvement is that when the video playing mode is switched to a second playing mode for playing a second video source, the video stream is input through the HDMI signal and then is converted into an MIPI signal to be output.
An electronic device, comprising: a multimedia interface configured to input/output a video stream; a display unit configured to display a video stream; a processor configured to determine a video source from the video stream; the video sources include a first video source from the electronic device and a second video source of a second electronic device different from the electronic device; the switching unit is configured to switch to a first playing mode for playing a first video source when the video source is the first video source according to a control instruction; and when the video source is a second video source, switching to a first play mode for playing the second video source.
As an improvement of the embodiment of the invention, the processor is further configured to: obtaining a video stream from a processor of the electronic device; or an external video stream obtained from a multimedia interface.
In a further improvement, the multimedia interface is an HDMI interface.
In a further improvement, the switching unit obtains the video stream from the processor and outputs the video stream to the multimedia interface when switching to a first play mode for playing a first video source.
In a further improvement, when the switching unit is switched to a second play mode for playing a second video source, the video stream is input through the HDMI signal and then is converted into an MIPI signal for output.
Compared with the prior art, the embodiment of the invention has the beneficial effects that:
according to the video stream playing control method and the electronic equipment provided by the embodiment of the invention, the processor determines the video source according to the acquired video stream, when the video source is the first video source, namely the video source is from the electronic equipment, the first playing mode for playing the first video source is switched, and the video stream is output to another display device through the multimedia interface to be played; when the video source is a second video source, namely when a second electronic device different from the electronic device inputs the video stream to the electronic device through the multimedia interface, the second electronic device switches to a second playing mode for playing the second video source, and the video stream is played through a display unit of the electronic device. According to the video source switching play mode, the input and the output of the video stream of the electronic equipment can be realized, the equipment such as an image capturing box in the prior art does not need to be arranged, and the use of a user is more convenient.
Drawings
Fig. 1 is a schematic flow chart illustrating a video stream playing control method according to an embodiment of the present invention;
fig. 2 is a block diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the embodiments of the present invention better understood, the present invention will be described in detail with reference to the accompanying drawings and the detailed description.
Referring to fig. 1, an embodiment of the present invention provides a video stream playing control method, which is applied to an electronic device, where the electronic device may be a notebook computer, a tablet computer, and the like, and is not listed here. The video stream playing control method comprises the following steps: acquiring a video stream; determining a video source from the video stream; the video sources include a first video source from an electronic device and a second video source of a second electronic device different from the electronic device; according to the control instruction, when the video source is a first video source, switching to a first play mode for playing the first video source; and when the video source is a second video source, switching to a second play mode for playing the second video source.
In the technical scheme of the embodiment of the invention, the electronic equipment acquires the video stream, determines the video source according to the acquired video stream, switches to a first playing mode for playing the first video source when the video source is the first video source, namely the video source is from the electronic equipment, and outputs the video stream to a display device for playing; when the video source is a second video source, that is, the video source is a second video source input from a second electronic device different from the electronic device, the method switches to a second play mode for playing the second video source, and plays the video stream through, for example, the electronic device. According to the video source switching play mode, the input and the output of the video stream of the electronic equipment can be realized, the equipment such as an image capturing box in the prior art does not need to be arranged, and the use of a user is more convenient.
In some embodiments, the electronic device may be, for example, a laptop computer, and obtaining the video stream may be obtaining the video stream from a processor of the laptop computer. For example, when a user is playing a game through the notebook computer, a video stream during the game can be obtained through the processor of the notebook computer and output to the display device for live broadcasting through, for example, a multimedia interface.
In other embodiments, the acquired video stream may also be an external video stream acquired from the multimedia interface, i.e. an input video stream through the multimedia interface. For example, when a user is playing a game through XBOX or PS4, the XBOX or PS4 may be connected to a multimedia interface and output a video stream on XBOX or PS4 to the electronic device, which may also be a laptop computer, and after the video stream on XBOX or PS4 is output to the laptop computer, the video stream may be live broadcast through the laptop computer, or may be processed through the laptop computer, for example, audio for explaining the video stream is added, or the video stream may be live broadcast through the laptop computer.
In some embodiments, when switching to a first playback mode in which the first video source is played back, the video stream is obtained from the processor and output to the HDMI interface. When a user, for example, the notebook computer plays a game, the processor of the notebook computer obtains a game image, and the game image is transmitted to the HDMI interface to form a video stream, and then the video stream is transmitted to a display device, such as a projector or a display, for live broadcast through the HDMI interface in real time. The live broadcast can be carried out through the display equipment while the game playing of a user is not influenced, the HDMI does not need to carry out digital/analog or analog/digital conversion before signal transmission, the definition of a video picture is high, and the HDMI also can simultaneously carry out traditional audio signals, so that a viewer can feel the game process more really.
In some other embodiments, the multimedia interface may be an HDMI interface, and when the second playback mode for playing the second video source is switched, the video stream is input through the HDMI signal and then converted into an MIPI signal for output. Still referring to the electronic device as a notebook computer, when a user plays a game through, for example, XBOX or PS4, the XBOX or PS4 may be connected to the HDMI interface of the notebook computer through an HDMI data line, and by switching the play mode, a video stream on the XBOX or PS4 may be input to the HDMI interface of the notebook computer through an HDMI signal, and then the HDMI signal is converted into an MIPI signal through, for example, a converter, and then the MIPI signal is input to the processor of the notebook computer. Conversion devices such as image capturing boxes in the prior art do not need to be arranged between the XBOX or PS4 and the notebook computer, the connection relation is simple, and the use is more convenient for users. After the video stream is sent to the notebook computer, the video stream can be live broadcast through the notebook computer, or the video stream can be processed through the notebook computer, for example, audio for explaining the video stream is added, or the video stream is live broadcast through the notebook computer.
Referring to fig. 2, an embodiment of the present invention further provides an electronic device, which includes a multimedia interface, a display unit, a processor, and a switching unit, where the multimedia interface is configured to input/output a video stream; the display unit is configured to display the video stream; the processor is configured to determine a video source from the video stream; the video sources include a first video source from an electronic device and a second video source of a second electronic device different from the electronic device; the switching unit is configured to switch to a first play mode for playing a first video source when the video source is the first video source according to the control instruction; and when the video source is a second video source, switching to a first play mode for playing the second video source.
In the technical solution of the embodiment of the present invention, the processor determines a video source according to the acquired video stream, and when the video source is a first video source, that is, the video source is from the electronic device, switches to a first play mode for playing the first video source, and outputs the video stream to, for example, another display device through the multimedia interface to implement playing; when the video source is a second video source, namely when a second electronic device different from the electronic device inputs the video stream to the electronic device through the multimedia interface, the second electronic device switches to a second playing mode for playing the second video source, and the video stream is played through a display unit of the electronic device. According to the video source switching play mode, the input and the output of the video stream of the electronic equipment can be realized, and the equipment such as an image capturing box in the prior art does not need to be arranged, so that the use is more convenient.
In some embodiments, the electronic device may be, for example, a laptop computer, and obtaining the video stream may be obtaining the video stream from a processor of the laptop computer. For example, when a user is playing a game through the notebook computer, the display end of the notebook computer can display a game picture, but the game picture is not convenient for the audience to watch, and the operation of the user is influenced when the user watches the game picture, at this time, a video stream in the game process can be acquired through the processor of the notebook computer, and the video stream is output to another display device such as a projector or a digital television through a multimedia interface for live broadcasting, so that the audience can watch the video stream conveniently.
In other embodiments, the acquired video stream may also be an external video stream acquired from the multimedia interface, i.e. an input video stream through the multimedia interface. For example, when a user is playing a game through XBOX or PS4, the user cannot process or network-live game video through the XBOX or PS 4. At this time, the XBOX or PS4 may be connected to a multimedia interface, and the video stream on the XBOX or PS4 is output to the electronic device, the electronic device may also be a notebook computer, and after the video stream on the XBOX or PS4 is output to the notebook computer, the video stream may be live broadcast by the notebook computer, or the video stream may be processed by the notebook computer, for example, audio for explaining the video stream is added, or the video stream may be live broadcast by the notebook computer through a network.
In some embodiments, when the switching unit switches to a first playback mode in which the first video source is played back, the video stream is obtained from the processor and output to the HDMI interface. Continuing with the description of the embodiment of the present invention with the electronic device as a notebook computer, when a user, for example, the notebook computer plays a game, the video stream may be obtained from a processor of the notebook computer, and transmitted to the HDMI interface, and then transmitted to a display device, such as a projector or a display, for live broadcast in real time through the HDMI interface. The live broadcast can be carried out through the display equipment without influencing the game operation of the user, so that the watching of audiences is facilitated. And because the HDMI interface does not need to carry out digital/analog or analog/digital conversion before signal transmission, the definition of a video picture is higher, and the HDMI interface can also simultaneously carry out traditional audio signals, so that a viewer can feel the game process more truly.
In some other embodiments, the multimedia interface may be an HDMI interface, and when the switching unit switches to a second play mode for playing a second video source, the video stream is input through an HDMI signal and then converted into an MIPI signal for output. Still taking the electronic device as a notebook computer to describe the embodiment of the present invention, when a user plays a game through, for example, XBOX or PS4, the XBOX or PS4 may be connected to the HDMI interface of the notebook computer through an HDMI data line, and by switching the playback mode, a video stream on the XBOX or PS4 may be input to the HDMI interface of the notebook computer through an HDMI signal, and then the HDMI signal is converted into an MIPI signal, and then the MIPI signal is input to the processor of the notebook computer. Conversion devices such as image capturing boxes in the prior art do not need to be arranged between the XBOX or PS4 and the notebook computer, the connection relation is simple, and the use is more convenient for users. After the video stream is sent to the notebook computer, the video stream can be live broadcast through the notebook computer, or the video stream can be processed through the notebook computer, for example, audio for explaining the video stream is added, or the video stream is live broadcast through the notebook computer. Optionally, the switching unit may include a switching chip and a conversion chip, the switching chip is used for switching the play mode, and the conversion chip is used for converting the HDMI signal into the MIPI signal.
According to the video stream playing control method and the electronic equipment provided by the embodiment of the invention, the processor determines the video source according to the acquired video stream, when the video source is the first video source, namely the video source is from the electronic equipment, the first playing mode for playing the first video source is switched, and the video stream is output to another display device through the multimedia interface to be played; when the video source is a second video source, namely when a second electronic device different from the electronic device inputs the video stream to the electronic device through the multimedia interface, the second electronic device switches to a second playing mode for playing the second video source, and the video stream is played through a display unit of the electronic device. According to the video source switching play mode, the input and the output of the video stream of the electronic equipment can be realized, the equipment such as an image capturing box in the prior art does not need to be arranged, and the use of a user is more convenient.
The above embodiments are only exemplary embodiments of the present invention, and are not intended to limit the present invention, and the scope of the present invention is defined by the claims. Various modifications and equivalents may be made by those skilled in the art within the spirit and scope of the present invention, and such modifications and equivalents should also be considered as falling within the scope of the present invention.
Claims (2)
1. A video stream playing control method is applied to an electronic device and comprises the following steps:
acquiring a video stream from a processor of the electronic equipment or acquiring an external video stream from a multimedia interface; the multimedia interface is an HDMI interface;
determining a video source from the video stream; the video sources include a first video source from the electronic device and a second video source of a second electronic device different from the electronic device;
according to a control instruction, when the video source is a first video source, switching to a first play mode for playing the first video source through a switching chip, obtaining the video stream from the processor, and outputting the video stream to another display device through a multimedia interface for playing;
when the video source is a second video source, the switching chip is switched to a second playing mode for playing the second video source, the video stream input through the HDMI interface is transmitted to the conversion chip, the HDMI signal is converted into an MIPI signal through the conversion chip and transmitted to the processor of the electronic equipment, and the video stream is processed through the processor of the electronic equipment.
2. An electronic device, comprising:
a multimedia interface configured to acquire a video stream input from the outside or output a video stream acquired from a processor of the electronic device; the multimedia interface is an HDMI interface;
a display unit configured to display a video stream;
a processor configured to determine a video source from the video stream; the video sources include a first video source from the electronic device and a second video source of a second electronic device different from the electronic device;
the switching unit comprises a switching chip and a conversion chip, and is configured to switch to a first playing mode for playing a first video source through the switching chip according to a control instruction when the video source is the first video source, obtain the video stream from the processor, and output the video stream to another display device through a multimedia interface for playing; when the video source is a second video source, switching to a second playing mode for playing the second video source through the switching chip, and transmitting the video stream input through the HDMI interface to the conversion chip; the conversion chip is configured to convert the HDMI signal into an MIPI signal and transmit the MIPI signal to the processor of the electronic device, so that the video stream is processed by the processor of the electronic device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810878662.7A CN109005453B (en) | 2018-08-03 | 2018-08-03 | Video stream playing control method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810878662.7A CN109005453B (en) | 2018-08-03 | 2018-08-03 | Video stream playing control method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109005453A CN109005453A (en) | 2018-12-14 |
CN109005453B true CN109005453B (en) | 2022-03-08 |
Family
ID=64595216
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810878662.7A Active CN109005453B (en) | 2018-08-03 | 2018-08-03 | Video stream playing control method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109005453B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202095032U (en) * | 2011-05-23 | 2011-12-28 | 联想(北京)有限公司 | High definition video signal player and electronic device possessing same |
CN103997677A (en) * | 2014-05-06 | 2014-08-20 | 深圳创维数字技术股份有限公司 | Audio and video play method and play device |
CN105979118A (en) * | 2016-05-03 | 2016-09-28 | 乐视控股(北京)有限公司 | Video processing system and multimedia playing device provided with same |
CN106028137A (en) * | 2016-06-22 | 2016-10-12 | 北京小米移动软件有限公司 | Live streaming processing method and apparatus |
WO2016183763A1 (en) * | 2015-05-18 | 2016-11-24 | Hewlett-Packard Development Company, L.P. | Audio and video processors |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8704833B2 (en) * | 2007-06-06 | 2014-04-22 | Apple Inc. | Method and apparatus for displaying a video signal on a computer system |
-
2018
- 2018-08-03 CN CN201810878662.7A patent/CN109005453B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202095032U (en) * | 2011-05-23 | 2011-12-28 | 联想(北京)有限公司 | High definition video signal player and electronic device possessing same |
CN103997677A (en) * | 2014-05-06 | 2014-08-20 | 深圳创维数字技术股份有限公司 | Audio and video play method and play device |
WO2016183763A1 (en) * | 2015-05-18 | 2016-11-24 | Hewlett-Packard Development Company, L.P. | Audio and video processors |
CN105979118A (en) * | 2016-05-03 | 2016-09-28 | 乐视控股(北京)有限公司 | Video processing system and multimedia playing device provided with same |
CN106028137A (en) * | 2016-06-22 | 2016-10-12 | 北京小米移动软件有限公司 | Live streaming processing method and apparatus |
Also Published As
Publication number | Publication date |
---|---|
CN109005453A (en) | 2018-12-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2016004857A1 (en) | One-screen sharing method, apparatus, and system | |
US8903523B2 (en) | Audio processing device, audio processing method, and program | |
WO2013097498A1 (en) | Synchronous display method for handheld device and tv set | |
US8869214B2 (en) | Device control apparatus, device control method and computer program | |
WO2017143663A1 (en) | Electronic exchange system and configuration method therefor | |
WO2017101361A1 (en) | Audio playback control device, video display device and audio and video playback system | |
US20170012798A1 (en) | Transmission apparatus, transmission method, reception apparatus, and reception method | |
US20130166769A1 (en) | Receiving device, screen frame transmission system and method | |
US20190130883A1 (en) | Set top box with karaoke functions | |
CN109005453B (en) | Video stream playing control method and electronic equipment | |
WO2017101360A1 (en) | Set-top box apparatus with integrated loudspeaker box | |
CN204013860U (en) | A kind of high definition interactive TV rod | |
WO2022143212A1 (en) | System and method for extracting specific stream from multiple streams transmitted in combination for playback | |
KR20050121317A (en) | Dvd reproducing device for transforming external input signal and method thereof | |
WO2017084260A1 (en) | Audio and video playing device and method | |
CN202231794U (en) | HDMI converter | |
TWI835041B (en) | Signal processing device, dongle and adaptor cable | |
CN206422850U (en) | Embedded recording and broadcasting system | |
WO2017219638A1 (en) | Signal transfer device and projection system | |
CN210606147U (en) | Multi-party video interactive teaching system of teaching all-in-one machine | |
WO2018218897A1 (en) | Video processing method and device | |
CN202979141U (en) | IPTV network television projector | |
CN201821444U (en) | High definition network player | |
CN215072677U (en) | Live broadcast device | |
CN220935251U (en) | Television signal transmission equipment |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |