CN108449567B - A kind of method and device being used for transmission digital video - Google Patents

A kind of method and device being used for transmission digital video Download PDF

Info

Publication number
CN108449567B
CN108449567B CN201810247401.5A CN201810247401A CN108449567B CN 108449567 B CN108449567 B CN 108449567B CN 201810247401 A CN201810247401 A CN 201810247401A CN 108449567 B CN108449567 B CN 108449567B
Authority
CN
China
Prior art keywords
data
video
audio
converted
auxiliary
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810247401.5A
Other languages
Chinese (zh)
Other versions
CN108449567A (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.)
Ava Electronic Technology Co Ltd
Original Assignee
Ava Electronic 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 Ava Electronic Technology Co Ltd filed Critical Ava Electronic Technology Co Ltd
Priority to CN201810247401.5A priority Critical patent/CN108449567B/en
Publication of CN108449567A publication Critical patent/CN108449567A/en
Application granted granted Critical
Publication of CN108449567B publication Critical patent/CN108449567B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/015High-definition television systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/4302Content synchronisation processes, e.g. decoder synchronisation
    • H04N21/4305Synchronising client clock from received content stream, e.g. locking decoder clock with encoder clock, extraction of the PCR packets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/435Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/439Processing of audio elementary streams
    • H04N21/4398Processing of audio elementary streams involving reformatting operations of audio signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440236Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by media transcoding, e.g. video is transformed into a slideshow of still pictures, audio is converted into text
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/10Adaptations for transmission by electrical cable

Abstract

This application discloses a kind of methods for being used for transmission digital video, comprising: obtains video source uncorrected data, audio-source and user's auxiliary data, carries out pretreatment according to intended conversion mode and generate preprocessed data;For the preprocessed data, asynchronous clock domain conversion is carried out based on predetermined sampling clock and generates synchronous sequence data;Generation video frame is encapsulated again by carrying out frame structure to the synchronous sequence data;Scrambling coding is carried out for the video frame, and the data after coding are subjected to parallel-serial conversion, serial signal is generated, coaxial cable is sent for the serial signal by cable driver and is transmitted.Long distance transmission UHD video at lower cost, to solve the problems, such as the at high cost of existing long distance transmission UHD video.

Description

A kind of method and device being used for transmission digital video
Technical field
This application involves audio-video signal transmission fields, and in particular to a kind of method for being used for transmission digital video and dress It sets.The application further relates to a kind of for receiving the method and device of digital video.The application further relates to a kind of digital video transmission System.
Background technique
UHD video (Ultra High Definition Television) refers to high resolution up to 3840x2160's Ultra high-definition video, generally also abbreviation 4k video.4K ultra high-definition display technology is seen by feat of outstanding clear image quality, coming personally for shock Sense quickly becomes the high-end technology of hot topic in the market, deep to be liked by the majority of consumers.Serial digital interface (SDI, Serial Digital Interface) transmission mode because its uncompressed image it is undistorted, the advantages that low delay, fine definition, numerous It occupies a tiny space in audio video transmission mode.Ordinary circumstance uses HDMI (High Definition Multimedia Interface, a kind of digitlization audio-video interface specification), DP (display port, a kind of high-definition digital display interface standard) It may be implemented short-distance transmission, it is no-delay that signal substantially may be implemented audio-visual synchronization, loses very small.But for it is long away from From distortionless image transmitting, for example, transmission 4K ultra high-definition video, transmitted data amount is very big, and currently used technical solution is used The balanced device (Equalizer) and cable actuated (CableDriver) of SDI appropriate mix transmit.
The technical solution of existing long distance transmission UHD video is due to needing the peripheral balanced device (Equalizer) of SDI collocation With cable actuated (CableDriver), height is required to the chip that ultra high-definition vision signal transmits and receives, causes cost very high, This has biggish inhibition to 4K ultra high-definition Technique Popularizing.
Summary of the invention
The application provides a kind of method for being used for transmission digital video, to solve existing long distance transmission UHD video cost High problem.
The application also provides a kind of device for being used for transmission digital video.
The application also provides a kind of method for receiving digital video.
The application also provides a kind of for receiving the device of digital video.
The application further relates to a kind of Digital Video Transmission System.
The application provides a kind of method for being used for transmission digital video, comprising:
Video source uncorrected data, audio-source and user's auxiliary data are obtained, pretreatment life is carried out according to intended conversion mode At preprocessed data;
For the preprocessed data, asynchronous clock domain conversion is carried out based on predetermined sampling clock and generates synchronous sequence number According to;
Generation video frame is encapsulated again by carrying out frame structure to the synchronous sequence data;
Scrambling coding is carried out for the video frame, and the data after coding are subjected to parallel-serial conversion, generates serial signal, Coaxial cable is sent by the serial signal by cable driver to transmit.
It is optionally, described that pretreatment generation preprocessed data is carried out according to intended conversion mode, comprising:
It formats and repacks for video source uncorrected data and generate video pre-filtering data;
I2S serioparallel exchange is carried out for audio-source and valid data Bits Expanding generates audio preprocessed data;
The extension of valid data bit wide, which is carried out, for user's auxiliary data generates pretreatment auxiliary data;
Wherein, the video pre-filtering data, the audio preprocessed data and the pretreatment auxiliary data are constituted The preprocessed data.
Optionally, described to be directed to the preprocessed data, asynchronous clock domain conversion is carried out based on predetermined sampling clock and is generated Synchronous sequence data, comprising:
The sampling clock sent using 3G is suitable for, for the video pre-filtering data, carrying out FIFO asynchronous clock domain has It imitates data reclosing to receive, and compresses video blanking area, obtain synchronizing video data;
The sampling clock sent using 3G is suitable for carries out FIFO to the audio preprocessed data and pretreatment auxiliary data Asynchronous clock domain conversion, obtains synchronized audio data and synchronous auxiliary data;
Wherein, the synchronizing video data, the synchronized audio data and the synchronous auxiliary data constitute described Synchronous sequence data;
Wherein, the sampling clock sent suitable for 3G, is 156.6Mhz sampling clock;Correspondingly, the coaxial cable, It is the coaxial cable that transmission bandwidth is 3G.
It is optionally, described to encapsulate generation video frame again by carrying out frame structure to the synchronous sequence data, comprising:
According to the frame structure of following row formats, to the synchronizing video data, synchronized audio data and synchronous auxiliary data It is encapsulated to obtain the video frame again: terminating header, blanking zone, starts header, effective video data, audio data, user Auxiliary data;
Wherein, in weight encapsulation process, to the synchronized audio data and synchronous auxiliary data, pass through high two positions zero Mode identifies invalid data.
It is optionally, described to carry out scrambling coding for the video frame, comprising:
By using 9 primitive polynomial X9+X4+ 1 pair of video frame scrambles, and generates scrambled data;
Non-return-to-zero reversal phase coding is carried out to the scrambled data by using X+1 generator polynomial, is converted to nrzi encoding Data.
It is optionally, described that generation video pre-filtering data are formatted and repacked for video source uncorrected data, Include:
4K2K@30fpsYCbCr422 16bit format video source uncorrected data is converted into 4K2K@30fps YCbCr420 12bit format video data;
For the 4K2K@30fps YCbCr420 12bit format video data, the extension of valid data bit wide is carried out, is expanded Exhibition is 20bit, generates the video pre-filtering data that row valid data are 2304*20bit;
Wherein, 4K2K@30fpsYCbCr422 16bit format video source uncorrected data is from double along sample-parallel The 4K2K@30fps video source of interface, effective resolution 3840*2160@30 32bit, sampling clock 148.5Mhz;Accordingly , video pre-filtering data of the row valid data for 2304*20bit, 30 20bit of effective resolution 2304*2160@, Sampling clock is 148.5Mhz.
Optionally, described to carry out I2S serioparallel exchange and the generation audio pretreatment of valid data Bits Expanding for audio-source Data, comprising:
For the I2S audio-source of 48Khz sample rate, I2S serioparallel exchange is carried out, generates specific format audio parallel data; The specific format refers to sample rate 48Khz16bit or so dual-channel audio format;
By way of increasing high-order valid data identifier extension valid data bit wide, simultaneously by the specific format audio Row data valid data bit wide is extended to 20bit, generates the audio preprocessed data.
Optionally, described to carry out valid data bit wide extension generation pretreatment auxiliary data, packet for user's auxiliary data It includes:
The valid data bit wide of 32bit user's auxiliary data will be extended to two by increasing high-order valid data identifier A 20bit generates the pretreatment auxiliary data.
The application also provides a kind of method for receiving digital video, comprising:
The electric signal of coaxial cable is received, serioparallel exchange is carried out and generates parallel signal, solved for the parallel signal Decoding process is disturbed, parallel data is generated;
According to default frame structure, isolate data to be converted from the parallel data, including video data to be converted, to Transducing audio parallel data and auxiliary data to be converted;
Cross clock domain conversion is carried out for the data to be converted, and corresponding view is generated based on default conversion regime reduction Frequency evidence, I2S audio data and user's auxiliary data.
Optionally, the descrambling decoding process, comprising:
By the parallel signal, NRZ is converted to by NRZI by using X+1 generator polynomial conversion bit stream;
Use 9 primitive polynomial X9+X4+ 1 generates descrambling data.
Optionally, the basis presets frame structure, and data to be converted are isolated from the parallel data, are referred to, according to Frame structure mask data described in following row formats: terminate header, blanking zone, start header, effective video data, audio number According to, user's auxiliary data, comprising:
It obtains and starts header in the effective row of video frame and terminate the data segment between header, isolated effectively from the data segment Video data is as the video data to be converted;
Effective audio parallel data of high-order effectively identifier is isolated from the data segment as the sound to be converted Frequency parallel data;
High-order effectively identifier auxiliary data has been isolated from the data segment as the auxiliary data to be converted.
Optionally, described to carry out cross clock domain conversion for the data to be converted, and based on default conversion regime reduction Generate corresponding video data, I2S audio data and user's auxiliary data, comprising:
Being extended to 32bit for the video data restoration to be converted by 20bit by valid data bit wide is YCbCr420 YCbCr420 format is converted to YCbCr422 format, and is directed to using the corresponding sampling clock of 4K2K@30fps by format YCbCr422 format video data carries out the conversion of FIFO cross clock domain, extends blanking zone, is generated based on standard 4K2K frame structure The video data of 4K2K@30fps 16bit;
From the audio parallel data to be converted, effective audio parallel data is obtained according to high bit identification, based on pre- If audio sample bit clock carries out the conversion of FIFO cross clock domain, then by parallel-serial conversion, generates serial i 2S audio data;
From the auxiliary data to be converted, effective auxiliary data is obtained according to high bit identification, as user's supplementary number According to.
Optionally, the electric signal is the electric signal of 3G coaxial cable transmission;Correspondingly, the parallel data, is to differentiate Rate is the valid data that 2308*2160 20bit sampling clock is 156.6Mhz;Correspondingly, being directed to the video counts to be converted According to by bit wide extension and video format conversion, generation effective resolution is 30 32bit sampling clock of 1920*2160@ The data of 156.6Mhz, and FIFO cross clock domain is further carried out using the corresponding 148.5Mhz sampling clock of 4K2K 30fps and is turned It changes, expands blanking zone, generate standard 4K2K frame structure video data.
The application also provides a kind of device for being used for transmission digital video, comprising:
Data pre-processing unit turns for obtaining video source uncorrected data, audio-source and user's auxiliary data according to predetermined The mode of changing carries out pretreatment and generates preprocessed data;
Synchronous sequence unit carries out asynchronous clock domain based on predetermined sampling clock and turns for being directed to the preprocessed data It changes and generates synchronous sequence data;
Frame weight encapsulation unit, for encapsulating generation video frame again by carrying out frame structure to the synchronous sequence data;
Transmission unit is encoded, for carrying out scrambling coding for the video frame, and the data after coding is carried out and is gone here and there Conversion generates serial signal, sends coaxial cable for the serial signal by cable driver and transmit.
The application also provides a kind of for receiving the device of digital video, comprising:
Decoding unit is received, for receiving the electric signal of coaxial cable, serioparallel exchange is carried out and generates parallel signal, for institute It states parallel signal and carries out descrambling decoding process, generate parallel data;
Data separating unit presets frame structure for basis, data to be converted is isolated from the parallel data, including Video data, audio parallel data to be converted and auxiliary data to be converted to be converted;
Audio-video reduction unit, for carrying out cross clock domain conversion for the data to be converted, and based on default conversion Mode, which restores, generates corresponding video data, I2S audio data and user's auxiliary data.
The application also provides a kind of Digital Video Transmission System, comprising: the device for being used for transmission digital video, and The device for being used to receive digital video.
Compared with prior art, the application has the following advantages:
The method and device provided by the present application for being used for transmission digital video, by obtaining video source uncorrected data, audio-source And user's auxiliary data, pretreatment is carried out according to intended conversion mode and generates preprocessed data;For the preprocessed data, Asynchronous clock domain conversion, which is carried out, based on predetermined sampling clock generates synchronous sequence data;By being carried out to the synchronous sequence data Frame structure encapsulates again generates video frame;Scrambling coding is carried out for the video frame, and the data after coding are carried out and are gone here and there to turn It changes, generates serial signal, coaxial cable is sent for the serial signal by cable driver and is transmitted, to UHD video It carries out data conversion and is packaged encapsulation to realize the transmission UHD video undistorted over long distances on 3G hardware foundation, solve UHD video Long distance transmission problem at high cost.
Detailed description of the invention
Fig. 1 is a kind of process flow diagram for being used for transmission digital video methods provided by the embodiments of the present application;
Fig. 2 is a kind of schematic diagram for system that the embodiment of the present application is disposed in transmitting terminal;
Fig. 3 is the conversion of specific audio, video data format and data for a kind of system that the embodiment of the present application is disposed in transmitting terminal Flow graph;
Fig. 4 is the encapsulation provided by the embodiments of the present application again for being used for transmission digital video methods actual deployment system and being included Frame structure schematic diagram.
Fig. 5 is provided by the present application for receiving the process flow diagram of the method for digital video;
Fig. 6 is the process signal provided by the embodiments of the present application for receiving decoder included by the method for digital video Figure;
Fig. 7 is a kind of system schematic that the embodiment of the present application is disposed in receiving end;
Fig. 8, which is the embodiment of the present application, disposes the conversion of specific audio, video data format and data flow of a kind of system in receiving end Xiang Tu;
Fig. 9 is according to a kind of schematic device for being used for transmission digital video provided by the present application;
Figure 10, it illustrates according to provided by the present application a kind of for receiving the schematic device of digital video;
Figure 11 is according to a kind of schematic diagram of Digital Video Transmission System provided by the present application;
Figure 12 is a kind of actual deployment structure chart of the system provided by the present application for being used for transmission digital video.
Specific embodiment
Many details are explained in the following description in order to fully understand the application.But the application can be with Much it is different from other way described herein to implement, those skilled in the art can be without prejudice to the application intension the case where Under do similar popularization, therefore the application is not limited by following public specific implementation.
The application provides a kind of method for being used for transmission digital video.The application is related to one kind simultaneously and is used for transmission digital view The device of frequency.The application also provides a kind of method for receiving digital video.The application also provides a kind of for receiving number The device of video.The application further relates to a kind of Digital Video Transmission System.It is described in detail one by one in the following embodiments.
The application one embodiment provides a kind of method for being used for transmission digital video.
A kind of method for being used for transmission digital video provided by the embodiments of the present application is said below in conjunction with Fig. 1 to Fig. 4 It is bright.Wherein, Fig. 1 is a kind of process flow diagram for being used for transmission digital video methods provided by the embodiments of the present application;Fig. 2 is this Shen It please a kind of schematic diagram of system disposed in transmitting terminal of embodiment;Fig. 3 is the germline that the embodiment of the present application is disposed in transmitting terminal The specific audio, video data format conversion of system and data flow figure;Fig. 4 is provided by the embodiments of the present application to be used for transmission digital view The heavy encapsulated frame structural schematic diagram that frequency method actual deployment system is included.
Distortionless long distance transmission ultra high-definition video is extremely important for 4k ultra high-definition Technique Popularizing, the embodiment of the present application The method for being used for transmission digital video is illustrated for based on 3G bandwidth for transmission UHD video.The embodiment of the present application In, using deserializer (SERDES) base in the programmable gate array (FPGA, i.e. Programmable ASIC) being widely used at present In the distortionless transmission 4K2K 30fps ultra high-definition vision signal of 3G bandwidth, UHD video is transmitted on the hardware foundation of 3G bandwidth, Increase transmission range, wherein FPGA uses the device of manufacturer XILINX and LATTICE, has broken existing ultra high-definition video letter Number short limitation of transmission range selects that transmission can be stablized in long 100 meters of SDI cable when frequency 3.132Gbit/s transmission. Alternatively, it is also possible to customize the transmitting and receiving asic chip (Application of a pair of of transmission 4K2K@30fps ultra high-definition vision signal Specific IC or dedicated IC chip), customization asic chip has the user interface of video, audio, user's auxiliary data, together Shi Buyong improves hardware performance requirements, then cost is reduced compared to FPGA, so as to be generalized to ultra high-definition video technique to property Valence is than in the consumer the field such as video monitoring, recorded broadcast audio-video field that require.
The method of digital video is used for transmission shown in Fig. 1, comprising: step S101 to S104.
Step S101 obtains video source uncorrected data, audio-source and user's auxiliary data, is carried out according to intended conversion mode Pretreatment generates preprocessed data.
The purpose of this step is, to the video data being made of video source uncorrected data, audio-source and user's auxiliary data It is pre-processed, gets out preprocessed data for the conversion of further progress asynchronous domain clock.Preferably, the video source uncorrected data With the audio-source be based on digital technology record video information, specifically by video frequency collection card to analog video signal into The digital signal for obtaining and saving after row conversion.
It is to be transmitted to UHD digital audio/video, including high score is captured by 4k equipment camera in the embodiment of the present application Every frame image conversion UHD video format simultaneously is stored to obtain the naked number of UHD video source by resolution UHD image according to certain rule According to;By audio collection circuit, such as microphone, analog audio signal is obtained with certain sample frequency, and be converted to number Signal is stored as I2S audio data;So-called user's auxiliary data refers to and is a supporting role in the processing of main body audio, video data Data, it does not constitute the principal entities of audio, video data processing, for example, in transmitting terminal chip and receiving end when transmission video The data communicated between chip.
Specifically, described carry out pretreatment generation preprocessed data according to intended conversion mode, comprising:
It formats and repacks for video source uncorrected data and generate video pre-filtering data;
I2S serioparallel exchange is carried out for audio-source and valid data Bits Expanding generates audio preprocessed data;
The extension of valid data bit wide, which is carried out, for user's auxiliary data generates pretreatment auxiliary data;
Wherein, the video pre-filtering data, the audio preprocessed data and the pretreatment auxiliary data are constituted The preprocessed data.
Video source uncorrected data in the embodiment of the present application is the video counts of 4K2K@30fpsYCbCr422 16bit format According to from double 4K2K@30fps video sources along sample-parallel interface, 30 32bit of effective resolution 3840*2160@, sampling Clock is 148.5Mhz;It formats and repacks for above-mentioned video source uncorrected data and generate video pre-filtering data, Specifically include following processing:
4K2K@30fpsYCbCr422 16bit format video source uncorrected data is converted into 4K2K@30fpsYCbCr420 12bit format video data;
For the 4K2K@30fps YCbCr420 12bit format video data, the extension of valid data bit wide is carried out, is expanded Exhibition is 20bit, generates the video pre-filtering data that row valid data are 2304*20bit.
By the obtained video pre-filtering data of above-mentioned processing, effective resolution is 2304*2160@3020bit, sampling Clock is 148.5Mhz, and wherein row valid data are 2304*20bit.
Audio-source in the embodiment of the present application is 48Khz sample rate I2S audio data;So-called I2S (InterIC Sound or integrated circuit built-in audio), it is a kind of standard of the audio data transmission between digital audio-frequency apparatus, is widely applied In various multimedia systems, using the design along independent wire transmission clock and data-signal, by the way that data and clock are believed Number separation, avoid because the time difference induce distortion, thus do not have to purchase resist audio jitter special equipment.Specifically, being directed to sound Frequency source carries out I2S serioparallel exchange and valid data Bits Expanding generates audio preprocessed data, comprising:
For the I2S audio-source of 48Khz sample rate, I2S serioparallel exchange is carried out, generates specific format audio parallel data; The specific format refers to sample rate 48Khz16bit or so dual-channel audio format;
By way of increasing high-order valid data identifier extension valid data bit wide, simultaneously by the specific format audio Row data valid data bit wide is extended to 20bit, generates the audio preprocessed data.
In addition, carrying out the extension of valid data bit wide in the embodiment of the present application also directed to user's auxiliary data and generating pretreatment Auxiliary data specifically includes:
The valid data bit wide of 32bit user's auxiliary data is extended to two by increasing high-order valid data identifier 20bit generates the pretreatment auxiliary data.
Step S102 carries out asynchronous clock domain conversion based on predetermined sampling clock and generates together for the preprocessed data Walk time series data.
The purpose of this step is, for preprocessed data obtained in step S101, to carry out asynchronous clock domain conversion and generate Synchronous sequence data.
Due to the video source uncorrected data of acquisition, audio-source and user's auxiliary data, it may be from different IC chips, have not With clock source, different clock domains has different a clock frequency and clock phase, thus obtained by pretreatment these Audio, video data needs to synchronize timing, guarantees to carry out accurate delivery in different clock domains.
In the embodiment of the present application, for the preprocessed data, asynchronous clock domain conversion is carried out based on predetermined sampling clock Synchronous sequence data are generated, are specifically included:
The sampling clock sent using 3G is suitable for, for the video pre-filtering data, carrying out FIFO asynchronous clock domain has It imitates data reclosing to receive, and compresses video blanking area, obtain synchronizing video data;
The sampling clock sent using 3G is suitable for carries out FIFO to the audio preprocessed data and pretreatment auxiliary data Asynchronous clock domain conversion, obtains synchronized audio data and synchronous auxiliary data;
Wherein, the synchronizing video data, the synchronized audio data and the synchronous auxiliary data constitute described Synchronous sequence data;
Wherein, the sampling clock sent suitable for 3G, is 156.6Mhz sampling clock;Correspondingly, the coaxial cable, It is 3G coaxial cable, i.e., the coaxial cable that transmission bandwidth is 3Gbps can be used for transmitting not for example, by using 75 ohm coaxial cables Compression high definition digital video signal.
FIFO asynchronous clock domain conversion, refers to, using FIFO (First in First out) mode to the period and Data between the independent and different multiple clock domains of phase carry out timing synchronization.
Step S103 encapsulates generation video frame by carrying out frame structure to the synchronous sequence data again.
The purpose of this step is, for the audio, video data that step S102 is handled, according to the frame structure of predetermined format It is packaged into video frame.
It is to encapsulate video frame according to the frame structure shown in Fig. 4 indicated with row format in the embodiment of the present application.Specifically, It is described to encapsulate generation video frame again by carrying out frame structure to the synchronous sequence data, comprising:
According to the frame structure of following row formats, to the synchronizing video data, synchronized audio data and synchronous auxiliary data It is encapsulated to obtain the video frame again: terminating header 28, blanking zone 29, starts header 30, effective video data 31, audio number According to 32, user's auxiliary data 33;Video frame after encapsulation is transmitted with binary code data stream.
It should be noted that in weight encapsulation process, to the synchronized audio data and synchronous auxiliary data, by high by two The mode of position zero identifies invalid data.
Step S104 carries out scrambling coding for the video frame, and the data after coding is carried out parallel-serial conversion, generates Serial signal sends coaxial cable for the serial signal by cable driver and transmits.
The purpose of this step is the video frame for generating step S103, and scrambling encodes and is converted to serial signal, is passed through Coaxial cable transmission.
In the embodiment of the present application, scrambled using primitive polynomial for the video frame, using generator polynomial to scrambling Data afterwards carry out non-return-to-zero reversal phase coding, specifically include following processing to guarantee the reliability of transmission:
By using 9 primitive polynomial X9+X4+ 1 pair of video frame scrambles, and generates scrambled data;
Non-return-to-zero reversal phase coding (NRZI or Non are carried out to the scrambled data by using X+1 generator polynomial Return to zero-inverted code), be converted to nrzi encoding data.
Need to illustrate when, scramble the multinomial that the multinomial used and coding use and be not limited to above-mentioned multinomial, it is above-mentioned Multinomial is preferred.In addition, scrambling when sending can encode afterwards the step of coding first to scramble, or after first encoding Scrambling encodes coding step sequence when the processing step of preceding data is transmission on the contrary, still scrambling more correspondingly, extracting after reception Item formula is identical with descrambling multinomial, and it is identical that coding polynomial conciliates code polynomial.It first encodes when for example, sending and scrambles afterwards, then connect Time receiving is first to descramble further decoding.
In the embodiment of the present application, M sequence generator is constructed using primitive polynomial, M sequence is generated and audio, video data is added It disturbs, so-called scrambling, is that information flow is likely to occur continuous " 0 " or continuous " 1 " after coded treatment in digital communication, destroys The balance of " 0 " code and " 1 " code will affect the foundation and holding of bit synchronization, therefore by the way that a pseudo-random sequence is added to input Transport stream carry out upset processing, as scramble, generally scrambled with M sequence.
The nrzi encoding is point that level only has positive negative level after encoding, without zero level, is non-return-to-zero coding, makes Logical zero is indicated with the once inside out of level, and expression logic 1 identical as previous level is using generation in the embodiment of the present application Multinomial X+1 converts the binary system audio, video data code stream of mistake proofing processing to be carried out, then recipient according to hair The identical multinomial in the side of sending is converted again, verifies the correctness of the binary code stream received.
Parallel signal is converted into serially believing by the audio, video data after scrambled coding, further progress parallel-serial conversion Number, such as carry out plus go here and there using the serializer that design transmission bandwidth is 3.2Gbit/s~3.5Gbit/s, pass through cable after adding string Driver sends 3G coaxial cable for the serial signal and transmits.
The method major deployments of digital video are used for transmission described in the embodiment of the present application in UHD video sending end, referring to Fig. 2 and Fig. 3, Fig. 2 are a kind of schematic diagrames for system that the embodiment of the present application is disposed in transmitting terminal;Fig. 3 is that the embodiment of the present application exists A kind of specific audio, video data format conversion of system of transmitting terminal deployment and data flow figure.
A kind of system that the embodiment of the present application shown in Fig. 2 is disposed in transmitting terminal, as UHD video sending end, comprising: view Frequency data pre-processing unit 3, audio serioparallel exchange unit 5, frame structure weight encapsulation unit 6, is compiled asynchronous clock domain converting unit 4 Code device unit 7 plus string device transmission unit 8.The video data pretreatment unit 3 formats video source uncorrected data simultaneously It repacks;Audio-source progress I2S is turned audio parallel data by the audio serioparallel exchange unit 5;The asynchronous clock domain turns It changes unit 4 and audio serioparallel exchange unit 5 has been switched to parallel audio data, user's auxiliary data and the video data The video data that pretreatment unit 3 beats again packet carries out the asynchronous conversion of clock domain and compression video blanking area;The frame structure seals again The converted video of asynchronous clock domain converting unit, audio, user data integrate new frame structure envelope of laying equal stress on by dress unit 6 Dress;The video frame newly encapsulated is carried out scrambling coding by the cell encoder 7;Described plus string device transmission unit 8 will be after coding Parallel data switchs to serial signal and is sent on the coaxial cable of transmission 3G bandwidth through cable driver.Specifically, the video It is by 4K2K 30fps video source format YCbCr422 that data pre-processing unit 3, which formats video source uncorrected data, 16bit switchs to YCbCr420 12bit;The converted video data of format is carried out weight by the video data pretreatment unit 3 New be packaged is that 4K2K@30fps YCbCr420 12bit video data progress valid data bit wide is expanded to 20bit, through format The video data of conversion, row valid data become 2304*20bit from 3840*12bit.The asynchronous clock domain converting unit 4 will The video data for having beaten again packet carries out the asynchronous conversion of clock domain and compression video blanking area is in order to be sent and selected by 3G Corresponding sampling clock carries out different clock domain valid data reclosing and receives, and cuts compression video blanking area;The asynchronous clock domain conversion Audio serioparallel exchange unit has been switched to parallel audio data by unit 4, and user's auxiliary data, which carries out asynchronous clock domain conversion, is Bit wide is first extended to number by increasing the method for high-order valid data identifier by parallel audio data and user's auxiliary data A 20bit data cell, reselection correspond to sampling clock and carry out different clock domain conversion.
Fig. 3 is the conversion of specific audio, video data format and data for a kind of system that the embodiment of the present application is disposed in transmitting terminal Flow graph, comprising:
It is sampled from double 4K2K@30fps video source effective resolution 3840*2160@3032bit along sample-parallel interface Clock is 148.5Mhz, and output video is effective after YCbCr422 turns 18 processing of YCbCr420 14 and the extension of valid data bit wide 30 20bit sampling clock of resolution ratio 2304*2160@is 148.5Mhz;
FIFO asynchronous domain Transpression horizontal blanking area 19 receives valid data using the sampling clock of 156.6Mhz and presses simultaneously Indention blanking zone, Htotal (horizontal display pixel) become 2320, Vtotal (vertically displayed pixel) from 4400 and remain unchanged;
Audio-source I2S 48K sample rate carries out I2S transformation from serial to parallel signal 15 and obtains sample rate 48K, the left and right two of 16bit A sound channel is further added by high-order valid data identifier bit wide extension 16 to 20bit bit wide, after increased valid data identifier Data composition is expressed as { 1,0, effective channel data high eight-bit, 1,0, effective channel data is eight low } with bit, finally with adopting The clock of sample frequency 156.6Mhz carries out FIFO asynchronous domain conversion 17 and carries out asynchronous clock domain conversion;
User's auxiliary data of 32bit is handled by increasing high-order valid data identifier bit wide extension 16 to two 20bit bit wide, and carry out FIFO asynchronous domain conversion 17 with the clock of sample frequency 156.6Mhz and carry out asynchronous clock domain conversion.
Frame structure encapsulates 20 for the video data converted from FIFO asynchronous domain, audio data, user's auxiliary data again Frame structure is carried out to encapsulate again, wherein the audio data encapsulated and user auxiliary data area, because of its original effective data rate phase It is slower to the sampling of 156.6Mhz, which is distinguished by zero setting high two;
Coding serializer 21 is added weight encapsulated frame effective resolution 2308*2160 20bit sampling clock 156.6Mhz Coding and parallel-serial conversion is disturbed to be sent to through cable driver on the coaxial cable of transmission 3.132Gbit/s bandwidth.
It is corresponding with a kind of embodiment for the method for being used for transmission digital video provided by the present application, and based on it, Present invention also provides a kind of methods for receiving digital video.
Below in conjunction with Fig. 5 to Fig. 8 to the application one embodiment provide it is a kind of for receive the method for digital video into Row explanation.Wherein, Fig. 5 is provided by the present application for receiving the process flow diagram of the method for digital video;Fig. 6 is the application reality The flow diagram for being used to receive decoder included by the method for digital video of example offer is provided;Fig. 7 is the embodiment of the present application In a kind of system schematic of receiving end deployment;Fig. 8 is that the embodiment of the present application is regarded in the specific sound that a kind of system is disposed in receiving end Frequency Data Format Transform and data flow figure.
Since the present embodiment is based on above-described embodiment, so describing fairly simple, relevant part is referred to State the corresponding explanation of embodiment.
Method shown in fig. 5 for receiving digital video, comprising:
Step S501 receives the electric signal of coaxial cable, carries out serioparallel exchange and generates parallel signal, for the parallel letter Descrambling decoding process number is carried out, parallel data is generated.
The purpose of this step is to carry out serioparallel exchange and descrambling decoding process at simultaneously to the audio-video electric signal received Row data, inverse process processing that is before coaxial cable transmission is sent to generally according to it plus going here and there and scramble coding process.
In the embodiment of the present application, the electric signal of the UHD video of the nrzi encoding of received 3G transmission over coaxial cable is described Electric signal is serial signal, is converted into parallel signal after deserializer is handled, the design transmission bandwidth of the deserializer used for 3.2Gbit/s~3.5Gbit/s.Parallel signal after unstringing enters descrambling decoding process, compiles using with scrambling when sending Still identical multinomial carries out respective handling to extract data before coding to the quasi- process of code, specifically includes:
By the parallel signal, NRZ is converted to by NRZI by using X+1 generator polynomial conversion bit stream;
Use 9 primitive polynomial X9+X4+ 1 generates descrambling data.
Need to illustrate when, if the step of scrambling coding when sending is encoded afterwards first scramble, extract volume after receiving Data are then first to decode to descramble again before code;If the step of scrambling when sending encodes scrambles afterwards first to encode, mentioned after receiving Taking data before coding is then first to descramble further decoding, descrambles the multinomial used and multinomial that scrambling uses is consistent, decode The multinomial that the multinomial and coding used uses is consistent.
Fig. 6 shows the process of decoder employed in the embodiment of the present application, and specific implementation step includes:
Parallel data d [19:0] and its previous clock cycle latch data prev_d [19:0] after unstringing are spelled It connects, is spliced into { d [18:0], prev_d [19] }, obtains data add_d [19:0];
NRZI to NRZ conversion is carried out, d [19:0] and the position add_d [19:0] exclusive or are obtained into nrz [19:0];
Nrz [19:0] and its previous clock cycle latch data prev_nrz [19:0] are spliced nrz [19: 0], prev_nrz [19:11] }, obtain data add_nrz [28:0];Allow i from 0 to 19, by add_nrz [i], add_nrz [i+ 4], add_nrz [i+9] carries out position exclusive or, has been descrambled decoding data desc_q [19:0].
So-called NRZ (or Non-Return to Zero), is the non-return-to-zero coding to digital signal, this coding type is one It issues or does not issue electric current (unipolarity coding) in the All Time of a symbol, or issue positive current or negative current (bipolarity) Indicate the 0 or 1 of digital signal, each coding occupies whole symbol widths.
Step S502 isolates data to be converted, including view to be converted according to default frame structure from the parallel data Frequency evidence, audio parallel data to be converted and auxiliary data to be converted.
The purpose of this step is, video data, audio data and auxiliary are separated from the parallel data obtained after descrambling decoding Data are helped, in case the data that UHD video initial when being further reduced into transmission is included.
In the embodiment of the present application, data are video requency frame datas before the coding obtained after descrambling decoding, and frame structure is with row lattice Formula indicates each section, comprising: terminates header, blanking zone, starts header, effective video data, audio data, user's supplementary number According to the video frame structure before encoding when this wants and sends is consistent.Specifically, according to default frame structure, from described and line number Frame structure mask data described in row format is stated according to above-mentioned in, comprising:
It obtains and starts header in the effective row of video frame and terminate the data segment between header, isolated effectively from the data segment Video data is as the video data to be converted;
Effective audio parallel data of high-order effectively identifier is isolated from the data segment as the sound to be converted Frequency parallel data;
High-order effectively identifier auxiliary data has been isolated from the data segment as the auxiliary data to be converted.
Step S503 carries out cross clock domain conversion for the data to be converted, and also primary based on default conversion regime At corresponding video data, I2S audio data and user's auxiliary data.
The purpose of this step is to be reduced into the video data isolated from video frame, audio data and auxiliary data The data that the initial UHD video acquired before sending is included, such as video source uncorrected data, audio-source and user's supplementary number According to.
In the embodiment of the present application, the data that use and while sending are included to the initial UHD video of acquisition carry out asynchronous The corresponding processes such as clock domain conversion, format conversion, bit wide adjustment are handled.Wherein, for the data to be converted into The conversion of row cross clock domain, and corresponding video data, I2S audio data and user's auxiliary are generated based on default conversion regime reduction Data specifically include:
Being extended to 32bit for the video data restoration to be converted by 20bit by valid data bit wide is YCbCr420 YCbCr420 format is converted to YCbCr422 format, and is directed to using the corresponding sampling clock of 4K2K@30fps by format YCbCr422 format video data carries out the conversion of FIFO cross clock domain, extends blanking zone, is generated based on standard 4K2K frame structure The video data of 4K2K@30fps 16bit;
From the audio parallel data to be converted, effective audio parallel data is obtained according to high bit identification, based on pre- If audio sample bit clock carries out the conversion of FIFO cross clock domain, then by parallel-serial conversion, generates serial i 2S audio data;
From the auxiliary data to be converted, effective auxiliary data is obtained according to high bit identification, as user's supplementary number According to.
For example, being that 2308*2160 20bit sampling clock is from the electric signal that 3G coaxial cable receives transmission The video frame of 156.6Mhz is adding the electric signal serially added after disturbing coding;
Correspondingly, it is that 2308*2160 20bit is sampled that the parallel data obtained after the descrambling decoding that unstring, which is resolution ratio, Clock is the valid data of 156.6Mhz;
Correspondingly, being directed to the video data to be converted, converted by bit wide extension and video format, generates effective point Resolution is the data of 30 32bit sampling clock 156.6Mhz of 1920*2160, and further corresponding using 4K2K 30fps 148.5Mhz sampling clock carries out the conversion of FIFO cross clock domain, expands blanking zone, generates standard 4K2K frame structure video data.
In addition, transmitting and receiving cost to reduce UHD, a pair of of transmission 4K2K@30fps ultra high-definition vision signal can be customized Asic chip is transmitted and received, which has the user interface of video, audio, user's auxiliary data, adopt for reliable transmission With nrzi encoding, transmitted by 3G coaxial cable.Due to not requiring higher hardware performance, then the fpga chip with class is compared Cost performance can be improved, and 100 meters or more can achieve to 4K2K@30fps ultra high-definition video signal transmission distance, is suitable in property Valence is promoted the use of than demanding scene, such as safety monitoring industry.
For receiving the method major deployments of digital video in UHD video receiver described in the embodiment of the present application, referring to Fig. 7 and Fig. 8, Fig. 7 are a kind of system schematics that the embodiment of the present application is disposed in receiving end;Fig. 8 is that the embodiment of the present application is connecing The specific audio, video data format that receiving end disposes a kind of system is converted and data flow figure.
A kind of system that the embodiment of the present application shown in Fig. 7 is disposed in receiving end, as UHD video receiver, comprising: solution String device receiving unit 9, decoder element 10, data separating unit 11, video data format reduction unit 12, audio data are simultaneously gone here and there Converting unit 13.The deserializer receiving unit 9 unstrings after receiving the equalised device of the electric signal of coaxial cable;The solution Parallel data after unstringing further is descrambled decoding by code device unit 10;The data separating unit 11 by the descrambling that unstringed and Row signal carries out video data, audio data, the separation of user's auxiliary data;The video data format reduction unit 12 is by data The vision signal of packing separated in separative unit 11 carries out data structure reduction, frame structure reduction;The audio data It is I2S audio that the efficient parallel audio data that parallel serial conversion unit 13 separates data separating unit 11, which carries out parallel-serial conversion, Data.Wherein, the data separating unit 11 is extracting beginning header and is terminating between header according to video frame in effective row Data, video data is separated;It is to extract effective audio of high-order effectively identifier in the effective row of video frame Data and user's auxiliary data.
The embodiment of the present application shown in Fig. 8 is converted and is counted in the specific audio, video data format that a kind of system is disposed in receiving end According to flow graph, comprising:
It unstrings after decoder 22 receives the equalised device of the 3G electric signal of coaxial cable and carries out the descrambling that unstrings;
Data separating 23 from deserializer 20 unstring decoding obtain video frame in extract effective video data, audio data with And auxiliary data, in case being further reduced into initial UHD video source data (such as 4K2K standard frame), the sound obtained when transmission Frequency source data (such as serial audio I2S) and user's auxiliary data;
Video data bit wide extension YCbCr420 turns YCbCr422 double image element single-unit and claps 24 for effective video data progress position Width extends and restores the video format of YCbCr422, and obtaining video effective resolution is 1920*2160@3032bit sampling clock 156.6Mhz;
Video data cross clock domain converts FIFO 26 and reads video in FIFO using the corresponding sampling clock of 4K2K@30fps Data simultaneously extend blanking zone reduction 4K2K standard frame;
The valid data 25 of high-order effectively identifier are extracted by the audio data extracted from data separating 23 and user Auxiliary data isolates effective audio data and user's auxiliary data according to high bit identification;
Audio cross clock domain converts FIFO parallel-serial conversion 27 and uses the effective audio data come out by high-order marker extraction It is serial audio I2S that corresponding audio sample bit clock, which is read out and carries out parallel-serial conversion,.
It is corresponding with a kind of embodiment for the method for being used for transmission digital video provided by the present application, present invention also provides A kind of device being used for transmission digital video.
Referring to Fig. 9, it illustrates according to a kind of schematic device for being used for transmission digital video provided by the present application.Due to Installation practice is substantially similar to embodiment of the method, so describing fairly simple, relevant part refers to embodiment of the method Corresponding explanation.Installation practice described below is only schematical.
A kind of device being used for transmission digital video provided by the embodiments of the present application, comprising:
Data pre-processing unit 901, for obtaining video source uncorrected data, audio-source and user's auxiliary data, according to pre- Determine conversion regime and carries out pretreatment generation preprocessed data;
Synchronous sequence unit 902 carries out asynchronous clock domain based on predetermined sampling clock for being directed to the preprocessed data Conversion generates synchronous sequence data;
Frame weight encapsulation unit 903, for encapsulating generation video frame again by carrying out frame structure to the synchronous sequence data;
Transmission unit 904 is encoded, for carrying out scrambling coding for the video frame, and the data after coding are carried out simultaneously String conversion, generates serial signal, sends coaxial cable for the serial signal by cable driver and transmit.
Optionally, the data pre-processing unit 901, comprising:
Video source pre-processes subelement, for formatting for video source uncorrected data and repacking generation video Preprocessed data;
Audio-source pre-processes subelement, for carrying out I2S serioparallel exchange and the life of valid data Bits Expanding for audio-source At audio preprocessed data;
Auxiliary data pre-processes subelement, generates pre- place for carrying out the extension of valid data bit wide for user's auxiliary data Manage auxiliary data;
Wherein, the video pre-filtering data, the audio preprocessed data and the pretreatment auxiliary data are constituted The preprocessed data.
Optionally, the synchronous sequence unit 902, is specifically used for:
The sampling clock sent using 3G is suitable for, for the video pre-filtering data, carrying out FIFO asynchronous clock domain has It imitates data reclosing to receive, and compresses video blanking area, obtain synchronizing video data;
The sampling clock sent using 3G is suitable for carries out FIFO to the audio preprocessed data and pretreatment auxiliary data Asynchronous clock domain conversion, obtains synchronized audio data and synchronous auxiliary data;
Wherein, the synchronizing video data, the synchronized audio data and the synchronous auxiliary data constitute described Synchronous sequence data;
Wherein, the sampling clock sent suitable for 3G, is 156.6Mhz sampling clock;Correspondingly, the coaxial cable, It is the coaxial cable that transmission bandwidth is 3G.
Optionally, the frame weight encapsulation unit 903, is specifically used for:
According to the frame structure of following row formats, to the synchronizing video data, synchronized audio data and synchronous auxiliary data It is encapsulated to obtain the video frame again: terminating header, blanking zone, starts header, effective video data, audio data, user Auxiliary data;
Wherein, in weight encapsulation process, to the synchronized audio data and synchronous auxiliary data, pass through high two positions zero Mode identifies invalid data.
Optionally, the coding transmission unit 904, including scrambling coded sub-units, are used for:
By using 9 primitive polynomial X9+X4+ 1 pair of video frame scrambles, and generates scrambled data;
Non-return-to-zero reversal phase coding is carried out to the scrambled data by using X+1 generator polynomial, is converted to nrzi encoding Data.
Optionally, the video source pre-processes subelement, is specifically used for:
4K2K@30fpsYCbCr422 16bit format video source uncorrected data is converted into 4K2K@30fps YCbCr420 12bit format video data;
For the 4K2K@30fps YCbCr420 12bit format video data, the extension of valid data bit wide is carried out, is expanded Exhibition is 20bit, generates the video pre-filtering data that row valid data are 2304*20bit;
Wherein, 4K2K@30fpsYCbCr422 16bit format video source uncorrected data is from double along sample-parallel The 4K2K@30fps video source of interface, effective resolution 3840*2160@30 32bit, sampling clock 148.5Mhz;Accordingly , video pre-filtering data of the row valid data for 2304*20bit, 30 20bit of effective resolution 2304*2160@, Sampling clock is 148.5Mhz.
Optionally, the audio-source pre-processes subelement, is specifically used for:
For the I2S audio-source of 48Khz sample rate, I2S serioparallel exchange is carried out, generates specific format audio parallel data; The specific format refers to sample rate 48Khz16bit or so dual-channel audio format;
By way of increasing high-order valid data identifier extension valid data bit wide, simultaneously by the specific format audio Row data valid data bit wide is extended to 20bit, generates the audio preprocessed data.
Optionally, the auxiliary data pre-processes subelement, is specifically used for:
The valid data bit wide of 32bit user's auxiliary data will be extended to two by increasing high-order valid data identifier A 20bit generates the pretreatment auxiliary data.
It is corresponding with a kind of embodiment for receiving the method for digital video provided by the present application, present invention also provides It is a kind of for receiving the device of digital video.
Referring to Fig.1 0, it illustrates according to provided by the present application a kind of for receiving the schematic device of digital video.By It is substantially similar to embodiment of the method in Installation practice, so describing fairly simple, relevant part refers to method implementation The corresponding explanation of example.Installation practice described below is only schematical.
It is provided by the embodiments of the present application a kind of for receiving the device of digital video, comprising:
Decoding unit 1001 is received, for receiving the electric signal of coaxial cable, serioparallel exchange is carried out and generates parallel signal, needle Descrambling decoding process is carried out to the parallel signal, generates parallel data;
Data separating unit 1002, for isolating data to be converted from the parallel data according to frame structure is preset, Including video data to be converted, audio parallel data to be converted and auxiliary data to be converted;
Audio-video reduction unit 1003, for carrying out cross clock domain conversion for the data to be converted, and based on default Conversion regime reduction generates corresponding video data, I2S audio data and user's auxiliary data.
Optionally, the reception decoding unit 1001, including descrambling decoding subunit, are used for:
By the parallel signal, NRZ is converted to by NRZI by using X+1 generator polynomial conversion bit stream;
Use 9 primitive polynomial X9+X4+ 1 generates descrambling data.
Optionally, the data separating unit 1002, is used for: according to frame structure separation number described in following row formats According to: terminate header, blanking zone, start header, effective video data, audio data, user's auxiliary data;Include:
Video data separates subelement, for obtaining the data started between header and end header in the effective row of video frame Section, isolates effective video data as the video data to be converted from the data segment;
Audio data separates subelement, for isolating effective audio of high-order effectively identifier from the data segment simultaneously Row data are as the audio parallel data to be converted;
Auxiliary data separates subelement, for having isolated high-order effectively identifier auxiliary data conduct from the data segment The auxiliary data to be converted.
Optionally, the audio-video reduction unit 1003, comprising:
Video also atomic unit, for being extended to 32bit for the video to be converted by 20bit by valid data bit wide Data convert is YCbCr420 format, YCbCr420 format is converted to YCbCr422 format, and corresponding using 4K2K@30fps Sampling clock for YCbCr422 format video data carry out the conversion of FIFO cross clock domain, extend blanking zone, be based on standard The video data of 4K2K frame structure generation 4K2K@30fps 16bit;
Audio also atomic unit, for being obtained according to high bit identification effective from the audio parallel data to be converted Audio parallel data carries out the conversion of FIFO cross clock domain based on preset audio sampling bit clock, then by parallel-serial conversion, generates string Row I2S audio data;
Auxiliary data also atomic unit, for being obtained according to high bit identification effective from the auxiliary data to be converted Auxiliary data, as user's auxiliary data.
Optionally, the electric signal is the electric signal of 3G coaxial cable transmission;Correspondingly, the parallel data, is to differentiate Rate is the valid data that 2308*2160 20bit sampling clock is 156.6Mhz;Correspondingly, being directed to the video counts to be converted According to by bit wide extension and video format conversion, generation effective resolution is 30 32bit sampling clock of 1920*2160@ The data of 156.6Mhz, and FIFO cross clock domain is further carried out using the corresponding 148.5Mhz sampling clock of 4K2K 30fps and is turned It changes, expands blanking zone, generate standard 4K2K frame structure video data.
Based on above-described embodiment, the application also provides a kind of Digital Video Transmission System.
It is illustrated below in conjunction with Figure 11 to 12 pairs of Digital Video Transmission System provided by the embodiments of the present application, wherein figure 11 be according to a kind of schematic diagram of Digital Video Transmission System provided by the present application;Figure 12 is that digital video provided by the present application passes A kind of actual deployment structure chart of defeated system.Since the present embodiment is based on above-described embodiment, so describe fairly simple, Relevant part refers to the corresponding explanation of above-described embodiment.
Digital Video Transmission System shown in Figure 11, comprising: the device 1101 for being used for transmission digital video and institute That states is used to receive the device 1102 of digital video.Wherein,
The device 1101 for being used for transmission digital video, comprising:
Data pre-processing unit turns for obtaining video source uncorrected data, audio-source and user's auxiliary data according to predetermined The mode of changing carries out pretreatment and generates preprocessed data;
Synchronous sequence unit carries out asynchronous clock domain based on predetermined sampling clock and turns for being directed to the preprocessed data It changes and generates synchronous sequence data;
Frame weight encapsulation unit, for encapsulating generation video frame again by carrying out frame structure to the synchronous sequence data;
Transmission unit is encoded, for carrying out scrambling coding for the video frame, and the data after coding is carried out and is gone here and there Conversion generates serial signal, sends coaxial cable for the serial signal by cable driver and transmit.
The device 1102 for being used to receive digital video, comprising:
Decoding unit is received, for receiving the electric signal of coaxial cable, serioparallel exchange is carried out and generates parallel signal, for institute It states parallel signal and carries out descrambling decoding process, generate parallel data;
Data separating unit presets frame structure for basis, data to be converted is isolated from the parallel data, including Video data, audio parallel data to be converted and auxiliary data to be converted to be converted;
Audio-video reduction unit, for carrying out cross clock domain conversion for the data to be converted, and based on default conversion Mode, which restores, generates corresponding video data, I2S audio data and user's auxiliary data.
In the embodiment of the present application, the device 1101 for being used for transmission digital video is deployed in UHD video sending end, For example, it may be but be not limited to the UHD video acquisition box of safety monitoring, it include that video source is naked to collected UHD video data Data, audio-source, user's auxiliary data format, the conversion of asynchronous domain clock domain and bit wide adjust, Reseal view Frequency frame carries out plus serially adds again the dress for being used to receive digital video described in being sent to after disturbing coding in 3G coaxial cable to video frame Set 1102;The device 1102 for receiving digital video is deployed in UHD video receiver, for example, it may be but unlimited In the data center server of safety monitoring, receives and be used for transmission digital video from described by what 3G coaxial cable was sent Device 1101 send electric signal, through unstringing, descramble, decode it is a series of processing extract coding before data, using across It is preceding collected including video source uncorrected data, audio-source and user's auxiliary data that clock domain conversion, format conversion are reduced into transmission UHD video.Another system construction drawing of the embodiment of the present application actual deployment is shown in Figure 12.In addition, the digital video transmission System may be that the audio-videos such as recorded broadcast field provides the transmission of ultra high-definition vision signal.
Although the application is disclosed as above with preferred embodiment, it is not for limiting the application, any this field skill Art personnel are not departing from spirit and scope, can make possible variation and modification, therefore the guarantor of the application Shield range should be subject to the range that the claim of this application defined.

Claims (13)

1. a kind of method for being used for transmission digital video characterized by comprising
Video source uncorrected data, audio-source and user's auxiliary data are obtained, pretreatment is carried out according to intended conversion mode and is generated in advance Handle data;
For the preprocessed data, asynchronous clock domain conversion is carried out based on predetermined sampling clock and generates synchronous sequence data;
Generation video frame is encapsulated again by carrying out frame structure to the synchronous sequence data;
Scrambling coding is carried out for the video frame, and the data after coding are subjected to parallel-serial conversion, serial signal is generated, passes through Cable driver sends coaxial cable for the serial signal and transmits;
Wherein, it is described according to intended conversion mode carry out pretreatment generate preprocessed data, comprising: for video source uncorrected data into Row format, which is converted and repacked, generates video pre-filtering data;I2S serioparallel exchange and valid data are carried out for audio-source Bits Expanding generates audio preprocessed data;The extension of valid data bit wide, which is carried out, for user's auxiliary data generates pretreatment supplementary number According to;The video pre-filtering data, the audio preprocessed data and the pretreatment auxiliary data, constitute the pre- place Manage data;
It is described to be directed to the preprocessed data, asynchronous clock domain conversion is carried out based on predetermined sampling clock and generates synchronous sequence number According to, comprising: using the sampling clock for being suitable for 3G transmission, for the video pre-filtering data, carrying out FIFO asynchronous clock domain has It imitates data reclosing to receive, and compresses video blanking area, obtain synchronizing video data;The sampling clock sent using 3G is suitable for, to institute State audio preprocessed data and pretreatment auxiliary data carry out the conversion of FIFO asynchronous clock domain, obtain synchronized audio data with it is synchronous Auxiliary data;The synchronizing video data, the synchronized audio data and the synchronous auxiliary data, constitute the synchronization Time series data;The sampling clock sent suitable for 3G, is 156.6Mhz sampling clock;Correspondingly, the coaxial cable, is to pass Defeated bandwidth is the coaxial cable of 3G.
2. the method according to claim 1, wherein described by carrying out frame structure to the synchronous sequence data Encapsulation generates video frame again, comprising:
According to the frame structure of following row formats, the synchronizing video data, synchronized audio data and synchronous auxiliary data are carried out Encapsulation obtains the video frame again: terminating header, blanking zone, starts header, effective video data, audio data, user's auxiliary Data;
Wherein, in weight encapsulation process, to the synchronized audio data and synchronous auxiliary data, by way of high two positions zero Identify invalid data.
3. the method according to claim 1, wherein described carry out scrambling coding for the video frame, comprising:
By using 9 primitive polynomial X9+X4+ 1 pair of video frame scrambles, and generates scrambled data;
Non-return-to-zero reversal phase coding is carried out to the scrambled data by using X+1 generator polynomial, is converted to nrzi encoding data.
4. the method according to claim 1, wherein described format for video source uncorrected data is laid equal stress on New be packaged generates video pre-filtering data, comprising:
4K2K@30fpsYCbCr422 16bit format video source uncorrected data is converted into 4K2K@30fps YCbCr420 12bit Format video data;
For the 4K2K@30fps YCbCr420 12bit format video data, the extension of valid data bit wide is carried out, is extended to 20bit generates the video pre-filtering data that row valid data are 2304*20bit;
Wherein, 4K2K@30fpsYCbCr422 16bit format video source uncorrected data is from double along sample-parallel interface 4K2K@30fps video source, effective resolution 3840*2160@30 32bit, sampling clock 148.5Mhz;Correspondingly, The row valid data are the video pre-filtering data of 2304*20bit, and 30 20bit of effective resolution 2304*2160@is adopted Sample clock is 148.5Mhz.
5. the method according to claim 1, wherein described carry out I2S serioparallel exchange for audio-source and have It imitates data Bits Expanding and generates audio preprocessed data, comprising:
For the I2S audio-source of 48Khz sample rate, I2S serioparallel exchange is carried out, generates specific format audio parallel data;It is described Specific format refers to sample rate 48Khz16bit or so dual-channel audio format;
By way of increasing high-order valid data identifier extension valid data bit wide, by the specific format audio and line number It is extended to 20bit according to valid data bit wide, generates the audio preprocessed data.
6. the method according to claim 1, wherein described carry out valid data bit wide for user's auxiliary data Extension generates pretreatment auxiliary data, comprising:
The valid data bit wide of 32bit user's auxiliary data will be extended to two by increasing high-order valid data identifier 20bit generates the pretreatment auxiliary data.
7. a kind of method for receiving digital video characterized by comprising
The electric signal of coaxial cable is received, serioparallel exchange is carried out and generates parallel signal, carry out descrambling solution for the parallel signal Code processing, generates parallel data;
According to default frame structure, data to be converted are isolated from the parallel data, including video data to be converted, to be converted Audio parallel data and auxiliary data to be converted;
Cross clock domain conversion is carried out for the data to be converted, and corresponding video counts are generated based on default conversion regime reduction According to, I2S audio data and user's auxiliary data;
Wherein, the basis presets frame structure, and data to be converted are isolated from the parallel data, are referred to, according to following rows Frame structure mask data described in format: terminate header, blanking zone, start header, effective video data, audio data, use Family auxiliary data, comprising:
It obtains and starts header in the effective row of video frame and terminate the data segment between header, isolate effective video from the data segment Data are as the video data to be converted;
Effective audio parallel data of high-order effectively identifier is isolated from the data segment as the audio to be converted simultaneously Row data;
High-order effectively identifier auxiliary data has been isolated from the data segment as the auxiliary data to be converted.
8. the method according to the description of claim 7 is characterized in that the descrambling decoding process, comprising:
By the parallel signal, NRZ is converted to by NRZI by using X+1 generator polynomial conversion bit stream;
Use 9 primitive polynomial X9+X4+ 1 generates descrambling data.
9. the method according to the description of claim 7 is characterized in that described carry out cross clock domain turn for the data to be converted It changes, and corresponding video data, I2S audio data and user's auxiliary data is generated based on default conversion regime reduction, comprising:
Being extended to 32bit for the video data restoration to be converted by 20bit by valid data bit wide is YCbCr420 format, YCbCr420 format is converted into YCbCr422 format, and YCbCr422 lattice are directed to using the corresponding sampling clock of 4K2K@30fps Formula video data carries out the conversion of FIFO cross clock domain, extends blanking zone, generates 4K2K@30fps based on standard 4K2K frame structure The video data of 16bit;
From the audio parallel data to be converted, effective audio parallel data is obtained according to high bit identification, based on default sound Frequency sampling bit clock carries out the conversion of FIFO cross clock domain, then by parallel-serial conversion, generates serial i 2S audio data;
From the auxiliary data to be converted, effective auxiliary data is obtained according to high bit identification, as user's auxiliary data.
10. the method according to the description of claim 7 is characterized in that the electric signal, is the telecommunications of 3G coaxial cable transmission Number;It is resolution ratio is the valid data that 2308*2160 20bit sampling clock is 156.6Mhz correspondingly, the parallel data; Correspondingly, being directed to the video data to be converted, converted by bit wide extension and video format, generating effective resolution is The data of 30 32bit sampling clock 156.6Mhz of 1920*2160, and further use the corresponding 148.5Mhz of 4K2K 30fps Sampling clock carries out the conversion of FIFO cross clock domain, expands blanking zone, generates standard 4K2K frame structure video data.
11. a kind of device for being used for transmission digital video characterized by comprising
Data pre-processing unit, for obtaining video source uncorrected data, audio-source and user's auxiliary data, according to intended conversion side Formula carries out pretreatment and generates preprocessed data;
Synchronous sequence unit carries out asynchronous clock domain conversion life based on predetermined sampling clock for being directed to the preprocessed data At synchronous sequence data;
Frame weight encapsulation unit, for encapsulating generation video frame again by carrying out frame structure to the synchronous sequence data;
Transmission unit is encoded, for carrying out scrambling coding for the video frame, and the data after coding are subjected to parallel-serial conversion, Serial signal is generated, coaxial cable is sent for the serial signal by cable driver and is transmitted;
Wherein, the data pre-processing unit, comprising:
Video source pre-processes subelement, generates at video preprocessor for formatting and repacking for video source uncorrected data Manage data;
Audio-source pre-processes subelement, for carrying out I2S serioparallel exchange and valid data Bits Expanding generation sound for audio-source Frequency preprocessed data;
Auxiliary data pre-processes subelement, auxiliary for generating pretreatment for the progress valid data bit wide extension of user's auxiliary data Help data;The video pre-filtering data, the audio preprocessed data and the pretreatment auxiliary data constitute described Preprocessed data;
The synchronous sequence unit is specifically used for: using the sampling clock for being suitable for 3G and sending, for the video pre-filtering data, It carries out the valid data reclosing of FIFO asynchronous clock domain to receive, and compresses video blanking area, obtain synchronizing video data;Using suitable for 3G The sampling clock of transmission carries out the conversion of FIFO asynchronous clock domain to the audio preprocessed data and pretreatment auxiliary data, obtains To synchronized audio data and synchronous auxiliary data;The synchronizing video data, the synchronized audio data and it is described synchronize it is auxiliary Data are helped, the synchronous sequence data are constituted;The sampling clock sent suitable for 3G, is 156.6Mhz sampling clock;Phase It answers, the coaxial cable, is the coaxial cable that transmission bandwidth is 3G.
12. a kind of for receiving the device of digital video characterized by comprising
Receive decoding unit, for receiving the electric signal of coaxial cable, carry out serioparallel exchange and generate parallel signal, for it is described simultaneously Row signal carries out descrambling decoding process, generates parallel data;
Data separating unit, for isolating data to be converted from the parallel data, including wait turn according to frame structure is preset Change video data, audio parallel data to be converted and auxiliary data to be converted;
Audio-video reduction unit, for carrying out cross clock domain conversion for the data to be converted, and based on default conversion regime Reduction generates corresponding video data, I2S audio data and user's auxiliary data;Wherein
The data separating unit is specifically used for: according to frame structure mask data described in following row formats: terminating header, disappear Hidden area starts header, effective video data, audio data, user's auxiliary data;Include:
Video data separates subelement, for obtaining the data segment started between header and end header in the effective row of video frame, Effective video data are isolated as the video data to be converted from the data segment;
Audio data separates subelement, for isolating the effective audio and line number of high-order effectively identifier from the data segment According to as the audio parallel data to be converted;
Auxiliary data separates subelement, for having been isolated described in high-order effectively identifier auxiliary data conduct from the data segment Auxiliary data to be converted.
13. a kind of Digital Video Transmission System characterized by comprising be used for transmission digital video described in claim 11 Device and claim 12 described in for receiving the device of digital video.
CN201810247401.5A 2018-03-23 2018-03-23 A kind of method and device being used for transmission digital video Active CN108449567B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810247401.5A CN108449567B (en) 2018-03-23 2018-03-23 A kind of method and device being used for transmission digital video

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810247401.5A CN108449567B (en) 2018-03-23 2018-03-23 A kind of method and device being used for transmission digital video

Publications (2)

Publication Number Publication Date
CN108449567A CN108449567A (en) 2018-08-24
CN108449567B true CN108449567B (en) 2019-03-19

Family

ID=63196996

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810247401.5A Active CN108449567B (en) 2018-03-23 2018-03-23 A kind of method and device being used for transmission digital video

Country Status (1)

Country Link
CN (1) CN108449567B (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109194985B (en) * 2018-11-19 2021-03-26 上海高骏精视信息技术有限公司 Audio and video Ethernet transmission method and system
CN110278412B (en) * 2018-12-06 2021-11-23 义晶科技股份有限公司 Image display system and control signal data volume increasing method thereof
CN112292848B (en) * 2019-05-22 2023-07-14 西安诺瓦星云科技股份有限公司 Video source expansion method, device and system and video source expander
CN110166724B (en) * 2019-05-24 2021-01-12 无锡中感微电子股份有限公司 Multimedia data sending method and device based on coaxial cable
CN110351512B (en) * 2019-05-24 2021-08-20 无锡中感微电子股份有限公司 Data sending method and device based on coaxial cable
CN112584092A (en) * 2019-09-30 2021-03-30 广州汽车集团股份有限公司 Data acquisition device and data acquisition system
CN110891154B (en) * 2019-12-09 2021-01-12 天津瑞发科半导体技术有限公司 Video fault-tolerant transmission system and fault-tolerant sending device
CN112995560B (en) * 2021-02-05 2022-11-22 北京视通科技有限公司 Transmission method, device and equipment for parallel video signals and storage medium
CN113400937B (en) * 2021-04-15 2022-05-24 浙江吉利控股集团有限公司 Vehicle entertainment information display system and vehicle
CN113518259B (en) * 2021-05-25 2023-06-09 龙迅半导体(合肥)股份有限公司 Data processing method and device
CN113810645B (en) * 2021-11-16 2022-02-08 北京数字小鸟科技有限公司 System, method and equipment for transmitting custom data of video blanking area
CN114416626B (en) * 2021-11-22 2024-04-12 中国科学院西安光学精密机械研究所 Asynchronous serial data recovery method based on 8B/10B coding
CN114760401A (en) * 2022-04-14 2022-07-15 上海富瀚微电子股份有限公司 Method for directly expanding output video resolution of parallel interface of image processing chip
CN116721678A (en) * 2022-09-29 2023-09-08 荣耀终端有限公司 Audio data monitoring method, electronic equipment and medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101150383A (en) * 2007-10-15 2008-03-26 中兴通讯股份有限公司 IP data transmission method
CN102065208A (en) * 2010-12-08 2011-05-18 南开大学 Digital audio and video signal SerDes and realization method thereof
CN102413322A (en) * 2011-12-07 2012-04-11 中国航空无线电电子研究所 Avionics digital video bus (ADVB) framing system and method based on line synchronization
CN202889508U (en) * 2012-05-28 2013-04-17 四川九州电子科技股份有限公司 Electrical interface module for automatic switching between SDI and ASI, and video device
CN203406970U (en) * 2013-07-22 2014-01-22 深圳市朗驰欣创科技有限公司 Audio/video transmission system
CN104301642A (en) * 2014-09-04 2015-01-21 中航华东光电有限公司 LCD contrast adjusting system and method
CN107371033A (en) * 2017-08-22 2017-11-21 广州波视信息科技股份有限公司 A kind of TICO format 4s K/8K encoders and its implementation

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4463040B2 (en) * 2004-08-06 2010-05-12 株式会社日立国際電気 Signal converter
CN105704408B (en) * 2016-02-04 2018-08-03 天津市英贝特航天科技有限公司 The real-time overlapping controller of asynchronous image and its stacking method
CN206042212U (en) * 2016-08-03 2017-03-22 北京蛙视通信技术股份有限公司 System for high -definition video signal's transmission node equipment, central receiving terminal equipment and transmission

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101150383A (en) * 2007-10-15 2008-03-26 中兴通讯股份有限公司 IP data transmission method
CN102065208A (en) * 2010-12-08 2011-05-18 南开大学 Digital audio and video signal SerDes and realization method thereof
CN102413322A (en) * 2011-12-07 2012-04-11 中国航空无线电电子研究所 Avionics digital video bus (ADVB) framing system and method based on line synchronization
CN202889508U (en) * 2012-05-28 2013-04-17 四川九州电子科技股份有限公司 Electrical interface module for automatic switching between SDI and ASI, and video device
CN203406970U (en) * 2013-07-22 2014-01-22 深圳市朗驰欣创科技有限公司 Audio/video transmission system
CN104301642A (en) * 2014-09-04 2015-01-21 中航华东光电有限公司 LCD contrast adjusting system and method
CN107371033A (en) * 2017-08-22 2017-11-21 广州波视信息科技股份有限公司 A kind of TICO format 4s K/8K encoders and its implementation

Also Published As

Publication number Publication date
CN108449567A (en) 2018-08-24

Similar Documents

Publication Publication Date Title
CN108449567B (en) A kind of method and device being used for transmission digital video
CN1231059C (en) Data transmitting method, data receiving method, data transmitting device and data receiving device
US8397272B2 (en) Multi-stream digital display interface
JP4557016B2 (en) Signal transmitter
US9258603B2 (en) Method and system for achieving higher video throughput and/or quality
JP4008688B2 (en) Signal transmitting apparatus and signal receiving apparatus
US11233971B2 (en) Method and apparatus for digital data transmission based on an analog composite video signal
KR100496092B1 (en) Signal transmitting device and signal receiving device
KR20130067665A (en) Digital image transmitting/receiving system based on ethernet
TW201536041A (en) Transmitting device, receiving device and non-transitory computer readable medium for compressed video transfer over a multimedia link
CN106162228B (en) Signal transmitting apparatus
CN101094358A (en) Video transmission system and method based on 1394 collection and HDMI / DVI
US8184660B2 (en) Transparent methods for altering the video decoder frame-rate in a fixed-frame-rate audio-video multiplex structure
JP4483457B2 (en) Transmission system
EP1231796A2 (en) System and method for increased data capacity of a digital video link
JP2006054550A (en) Transmission system
JP2012239123A (en) Video data transmission device and receiving device
CN111385524A (en) Method and system for realizing high-speed long-distance data transmission of analog high-definition camera
CN112653924A (en) HDMI receiving method and device
Seth-Smith et al. 11.88 Gbits/sec: Continuing the Evolution of Serial Digital Interface
JP2016012831A (en) Video voice signal transmission device, reception device, and method

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