CN110266915A - The method and apparatus of video acquisition content are controlled in a kind of Android device - Google Patents

The method and apparatus of video acquisition content are controlled in a kind of Android device Download PDF

Info

Publication number
CN110266915A
CN110266915A CN201910558281.5A CN201910558281A CN110266915A CN 110266915 A CN110266915 A CN 110266915A CN 201910558281 A CN201910558281 A CN 201910558281A CN 110266915 A CN110266915 A CN 110266915A
Authority
CN
China
Prior art keywords
video
usb
frequency collection
collection card
android
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.)
Granted
Application number
CN201910558281.5A
Other languages
Chinese (zh)
Other versions
CN110266915B (en
Inventor
张杨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Douyin Vision Co Ltd
Douyin Vision Beijing Co Ltd
Original Assignee
Beijing ByteDance Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN201910558281.5A priority Critical patent/CN110266915B/en
Publication of CN110266915A publication Critical patent/CN110266915A/en
Application granted granted Critical
Publication of CN110266915B publication Critical patent/CN110266915B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72439User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/57Mechanical or electrical details of cameras or camera modules specially adapted for being embedded in other devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Telephone Function (AREA)

Abstract

Present disclose provides the method and apparatus that video acquisition content is controlled in a kind of Android device, this method comprises: Android device connects video frequency collection card by hub equipment;The device node number for configuring Android device system driving layer, matches device node number with the device numbering of the video frequency collection card;Preposition and/or rear camera the ability parameter for configuring Android device middle layer, matches described preposition and/or rear camera ability parameter with the ability parameter of the video frequency collection card;Meet the video content of the video frequency collection card ability parameter by the preposition and/or rear camera acquisition of the Android device.This method is by providing additional USB video frequency collection card, and existing Android system is improved, to enable existing Android device to collect more unique video content, it extends original hardware device to be limited by included camera function, parameter, provides a solution to obtain the video content of high quality under specific occasion.

Description

The method and apparatus of video acquisition content are controlled in a kind of Android device
Technical field
This disclosure relates to field of computer technology, in particular to control video acquisition content in a kind of Android device Method and apparatus.
Background technique
Android system is the system that Google is embedded device exploitation and open source.The system is applied to a large amount of hands The equipment such as machine, intelligent box, multimedia box.Most of Android device default supports camera function, can be included by equipment Camera App shooting, recorded video.
The recording function carried using Android device, camera that can be primary by Android device, built-in are acquired, The collecting flowchart of content of shooting is: the light information that optical camera is collected, sensor devices are converted to electric signal, electric signal according to Format is stored as bit information after directly storing or encode.Certain Android devices support the camera of external USB interface, in shooting Hold the light information for still coming from camera lens acquisition, is converted into electric signal, is then converted to bit information.And it is taken the photograph using external USB As the App of head needs to customize.
Android mobile phone equipment currently on the market, the primary camera shooting App of mobile phone terminal do not support the function of external USB camera Can, external USB camera can be supported by individually developing tripartite App.The content of camera acquisition, is influenced by actual environment, is not easy Control, the especially high-precision control of pixel scale.Control camera acquisition content can extend many application scenarios, application scenarios Including but not limited to: special efficacy addition, software and hardware test, encoding function debugging.The video content of part control acquisition, or even completely The content of replacement acquisition provides convenience for use above.
Therefore, the content how acquired by existing equipment come extending video just becomes urgent problem.
Disclosure
The disclosure is designed to provide the method and apparatus that video acquisition content is controlled in a kind of Android device, can solve At least one technical problem certainly mentioned above.Concrete scheme is as follows:
According to the specific embodiment of the disclosure, adopted in a first aspect, the disclosure provides control video in a kind of Android device The method of set content, comprising:
Android device connects video frequency collection card by hub equipment;
The device node number for configuring the Android device system driving layer makes the device node number and the video The device numbering of capture card matches;
Preposition and/or rear camera the ability parameter for configuring the Android device middle layer, make it is described preposition and/or The ability parameter of rear camera is matched with the ability parameter of the video frequency collection card;
Meet the video frequency collection card ability parameter by the preposition and/or rear camera acquisition of the Android device Video content.
According to the specific embodiment of the disclosure, second aspect, the disclosure provides control video in a kind of Android device and adopts The device of set content, comprising:
Video acquisition unit connects video frequency collection card by hub equipment for Android device;
First configuration unit configures the device node number of the Android device system driving layer, makes the device node Number is matched with the device numbering of the video frequency collection card;
Second configuration unit configures preposition and/or rear camera the ability parameter of the Android device middle layer, makes Described preposition and/or rear camera ability parameter is matched with the ability parameter of the video frequency collection card;
Video content elements meet the view for the preposition and/or rear camera acquisition by the Android device The video content of frequency capture card ability parameter.
The above scheme of the embodiment of the present disclosure compared with prior art, at least has the advantages that the disclosure passes through The method, apparatus that video acquisition content is controlled in a kind of Android device is provided, this method is by providing additional USB video acquisition Card, and existing Android system is improved, so that existing Android device is enable to collect more unique video content, It extends original hardware device to be limited by included camera function, parameter, is in the video for obtain under specific occasion high quality Appearance provides a solution.The disclosure fully controls the video acquisition content of Android device, and substitute by technological means Android device original camera acquires content.After controlling video content, the content addition special efficacy to acquisition may be implemented, change part Content is acquired, or changes all acquisition contents.Content after change mentions for later period Video coding, debugging, test etc. application For convenience, market value with higher.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and together with specification for explaining the principles of this disclosure.It should be evident that the accompanying drawings in the following description is only the disclosure Some embodiments for those of ordinary skill in the art without creative efforts, can also basis These attached drawings obtain other attached drawings.In the accompanying drawings:
Fig. 1 shows control video acquisition content hardware structure chart in the Android device according to the embodiment of the present disclosure;
Fig. 2 shows according to the method flow diagram for controlling video acquisition content in the Android device of the embodiment of the present disclosure;
Fig. 3 shows the apparatus structure signal that video acquisition content is controlled in the Android device according to the embodiment of the present disclosure Figure;
Fig. 4 shows electronic equipment attachment structure schematic diagram according to an embodiment of the present disclosure.
Specific embodiment
In order to keep the purposes, technical schemes and advantages of the disclosure clearer, below in conjunction with attached drawing to the disclosure make into It is described in detail to one step, it is clear that described embodiment is only disclosure a part of the embodiment, rather than whole implementation Example.It is obtained by those of ordinary skill in the art without making creative efforts based on the embodiment in the disclosure All other embodiment belongs to the range of disclosure protection.
The term used in the embodiments of the present disclosure is only to be not intended to be limiting merely for for the purpose of describing particular embodiments The disclosure.In the embodiment of the present disclosure and the "an" of singular used in the attached claims, " described " and "the" It is also intended to including most forms, unless the context clearly indicates other meaning, " a variety of " generally comprise at least two.
It should be appreciated that term "and/or" used herein is only a kind of incidence relation for describing affiliated partner, indicate There may be three kinds of relationships, for example, A and/or B, can indicate: individualism A, exist simultaneously A and B, individualism B these three Situation.In addition, character "/" herein, typicallys represent the relationship that forward-backward correlation object is a kind of "or".
It will be appreciated that though may be described in the embodiments of the present disclosure using term first, second, third, etc.., But these ... it should not necessarily be limited by these terms.These terms be only used to by ... distinguish.For example, implementing not departing from the disclosure In the case where example range, first ... can also be referred to as second ..., and similarly, second ... can also be referred to as the One ....
Depending on context, word as used in this " if ", " if " can be construed to " ... when " or " when ... " or " in response to determination " or " in response to detection ".Similarly, context is depended on, phrase " if it is determined that " or " such as Fruit detection (condition or event of statement) " can be construed to " when determining " or " in response to determination " or " when detection (statement Condition or event) when " or " in response to detection (condition or event of statement) ".
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability Include, so that commodity or device including a series of elements not only include those elements, but also including not clear The other element listed, or further include for this commodity or the intrinsic element of device.In the feelings not limited more Under condition, the element that is limited by sentence "including a ...", it is not excluded that in the commodity or device for including the element also There are other identical elements.
The alternative embodiment of the disclosure is described in detail with reference to the accompanying drawing.
Embodiment 1
It include suitable in the hardware structural diagram as shown in Figure 1, being a kind of hardware structural diagram of the embodiment of the present disclosure Secondary connection Android device, USB set line equipment, USB video frequency collection card and multimedia play equipment.By being to Android device System improves, and video content more abundant can be got by external USB video frequency collection card, to meet different video The demand of content.But be not limited to the unique hardware connection structure, it is possible to understand that any the present embodiment that can be applied to In hardware connection structure is included in, for convenience of description, the present embodiment is carried out by taking a kind of above-mentioned hardware structural diagram as an example Description.Device and method are used uniformly Android system and are illustrated in the present embodiment, but listen and be not limited to Android system, actually IOS or gas intelligent operating system are all contained in disclosure of this application.For convenience of explanation, the disclosure uses Android intelligence Energy equipment is illustrated.
The Android device used in the present embodiment can be any one terminal device with Android operation system, should Terminal device has at least one camera, for example, intelligent camera, intelligent camera, smart phone, PAD or computer etc..For Illustrative ease, below can be with being illustrated for smart phone.
The video frequency collection card used in the present embodiment leads to for existing any video frequency collection card with video processing function Cross the connection of the video frequency collection card and smart phone, available more video contents abundant.
In the embodiment that the disclosure provides, the method for video acquisition content is controlled in a kind of Android device.Including such as Lower step:
Step S202: Android device connects video frequency collection card by hub equipment.
The Android device includes but is not limited to intelligent camera, intelligent camera, smart phone, PAD or computer etc..
Hub equipment includes but is not limited to USB HUB, and it is multiple that USB HUB is that a USB interface can be extended to by one kind, And the device that these interfaces can be made while being used.USB HUB can be divided into USB2.0 HUB, USB3.0 according to affiliated usb protocol HUB and USB3.1 HUB.
Video frequency collection card (Video Capture card), to regard smart phone, analog video camera, video recorder, LD The video signal data or video of the outputs such as the mechanical, electrical view machine of disk and the blended data of audio input computer, and are converted into computer Recognizable numerical data, is stored in computer, becomes the video data file of editable processing.The video that this implementation uses is adopted Truck includes but is not limited to 1394 capture cards, USB capture card, HDMI capture card, VGA video frequency collection card, PCI video card, PCI-E Video frequency collection card.It is preferred that USB capture card.
Optionally, the Android device connects video frequency collection card by hub equipment, later further include: the video acquisition Card connection multimedia player, for playing the video content of acquisition in real time.
Multimedia player can play the hardware device of video and/or audio file including any one and software is set It is standby.The multimedia player can play the multimedia text got by video frequency collection card by connecting with video frequency collection card Part.
Optionally, the hub equipment is USB set line equipment, and the USB set line equipment passes through USB interface and the Android Equipment.
Optionally, the video frequency collection card be USB video frequency collection card, the USB set line equipment by USB interface with it is described The connection of USB video frequency collection card.
Above-mentioned USB connection connection type is only a kind of preferred mode, the connection side generallyd use for current interface Formula, can be according to the improvement of hardware device, using other improvements type connecting interface.Such as Type-C.
Optionally, the USB video frequency collection card is broadcast by HDMI interface, AV interface or Ycbcr interface with the multimedia Put device connection.
HDMI interface, high-definition media interface (High Definition Multimedia Interface, abbreviation HDMI Interface) it is a kind of totally digitilized video and sound transmission interface, unpressed audio and vision signal can be sent.HDMI interface Audio and video frequency signal can be sent simultaneously, since audio and video frequency signal uses same wire rod, greatly simplify system line Installation difficulty.
AV interface is a kind of video interface, it is made of the line of yellow, white, red three kinds of colors, and wherein yellow line is transmission of video Line, white and the red voice transmission for being then responsible for left and right acoustic channels.
Ycbcr interface, YCBCR or Y ' CBCR are one kind of color space, it will usually continuous for the image in film In processing or digital photographic systems.Y ' is the luminance components of color and CB and CR are then blue and red concentration excursion amount Composition.Y ' and Y are different, and Y is exactly so-called lumen, indicate the concentration of light and be it is non-linear, encoded using gamma-corrected Processing.
Optionally, the Android device connects video frequency collection card by hub equipment, later further includes following steps:
Step S203: it is supported in the Android system layer addition UVC of the Android device, so that the Android device can lead to Cross the USB video frequency collection card acquisition video content.
UVC, full name are as follows: USB video class or USB video device class.It is that Microsoft is released For the consensus standard that USB video capture device defines, one of USB org standard is had become at present.For being mentioned in Android system The case where supporting for UVC needs to support in Android system kernel addition UVC in advance, so that the Android device can pass through institute State USB video frequency collection card acquisition video content.
Step S204: the device node number of the Android device system driving layer is configured, the device node is numbered It is matched with the device numbering of the video frequency collection card.
Optionally, the device node number of the configuration Android device system driving layer, comprising: configure the Android Device systems drive dev the and/or video device node number of layer.Such as original default front camera device numbering is 1, rear camera number is 0, and the device numbering of USB capture card is replaced it, the video image for acquiring front camera and rear camera All meet USB capture card standard.
Step S206: configuring preposition and/or rear camera the ability parameter of the Android device middle layer, makes described Preposition and/or rear camera ability parameter is matched with the ability parameter of the video frequency collection card.
Described preposition and/or rear camera ability parameter includes but is not limited to the size of pixel, color saturation etc., To adapt to the ability of USB capture card, avoids the occurrence of and mismatched since USB acquisition is stuck in allocative abilities, lead to program exception.
Step S208: the video frequency collection card is met by the preposition and/or rear camera acquisition of the Android device The video content of ability parameter.
After each hardware device connection, configuration in place, by the shooting APP for operating Android smartphone, so that it may pass through intelligence The camera of energy mobile phone obtains video content.At this point, the picture material of Android device acquisition is the content of USB capture card acquisition, The namely content that plays of multimedia player, that is, the content of video source file customized.
This method improves existing Android system by providing additional USB video frequency collection card, to make existing Android device can collect more unique video content, extend original hardware device by included camera function, ginseng Several limitations provides a solution to obtain the video content of high quality under specific occasion.The disclosure passes through technology hand Section, fully controls the video acquisition content of Android device, and substitutes Android device original camera acquisition content.Control video content Afterwards, the content addition special efficacy to acquisition may be implemented, change part acquisition content, or change all acquisition contents.After change Content, for later period Video coding, debugging, test etc. application convenience, market value with higher are provided.
Embodiment 2
It include suitable in the hardware structural diagram as shown in Figure 1, being a kind of hardware structural diagram of the embodiment of the present disclosure Secondary connection Android device, USB set line equipment, USB video frequency collection card and multimedia play equipment.By being to Android device System improves, and video content more abundant can be got by external USB video frequency collection card, to meet different video The demand of content.But be not limited to the unique hardware connection structure, it is possible to understand that any the present embodiment that can be applied to In hardware connection structure is included in, for convenience of description, the present embodiment is carried out by taking a kind of above-mentioned hardware structural diagram as an example Description.Device and method are used uniformly Android system and are illustrated in the present embodiment, but listen and be not limited to Android system, actually IOS or gas intelligent operating system are all contained in disclosure of this application.For convenience of explanation, the disclosure uses Android intelligence Energy equipment is illustrated.The present embodiment accepts embodiment 1, for realizing method and step as described in Example 1, based on identical The explanation of title meaning is same as Example 1, has technical effect same as Example 1, details are not described herein again.
The Android device used in the present embodiment can be any one terminal device with Android operation system, should Terminal device has at least one camera, for example, intelligent camera, intelligent camera, smart phone, PAD or computer etc..For Illustrative ease, below can be with being illustrated for smart phone.
The video frequency collection card used in the present embodiment leads to for existing any video frequency collection card with video processing function Cross the connection of the video frequency collection card and smart phone, available more video contents abundant.
In the embodiment that the disclosure provides, the device of video acquisition content is controlled in a kind of Android device.Include:
Video acquisition unit 302: Android device is configured to by hub equipment and connects video frequency collection card.
The Android device includes but is not limited to intelligent camera, intelligent camera, smart phone, PAD or computer etc..
Hub equipment includes but is not limited to USB HUB, and it is multiple that USB HUB is that a USB interface can be extended to by one kind, And the device that these interfaces can be made while being used.USB HUB can be divided into USB2.0 HUB, USB3.0 according to affiliated usb protocol HUB and USB3.1 HUB.
Video frequency collection card (Video Capture card), to regard smart phone, analog video camera, video recorder, LD The video signal data or video of the outputs such as the mechanical, electrical view machine of disk and the blended data of audio input computer, and are converted into computer Recognizable numerical data, is stored in computer, becomes the video data file of editable processing.The video that this implementation uses is adopted Truck includes but is not limited to 1394 capture cards, USB capture card, HDMI capture card, VGA video frequency collection card, PCI video card, PCI-E Video frequency collection card.It is preferred that USB capture card.
Optionally, the Android device connects video frequency collection card by hub equipment, later further includes video playback unit: The video frequency collection card connects multimedia player, for playing the video content of acquisition in real time.
Multimedia player can play the hardware device of video and/or audio file including any one and software is set It is standby.The multimedia player can play the multimedia text got by video frequency collection card by connecting with video frequency collection card Part.
Optionally, the hub equipment is USB set line equipment, and the USB set line equipment passes through USB interface and the Android Equipment.
Optionally, the video frequency collection card be USB video frequency collection card, the USB set line equipment by USB interface with it is described The connection of USB video frequency collection card.
Above-mentioned USB connection connection type is only a kind of preferred mode, the connection side generallyd use for current interface Formula, can be according to the improvement of hardware device, using other improvements type connecting interface.Such as Type-C.
Optionally, the USB video frequency collection card is broadcast by HDMI interface, AV interface or Ycbcr interface with the multimedia Put device connection.
HDMI interface, high-definition media interface (High Definition Multimedia Interface, abbreviation HDMI Interface) it is a kind of totally digitilized video and sound transmission interface, unpressed audio and vision signal can be sent.HDMI interface Audio and video frequency signal can be sent simultaneously, since audio and video frequency signal uses same wire rod, greatly simplify system line Installation difficulty.
AV interface is a kind of video interface, it is made of the line of yellow, white, red three kinds of colors, and wherein yellow line is transmission of video Line, white and the red voice transmission for being then responsible for left and right acoustic channels.
Ycbcr interface, YCBCR or Y ' CBCR are one kind of color space, it will usually continuous for the image in film In processing or digital photographic systems.Y ' is the luminance components of color and CB and CR are then blue and red concentration excursion amount Composition.Y ' and Y are different, and Y is exactly so-called lumen, indicate the concentration of light and be it is non-linear, encoded using gamma-corrected Processing.
Optionally, described device further includes supporter: being configured to add UVC in the Android system layer of the Android device It supports, so that the Android device can acquire video content by the USB video frequency collection card.
UVC, full name are as follows: USB video class or USB video device class.It is that Microsoft is released For the consensus standard that USB video capture device defines, one of USB org standard is had become at present.For being mentioned in Android system The case where supporting for UVC needs to support in Android system kernel addition UVC in advance, so that the Android device can pass through institute State USB video frequency collection card acquisition video content.
First configuration unit 304: the device node number of the Android device system driving layer is configured, the equipment section is made Point number is matched with the device numbering of the video frequency collection card.
Optionally, the device node number of the configuration Android device system driving layer, comprising: configure the Android Device systems drive dev the and/or video device node number of layer.Such as original default front camera device numbering is 1, rear camera number is 0, and the device numbering of USB capture card is replaced it, the video image for acquiring front camera and rear camera All meet USB capture card standard.
Second configuration unit 306: preposition and/or rear camera the ability ginseng of the Android device middle layer is configured Number, matches described preposition and/or rear camera ability parameter with the ability parameter of the video frequency collection card.
Described preposition and/or rear camera ability parameter includes but is not limited to the size of pixel, color saturation etc., To adapt to the ability of USB capture card, avoids the occurrence of and mismatched since USB acquisition is stuck in allocative abilities, lead to program exception.
Video content elements 308: it is configured to meet institute by the preposition and/or rear camera acquisition of the Android device State the video content of video frequency collection card ability parameter.
After each hardware device connection, configuration in place, by the shooting APP for operating Android smartphone, so that it may pass through intelligence The camera of energy mobile phone obtains video content.At this point, the picture material of Android device acquisition is the content of USB capture card acquisition, The namely content that plays of multimedia player, that is, the content of video source file customized.
The present apparatus improves existing Android system by providing additional USB video frequency collection card, to make existing Android device can collect more unique video content, extend original hardware device by included camera function, ginseng Several limitations provides a solution to obtain the video content of high quality under specific occasion.The disclosure passes through technology hand Section, fully controls the video acquisition content of Android device, and substitutes Android device original camera acquisition content.Control video content Afterwards, the content addition special efficacy to acquisition may be implemented, change part acquisition content, or change all acquisition contents.After change Content, for later period Video coding, debugging, test etc. application convenience, market value with higher are provided.
Embodiment 3
As shown in figure 4, the equipment in Android device for controlling in video acquisition the present embodiment provides a kind of electronic equipment Hold, the electronic equipment, comprising: at least one processor;And the storage being connect at least one described processor communication Device;Wherein,
The memory is stored with the instruction that can be executed by one processor, and described instruction is by described at least one It manages device to execute, so that at least one described processor is able to carry out method and step described in embodiment as above.
Embodiment 4
The embodiment of the present disclosure provides a kind of nonvolatile computer storage media, and the computer storage medium is stored with Method and step described in embodiment as above can be performed in computer executable instructions, the computer executable instructions.
Embodiment 5
Below with reference to Fig. 4, it illustrates the structural schematic diagrams for the electronic equipment for being suitable for being used to realize the embodiment of the present disclosure.This Terminal device in open embodiment can include but is not limited to such as mobile phone, laptop, digit broadcasting receiver, PDA (personal digital assistant), PAD (tablet computer), PMP (portable media player), car-mounted terminal (such as vehicle mounted guidance Terminal) etc. mobile terminal and such as number TV, desktop computer etc. fixed terminal.Electronic equipment shown in Fig. 4 An only example, should not function to the embodiment of the present disclosure and use scope bring any restrictions.
As shown in figure 4, electronic equipment may include processing unit (such as central processing unit, graphics processor etc.) 401, Random access storage device can be loaded into according to the program being stored in read-only memory (ROM) 402 or from storage device 408 (RAM) program in 403 and execute various movements appropriate and processing.In RAM 403, it is also stored with electronic device institute The various programs and data needed.Processing unit 401, ROM 402 and RAM 403 are connected with each other by bus 405.Input/defeated (I/O) interface 405 is also connected to bus 405 out.
In general, following device can connect to I/0 interface 405: including such as touch screen, touch tablet, keyboard, mouse, taking the photograph As the input unit 406 of head, microphone, accelerometer, gyroscope etc.;Including such as liquid crystal display (LCD), loudspeaker, vibration The output device 405 of dynamic device etc.;Storage device 408 including such as tape, hard disk etc.;And communication device 405.Communication device 405, which can permit electronic equipment, is wirelessly or non-wirelessly communicated with other equipment to exchange data.Although Fig. 4, which is shown, to be had respectively The electronic equipment of kind device, it should be understood that being not required for implementing or having all devices shown.It can be alternatively real Apply or have more or fewer devices.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium On computer program, which includes the program code for method shown in execution flow chart.In such reality It applies in example, which can be downloaded and installed from network by communication device 405, or from storage device 408 It is mounted, or is mounted from ROM 402.When the computer program is executed by processing unit 401, the embodiment of the present disclosure is executed Method in the above-mentioned function that limits.
It should be noted that the above-mentioned computer-readable medium of the disclosure can be computer-readable signal media or meter Calculation machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but not Be limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.Meter The more specific example of calculation machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, just of one or more conducting wires Taking formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only storage Device (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device, Or above-mentioned any appropriate combination.In the disclosure, computer readable storage medium can be it is any include or storage journey The tangible medium of sequence, the program can be commanded execution system, device or device use or in connection.And at this In open, computer-readable signal media may include in a base band or as the data-signal that carrier wave a part is propagated, In carry computer-readable program code.The data-signal of this propagation can take various forms, including but not limited to Electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer-readable and deposit Any computer-readable medium other than storage media, the computer-readable signal media can send, propagate or transmit and be used for By the use of instruction execution system, device or device or program in connection.Include on computer-readable medium Program code can transmit with any suitable medium, including but not limited to: electric wire, optical cable, RF (radio frequency) etc. are above-mentioned Any appropriate combination.
Above-mentioned computer-readable medium can be included in above-mentioned electronic equipment;It is also possible to individualism, and not It is fitted into the electronic equipment.
The calculating of the operation for executing the disclosure can be write with one or more programming languages or combinations thereof Machine program code, above procedure design language include object oriented program language-such as Java, Smalltalk, C++, It further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be complete It executes, partly executed on the user computer on the user computer entirely, being executed as an independent software package, part Part executes on the remote computer or executes on a remote computer or server completely on the user computer.It is relating to And in the situation of remote computer, remote computer can pass through the network of any kind --- including local area network (LAN) or extensively Domain net (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as utilize ISP To be connected by internet).
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the disclosure, method and computer journey The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually It can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it to infuse Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction Combination realize.
Being described in unit involved in the embodiment of the present disclosure can be realized by way of software, can also be by hard The mode of part is realized.Wherein, the title of unit does not constitute the restriction to the unit itself under certain conditions.

Claims (13)

1. controlling the method for video acquisition content in a kind of Android device characterized by comprising
Android device connects video frequency collection card by hub equipment;
The device node number for configuring the Android device system driving layer makes the device node number and the video acquisition The device numbering of card matches;
Preposition and/or rear camera the ability parameter for configuring the Android device middle layer, makes described preposition and/or postposition The ability parameter of camera is matched with the ability parameter of the video frequency collection card;
Meet the video of the video frequency collection card ability parameter by the preposition and/or rear camera acquisition of the Android device Content.
2. the method as described in claim 1, which is characterized in that the Android device connects video acquisition by hub equipment Card, later further include:
The video frequency collection card connects multimedia player, for playing the video content of acquisition in real time.
3. method according to claim 2, which is characterized in that the hub equipment is USB set line equipment, the USB set line Equipment passes through USB interface and the Android device.
4. method according to claim 2, which is characterized in that the video frequency collection card is USB video frequency collection card, the USB Hub equipment is connect by USB interface with the USB video frequency collection card.
5. method as claimed in claim 4, which is characterized in that the USB video frequency collection card by HDMI interface, AV interface or Ycbcr interface is connect with the multimedia player.
6. method as claimed in claim 5, which is characterized in that the Android device connects video acquisition by hub equipment Card, later further include:
It is supported in the Android system layer addition UVC of the Android device, so that the Android device can pass through the USB video Capture card acquires video content.
7. the method as described in claim 1, which is characterized in that the equipment section of the configuration Android device system driving layer Point number, comprising:
Configure dev the and/or video device node number of the Android device system driving layer.
8. controlling the device of video acquisition content in a kind of Android device characterized by comprising
Video acquisition unit connects video frequency collection card by hub equipment for Android device;
First configuration unit configures the device node number of the Android device system driving layer, numbers the device node It is matched with the device numbering of the video frequency collection card;
Second configuration unit configures preposition and/or rear camera the ability parameter of the Android device middle layer, makes described Preposition and/or rear camera ability parameter is matched with the ability parameter of the video frequency collection card;
Video content elements meet the video for the preposition and/or rear camera acquisition by the Android device and adopt The video content of truck ability parameter.
9. device as claimed in claim 8, which is characterized in that further include:
Video playback unit, the video frequency collection card connects multimedia player, for playing the video content of acquisition in real time.
10. device as claimed in claim 9, which is characterized in that the hub equipment is USB set line equipment, the USB set line Equipment passes through USB interface and the Android device.
11. device as claimed in claim 9, which is characterized in that the video frequency collection card is USB video frequency collection card, the USB Hub equipment is connect by USB interface with the USB video frequency collection card.
12. device as claimed in claim 9, which is characterized in that the USB video frequency collection card passes through HDMI interface, AV interface Or Ycbcr interface is connect with the multimedia player.
13. device as claimed in claim 12, which is characterized in that further include:
Supporter is supported for the Android system layer addition UVC in the Android device, so that the Android device can lead to Cross the USB video frequency collection card acquisition video content.
CN201910558281.5A 2019-06-25 2019-06-25 Method and device for controlling video acquisition content on android device Active CN110266915B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910558281.5A CN110266915B (en) 2019-06-25 2019-06-25 Method and device for controlling video acquisition content on android device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910558281.5A CN110266915B (en) 2019-06-25 2019-06-25 Method and device for controlling video acquisition content on android device

Publications (2)

Publication Number Publication Date
CN110266915A true CN110266915A (en) 2019-09-20
CN110266915B CN110266915B (en) 2022-03-11

Family

ID=67921567

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910558281.5A Active CN110266915B (en) 2019-06-25 2019-06-25 Method and device for controlling video acquisition content on android device

Country Status (1)

Country Link
CN (1) CN110266915B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101719169A (en) * 2009-11-19 2010-06-02 锐选自动化科技(上海)有限公司 Three-in-one USB data acquisition card
CN202257372U (en) * 2011-09-07 2012-05-30 赵满平 Flat computer with two video acquisition modes
US20140281547A1 (en) * 2013-03-12 2014-09-18 Nipro Diagnostics, Inc. Wireless Pairing of Personal Health Device with a Computing Device
CN104252167A (en) * 2014-09-04 2014-12-31 南通北城科技创业管理有限公司 Lab VIEW-based intelligent household monitoring system
CN104799800A (en) * 2015-03-24 2015-07-29 浙江大学 Wifi electronic endoscope device
CN105426194A (en) * 2015-12-03 2016-03-23 北京利云技术开发公司 Method and system for driving cameras based on Android OTG interface
CN206060954U (en) * 2016-09-08 2017-03-29 徐文波 Video frequency collection card
CN206564649U (en) * 2017-02-14 2017-10-17 深圳市微申时代科技有限公司 High definition industrial camera
CN109640056A (en) * 2018-12-27 2019-04-16 深圳市有方科技股份有限公司 A kind of USB camera monitoring system and its method based on Android platform

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101719169A (en) * 2009-11-19 2010-06-02 锐选自动化科技(上海)有限公司 Three-in-one USB data acquisition card
CN202257372U (en) * 2011-09-07 2012-05-30 赵满平 Flat computer with two video acquisition modes
US20140281547A1 (en) * 2013-03-12 2014-09-18 Nipro Diagnostics, Inc. Wireless Pairing of Personal Health Device with a Computing Device
CN104252167A (en) * 2014-09-04 2014-12-31 南通北城科技创业管理有限公司 Lab VIEW-based intelligent household monitoring system
CN104799800A (en) * 2015-03-24 2015-07-29 浙江大学 Wifi electronic endoscope device
CN105426194A (en) * 2015-12-03 2016-03-23 北京利云技术开发公司 Method and system for driving cameras based on Android OTG interface
CN206060954U (en) * 2016-09-08 2017-03-29 徐文波 Video frequency collection card
CN206564649U (en) * 2017-02-14 2017-10-17 深圳市微申时代科技有限公司 High definition industrial camera
CN109640056A (en) * 2018-12-27 2019-04-16 深圳市有方科技股份有限公司 A kind of USB camera monitoring system and its method based on Android platform

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
晶华电子专营店: "《晶华高清视频采集卡hdmi手机摄像机单反DV会议教学直播PS4/switch电脑 USB外置录制盒 双输入接口 视频采集卡》", 《HTTPS://PRODUCT.SUNING.COM/0070143774/12106922807.HTML》 *
赵向阳: "《基于USB3.0总线的视频图像采集系统的设计》", 《万方数据》 *

Also Published As

Publication number Publication date
CN110266915B (en) 2022-03-11

Similar Documents

Publication Publication Date Title
US11632576B2 (en) Live video broadcast method, live broadcast device and storage medium
CN111625214B (en) Audio control method, device, equipment and storage medium
US20150067521A1 (en) Method and apparatus for presenting content using electronic devices
US10728613B2 (en) Method and apparatus for content insertion during video playback, and storage medium
US20080297371A1 (en) Electronic apparatus and connected apparatus searching method
WO2021114979A1 (en) Video page display method and apparatus, electronic device and computer-readable medium
US20200021772A1 (en) Multimedia recording data obtaining method and terminal device
CN106331846B (en) The method and device of audio transparent transmission
US20140089806A1 (en) Techniques for enhanced content seek
CN103686369A (en) Android platform based television signal source switching method and device
US10750149B2 (en) Information processing apparatus, information recording medium, information processing method, and program
US20140098291A1 (en) Display device, display system, mobile information terminal, and display device control method
US20170186440A1 (en) Method, device and storage medium for playing audio
US20200194016A1 (en) Audio playing method and apparatus, and terminal
CN112286481A (en) Audio output method and electronic equipment
CN103647906A (en) Multipath audio and video synthetic method for embedded hard-disk video recorder
CN102111588B (en) Broadcasting receiving device and broadcasting receiving method
KR20070012042A (en) Media player, control method thereof and media play system comprising therof
JP2016163238A (en) Display device and information rewriting method
CN111447360A (en) Application program control method and device, storage medium and electronic equipment
CN110266915A (en) The method and apparatus of video acquisition content are controlled in a kind of Android device
US20180173592A1 (en) Electronic apparatus, method for controlling thereof and display apparatus
CN110971943A (en) Video code rate adjusting method, device, terminal and storage medium
CN112017261B (en) Label paper generation method, apparatus, electronic device and computer readable storage medium
CN211429355U (en) Ink screen mobile phone with voice rereading function

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
CP01 Change in the name or title of a patent holder

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee after: Douyin Vision Co.,Ltd.

Address before: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee before: Tiktok vision (Beijing) Co.,Ltd.

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee after: Tiktok vision (Beijing) Co.,Ltd.

Address before: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee before: BEIJING BYTEDANCE NETWORK TECHNOLOGY Co.,Ltd.

CP01 Change in the name or title of a patent holder