WO2018192183A1 - Method and apparatus for processing video file during wireless screen delivery - Google Patents
Method and apparatus for processing video file during wireless screen delivery Download PDFInfo
- Publication number
- WO2018192183A1 WO2018192183A1 PCT/CN2017/103783 CN2017103783W WO2018192183A1 WO 2018192183 A1 WO2018192183 A1 WO 2018192183A1 CN 2017103783 W CN2017103783 W CN 2017103783W WO 2018192183 A1 WO2018192183 A1 WO 2018192183A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- video file
- receiving end
- streaming
- instruction
- play
- 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.)
- Ceased
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/41—Structure of client; Structure of client peripherals
- H04N21/422—Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
-
- 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/442—Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
- H04N21/44213—Monitoring of end-user related data
- H04N21/44222—Analytics of user selections, e.g. selection of programs or purchase activity
-
- 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/436—Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
- H04N21/4363—Adapting the video stream to a specific local network, e.g. a Bluetooth® network
- H04N21/43637—Adapting the video stream to a specific local network, e.g. a Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]
-
- 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/442—Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
- H04N21/44213—Monitoring of end-user related data
- H04N21/44218—Detecting physical presence or behaviour of the user, e.g. using sensors to detect if the user is leaving the room or changes his face expression during a TV program
-
- 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/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/63—Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
- H04N21/643—Communication protocols
-
- 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/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/63—Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
- H04N21/643—Communication protocols
- H04N21/64322—IP
Definitions
- the present invention relates to the field of computer information processing technologies, and in particular, to a method and an apparatus for processing video files in a wireless screen.
- the wireless transmission technology mainly realizes that the content and sound displayed on the screen of the source device are synchronized to the receiving device such as the projector, the television and the conference tablet, and the wireless transmission technology can process the source device (such as a computer). It is widely used in combination with the features of the receiving device (such as a TV or a conference tablet).
- the existing wireless screen transmission technology is mainly implemented by using the screen transmission software, and the corresponding screen transmission software is installed on the source device and the receiver device, and the source device and the receiver device are ensured to be in the same wireless network.
- Wireless transmission of multimedia information including pictures, audio, video, etc.
- the computer desktop screen is captured by the operating system interface and transmitted to the receiving device for display.
- the user plays the video, no special processing is performed.
- the frame is still captured frame by frame, re-encoded and sent, and re-encoding will result in loss of picture quality and frame rate, and re-encoding brings additional computational overhead, resulting in increased computer power consumption and additional system resources.
- the present invention aims to solve at least one of the technical problems existing in the prior art.
- the embodiment of the present invention provides a method for processing a video file in a wireless screen, which does not cause loss of image quality and frame rate, and does not generate additional computational overhead.
- the video file is streamed to the receiving end for streaming playback, and the wireless transmission between the source end of the wireless screen and the receiving end is stopped.
- the method for processing a video file in a wireless screen is applied to a source end in a wireless screen transmission process, and after receiving an instruction to open a video file by a user, the video file is not directly opened by using the player. Firstly, according to the format of the video file supported by the receiving end, it is determined whether the receiving end supports the streaming of the current video file, and if so, the video file is streamed to the receiving end for streaming, and the wireless transmission is stopped at the same time.
- the playback process of the video file does not need to be re-encoded, but the streaming operation is directly performed at the receiving end, which does not cause loss of image quality and frame rate, and does not cause additional computational overhead, in addition, due to playback in video During the process, the wireless screen is stopped, thus reducing the occupation of system resources.
- the method for processing a video file in a wireless screen according to the above embodiment of the present invention may further have the following additional technical features:
- the processing method before the step of detecting an instruction of a user to open a video file, the processing method further includes:
- the video file is associated to the probe program via an operating system interface to enable the video file to be opened by the probe program, the probe program for recording the user's behavior of opening the video file.
- the processing method further includes:
- the selected play instruction is a first instruction or a second instruction, where the first instruction is to stream the video file to the receiving end for streaming play, where the The second instruction is to play the video file by using a default player;
- the step of streaming the video file to the receiving end for streaming playback while stopping wireless transmission between the source end and the receiving end It
- the processing method further includes:
- the wireless terminal between the source end and the receiving end is restarted.
- the processing method After the step of determining whether the receiving end of the wireless screen supports the streaming of the video file according to whether the video file conforms to the preset information, the processing method also includes:
- the receiving end does not support the streaming of the video file, the default player is called to play the video file, and at the same time, the playing screen is acquired, and the playing screen is re-encoded and sent to the receiving end.
- the step of streaming the video file to the receiving end for streaming play includes:
- the video file is sent to the receiving end based on a TCP/IP protocol, so that the receiving end acquires and plays the video file using an HTTP or RTSP protocol.
- Another embodiment of the present invention provides a device for processing a video file in a wireless screen without causing loss of image quality and frame rate without incurring additional computational overhead.
- a device for processing a video file in a wireless screen according to an embodiment of the present invention is applied to a source end of a wireless screen, and includes:
- a detecting module configured to detect an instruction that the user opens the video file
- a determining module configured to determine, according to whether the video file meets the preset information, whether the receiving end of the wireless screen supports streaming play of the video file, where the preset information is a video file supported by the receiving end format;
- a streaming module configured to: when the determining module determines that the receiving end supports the streaming play of the video file, stream the video file to the receiving end for streaming play, and stop the source Wireless transmission between the terminal and the receiving end.
- processing device for video files in the wireless screen according to the above embodiments of the present invention may further have the following additional technical features:
- the processing device further includes:
- an association module configured to associate the video file to the probe program through an operating system interface, so that the video file can be opened by the probe program, and the probe program is used to record a behavior of the user opening the video file.
- the processing device further includes:
- a receiving determining module configured to: when the determining module determines that the receiving end supports the streaming play of the video file, receive a selective play instruction sent by the user, and determine that the selected play instruction is the first instruction or the second Instructing, the first instruction is to stream the video file to the receiving end for streaming play, and the second instruction is to play the video file by using a default player;
- the streaming module is specifically configured to: when the receiving determining module determines that the selected play instruction is the first instruction, stream the video file to the receiving end for streaming play, and stop wireless transmission Wireless transmission between the source end of the screen and the receiving end.
- the processing device further includes:
- the restarting module is configured to restart the wireless transmission between the source end and the receiving end after the receiving end plays the streaming of the video file.
- the processing device further includes:
- the calling module is configured to: when the determining module determines that the receiving end does not support the streaming play of the video file, call the default player to play the video file, and at the same time, obtain a playing screen, and play the playing The picture is re-encoded and sent to the receiving end.
- the streaming module is specifically configured to:
- the video file is sent to the receiving end based on a TCP/IP protocol, so that the receiving end acquires and plays the video file using an HTTP or RTSP protocol.
- FIG. 1 is a flowchart of a method of processing a video file in a wireless screen according to a first embodiment of the present invention
- FIG. 2 is a flowchart of a method for processing a video file in a wireless screen according to a second embodiment of the present invention
- FIG. 3 is a schematic structural diagram of a device for processing a video file in a wireless screen according to another embodiment of the present invention.
- a method for processing a video file in a wireless screen according to a first embodiment of the present invention is applied to a source end in a wireless screen transmission process.
- the source end is illustrated by using a computer as an example, and
- the receiving end of the computer is described by taking a conference tablet as an example.
- the computer and the conference tablet are respectively equipped with corresponding screen transmission software, and the computer and the conference tablet are in the same wireless network, and the two can be used in the prior art.
- the method for processing a video file in the wireless screen proposed in this embodiment includes at least the following steps:
- the user can find the pre-played video file through the resource manager on the computer. It can be understood that the user double-clicking the video file can be regarded as detecting that the user opens the video file.
- the preset information may be pre-stored in the computer, that is, what types of video files have been stored in the computer can be played by the conference tablet, and when the user receives the instruction to open the video file, the preset information is not immediately played on the computer.
- the video file first determines whether the receiving end supports the streaming of the video file according to the preset information.
- the specific criterion may be to determine whether the encapsulation format of the video file and the audio and video encoding format are supported by the conference tablet.
- Streaming playback means playing with a similar side buffer In the manner of playing the video file, since the technical content is prior art, it will not be described here.
- the video file is streamed to the conference tablet for streaming, and the wireless transmission between the computer and the conference tablet is stopped, thereby ensuring the system during streaming playback. Occupation will not be too high.
- an HTTP or RTSP server can be established at the source end, and a URL is generated, and then the video file is sent to the conference tablet through the existing communication protocol, and finally the conference tablet can be HTTP or RTSP.
- the source acquires the video file and plays it.
- the method for processing a video file in a wireless screen is applied to a source end in a wireless screen transmission process, and after receiving an instruction to open a video file by a user, the video file is not directly opened by using the player. Firstly, according to the format of the video file supported by the receiving end, it is determined whether the receiving end supports the streaming of the current video file, and if so, the video file is streamed to the receiving end for streaming, and the wireless transmission is stopped at the same time.
- the playback process of the video file does not need to be re-encoded, but the streaming operation is directly performed at the receiving end, which does not cause loss of image quality and frame rate, and does not cause additional computational overhead, in addition, due to playback in video During the process, the wireless screen is stopped, thus reducing the occupation of system resources.
- the processing method further includes:
- the video file does not meet the preset information, it is determined that the receiving end of the wireless screen does not support streaming of the video file, and at this time, the default player is called to play the video file. At the same time, the playback screen is acquired, and the playback screen is re-encoded and sent to the receiving end.
- the wireless screen transmission software may be passed in the computer after running.
- the method of reading the registry records the playing program of the current system default video file, and then directly calls the default playing program to play the video file.
- the playing screen is acquired, and the playing screen is re-encoded and sent.
- the wireless transmission process is consistent with the method of capturing the desktop frame by frame in the prior art and re-encoding and transmitting.
- the processing method further includes:
- the wireless terminal between the source end and the receiving end is restarted.
- the wireless screen between the computer and the conference tablet is restarted, that is, the wireless transmission is performed on the computer and the conference tablet according to the normal wireless transmission mode.
- a method for processing a video file in a wireless screen according to a second embodiment of the present invention is applied to a source end in a wireless screen transmission process.
- the source end is also illustrated by using a computer as an example.
- the receiving end corresponding to the computer is described by taking a conference tablet as an example.
- the computer and the conference tablet are respectively equipped with corresponding screen transmission software, and the computer and the conference tablet are in the same wireless network, and the two can carry out the prior art.
- the method for processing a video file in the wireless screen proposed in this embodiment includes at least the following steps:
- the probe program can be used as a proxy or a relay.
- the user double-clicks a video file in the operating system of the computer, and the video file is opened by the player.
- the file user double-clicks on a video file. Since the video file has been associated with the probe program, the probe program is used to open the video file, and the probe program can know the behavior of the user opening the video file, and then the subsequent playback is performed using the original player.
- the video file string is Flowing to the receiving end for streaming play, and stopping wireless transmission between the source end and the receiving end;
- the user is prompted to make a selection: a. streaming the video file to the receiving end for streaming (corresponding to the first
- the instruction is: b. playing the video file by using a default player (corresponding to the second instruction), and then performing a corresponding play mode according to the selection result of the user. If the user selects a, the video file is streamed to the receiving end for streaming playback, and the wireless screen is stopped. If the user selects b, the video file is played by the default player, and at the same time, the play screen is obtained, and the play screen is re-encoded and sent to the conference tablet.
- the progress jump and the exit play may also be performed in the computer, because the streaming mode is adopted when the conference tablet performs streaming playback, and is transmitted to The data of the conference tablet is controlled by the program, and the progress control process estimates the location of the file according to the time and the code rate, so it can be pushed from the latest key frame to realize the progress jump and exit playback in the computer. .
- the receiving end does not support the streaming play of the video file, the default player is called to play the video file, and at the same time, the playing screen is acquired, and the The playback picture is re-encoded and sent to the receiving end.
- the wireless screen between the computer and the conference tablet is restarted, that is, the wireless transmission is performed on the computer and the conference tablet according to the normal wireless transmission mode.
- a specific application environment is given below.
- the user launches the screen transmission software on the computer for desktop transmission (wireless transmission), and all desktop contents on the computer are transmitted to the receiving end (such as a television) for display.
- the receiving end such as a television
- the user needs to play a certain video file.
- the detection program detects that the file is supported by the television, prompting the user to select streaming play, and after the user selects, the desktop transmission is suspended, and the receiving end is full screen. Shows streaming video files.
- a device for processing a video file in a wireless screen is applied to a source end of a wireless screen, and includes:
- the detecting module 10 is configured to detect an instruction that the user opens the video file
- the determining module 20 is configured to determine, according to whether the video file meets the preset information, whether the receiving end of the wireless screen supports the streaming play of the video file, where the preset information is a video file supported by the receiving end.
- the stream module 30 is configured to: when the determining module determines that the receiving end supports the streaming play of the video file, stream the video file to the receiving end for streaming play, and stop the Wireless transmission between the source end and the receiving end.
- the processing device further includes:
- the association module 40 is configured to associate the video file to the probe program through an operating system interface, so that the video file can be opened by the probe program, and the probe program is used to record a behavior of the user opening the video file.
- the processing device further includes:
- the receiving determining module 50 is configured to: when the determining module 20 determines that the receiving end supports the streaming play of the video file, receive a selective play instruction sent by the user, and determine that the selected play instruction is the first instruction or a second instruction, the first instruction is to stream the video file to the receiving end for streaming, and the second instruction is to play the video file by using a default player;
- the streaming module 30 is specifically configured to: when the receiving determining module 50 determines that the selected play instruction is the first instruction, stream the video file to the receiving end for streaming play, and stop at the same time Wireless transmission between the source end and the receiving end.
- the processing device further includes:
- the restarting module 60 is configured to restart the wireless transmission between the source end and the receiving end after the receiving end plays the streaming of the video file.
- the processing device further includes:
- the calling module 70 is configured to: when the determining module determines that the receiving end does not support the streaming play of the video file, call the default player to play the video file, and at the same time, obtain a playing screen, and the The playback picture is re-encoded and sent to the receiving end.
- another embodiment of the present invention further provides a processing system for a video file in a wireless screen, comprising: a receiving device and a source device wirelessly communicating with the receiving device, wherein the source device is the above processing
- the device can be implemented in a computer manner, and the receiving device can be implemented in the form of a television or a member tablet.
- a "computer-readable medium” can be any apparatus that can contain, store, communicate, propagate, or transport a program for use in an instruction execution system, apparatus, or device, or in conjunction with such an instruction execution system, apparatus, or device.
- computer readable media include the following: electrical connections (electronic devices) having one or more wires, portable computer disk cartridges (magnetic devices), random access memory (RAM), Read only memory (ROM), erasable editable read only memory (EPROM or flash memory), fiber optic devices, and portable compact disk read only memory (CDROM).
- the computer readable medium may even be a paper or other suitable medium on which the program can be printed, as it may be optically scanned, for example by paper or other medium, followed by editing, interpretation or, if appropriate, other suitable The method is processed to obtain the program electronically and then stored in computer memory.
- portions of the invention may be implemented in hardware, software, firmware or a combination thereof.
- multiple steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system.
- a suitable instruction execution system For example, if implemented in hardware, as in another embodiment, it can be implemented by any one or combination of the following techniques well known in the art: having logic gates for implementing logic functions on data signals. Discrete logic circuits, application specific integrated circuits with suitable combinational logic gates, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Social Psychology (AREA)
- Computer Networks & Wireless Communication (AREA)
- Databases & Information Systems (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
Description
本发明涉及计算机信息处理技术领域,特别是涉及一种无线传屏中视频文件的处理方法及装置。The present invention relates to the field of computer information processing technologies, and in particular, to a method and an apparatus for processing video files in a wireless screen.
无线传屏技术主要实现将源端装置屏幕上显示的内容和声音同步到投影仪、电视机和会议平板等接收端装置进行展示,无线传屏技术能够将源端装置(如电脑)处理能力强和接收端装置(如电视机或会议平板)展示效果好的特点结合起来,因此得到了广泛应用。The wireless transmission technology mainly realizes that the content and sound displayed on the screen of the source device are synchronized to the receiving device such as the projector, the television and the conference tablet, and the wireless transmission technology can process the source device (such as a computer). It is widely used in combination with the features of the receiving device (such as a TV or a conference tablet).
现有的无线传屏技术主要采用传屏软件实现,在源端装置和接收端装置上均安装相应的传屏软件,同时保证源端装置和接收端装置在同一个无线网络中,即可实现多媒体信息(包括图片、音频、视频等)的无线传屏。The existing wireless screen transmission technology is mainly implemented by using the screen transmission software, and the corresponding screen transmission software is installed on the source device and the receiver device, and the source device and the receiver device are ensured to be in the same wireless network. Wireless transmission of multimedia information (including pictures, audio, video, etc.).
但现有的软件传屏方案中,以源端装置为电脑为例,是通过操作系统接口捕获电脑桌面画面传送至接收端装置进行显示,在处理用户播放视频的情况时,不会作出特别处理,仍然是逐帧捕获桌面,重新编码后发送,而重新编码会导致画质和帧率的损失,且重新编码带来额外的运算开销,导致电脑耗电增加,以及额外的系统资源占用。However, in the existing software transmission scheme, taking the source device as the computer as an example, the computer desktop screen is captured by the operating system interface and transmitted to the receiving device for display. When the user plays the video, no special processing is performed. The frame is still captured frame by frame, re-encoded and sent, and re-encoding will result in loss of picture quality and frame rate, and re-encoding brings additional computational overhead, resulting in increased computer power consumption and additional system resources.
发明内容Summary of the invention
本发明旨在至少解决现有技术中存在的技术问题之一。为此,本发明实施例提出一种无线传屏中视频文件的处理方法,不会导致画质和帧率的损失,且不会产生额外的运算开销。The present invention aims to solve at least one of the technical problems existing in the prior art. To this end, the embodiment of the present invention provides a method for processing a video file in a wireless screen, which does not cause loss of image quality and frame rate, and does not generate additional computational overhead.
根据本发明实施例的无线传屏中视频文件的处理方法,包括:A method for processing a video file in a wireless screen according to an embodiment of the present invention includes:
检测用户打开视频文件的指令;Detecting a user's instruction to open a video file;
根据所述视频文件是否符合预置信息来判断无线传屏的接收端是否支持所述视频文件的串流播放,所述预置信息为所述接收端支持播放的视频文件的格 式;Determining, according to whether the video file meets the preset information, whether the receiving end of the wireless screen supports the streaming play of the video file, where the preset information is a frame of the video file supported by the receiving end. formula;
若是,则将所述视频文件串流至所述接收端进行串流播放,同时停止无线传屏的源端与所述接收端之间的无线传屏。If yes, the video file is streamed to the receiving end for streaming playback, and the wireless transmission between the source end of the wireless screen and the receiving end is stopped.
根据本发明实施例的无线传屏中视频文件的处理方法,应用在无线传屏过程中的源端,在接收到用户打开视频文件的指令后,不会直接使用播放器打开该视频文件,而是首先根据接收端支持播放的视频文件的格式判断接收端是否支持当前的视频文件的串流播放,若是,则将该视频文件串流至所述接收端进行串流播放,同时会停止无线传屏,因此,视频文件的播放过程无需重新编码,而是在接收端直接进行串流播放,不会导致画质和帧率的损失,且不会造成额外的运算开销,此外,由于在视频播放过程中,无线传屏被停止,因此也降低了系统资源的占用。The method for processing a video file in a wireless screen according to an embodiment of the present invention is applied to a source end in a wireless screen transmission process, and after receiving an instruction to open a video file by a user, the video file is not directly opened by using the player. Firstly, according to the format of the video file supported by the receiving end, it is determined whether the receiving end supports the streaming of the current video file, and if so, the video file is streamed to the receiving end for streaming, and the wireless transmission is stopped at the same time. Screen, therefore, the playback process of the video file does not need to be re-encoded, but the streaming operation is directly performed at the receiving end, which does not cause loss of image quality and frame rate, and does not cause additional computational overhead, in addition, due to playback in video During the process, the wireless screen is stopped, thus reducing the occupation of system resources.
另外,根据本发明上述实施例的无线传屏中视频文件的处理方法,还可以具有如下附加的技术特征:In addition, the method for processing a video file in a wireless screen according to the above embodiment of the present invention may further have the following additional technical features:
进一步地,在本发明的一个实施例中,所述检测用户打开视频文件的指令的步骤之前,所述处理方法还包括:Further, in an embodiment of the present invention, before the step of detecting an instruction of a user to open a video file, the processing method further includes:
通过操作系统接口将所述视频文件关联至探测程序,以使所述视频文件能够被所述探测程序打开,所述探测程序用于记录用户打开视频文件的行为。The video file is associated to the probe program via an operating system interface to enable the video file to be opened by the probe program, the probe program for recording the user's behavior of opening the video file.
进一步地,在本发明的一个实施例中,所述将所述视频文件串流至所述接收端进行串流播放,同时停止所述源端与所述接收端之间的无线传屏的步骤之前,所述处理方法还包括:Further, in an embodiment of the present invention, the step of streaming the video file to the receiving end for streaming playback while stopping wireless transmission between the source end and the receiving end Previously, the processing method further includes:
接收用户发送的选择播放指令,并判断所述选择播放指令为第一指令或第二指令,所述第一指令为将所述视频文件串流至所述接收端进行串流播放,所述第二指令为采用默认播放器对所述视频文件进行播放;Receiving a selection play command sent by the user, and determining that the selected play instruction is a first instruction or a second instruction, where the first instruction is to stream the video file to the receiving end for streaming play, where the The second instruction is to play the video file by using a default player;
若判断到所述选择播放指令为所述第一指令时,执行将所述视频文件串流至所述接收端进行串流播放,同时停止所述源端与所述接收端之间的无线传屏的步骤。If it is determined that the selected play command is the first instruction, performing streaming of the video file to the receiving end for streaming play, and stopping wireless transmission between the source end and the receiving end The steps of the screen.
进一步地,在本发明的一个实施例中,所述将所述视频文件串流至所述接收端进行串流播放,同时停止所述源端与所述接收端之间的无线传屏的步骤之 后,所述处理方法还包括:Further, in an embodiment of the present invention, the step of streaming the video file to the receiving end for streaming playback while stopping wireless transmission between the source end and the receiving end It The processing method further includes:
当所述接收端对所述视频文件串流播放完成后,重新启动所述源端与所述接收端之间的无线传屏。After the streaming end of the video file is completed, the wireless terminal between the source end and the receiving end is restarted.
进一步地,在本发明的一个实施例中,所述根据所述视频文件是否符合预置信息来判断无线传屏的接收端是否支持所述视频文件的串流播放的步骤之后,所述处理方法还包括:Further, in an embodiment of the present invention, after the step of determining whether the receiving end of the wireless screen supports the streaming of the video file according to whether the video file conforms to the preset information, the processing method Also includes:
若所述接收端不支持所述视频文件的串流播放,则调用默认播放器对所述视频文件进行播放,同时,获取播放画面,将所述播放画面重新编码后发送至所述接收端。If the receiving end does not support the streaming of the video file, the default player is called to play the video file, and at the same time, the playing screen is acquired, and the playing screen is re-encoded and sent to the receiving end.
进一步地,在本发明的一个实施例中,所述将所述视频文件串流至所述接收端进行串流播放的步骤包括:Further, in an embodiment of the present invention, the step of streaming the video file to the receiving end for streaming play includes:
建立HTTP或RTSP服务器,并生成URL;Establish an HTTP or RTSP server and generate a URL;
基于TCP/IP协议将所述视频文件发送至所述接收端,以使所述接收端使用HTTP或RTSP协议获取并播放所述视频文件。The video file is sent to the receiving end based on a TCP/IP protocol, so that the receiving end acquires and plays the video file using an HTTP or RTSP protocol.
本发明的另一个实施例提出一种无线传屏中视频文件的处理装置,不会导致画质和帧率的损失,且不会产生额外的运算开销。Another embodiment of the present invention provides a device for processing a video file in a wireless screen without causing loss of image quality and frame rate without incurring additional computational overhead.
根据本发明实施例的无线传屏中视频文件的处理装置,应用在无线传屏的源端,包括:A device for processing a video file in a wireless screen according to an embodiment of the present invention is applied to a source end of a wireless screen, and includes:
检测模块,用于检测用户打开视频文件的指令;a detecting module, configured to detect an instruction that the user opens the video file;
判断模块,用于根据所述视频文件是否符合预置信息来判断无线传屏的接收端是否支持所述视频文件的串流播放,所述预置信息为所述接收端支持播放的视频文件的格式;a determining module, configured to determine, according to whether the video file meets the preset information, whether the receiving end of the wireless screen supports streaming play of the video file, where the preset information is a video file supported by the receiving end format;
串流模块,用于当所述判断模块判断到所述接收端支持所述视频文件的串流播放时,将所述视频文件串流至所述接收端进行串流播放,同时停止所述源端与所述接收端之间的无线传屏。a streaming module, configured to: when the determining module determines that the receiving end supports the streaming play of the video file, stream the video file to the receiving end for streaming play, and stop the source Wireless transmission between the terminal and the receiving end.
另外,根据本发明上述实施例的无线传屏中视频文件的处理装置,还可以具有如下附加的技术特征:In addition, the processing device for video files in the wireless screen according to the above embodiments of the present invention may further have the following additional technical features:
进一步地,在本发明的一个实施例中,所述处理装置还包括: Further, in an embodiment of the present invention, the processing device further includes:
关联模块,用于通过操作系统接口将所述视频文件关联至探测程序,以使所述视频文件能够被所述探测程序打开,所述探测程序用于记录用户打开视频文件的行为。And an association module, configured to associate the video file to the probe program through an operating system interface, so that the video file can be opened by the probe program, and the probe program is used to record a behavior of the user opening the video file.
进一步地,在本发明的一个实施例中,所述处理装置还包括:Further, in an embodiment of the present invention, the processing device further includes:
接收判断模块,用于当所述判断模块判断到所述接收端支持所述视频文件的串流播放时,接收用户发送的选择播放指令,并判断所述选择播放指令为第一指令或第二指令,所述第一指令为将所述视频文件串流至所述接收端进行串流播放,所述第二指令为采用默认播放器对所述视频文件进行播放;a receiving determining module, configured to: when the determining module determines that the receiving end supports the streaming play of the video file, receive a selective play instruction sent by the user, and determine that the selected play instruction is the first instruction or the second Instructing, the first instruction is to stream the video file to the receiving end for streaming play, and the second instruction is to play the video file by using a default player;
所述串流模块具体用于当所述接收判断模块判断到所述选择播放指令为所述第一指令时,将所述视频文件串流至所述接收端进行串流播放,同时停止无线传屏的源端与所述接收端之间的无线传屏。The streaming module is specifically configured to: when the receiving determining module determines that the selected play instruction is the first instruction, stream the video file to the receiving end for streaming play, and stop wireless transmission Wireless transmission between the source end of the screen and the receiving end.
进一步地,在本发明的一个实施例中,所述处理装置还包括:Further, in an embodiment of the present invention, the processing device further includes:
重启模块,用于当所述接收端对所述视频文件串流播放完成后,重新启动所述源端与所述接收端之间的无线传屏。The restarting module is configured to restart the wireless transmission between the source end and the receiving end after the receiving end plays the streaming of the video file.
进一步地,在本发明的一个实施例中,所述处理装置还包括:Further, in an embodiment of the present invention, the processing device further includes:
调用模块,用于当所述判断模块判断到所述接收端不支持所述视频文件的串流播放时,调用默认播放器对所述视频文件进行播放,同时,获取播放画面,将所述播放画面重新编码后发送至所述接收端。The calling module is configured to: when the determining module determines that the receiving end does not support the streaming play of the video file, call the default player to play the video file, and at the same time, obtain a playing screen, and play the playing The picture is re-encoded and sent to the receiving end.
进一步地,在本发明的一个实施例中,所述串流模块具体用于:Further, in an embodiment of the present invention, the streaming module is specifically configured to:
建立HTTP或RTSP服务器,并生成URL;Establish an HTTP or RTSP server and generate a URL;
基于TCP/IP协议将所述视频文件发送至所述接收端,以使所述接收端使用HTTP或RTSP协议获取并播放所述视频文件。The video file is sent to the receiving end based on a TCP/IP protocol, so that the receiving end acquires and plays the video file using an HTTP or RTSP protocol.
本发明的附加方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本发明的实施例了解到。The additional aspects and advantages of the invention will be set forth in part in the description which follows.
本发明实施例的上述和/或附加的方面和优点从结合下面附图对实施例的描述中将变得明显和容易理解,其中: The above and/or additional aspects and advantages of the embodiments of the present invention will become apparent and readily understood from
图1是根据本发明第一实施例的无线传屏中视频文件的处理方法的流程图;1 is a flowchart of a method of processing a video file in a wireless screen according to a first embodiment of the present invention;
图2是根据本发明第二实施例的无线传屏中视频文件的处理方法的流程图;2 is a flowchart of a method for processing a video file in a wireless screen according to a second embodiment of the present invention;
图3是根据本发明另一实施例的无线传屏中视频文件的处理装置的结构示意图。FIG. 3 is a schematic structural diagram of a device for processing a video file in a wireless screen according to another embodiment of the present invention.
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the drawings in the embodiments of the present invention. It is a partial embodiment of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
请参阅图1,本发明第一实施例提出的无线传屏中视频文件的处理方法,应用在无线传屏过程中的源端,本实施例中,该源端以电脑为例进行说明,与该电脑对应的接收端以会议平板为例进行说明,其中,电脑和会议平板均安装了相应的传屏软件,同时该电脑和会议平板在同一个无线网络中,两者能够进行现有技术中的常规的无线传屏。本实施例提出的无线传屏中视频文件的处理方法至少包括以下步骤:Referring to FIG. 1 , a method for processing a video file in a wireless screen according to a first embodiment of the present invention is applied to a source end in a wireless screen transmission process. In this embodiment, the source end is illustrated by using a computer as an example, and The receiving end of the computer is described by taking a conference tablet as an example. The computer and the conference tablet are respectively equipped with corresponding screen transmission software, and the computer and the conference tablet are in the same wireless network, and the two can be used in the prior art. Regular wireless screen. The method for processing a video file in the wireless screen proposed in this embodiment includes at least the following steps:
S101,检测用户打开视频文件的指令;S101. Detect an instruction that a user opens a video file.
其中,用户可以通过电脑上的资源管理器找到预播放的视频文件,可以理解的,用户双击该视频文件就可视为检测到了用户打开视频文件的指令。The user can find the pre-played video file through the resource manager on the computer. It can be understood that the user double-clicking the video file can be regarded as detecting that the user opens the video file.
S102,根据所述视频文件是否符合预置信息来判断无线传屏的接收端是否支持所述视频文件的串流播放,所述预置信息为所述接收端支持播放的视频文件的格式;S102, determining, according to whether the video file meets the preset information, whether the receiving end of the wireless screen supports the streaming play of the video file, where the preset information is a format of the video file supported by the receiving end;
其中,该预置信息可以预先储存在电脑中,即电脑中已经储存了哪些类型的视频文件能够被会议平板所播放,在接收到用户打开视频文件的指令时,不会立即在电脑上播放该视频文件,而是先根据该预置信息判断接收端是否支持该视频文件的串流播放,具体判断标准可以为判断该视频文件的封装格式以及音视频编码格式是否被会议平板所支持。串流播放是指采用类似边缓存边播放 的方式对视频文件进行播放,由于该技术内容为现有技术,在此不再赘述。The preset information may be pre-stored in the computer, that is, what types of video files have been stored in the computer can be played by the conference tablet, and when the user receives the instruction to open the video file, the preset information is not immediately played on the computer. The video file first determines whether the receiving end supports the streaming of the video file according to the preset information. The specific criterion may be to determine whether the encapsulation format of the video file and the audio and video encoding format are supported by the conference tablet. Streaming playback means playing with a similar side buffer In the manner of playing the video file, since the technical content is prior art, it will not be described here.
S103,若是,则将所述视频文件串流至所述接收端进行串流播放,同时停止无线传屏的源端与所述接收端之间的无线传屏。S103. If yes, stream the video file to the receiving end for streaming playback, and stop wireless transmission between the source end of the wireless screen and the receiving end.
其中,若会议平板支持该视频文件的串流播放,则将所述视频文件串流至会议平板进行串流播放,同时停止电脑和会议平板之间的无线传屏,保证串流播放过程中系统占用不会过高。具体实施时,可以基于TCP/IP协议,在源端建立HTTP或者RTSP服务器,并生成URL,再通过现有的通讯协议将视频文件发送至会议平板,最后会议平板使用HTTP或者RTSP协议就可以从源端获取该视频文件并播放。If the conference tablet supports the streaming of the video file, the video file is streamed to the conference tablet for streaming, and the wireless transmission between the computer and the conference tablet is stopped, thereby ensuring the system during streaming playback. Occupation will not be too high. In the specific implementation, based on the TCP/IP protocol, an HTTP or RTSP server can be established at the source end, and a URL is generated, and then the video file is sent to the conference tablet through the existing communication protocol, and finally the conference tablet can be HTTP or RTSP. The source acquires the video file and plays it.
根据本发明实施例的无线传屏中视频文件的处理方法,应用在无线传屏过程中的源端,在接收到用户打开视频文件的指令后,不会直接使用播放器打开该视频文件,而是首先根据接收端支持播放的视频文件的格式判断接收端是否支持当前的视频文件的串流播放,若是,则将该视频文件串流至所述接收端进行串流播放,同时会停止无线传屏,因此,视频文件的播放过程无需重新编码,而是在接收端直接进行串流播放,不会导致画质和帧率的损失,且不会造成额外的运算开销,此外,由于在视频播放过程中,无线传屏被停止,因此也降低了系统资源的占用。The method for processing a video file in a wireless screen according to an embodiment of the present invention is applied to a source end in a wireless screen transmission process, and after receiving an instruction to open a video file by a user, the video file is not directly opened by using the player. Firstly, according to the format of the video file supported by the receiving end, it is determined whether the receiving end supports the streaming of the current video file, and if so, the video file is streamed to the receiving end for streaming, and the wireless transmission is stopped at the same time. Screen, therefore, the playback process of the video file does not need to be re-encoded, but the streaming operation is directly performed at the receiving end, which does not cause loss of image quality and frame rate, and does not cause additional computational overhead, in addition, due to playback in video During the process, the wireless screen is stopped, thus reducing the occupation of system resources.
此外,根据本发明的一个示例,在步骤S102之后,所述处理方法还包括:In addition, according to an example of the present invention, after the step S102, the processing method further includes:
如所述视频文件不符合所述预置信息,则会判断到无线传屏的接收端不支持所述视频文件的串流播放,此时,则会调用默认播放器对所述视频文件进行播放,同时,获取播放画面,将所述播放画面重新编码后发送至所述接收端。If the video file does not meet the preset information, it is determined that the receiving end of the wireless screen does not support streaming of the video file, and at this time, the default player is called to play the video file. At the same time, the playback screen is acquired, and the playback screen is re-encoded and sent to the receiving end.
其中,若会议平板不支持所述视频文件的串流播放,则调用电脑中的默认播放器对所述视频文件进行播放,具体实施时,可以在无线传屏的软件运行后,在电脑中通过读取注册表的方式记录当前系统默认的视频文件的播放程序,然后直接调用该默认的播放程序对视频文件进行播放,此外在播放的同时,获取播放画面,将所述播放画面重新编码后发送至会议平板,该无线传输过程与现有技术中逐帧捕获桌面,重新编码后发送的方式一致。If the conference tablet does not support the streaming play of the video file, the default player in the computer is called to play the video file. In specific implementation, the wireless screen transmission software may be passed in the computer after running. The method of reading the registry records the playing program of the current system default video file, and then directly calls the default playing program to play the video file. In addition, while playing, the playing screen is acquired, and the playing screen is re-encoded and sent. To the conference tablet, the wireless transmission process is consistent with the method of capturing the desktop frame by frame in the prior art and re-encoding and transmitting.
此外,根据本发明的一个示例,在步骤S103之后,所述处理方法还包括: In addition, according to an example of the present invention, after the step S103, the processing method further includes:
当所述接收端对所述视频文件串流播放完成后,重新启动所述源端与所述接收端之间的无线传屏。After the streaming end of the video file is completed, the wireless terminal between the source end and the receiving end is restarted.
其中,当会议平板对该视频文件串流播放完成后,会重新启动电脑和会议平板之间的无线传屏,即按照正常的无线传屏方式在电脑和会议平板进行无线传屏。After the conference tablet finishes streaming the video file, the wireless screen between the computer and the conference tablet is restarted, that is, the wireless transmission is performed on the computer and the conference tablet according to the normal wireless transmission mode.
请参阅图2,本发明第二实施例提出的无线传屏中视频文件的处理方法,应用在无线传屏过程中的源端,本实施例中,该源端同样以电脑为例进行说明,与该电脑对应的接收端以会议平板为例进行说明,其中,电脑和会议平板均安装了相应的传屏软件,同时该电脑和会议平板在同一个无线网络中,两者能够进行现有技术中的常规的无线传屏。本实施例提出的无线传屏中视频文件的处理方法至少包括以下步骤:Referring to FIG. 2, a method for processing a video file in a wireless screen according to a second embodiment of the present invention is applied to a source end in a wireless screen transmission process. In this embodiment, the source end is also illustrated by using a computer as an example. The receiving end corresponding to the computer is described by taking a conference tablet as an example. The computer and the conference tablet are respectively equipped with corresponding screen transmission software, and the computer and the conference tablet are in the same wireless network, and the two can carry out the prior art. Conventional wireless screens. The method for processing a video file in the wireless screen proposed in this embodiment includes at least the following steps:
S201,通过操作系统接口将所述视频文件关联至探测程序,以使所述视频文件能够被所述探测程序打开,所述探测程序用于记录用户打开视频文件的行为;S201. Associate the video file to a detection program by using an operating system interface, so that the video file can be opened by the detection program, where the detection program is used to record a behavior of a user opening a video file.
S202,检测用户打开视频文件的指令;S202. Detect an instruction that a user opens a video file.
S203,使用所述探测程序打开所述视频文件;S203. Open the video file by using the probe program.
其中,所述探测程序可以作为代理或者中转,现有技术中,用户在电脑的操作系统中双击某视频文件,是通过播放器打开该视频文件,而本实施例中,档用户双击某视频文件时,由于视频文件已经被关联至探测程序,因此,会使用该探测程序打开该视频文件,通过该探测程序就可以知道用户打开视频文件这一行为,然后再进行后续是使用原来的播放器播放视频文件,还是将视频文件串流到会议平板中。The probe program can be used as a proxy or a relay. In the prior art, the user double-clicks a video file in the operating system of the computer, and the video file is opened by the player. In this embodiment, the file user double-clicks on a video file. Since the video file has been associated with the probe program, the probe program is used to open the video file, and the probe program can know the behavior of the user opening the video file, and then the subsequent playback is performed using the original player. Video file, or stream video files to the conference tablet.
S204,根据预置信息判断接收端是否支持所述视频文件的串流播放,所述预置信息为所述接收端支持播放的视频文件的格式;S204, determining, according to the preset information, whether the receiving end supports the streaming play of the video file, where the preset information is a format of the video file supported by the receiving end;
S205,若是,则接收用户发送的选择播放指令,并判断所述选择播放指令为第一指令或第二指令,所述第一指令为将所述视频文件串流至所述接收端进行串流播放,所述第二指令为采用默认播放器对所述视频文件进行播放;S205, if yes, receiving a selective play instruction sent by the user, and determining that the selected play instruction is a first instruction or a second instruction, where the first instruction is to stream the video file to the receiving end for streaming Playing, the second instruction is to play the video file by using a default player;
S206,若判断到所述选择播放指令为所述第一指令时,将所述视频文件串 流至所述接收端进行串流播放,同时停止所述源端与所述接收端之间的无线传屏;S206. If it is determined that the selected play command is the first instruction, the video file string is Flowing to the receiving end for streaming play, and stopping wireless transmission between the source end and the receiving end;
其中,具体实施时,若会议平板支持所述视频文件的串流播放,则会支持提示用户做出选择:a.将所述视频文件串流至所述接收端进行串流播放(对应第一指令);b.采用默认播放器对所述视频文件进行播放(对应第二指令),然后根据用户的选择结果进行相应的播放方式。若用户选择的是a,则将所述视频文件串流至所述接收端进行串流播放,同时停止无线传屏。若用户选择的是b,则采用默认播放器对所述视频文件进行播放,同时,获取播放画面,将所述播放画面重新编码后发送至会议平板。通过给用户提供两种选择,可以丰富该处理方法的实用性,满足用户不同的使用需求。In a specific implementation, if the conference tablet supports the streaming of the video file, the user is prompted to make a selection: a. streaming the video file to the receiving end for streaming (corresponding to the first The instruction is: b. playing the video file by using a default player (corresponding to the second instruction), and then performing a corresponding play mode according to the selection result of the user. If the user selects a, the video file is streamed to the receiving end for streaming playback, and the wireless screen is stopped. If the user selects b, the video file is played by the default player, and at the same time, the play screen is obtained, and the play screen is re-encoded and sent to the conference tablet. By providing users with two options, the utility of the processing method can be enriched to meet different user needs.
此外,在会议平板对该视频文件进行串流播放时,还可以在电脑中进行进度跳转和退出播放等操作,这是由于在会议平板进行串流播放时采用的是推流模式,传递到会议平板的数据是由程序控制的,而进度控制过程是根据时间和码率估算出文件的位置,因此可以从最近的关键帧开始推送,从而实现在电脑中进行进度跳转和退出播放等操作。In addition, when the video file is streamed in the conference tablet, the progress jump and the exit play may also be performed in the computer, because the streaming mode is adopted when the conference tablet performs streaming playback, and is transmitted to The data of the conference tablet is controlled by the program, and the progress control process estimates the location of the file according to the time and the code rate, so it can be pushed from the latest key frame to realize the progress jump and exit playback in the computer. .
其中,本实施例中,在步骤S204之后,若所述接收端不支持所述视频文件的串流播放,则调用默认播放器对所述视频文件进行播放,同时,获取播放画面,将所述播放画面重新编码后发送至所述接收端。In this embodiment, after the step S204, if the receiving end does not support the streaming play of the video file, the default player is called to play the video file, and at the same time, the playing screen is acquired, and the The playback picture is re-encoded and sent to the receiving end.
S207,当所述接收端对所述视频文件串流播放完成后,重新启动所述源端与所述接收端之间的无线传屏。S207. Restart the wireless transmission between the source end and the receiving end after the receiving end completes streaming of the video file.
其中,当会议平板对该视频文件串流播放完成后,会重新启动电脑和会议平板之间的无线传屏,即按照正常的无线传屏方式在电脑和会议平板进行无线传屏。After the conference tablet finishes streaming the video file, the wireless screen between the computer and the conference tablet is restarted, that is, the wireless transmission is performed on the computer and the conference tablet according to the normal wireless transmission mode.
下面给出一个具体应用环境,会议中,用户在电脑上启动传屏软件进行桌面传送(无线传屏),电脑上全部桌面内容都被传送至接收端(如电视机)显示。展示中,用户需要对某个视频文件进行播放,当用户打开该视频文件时,探测程序检测到该文件被电视机支持,提示用户选择串流播放,用户选择后,桌面传送暂停,接收端全屏的展示串流来的视频文件。 A specific application environment is given below. During the conference, the user launches the screen transmission software on the computer for desktop transmission (wireless transmission), and all desktop contents on the computer are transmitted to the receiving end (such as a television) for display. In the demonstration, the user needs to play a certain video file. When the user opens the video file, the detection program detects that the file is supported by the television, prompting the user to select streaming play, and after the user selects, the desktop transmission is suspended, and the receiving end is full screen. Shows streaming video files.
请参阅图3,基于同一发明构思,本发明另一实施例提出的无线传屏中视频文件的处理装置,应用在无线传屏的源端,包括:Referring to FIG. 3, based on the same inventive concept, a device for processing a video file in a wireless screen according to another embodiment of the present invention is applied to a source end of a wireless screen, and includes:
检测模块10,用于检测用户打开视频文件的指令;The detecting
判断模块20,用于根据所述视频文件是否符合预置信息来判断无线传屏的接收端是否支持所述视频文件的串流播放,所述预置信息为所述接收端支持播放的视频文件的格式;The determining
串流模块30,用于当所述判断模块判断到所述接收端支持所述视频文件的串流播放时,将所述视频文件串流至所述接收端进行串流播放,同时停止所述源端与所述接收端之间的无线传屏。The
本实施例中,所述处理装置还包括:In this embodiment, the processing device further includes:
关联模块40,用于通过操作系统接口将所述视频文件关联至探测程序,以使所述视频文件能够被所述探测程序打开,所述探测程序用于记录用户打开视频文件的行为。The
本实施例中,所述处理装置还包括:In this embodiment, the processing device further includes:
接收判断模块50,用于当所述判断模块20判断到所述接收端支持所述视频文件的串流播放时,接收用户发送的选择播放指令,并判断所述选择播放指令为第一指令或第二指令,所述第一指令为将所述视频文件串流至所述接收端进行串流播放,所述第二指令为采用默认播放器对所述视频文件进行播放;The receiving determining
所述串流模块30具体用于当所述接收判断模块50判断到所述选择播放指令为所述第一指令时,将所述视频文件串流至所述接收端进行串流播放,同时停止所述源端与所述接收端之间的无线传屏。The
本实施例中,所述处理装置还包括:In this embodiment, the processing device further includes:
重启模块60,用于当所述接收端对所述视频文件串流播放完成后,重新启动所述源端与所述接收端之间的无线传屏。The restarting
本实施例中,所述处理装置还包括:In this embodiment, the processing device further includes:
调用模块70,用于当所述判断模块判断到所述接收端不支持所述视频文件的串流播放时,调用默认播放器对所述视频文件进行播放,同时,获取播放画面,将所述播放画面重新编码后发送至所述接收端。
The calling
本发明实施例提出的无线传屏中视频文件的处理装置的技术特征和技术效果与本发明实施例提出的方法相同,在此不予赘述。The technical features and technical effects of the device for processing a video file in the wireless screen according to the embodiment of the present invention are the same as those of the embodiment of the present invention, and are not described herein.
此外,本发明的另一实施例还提供一种无线传屏中视频文件的处理系统,包括接收装置及与所述接收装置无线通讯的源端装置,其中,所述源端装置为上述的处理装置,具体可以以计算机的方式实现,接收装置可以以电视机或会员平板的方式实现。In addition, another embodiment of the present invention further provides a processing system for a video file in a wireless screen, comprising: a receiving device and a source device wirelessly communicating with the receiving device, wherein the source device is the above processing The device can be implemented in a computer manner, and the receiving device can be implemented in the form of a television or a member tablet.
在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,“计算机可读介质”可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。The logic and/or steps represented in the flowchart or otherwise described herein, for example, may be considered as an ordered list of executable instructions for implementing logical functions, and may be embodied in any computer readable medium, Used in conjunction with, or in conjunction with, an instruction execution system, apparatus, or device (eg, a computer-based system, a system including a processor, or other system that can fetch instructions and execute instructions from an instruction execution system, apparatus, or device) Or use with equipment. For the purposes of this specification, a "computer-readable medium" can be any apparatus that can contain, store, communicate, propagate, or transport a program for use in an instruction execution system, apparatus, or device, or in conjunction with such an instruction execution system, apparatus, or device.
计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(电子装置),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存储器中。More specific examples (non-exhaustive list) of computer readable media include the following: electrical connections (electronic devices) having one or more wires, portable computer disk cartridges (magnetic devices), random access memory (RAM), Read only memory (ROM), erasable editable read only memory (EPROM or flash memory), fiber optic devices, and portable compact disk read only memory (CDROM). In addition, the computer readable medium may even be a paper or other suitable medium on which the program can be printed, as it may be optically scanned, for example by paper or other medium, followed by editing, interpretation or, if appropriate, other suitable The method is processed to obtain the program electronically and then stored in computer memory.
应当理解,本发明的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。 It should be understood that portions of the invention may be implemented in hardware, software, firmware or a combination thereof. In the above-described embodiments, multiple steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented by any one or combination of the following techniques well known in the art: having logic gates for implementing logic functions on data signals. Discrete logic circuits, application specific integrated circuits with suitable combinational logic gates, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任何的一个或多个实施例或示例中以合适的方式结合。In the description of the present specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" and the like means a specific feature described in connection with the embodiment or example. A structure, material or feature is included in at least one embodiment or example of the invention. In the present specification, the schematic representation of the above terms does not necessarily mean the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in a suitable manner in any one or more embodiments or examples.
尽管已经示出和描述了本发明的实施例,本领域的普通技术人员可以理解:在不脱离本发明的原理和宗旨的情况下可以对这些实施例进行多种变化、修改、替换和变型,本发明的范围由权利要求及其等同物限定。 While the embodiments of the present invention have been shown and described, the embodiments of the invention may The scope of the invention is defined by the claims and their equivalents.
Claims (10)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710262211.6 | 2017-04-20 | ||
| CN201710262211.6A CN107027064A (en) | 2017-04-20 | 2017-04-20 | Method and device for processing video file in wireless screen transmission |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2018192183A1 true WO2018192183A1 (en) | 2018-10-25 |
Family
ID=59527206
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2017/103783 Ceased WO2018192183A1 (en) | 2017-04-20 | 2017-09-27 | Method and apparatus for processing video file during wireless screen delivery |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN107027064A (en) |
| WO (1) | WO2018192183A1 (en) |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107027064A (en) * | 2017-04-20 | 2017-08-08 | 广州视源电子科技股份有限公司 | Method and device for processing video file in wireless screen transmission |
| CN109523997B (en) * | 2018-10-17 | 2021-09-28 | 深圳市沃特沃德信息有限公司 | Intelligent robot and method and device for executing application function by voice |
| CN109889887A (en) * | 2019-04-10 | 2019-06-14 | 北京硬壳科技有限公司 | A kind of two-way interaction method and system |
| CN110691275B (en) * | 2019-09-10 | 2021-12-10 | 上海明我信息技术有限公司 | Wireless screen transmission equipment, method and computer storage medium |
| CN112291769B (en) * | 2020-11-05 | 2024-11-05 | 深圳市皓丽智能科技有限公司 | A wireless control method and related equipment |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20070256108A1 (en) * | 2006-04-27 | 2007-11-01 | Jordan Du Val | Content Delivery to a Digital TV Using a Low-Power Frequency Converted RF Signal |
| CN103414894A (en) * | 2013-07-29 | 2013-11-27 | 上海凯统信息科技有限公司 | Wireless real-time screen transfer equipment and method |
| CN203775353U (en) * | 2014-01-19 | 2014-08-13 | 龙健 | Embedded type multifunctional wireless liquid crystal display |
| CN105578247A (en) * | 2014-11-05 | 2016-05-11 | 奇扬网科股份有限公司 | Mirror display system and mirror display method |
| CN106303643A (en) * | 2016-08-25 | 2017-01-04 | 乐视控股(北京)有限公司 | Remote control thereof and device |
| CN107027064A (en) * | 2017-04-20 | 2017-08-08 | 广州视源电子科技股份有限公司 | Method and device for processing video file in wireless screen transmission |
-
2017
- 2017-04-20 CN CN201710262211.6A patent/CN107027064A/en active Pending
- 2017-09-27 WO PCT/CN2017/103783 patent/WO2018192183A1/en not_active Ceased
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20070256108A1 (en) * | 2006-04-27 | 2007-11-01 | Jordan Du Val | Content Delivery to a Digital TV Using a Low-Power Frequency Converted RF Signal |
| CN103414894A (en) * | 2013-07-29 | 2013-11-27 | 上海凯统信息科技有限公司 | Wireless real-time screen transfer equipment and method |
| CN203775353U (en) * | 2014-01-19 | 2014-08-13 | 龙健 | Embedded type multifunctional wireless liquid crystal display |
| CN105578247A (en) * | 2014-11-05 | 2016-05-11 | 奇扬网科股份有限公司 | Mirror display system and mirror display method |
| CN106303643A (en) * | 2016-08-25 | 2017-01-04 | 乐视控股(北京)有限公司 | Remote control thereof and device |
| CN107027064A (en) * | 2017-04-20 | 2017-08-08 | 广州视源电子科技股份有限公司 | Method and device for processing video file in wireless screen transmission |
Also Published As
| Publication number | Publication date |
|---|---|
| CN107027064A (en) | 2017-08-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11366632B2 (en) | User interface for screencast applications | |
| CN106936671B (en) | Multi-screen interactive method, device and terminal device | |
| CN106165432B (en) | System and method for implementing fast channel changes in an adaptive streaming environment | |
| US8134605B2 (en) | Apparatus for transmitting an HTML file with a captured or stored image to an electronic device over a network | |
| WO2018192183A1 (en) | Method and apparatus for processing video file during wireless screen delivery | |
| CN110636370B (en) | Video processing method and device, electronic equipment and readable medium | |
| US8244897B2 (en) | Content reproduction apparatus, content reproduction method, and program | |
| WO2017075956A1 (en) | Content projection method and mobile terminal | |
| EP2061241A1 (en) | Method and device for playing video data of high bit rate format by player suitable to play video data of low bit rate format | |
| CN105556979A (en) | Streaming Media | |
| CN112562638B (en) | Voice preview method, device and electronic device | |
| CN113424553A (en) | Techniques for facilitating playback of interactive media items in response to user selections | |
| WO2019149066A1 (en) | Video playback method, terminal apparatus, and storage medium | |
| US9872054B2 (en) | Presentation of a multi-frame segment of video content | |
| US20210185365A1 (en) | Methods, systems, and media for providing dynamic media sessions with video stream transfer features | |
| WO2021136161A1 (en) | Playback mode determining method and apparatus | |
| US20240380941A1 (en) | Supplemental audio generation system in an audio-only mode | |
| CN107888859B (en) | A method and device for processing video playback | |
| US20220295135A1 (en) | Video providing system and program | |
| CN105744371A (en) | Stream media data play method and device | |
| US9538119B2 (en) | Method of capturing moving picture and apparatus for reproducing moving picture | |
| KR20140117889A (en) | Client apparatus, server apparatus, multimedia redirection system and the method thereof | |
| WO2017140161A1 (en) | Method, device and system for sharing audio and video resource, and network gateway | |
| CN105959798A (en) | Video stream frame positioning method and device, and equipment | |
| CN110140357B (en) | Electronic device for playing substitute advertisement and control method thereof |
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: 17906599 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: 17906599 Country of ref document: EP Kind code of ref document: A1 |