KR20160026201A - Splicing Apparatus for Multi Channel Digital Broadcasting and Method thereof - Google Patents

Splicing Apparatus for Multi Channel Digital Broadcasting and Method thereof Download PDF

Info

Publication number
KR20160026201A
KR20160026201A KR1020140114261A KR20140114261A KR20160026201A KR 20160026201 A KR20160026201 A KR 20160026201A KR 1020140114261 A KR1020140114261 A KR 1020140114261A KR 20140114261 A KR20140114261 A KR 20140114261A KR 20160026201 A KR20160026201 A KR 20160026201A
Authority
KR
South Korea
Prior art keywords
stream
frame
output
signal
frames
Prior art date
Application number
KR1020140114261A
Other languages
Korean (ko)
Other versions
KR101620083B1 (en
Inventor
이우철
서정빈
신근수
권동현
조남희
Original Assignee
주식회사 마루이엔지
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 주식회사 마루이엔지 filed Critical 주식회사 마루이엔지
Priority to KR1020140114261A priority Critical patent/KR101620083B1/en
Publication of KR20160026201A publication Critical patent/KR20160026201A/en
Application granted granted Critical
Publication of KR101620083B1 publication Critical patent/KR101620083B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/236Assembling of a multiplex stream, e.g. transport stream, by combining a video stream with other content or additional data, e.g. inserting a URL [Uniform Resource Locator] into a video stream, multiplexing software data into a video stream; Remultiplexing of multiplex streams; Insertion of stuffing bits into the multiplex stream, e.g. to obtain a constant bit-rate; Assembling of a packetised elementary stream

Landscapes

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

Abstract

The present invention relates to a splicing device for multi-channel digital broadcasting and to a method thereof. The splicing device for multi-channel digital broadcasting comprises: a splicer for, if a switching signal is received in a first stream and a delay signal is reached in the first stream during the output of the first stream in the form of an MPEG transport stream, converting the output to a second stream after a switching time is reached in the second stream in the form of an MPEG transport stream. According to the splicing device for multi-channel digital broadcasting and the method thereof according to the present invention, a broadcasting service can be provided without interruption in a screen even if another program is inserted and transmitted without an encoding process after decoding at an MPEG2-TS level for converting two different kinds of streams during the transmission of a specific program in a digital broadcast transmitting system as the output is converted to the second stream if the switching time is reached in the second stream input after the switching signal during the output of the input first stream, and likewise the output is converted to the first stream if the switching time is reached in the first stream after the switching signal during the output of the second stream.

Description

다채널 디지털 방송을 위한 스플라이싱 장치 및 그 방법{Splicing Apparatus for Multi Channel Digital Broadcasting and Method thereof}TECHNICAL FIELD [0001] The present invention relates to a splicing apparatus for multi-channel digital broadcasting,

본 발명은 다채널 디지털 방송을 위한 스플라이싱 장치 및 그 방법에 관한 것으로, 더욱 상세하게는 디지털 방송 송신시스템에서 특정 프로그램을 송신하는 중에 다른 프로그램을 삽입하여 송신하는 경우에도 화면의 끊김 없이 방송서비스를 제공할 수 있게 하는 다채널 디지털 방송을 위한 스플라이싱 장치 및 그 방법에 관한 것이다.The present invention relates to a splicing apparatus and method for multi-channel digital broadcasting, and more particularly, to a splicing apparatus and method for multi-channel digital broadcasting, To a splicing apparatus for multichannel digital broadcasting and a method thereof.

현재의 디지털 방송환경에서 다채널 방송과 일반(HD) 방송을 같은 채널을 통해 방송하기 위해서는 방송 절체 시스템이 필요하다.In a current digital broadcasting environment, a broadcast switching system is required to broadcast multi-channel broadcasting and general (HD) broadcasting through the same channel.

일반(HD) 방송 -> 다채널 방송 -> 일반(HD) 방송으로 방송을 절체할 때는 방송이 끊김 없이 절체할 수 있는 특별한 방법이 필요하게 된다.When a broadcast is switched to a general (HD) broadcast, a multi-channel broadcast, and a general (HD) broadcast, a special method of switching the broadcast without interruption is required.

일반 방송은 메인 비디오 하나와 다수의 오디오를 포함하는 한 개의 채널을 가지는 MPEG-2 TS 스트림이다.A general broadcast is an MPEG-2 TS stream having one main video and one channel containing multiple audio.

다채널 방송의 경우 일반 방송의 메인 비디오와 오디오를 기본으로 가지며, 복수의 비디오와 오디오를 포함하고, 복수의 채널을 가지는 MPEG-2 TS 스트림이다.In the case of multi-channel broadcasting, it is an MPEG-2 TS stream having a plurality of channels, including a plurality of video and audio, based on main video and audio of a general broadcast.

일반 방송 간에 절체를 하기 위해서는 압축되어 전송되는 두 개의 스트림을 디코딩한 이후 소스 신호 레벨에서 절체하고 이를 다시 인코딩하여 방송하는 방법이 있다.In order to switch between general broadcasts, there is a method in which two streams compressed and transmitted are decoded and then switched at a source signal level and re-encoded.

그러나, 일반 방송과 다채널 방송을 절체하기 위해서는 일반 방송 간의 절체 방법으로는 해결할 수 없다.However, in order to switch between the general broadcast and the multi-channel broadcast, it can not be solved by the switching method between general broadcasts.

일반(HD) 방송에서 다채널 방송으로 절체할 경우 메인 비디오의 원본 영상은 같지만 이종의 인코더를 사용해야 하므로, MPEG2 TS의 싱크 신호만 절체를 고려대상으로 할 경우 비디오의 블록킹 현상이나, 오디오의 ES Error가 발생하게 되는 문제점이 있었다.When switching from general (HD) broadcasting to multi-channel broadcasting, the original video of the main video is the same, but different types of encoders must be used. Therefore, when considering switching only the sync signal of MPEG2 TS, There is a problem in that it occurs.

이를 해결하기 위하여 MPEG2 TS 레벨의 임의의 시점에서 두 개의 스트림을 절체하게 되면 비디오와 오디오의 연속성이 훼손될 뿐 아니라, 두 개의 이종 스트림을 만들어 내는 인코더의 클럭도 서로 다를 수 있으므로 장시간 플레이 할 경우 클럭의 오차가 커지는 문제점이 있었다.In order to solve this problem, when the two streams are switched at an arbitrary point in the MPEG2 TS level, the continuity of the video and the audio is damaged, and the clocks of the encoders that produce the two kinds of streams may be different. Therefore, There is a problem in that the error of the signal becomes large.

대한민국 등록특허공보 등록번호 제10-1087666호Korean Registered Patent Publication No. 10-1087666

본 발명은 상술한 문제점을 해결하기 위해 안출된 것으로서, 입력된 제1스트림이 출력 중, 절체신호 이후에 다른 하나의 입력된 제2스트림에서 절체시점이 도달하면 출력을 제2스트림으로 전환시키고, 마찬가지로 제2스트림이 출력 중, 절체신호 이후에 제1스트림에서 절체시점에 도달하면 출력을 제1스트림으로 전환 시킴으로써, 디지털 방송 송신시스템에서 특정 프로그램을 송신하는 중에 두 개의 이종 스트림의 전환을 위한 MPEG2-TS 레벨에서의 디코딩 후 인코딩 과정 없이 다른 프로그램을 삽입하여 송신하는 경우에도 화면의 끊김 없이 방송서비스를 제공할 수 있는 다채널 디지털 방송을 위한 스플라이싱 장치 및 그 방법을 제공하는 것이다.SUMMARY OF THE INVENTION The present invention has been conceived to solve the above-described problems, and it is an object of the present invention to provide an apparatus and method for switching an output to a second stream when an input first stream is output, Likewise, when the second stream arrives at the switching time from the first stream to the first stream after the outputting and the switching signal, the output is switched to the first stream so that MPEG2 Channel digital broadcasting capable of providing a broadcasting service without interrupting the screen even when another program is inserted and transmitted after decoding at the TS level without encoding process, and a method thereof.

상술한 목적을 달성하기 위한 본 발명의 다채널 디지털 방송을 위한 스플라이싱 장치는 다채널 디지털 방송을 위한 스플라이싱 장치에 있어서, 엠펙 전송스트림 형태인 제1스트림의 출력 중에 상기 제1스트림으로 절체신호가 수신된 후 상기 제1스트림에서 유예신호에 도달하면, 엠펙 전송스트림 형태인 제2스트림에서 절체시점이 도달된 이후부터 출력이 제2스트림으로 전환되도록 하는 스플라이서부가 포함되어 구성된다.According to another aspect of the present invention, there is provided a splicing apparatus for multi-channel digital broadcasting, the splicing apparatus comprising: And a splitter unit for switching the output from the second stream, which is an MPEG transport stream, to a second stream after the switching point is reached when the grace signal is received in the first stream after the switching signal is received .

상기 유예신호는 제1스트림에서 P프레임 또는 I프레임이 시작될 때이고, 상기 절체시점은 상기 제2스트림에서 I프레임이 시작될 때일 수 있다.The grace signal may be when a P frame or an I frame begins in the first stream and the switching time may be when an I frame begins in the second stream.

상기 유예신호와 절체시점 사이에 존재하는 프레임은 내부 P프레임으로 대체되어 출력될 수 있다.The frame existing between the grace signal and the switching point may be replaced with an internal P frame and output.

제1스트림에서 제2스트림으로 전환되어 출력 중 첫 번째 I프레임에 이어지는 B프레임은 내부 P프레임으로 대체되어 출력될 수 있다.A B frame that is switched from the first stream to the second stream and succeeds the first I frame of the output may be replaced with an internal P frame and output.

제1스트림에서 제2스트림으로 전환되어 출력 중 상기 제2스트림으로 절체신호가 수신된 후 상기 제2스트림에서 유예신호에 도달하면, 상기 제2스트림의 프레임 갯수보다 상기 제1스트림의 프레임 갯수가 적거나 같은 경우, 프레임 갯수의 차이만큼 제2스트림의 출력 프레임을 널 패킷으로 대체하고, 이후부터 출력이 제1스트림으로 전환되어 제1스트림의 절체시점까지의 프레임은 내부 P프레임으로 대체되어 출력되도록 하는 스플라이서부가 포함되어 구성될 수 있다.The number of frames of the first stream is smaller than the number of frames of the second stream when a transition signal is transmitted from the first stream to the second stream and a transition signal is received from the second stream during the output, The output frame is switched to the first stream and the frame up to the switching time point of the first stream is replaced with the inner P frame to output And a splice wedge for allowing the wedge to be formed.

제1스트림에서 제2스트림으로 전환되어 출력 중 상기 제2스트림으로 절체신호가 수신된 후 상기 제2스트림에서 유예신호에 도달하면, 상기 제2스트림의 프레임 갯수보다 상기 제1스트림의 프레임 갯수가 많은 경우, 프레임 갯수의 차이만큼 제2스트림의 출력 프레임을 내부 P프레임으로 대체하고, 이후부터 출력이 제1스트림으로 전환되어 제1스트림의 절체시점까지의 프레임은 내부 P프레임으로 대체되어 출력되도록 하는 스플라이서부가 포함되어 구성될 수 있다.The number of frames of the first stream is smaller than the number of frames of the second stream when a transition signal is transmitted from the first stream to the second stream and a transition signal is received from the second stream during the output, In many cases, the output frame of the second stream is replaced with the inner P frame by the difference of the number of frames, and the output is switched to the first stream so that the frame up to the switching time of the first stream is replaced with the inner P frame And a spiral wedge to which the spiral wing is attached.

제2스트림에서 제1스트림으로 전환되어 출력 중 첫 번째 I프레임에 이어지는 B프레임은 내부 P프레임으로 대체될 수 있다.A B frame transitioned from the second stream to the first stream and subsequent to the first I frame in the output may be replaced with an internal P frame.

그리고, 상술한 목적을 달성하기 위한 본 발명의 다채널 디지털 방송을 위한 스플라이싱 방법은, 다채널 디지털 방송을 위한 스플라이싱 방법에 있어서, (a) 엠펙 전송스트림 형태인 제1스트림의 출력 중에 상기 제1스트림으로 절체신호가 수신되는 제1절체신호수신단계; (b) 상기 제1절체신호수신단계 이후 상기 제1스트림에서 유예신호에 도달할 때까지 대기하는 제1유예신호대기단계; 및 (c) 상기 제1유예신호대기단계 이후 제2스트림의 절체시점에 도달되면 출력을 엠펙 전송스트림 형태인 제2스트림으로 전환시키는 제1절체단계를 포함한다.In accordance with another aspect of the present invention, there is provided a splicing method for a multi-channel digital broadcast, the method comprising the steps of: (a) outputting a first stream as an MPEG transport stream; A first switch signal receiving step of receiving a switch signal from the first stream; (b) a first delayed signal waiting step to wait until the delayed signal is reached in the first stream after receiving the first switched signal; And (c) a first switching step of switching the output to a second stream in the form of MPEG transport stream when the switching time of the second stream is reached after the first delayed signal waiting step.

상기 제1유예신호대기단계에서 유예신호는 제1스트림에서 P프레임 또는 I프레임이 시작될 때이고, 상기 제1절체단계에서 절체시점은 상기 제2스트림에서 I프레임이 시작될 때일 수 있다.The grace signal in the first grace signal waiting step may be when the P frame or the I frame starts in the first stream and the switching time in the first switching step may be when the I frame starts in the second stream.

상기 유예신호와 절체시점 사이에 존재하는 프레임은 내부 P프레임으로 대체되어 출력되는 단계를 포함할 수 있다.And a frame existing between the grace signal and the switching point is replaced with an internal P frame and output.

상기 제1절체단계에서는 제1스트림에서 제2스트림으로 전환되어 출력 중 첫 번째 I프레임에 이어지는 B프레임은 내부 P프레임으로 대체되어 출력될 수 있다.In the first transfer step, the B frame, which is switched from the first stream to the second stream and succeeding the first I frame in the output, may be replaced with an internal P frame and output.

상기 제1절체단계 이후에, (d1) 제1스트림에서 제2스트림으로 전환되어 출력 중에 상기 제2스트림으로 절체신호가 수신되는 제2절체신호수신단계; (e1) 상기 제2절체신호수신단계 이후 상기 제2스트림에서 유예신호에 도달할 때까지 대기하는 제2유예신호대기단계; (f1) 상기 제2유예신호대기단계 이후 제2스트림의 프레임 갯수보다 상기 제1스트림의 프레임 갯수가 적거나 같은 경우, 프레임 갯수의 차이만큼 제2스트림의 출력 프레임을 널 패킷으로 대체하는 대체단계; 및 (g1) 상기 대체단계 이후 출력은 제1스트림으로 전환되고, 제1스트림의 절체시점까지의 프레임은 내부 P프레임으로 대체되어 출력되는 제2절체단계를 포함할 수 있다.(D1) a second switch signal receiving step of switching from a first stream to a second stream and receiving a switch signal to the second stream during outputting after the first switching step; (e1) a second grace signal waiting step of waiting after the second switch signal reception step until a grace signal is reached in the second stream; (f1) replacing an output frame of the second stream with a null packet by a difference of the number of frames when the number of frames of the first stream is less than or equal to the number of frames of the second stream after the second wait signal waiting step ; And (g1) a second transfer step in which the output after the replacement step is switched to the first stream, and the frame up to the transfer time point of the first stream is replaced with an internal P frame and output.

상기 제1절체단계 이후에, (d2) 제1스트림에서 제2스트림으로 전환되어 출력 중에 상기 제2스트림으로 절체신호가 수신되는 제2절체신호수신단계; (e2) 상기 제2절체신호수신단계 이후 상기 제2스트림에서 유예신호에 도달할 때까지 대기하는 제2유예신호대기단계; (f2) 상기 제2유예신호대기단계 이후 제2스트림의 프레임 갯수보다 상기 제1스트림의 프레임 갯수가 많은 경우, 프레임 갯수의 차이만큼 제2스트림의 출력 프레임을 내부 P프레임으로 대체하는 대체단계; 및 (g2) 상기 대체단계 이후 출력은 제1스트림으로 전환되고, 제1스트림의 절체시점까지의 프레임은 내부 P프레임으로 대체되어 출력되는 제2절체단계를 포함할 수 있다.(D2) a second switch signal reception step of switching from a first stream to a second stream and receiving a switch signal to the second stream during an output, after the first switching step; (e2) a second grace signal waiting step waiting until the grace signal is reached in the second stream after receiving the second switch signal; (f2) replacing an output frame of the second stream with an inner P frame by a difference of the number of frames when the number of frames of the first stream is larger than the number of frames of the second stream after the second wait signal waiting step; And (g2) a second transfer step in which the output after the replacement step is switched to the first stream, and a frame up to the transfer time point of the first stream is replaced with an internal P frame and output.

제2스트림에서 제1스트림으로 전환되어 출력 중 첫 번째 I프레임에 이어지는 B프레임은 내부 P프레임으로 대체되는 단계를 포함할 수 있다.And the B frame transition from the second stream to the first stream and subsequent to the first I frame of the output may be replaced by an internal P frame.

이상에서 설명한 바와 같은 본 발명의 다채널 디지털 방송을 위한 스플라이싱 장치 및 그 방법에 따르면, 입력된 제1스트림이 출력 중, 절체신호 이후에 다른 하나의 입력된 제2스트림에서 절체시점이 도달하면 출력을 제2스트림으로 전환시키고, 마찬가지로 제2스트림이 출력 중, 절체신호 이후에 제1스트림에서 절체시점에 도달하면 출력을 제1스트림으로 전환 시킴으로써, 디지털 방송 송신시스템에서 특정 프로그램을 송신하는 중에 두 개의 이종 스트림의 전환을 위한 MPEG2-TS 레벨에서의 디코딩 후 인코딩 과정 없이 다른 프로그램을 삽입하여 송신하는 경우에도 화면의 끊김 없이 방송서비스를 제공할 수 있는 효과가 있다.According to the splicing apparatus and method for multichannel digital broadcasting of the present invention as described above, when the input first stream is being output, the switching time is reached from the second input stream after the switching signal And switching the output to the first stream when the second stream arrives at the switching time from the first stream after the switching signal in the output stage, the specific program is transmitted in the digital broadcasting transmission system It is possible to provide a broadcast service without interrupting the screen even when another program is inserted and transmitted without decoding after decoding at the MPEG2-TS level for switching between two heterogeneous streams.

도 1은 본 발명의 일실시예에 따른 다채널 디지털 방송을 위한 스플라이싱 장치를 설명하기 위하여 도시한 블록도이며,
도 2 및 도 3은 본 발명의 일실시예에 따른 다채널 디지털 방송을 위한 스플라이싱 방법을 설명하기 위하여 도시한 플로우차트이며,
도 4 내지 도 14는 본 발명의 일실시예에 따른 다채널 디지털 방송을 위한 스플라이싱 방법에서 비디오 스플라이싱의 예시를 도시한 도면이며,
도 15 내지 도 18은 본 발명의 일실시예에 따른 다채널 디지털 방송을 위한 스플라이싱 방법에서 오디오 스플라이싱의 예시를 도시한 도면이다.
FIG. 1 is a block diagram illustrating a splicing apparatus for multi-channel digital broadcasting according to an embodiment of the present invention.
2 and 3 are flow charts illustrating a splicing method for multi-channel digital broadcasting according to an embodiment of the present invention,
4 to 14 are diagrams illustrating an example of video splicing in a splicing method for multi-channel digital broadcasting according to an embodiment of the present invention,
15 to 18 are diagrams illustrating an example of audio splicing in the splicing method for multi-channel digital broadcasting according to an embodiment of the present invention.

이하, 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자가 본 발명을 용이하게 실시할 수 있도록 상세히 설명하기 위하여, 본 발명의 바람직한 실시예를 첨부한 도면을 참조하여 상세하게 설명한다.DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings in order to facilitate a person skilled in the art to easily carry out the present invention.

본 발명의 일실시예에 따른 다채널 디지털 방송을 위한 스플라이싱 장치는 두 개의 서로 다른 인코더의 출력상에서 장면 및 사운드의 블럭킹 에러 및 끊어짐이 없이 서로 간에 절체하여 디지털 광고의 삽입, 3D TV 와 2D TV 간의 전환, MMS 서비스의 절체 등에 활용할 수 있는 것으로, 도 1에 도시한 바와 같이, ASI(Asynchronous Serial Interface) 입력부(100), 클럭 동기화부(200), TS 분석부(300), 스플라이서부(400) 및 ASI 출력부(500)가 포함되어 구성된다.
A splicing device for multi-channel digital broadcasting according to an exemplary embodiment of the present invention switches between two different encoders without blocking and error of scene and sound, 1, an Asynchronous Serial Interface (ASI) input unit 100, a clock synchronization unit 200, a TS analysis unit 300, (400) and an ASI output unit (500).

상기 ASI 입력부(100)로 도 4에 도시한 바와 같이, 메인스트림(Main Stream)인 제1스트림과, 서브스트림(Sub Stream)인 제2스트림이 입력된다.As shown in FIG. 4, the ASI input unit 100 inputs a first stream, which is a main stream, and a second stream, which is a sub stream.

상기 제1스트림과 제2스트림은 인코더는 다르더라도 같은 특성(Property)을 갖는 스트림 이어야 한다.The first stream and the second stream should be streams having the same property even if the encoders are different.

상기 제1스트림 및 제2스트림에서 I프레임(Intra frame)의 간격(Interval)은 30프레임을 넘지 않아야 하고, B프레임(Bidirectionally predictive frame)은 연속해서 2프레임을 초과하지 않아야 한다.Intervals of I frames in the first stream and the second stream should not exceed 30 frames, and B frames (Bidirectionally predictive frames) should not exceed 2 frames in succession.

예를 들어, 상기 제1스트림은 프로그램 공급자에서 생성된 디지털 방송 데이터일 수 있고, 상기 제2스트림은 광고 데이터일 수 있다. For example, the first stream may be digital broadcast data generated by a program provider, and the second stream may be advertisement data.

상기 ASI 입력부(100)로 입력된 제1스트림 및 제2스트림은 모두 트랜스포트 스트림(Transport Stream, TS) 포맷으로 압축된 데이터이다.The first stream and the second stream input to the ASI input unit 100 are data compressed in a transport stream (TS) format.

트랜스포트 스트림을 병합하기 위해서는 압축된 데이터를 압축해제 즉,디코딩하여야만 한다.In order to merge the transport stream, the compressed data must be decompressed or decoded.

따라서, 별도의 디코더(미도시)에 의해서 제1스트림 및 제2스트림 데이터는 디코딩된 후 디먹스(Demux; 미도시)에 의해 비디오 스트림 및 오디오 스트림으로 각각 분리된다.
Accordingly, the first stream and the second stream data are decoded and demultiplexed into a video stream and an audio stream by a demux (not shown) by a separate decoder (not shown).

상기 ASI 입력부(100)에서 출력되는 ASI의 클럭은 270Mbps 이며, Start/End를 제외하고 8Bit로 병렬화되며, 이는 27 MByte/S의 속도로 처리되게 된다. The clock of the ASI output from the ASI input unit 100 is 270 Mbps, and is parallelized to 8 bits except Start / End, which is processed at a rate of 27 MByte / S.

이때 ASI 입력부(100)를 거쳐 나오는 신호는 Byte Clock 신호, SC Signal, Data Byte의 3개의 신호로 변환되어 FPGA로 들어오게 되며, 해당 신호의 Clock 신호는 인코더의 Clock Oscillator에 의해 발생 되게 된다.At this time, the signal transmitted through the ASI input unit 100 is converted into three signals of a Byte Clock signal, an SC signal, and a Data Byte, and is input to the FPGA. The clock signal of the corresponding signal is generated by a clock oscillator of the encoder.

동일한 인코더의 출력이라면 이 클럭 신호는 다른 포트라도 동일하겠지만 서로 다른 인코더의 출력은 각각의 Oscillator를 사용하게 되므로 오차가 생기게 된다(일반적으로 인코더는 외부 클럭에 동기화하지 않는다).If the output of the same encoder is the same, this clock signal will be the same for all other ports, but the output of the different encoders will use the respective oscillator, which will cause an error (generally the encoder does not synchronize to the external clock).

또한, 비트레이트의 설정이 다르면 유효한 Data Byte의 입력 속도 또한 서로 다르게 되므로 스플라이서부에서 패킷(188 TS Packet)단위로 처리하기 힘들게 된다.In addition, if the bit rate is set differently, the valid data byte input speeds will be different, making it difficult to process packets (188 TS packets) in the splice.

이에 따라 스플라이싱부에 서로 다른 두 대의 인코더의 출력이 동기화된 패킷 단위로 입력될 수 있도록 하는 로직이 필요하다. Accordingly, logic is required to allow the splicing unit to output the outputs of two different encoders in units of synchronized packets.

상기 클럭 동기화부(200)에서는 두 개의 입력라인에서 발생하는 데이터의 갯수를 단위 시간당 계산하고 서로의 차이가 188 바이트 이상이 나는 순간 데이터의 속도가 적은 쪽의 라인에 NULL 패킷을 임의로 삽입하여 다음 블록으로 전송하도록 하여 스플라이싱부에서는 패킷 단위로 입력을 받을 수 있게 된다.
The clock synchronization unit 200 calculates the number of data generated in two input lines per unit time and arbitrarily inserts a NULL packet in a line of which the speed of the instantaneous data having a difference of more than 188 bytes is small, So that the splicing unit can receive the input on a packet basis.

동기화된 TS(Transport Stream) 188 byte 패킷이 처리되었다면 해당 패킷은 먼저 분석이 선행되어 진다. If a synchronized Transport Stream (TS) 188 byte packet has been processed, the packet is analyzed first.

해당 분석은 TS 분석부(300)에서 PAT(Program Association Table), PMT(Program Map Table), Data 패킷의 순서로 이루어지며 이 분석은 후술하는 스플라이싱을 위한 프로퍼티(Property)를 얻어내고자 함이다.(분석 자체로는 패킷을 바꾸지 않는다.)The analysis is performed in the order of the PAT (Program Association Table), the PMT (Program Map Table), and the data packet in the TS analysis unit 300, and this analysis is intended to obtain a property for splicing (Analysis itself does not change packets.)

이에 따라 다음과 같은 분석을 행하게 된다.Accordingly, the following analysis is performed.

첫번째로 MPEG2 Video, AVC Video, Audio1, Audio2, PMT, PAT 등의 PID(Packet indentifier)의 타입, 두번째로 PCR(Program Clock Reference)이 존재하는지, 존재하면 그 값은 얼마인지, 세번째로 PES(Packerized Elementary Stream) Header가 존재하는지, 존재한다면 PTS(Presentation Timestamp), DTS(Decoding Timestamp) 값은 얼마인지, 네번째로 PTS, DTS, PCR의 패킷상 위치, 다섯번째로 오디오 패킷의 경우 AC3 Header가 존재하는지, 존재한다면 그 위치는 얼마인지, 오디오의 Channel수 및 Sampling Rate, Bitrate 정보, 여섯번째로 MPEG-2 비디오의 프레임 타입(I,B,P Frame), 장면의 시작점의 분석이 행하여 진다.First, the type of PID (Packet Indentifier) such as MPEG2 Video, AVC Video, Audio1, Audio2, PMT and PAT. Secondly, The presentation time stamp (PTS), the DTS (Decoding Timestamp) value, the PTS, the DTS, the PCR packet position, and the AC3 header in the case of the fifth audio packet The number of channels and the sampling rate of the audio, the bit rate information, the frame type (I, B, P frame) of the MPEG-2 video and the start point of the scene are analyzed.

TS 분석은 ISO 13818-1 MPEG2 System 표준을 따르며, 장면 분석 및 오디오 분석은 ATSC 표준에 준하여 처리한다.
TS analysis conforms to ISO 13818-1 MPEG2 System standard, scene analysis and audio analysis are processed according to ATSC standard.

상기 스플라이서부(400)에서는 상기에서 분석되어진 TS의 정보를 바탕으로 한 개의 패킷단위로 스플라이싱을 실제로 수행한다. The splicing unit 400 actually performs splicing in units of one packet based on the TS information analyzed above.

상기 스플라이서부(400)는 In Memory P 프레임 블록, AC3 Silence ROM 블록 및 LONG Integer 연산 블록을 이용하게 된다.The splitter unit 400 uses an In Memory P frame block, an AC3 Silence ROM block, and a LONG Integer operation block.

In Memory P 프레임 블록은 7개의 188byte TS 패킷으로 구성되어 있으며 전체 사이즈는 905 바이트이다.The In Memory P frame block consists of 7 188-byte TS packets and the total size is 905 bytes.

AC3 Silence ROM 블록은 규정하고 있는 모든 AC3 Bit Rate의 묵음을 미리 인코딩하여 롬으로 가지고 있는 블럭이다.The AC3 Silence ROM block is a block that pre-encodes all AC3 Bit Rate mutes specified in ROM.

LONG Integer 연산 블록에서는 PCR, PTS, DTS 등은 32 bit를 넘는 사이즈를 가지게 되며, 이는 VHDL에서 문법적으로 처리할 수 있는 범위를 넘어서게 된다. In the LONG Integer operation block, the PCR, PTS, DTS, etc. have a size exceeding 32 bits, which exceeds the range that can be processed syntactically in VHDL.

이에 따라, 33 bit Adder, multiplyer, 44 bit Adder, multiplyer를 따로 구성하여 사용하게 된다.Accordingly, the 33 bit Adder, the multiplyer, the 44 bit Adder, and the multiplyer are separately configured and used.

스플라이서부(400)에서 모든 처리 단위는 패킷이 되며, AC3를 제외하고는 버퍼링을 수행하지 않고 패킷단위로 처리하도록 구성되어 있다.
All the processing units in the splitting unit 400 are packets, and are configured to perform processing on a packet-by-packet basis without performing buffering except AC3.

상기 ASI 출력부(500)는 상기 스플라이서부(400)로부터 스플라이싱된 데이터를 수신받아 재생성(Regeneration) 장치에서 변환되도록 한 후 통상의 방송시스템을 통해 사용자 단말기 등의 방송 수신기에 전송되도록 한다.
The ASI output unit 500 receives the spliced data from the splitter unit 400 and converts the received data into a regenerating unit and transmits the converted data to a broadcasting receiver such as a user terminal through a normal broadcasting system .

상술한 바와 같이 이루어진 스플라이싱부에서는 다음과 같은 과정으로 스플라이싱이 이루어진다. In the splicing unit constructed as described above, splicing is performed in the following manner.

먼저, 도 2에 도시한 바와 같이, 제1스트림이 출력 중에 제2스트림으로 절체되는 과정을 설명한다.First, as shown in FIG. 2, the process of transferring the first stream to the second stream during output will be described.

제1스트림의 출력 중 도 5에 도시한 바와 같이, 외부의 절체 명령인 절체 신호가 수신되면(S101), 이때의 제1스트림의 상태를 판단하여 현재의 프레임이 I 프레임 또는 P 프레임이 시작될 때까지, 즉 유예신호가 도달할 때까지 대기한다(S102).As shown in FIG. 5, when a transfer signal, which is an external transfer command, is received (S101), the state of the first stream at this time is determined, and when the current frame is an I frame or a P frame In other words, until the grace signal is reached (S102).

대기하는 시간만큼의 절체 지연이 발생할 수 있다.A transfer delay as much as the waiting time may occur.

이어서, 제1프레임의 I 프레임 또는 P 프레임이 도달되면(S103), 이때부터 제2스트림을 감시하면서, 도 6에 도시한 바와 같이, 제2스트림의 I 프레임의 시작이 될 때까지, 즉 절체시점까지 대기한다(S104).Subsequently, when the I frame or the P frame of the first frame arrives (S103), the second stream is monitored from this time, and as shown in Fig. 6, until the start of the I frame of the second stream, (S104).

제1스트림의 유예신호 이후부터 출력은 제1스트림의 골격은 유지하면서 제1스트림의 모든 프레임을 내부 P 프레임으로 대치하여 제1스트림이 출력되도록 하며, 이때 남는 부분은 널 패킷으로 채운다(S105).After outputting the grace signal of the first stream, the first stream is replaced with the inner P frame by replacing all frames of the first stream with the first stream, and the remaining portion is filled with null packets (S105) .

참고로, 상기 내부 P 프레임은 매우 작으며, 모든 Residual은 0이고, 움직임 벡터는 0인 프레임으로써, 해당 프레임의 이전의 화면을 그대로 유지한 프레임이다.
For reference, the internal P frame is very small, all Residual is 0, and the motion vector is 0, and the previous frame of the frame is maintained as it is.

이어서, 제2스트림의 I 프레임에 도달하면(S106), 도 7에 도시한 바와 같이 출력은 제2스트림으로 전환되어 출력되며, 이때의 I 프레임의 PTS, DTS는 제1스트림의 기준으로 보상하여 출력된다(S107).7, the output is switched to the second stream and output. The PTS and DTS of the I frame at this time are compensated with reference to the first stream (S107).

여기서, 제2스트림으로 전환되어 출력 중에 처음 시작 I 프레임 다음에 B 프레임이 도달하면(S108), 도 8에 도시한 바와 같이 해당 B 프레임을 내부 P 프레임으로 대체한다(S109).Here, when the second stream is switched and the B frame arrives after the first I frame in the output (S108), the B frame is replaced with the internal P frame as shown in Fig. 8 (S109).

이렇게 하는 이유는 해당 B 프레임은 앞선 I 프레임, 그 앞의 P 프레임을 참조하게 되는데, 이를 그대로 놓으며, 참조 프레임이 제1스트림 및 제2스트림의 양쪽에 존재하게 되므로 ES Level 에서의 Seamless가 유지되지 않는다.The reason for doing this is that the corresponding B frame refers to the preceding I frame and the preceding P frame. Since the reference frame exists in both the first stream and the second stream, seamlessness at the ES level is not maintained Do not.

이어서, 이후부터는 제2스트림이 출력되며, Time은 계속 보정하여 출력한다.
Subsequently, the second stream is outputted thereafter, and Time is continuously corrected and outputted.

이어서, 도 3에 도시한 바와 같이 제2스트림이 출력 중에 제1스트림으로 절체되는 과정을 설명한다.Next, a process of transferring the second stream to the first stream during the output as shown in FIG. 3 will be described.

먼저, 제2스트림이 출력될 때에는 제1스트림 및 제2스트림의 각각의 프레임이 흘러간 갯수를 계속하여 카운팅 하고 있는다(S201).First, when the second stream is output, the number of frames in which the frames of the first stream and the second stream have passed is continuously counted (S201).

제2스트림 출력 중 도 9에 도시한 바와 같이, 외부의 절체 명령인 절체신호가 수신되면(S202), 이때의 제2스트림의 상태를 판단하여 현재의 프레임이 I 프레임 또는 P 프레임이 시작될 때까지, 즉 유예신호가 도달할 때까지 대기한다(S203).As shown in FIG. 9, when a transfer signal, which is an external transfer command, is received (S202), the state of the second stream is determined, and the current frame is transferred until the I frame or the P frame starts , I.e., waits until the grace signal reaches (S203).

대기하는 시간만큼의 절체 지연이 발생할 수 있다.A transfer delay as much as the waiting time may occur.

이어서, 제2프레임의 I 프레임 또는 P 프레임이 도달되면(S204), 미리 계산해 놓은 제1스트림의 출력된 프레임 수와, 제2스트림의 출력된 프레임 수를 비교하여, 제1스트림의 프레임수가 제2스트림의 프레임 수보다 작거나 같으면(S205), 도 10에 도시한 바와 같이 해당하는 프레임 수의 차이만큼, 제2스트림의 프레임을 널 패킷으로 대체하고 현재의 출력을 유지한다(S260).Then, when the I frame or the P frame of the second frame arrives (S204), the number of output frames of the first stream calculated beforehand is compared with the number of frames output of the second stream, (S205), the frame of the second stream is replaced with a null packet by the difference of the number of frames corresponding thereto as shown in FIG. 10, and the current output is maintained (S260).

또는, 제1스트림의 출력된 프레임 수와, 제2스트림의 출력된 프레임 수를 비교하여, 제1스트림의 프레임수가 제2스트림의 프레임 수보다 많으면, 도 11에 도시한 바와 같이 해당하는 프레임 수의 차이만큼, 제2스트림의 프레임을 내부 P 프레임으로 대체하고 현재의 출력을 유지한다(S207).Alternatively, the number of frames output from the first stream is compared with the number of frames output from the second stream. If the number of frames in the first stream is greater than the number of frames in the second stream, , The frame of the second stream is replaced with the internal P frame, and the current output is maintained (S207).

제1스트림의 출력된 프레임 수와, 제2스트림의 출력된 프레임 수를 비교하여 제2스트림의 프레임을 널 패킷으로 대체하거나 또는 내부 P 프레임으로 대체하는 이유는 제1스트림의 프레임 수와 제2스트림의 프레임 수를 일치시키기 위한 것이며, 대체시키는 동안에도 프레임은 계속 흘러가므로, 제1스트림 및 제2스트림의 프레임 값도 계속 업데이트 하면서 계산한다.
The reason for comparing the number of frames output by the first stream with the number of frames output by the second stream and replacing the frame of the second stream with a null packet or an inner P frame is that the number of frames of the first stream and the number of frames of the second stream Since the frame continues to flow even during replacement, the frame values of the first stream and the second stream are continuously updated while calculating the number of frames of the stream.

상술한 바와 같이, 제1스트림의 프레임수 및 제2스트림의 프레임수의 상관관계에 따라 처리가 이루어지면, 도 12에 도시한 바와 같이 출력은 제1스트림으로 전환되며, 이때, 제1스트림에서 I 프레임이 도달할 때까지는 제1스트림의 모든 프레임은 내부 P 프레임으로 대체되어 출력된다(S208). As described above, when processing is performed according to the correlation between the number of frames in the first stream and the number of frames in the second stream, the output is switched to the first stream as shown in FIG. 12, All frames of the first stream are replaced with internal P frames until the I frame arrives (S208).

이어서, 제1프레임의 I 프레임에 도달하면(S209), 도 13에 도시한 바와 같이 이때부터 제1스트림을 출력한다(S210).Then, when reaching the I frame of the first frame (S209), the first stream is outputted from this time as shown in Fig. 13 (S210).

이때, 상술한 바와 같이 제1스트림 및 제2스트림의 프레임 수를 맞추어 놓았기 때문에 제1스트림으로 전환되었을 때 타임 정보는 수정할 필요가 없다. At this time, since the number of frames of the first stream and the second stream is set as described above, it is not necessary to modify the time information when the stream is switched to the first stream.

아울러, 제2스트림에서 제1스트림으로 전환되어 출력 중 첫 번째 I프레임 다음에 B프레임이 나왔다면, 참조 프레임이 제1스트림 및 제2스트림 양쪽이 되므로, 이를 방지하기 위해 도 14에 도시한 바와 같이, 내부 P 프레임으로 대체한다.In addition, if the second stream is switched to the first stream and the B frame comes after the first I frame in the output, since the reference frame is both the first stream and the second stream, in order to prevent this, Similarly, we replace it with an internal P frame.

이어서, 제1스트림이 계속하여 출력된다.
Then, the first stream is continuously output.

이하에서는 Audio 스플라이싱에 대해 설명한다.Hereinafter, audio splicing will be described.

오디오의 경우 도 15에 도시한 바와 같이, TS 패킷내에서 캡슐화되어 전송되며, 다수의 TS 패킷이 Audio PES(Packetized Elementary Stream) 블럭을 형성한다.In the case of audio, as shown in FIG. 15, the TS packets are encapsulated and transmitted, and a plurality of TS packets form an Audio PES (Packetized Elementary Stream) block.

상술한 캡슐화 되어 있는 Audio PES를 분리해 내면, 도 16에 도시한 바와 같이, AC3 코딩되어 전송되어 진다.When the above-described encapsulated Audio PES is separated, it is coded AC3 and transmitted as shown in Fig.

이어서, MPEG-2 TS에서 Audio PES를 추출해 낸 후 각각의 Audio PES는 도 17에 도시한 바와 같이, AC3 링버퍼에 적재된다.Subsequently, after extracting the Audio PES from the MPEG-2 TS, each Audio PES is loaded into the AC3 ring buffer as shown in Fig.

이때 TimeStamp 정보는 각각의 Audio PES 마다 한번씩만 오므로, 내부의 AC3 Frame의 시간은 이것으로부터 평가(Estimation)하여 AC3 Frame과 같이 저장한다.At this time, the TimeStamp information is only once for each Audio PES, so the time of the internal AC3 Frame is estimated from this and stored as AC3 Frame.

이어서, 도 18에 도시한 바와 같이, 제1스트림 또는 제2스트림의 절체 시점에 맞추어 AC3 링버퍼 레벨에서의 절체를 수행한다.Subsequently, as shown in Fig. 18, the switching is performed at the AC3 ring buffer level in accordance with the switching timing of the first stream or the second stream.

이를 통하여 Seamless 절체가 가능하게 되며, 이렇게 절체된 AC3 Frame은 반대의 순서로 Audio PES로 변환되어 MPEG-2 TS 레벨로 변환하여 절체한다.
Thus, the seamless AC3 frame is converted into the Audio PES in the reverse order and converted to the MPEG-2 TS level.

아울러, 본 발명에 따른 스플라이싱 장치는 외부에 절체 선택 스위치를 구비하여, 제1스트림 및 제2스트림 간의 절체를 자동(Auto), 수동(Manual) 등으로 수행할 수 있다.In addition, the splicing apparatus according to the present invention may include an exchange selection switch on the outside to perform automatic switching between the first stream and the second stream, or a manual operation.

그리고, RS-232 포트를 제공하여 원격에서 상태정보를 모니터링 하거나 제어를 할 수 있으며, 다음과 같은 명령들을 외부 인터페이싱을 통하여 처리할 수 있다.Also, RS-232 port is provided to monitor or control status information remotely, and the following commands can be processed through external interfacing.

1) Change Output1) Change Output

- 현재 출력을 스플라이싱 로직을 통해 변경할 수 있다.- Current output can be changed via splicing logic.

2) Set Property2) Set Property

- H.264 AVC PTS, DTS 변경여부, PSI 정보를 제1스트림 기준으로 변경함, VIDEO, AUDIO PID를 제1스트림 기준으로 변경함, 에러로 인한 절체 시 에러복구 시 자동 절체의 4가지 사항을 원하는 대로 설정할 수 있다.- H.264 AVC PTS, DTS change, PSI information change based on 1st stream, VIDEO and AUDIO PID change to 1st stream reference, and auto change upon error recovery in case of error. You can customize it.

3) Request Line Status3) Request Line Status

- 현재의 출력 라인 상태, 입력 라인 상태 등의 정보를 모니터링을 위해 얻어올 수 있다.- The current output line status, input line status, etc. can be obtained for monitoring.

4) Request Property4) Request Property

상기 2)에서 설명한 Property의 값을 읽어올 수 있다.The value of the property described in 2) can be read.

5) Request Error Status5) Request Error Status

- 현재의 Error 상태(Mini PIC의 기능)를 얻어올 수 있다.
- You can get the current error status (Mini PIC function).

또한, 본 발명에 따른 스플라이싱 장치는 다음과 같은 기능이 구비된다.In addition, the splicing apparatus according to the present invention has the following functions.

1) MPEG2 Video Stream 에서의 Transcoding 없이 Seamless switching 기능1) Seamless switching function without transcoding in MPEG2 Video Stream

- MEPG2 Video를 디코딩 후 인코딩의 형태인 트랜스 코딩을 사용하지 않으므로, 화질의 변화가 없으며, 딜레이를 수 ms 이내로 최소화한다.- MEPG2 Since video is not decoded and no transcoding is used, there is no change in image quality and the delay is minimized within several milliseconds.

2) AC3 Audio 에서의 접합부의 ES Level의 에러 없는 switching 기능2) Error-free switching function of ES level of connection at AC3 Audio

- AC3 Audio의 형태를 감지하여 프레임 단위로 절체하여, 소리의 끊김이 없는 처리가 가능하다.- AC3 It detects the type of audio and switches it on a frame-by-frame basis.

3) PCR Regeneration3) PCR Regeneration

- 두 인코더의 PCR의 출력이 상이하므로, 절체 시에 PCR을 능률적으로 절체하여 디코더 입장에서 하나의 장치로 인식할 수 있도록 PCR를 보정하여 내어 놓는다.(PCR의 위치 보정은 하지 않으며 절체 순간에서는 PCR Interval을 고려하여 PCR이 삽입되어 질 수 있다.)- Because the output of the PCR of two encoders is different, the PCR is efficiently switched at the time of transfer and the PCR is corrected so that it can be recognized as one device in the decoder position. (It does not correct the position of PCR, PCR can be inserted considering the interval.)

4) PTS, DTS Regeneration4) PTS, DTS Regeneration

- 비디오, 오디오 프레임의 Seamless 절체를 ES Level에서 완성하였다 하여도, PTS, DTS의 보정을 하지 않으면 디코더는 절체 시에 오동작할 가능성이 있으므로, PTS와 DTS의 시간정보는 절체 상황에서도 등 간격으로 유지할 수 있다.- Even if the seamless transfer of video and audio frames is completed at the ES level, the decoder may malfunction during the transfer if PTS and DTS are not corrected. Therefore, the time information of PTS and DTS is maintained at equal intervals .

5) ASI Clock이 상이한 두 대의 Encoder Clock을 레퍼런스 클럭으로 보정5) Compensation of two encoder clocks with different ASI clocks as reference clock

- 일반적으로 인코더는 내부의 클럭을 사용한다. - Generally, the encoder uses the internal clock.

외부의 HD-SDI 의 시그널에 맞추어 비트레이트를 보상하기는 하지만, 물리적인 시간에서의 TS Clock 신호는 서로 상이하게 된다. Although the bit rate is compensated according to the signal of the external HD-SDI, the TS clock signals in the physical time are different from each other.

따라서 논리적인 절체만으로는 두 스트림 간의 완전한 절체를 보장할 수 없으므로, 이를 레퍼런스 클럭으로 교정하여 한대의 인코더의 출력처럼 클럭을 보상한다.Therefore, a logical transfer can not guarantee complete transfer between two streams, so it is corrected with a reference clock to compensate the clock just like the output of a single encoder.

6) 서로 다른 Bitrate 의 스트림을 Estimation 하여 NULL Packet 보정하는 기능6) NULL packet correction by estimating streams of different bitrates

- 스트림 절체의 목적에 따라, 인코더의 Bitrate 세팅을 다르게 해야 하는 경우가 있다. - Depending on the purpose of stream switching, the bitrate setting of the encoder may need to be different.

이때에 Null Packet을 조절하여 스트림간의 목적된 Bitrate를 맞출 수 있는 조건이라면, Null Packet Deletion, Insertion 을 사용하여 Bitrate의 절체도 가능하게 한다.At this time, if the condition of the target bitrate can be adjusted between the streams by controlling the null packet, the bit rate can be switched using Null Packet Deletion and Insertion.

7) 멀티채널 오디오의 ES Level 스플라이싱 지원7) Support ES level splicing of multi-channel audio

- 국내 방송 환경에서는 일반적으로 서브(Sub) 오디오가 존재하거나, 음성 다중 방송에서 여러 채널의 음성이 존재할 수 있다. 본 장비는 2개까지의 음성의 Seamless 스위칭을 가능하게 한다.- In the domestic broadcasting environment, there are generally sub audio, or there may be multiple channel audio in the audio multiplex broadcasting. This equipment enables seamless switching of up to two voices.

8) Dual Stream 방식의 3D 스트림에서 AVC 스트림의 Time 보정 기능8) Time correction function of AVC stream in 2D stream 3D stream

- 국내 표준으로 지정된 3D 방송의 경우 우측 영상으로 AVC Stream 이 추가되어 진다. - In case of 3D broadcasting designated as domestic standard, AVC stream is added as the right image.

이에 따라 좌/우 영상의 동기(PTS)가 정확하여야되는데, 본 장치는 2D에서 3D로 전환 시 좌측의 2D Base 영상에 맞추어 AVC 영상의 시간으로 보정할 수 있다.Accordingly, the synchronization (PTS) of the left / right image must be accurate. When the apparatus is switched from 2D to 3D, it can be corrected to the time of the AVC image in accordance with the 2D base image on the left side.

9) PID Remapping 기능9) PID remapping function

- 두 개의 서로 다른 스트림은 서로 다른 PID 구성을 가질 수 있다. - Two different streams can have different PID configurations.

본 장치는 서브(Sub) 스트림의 PID를 메인(Main) 스트림의 PID로 변경하여 동일한 구성을 유지할 수 있는 기능을 가지고 있다.The present apparatus has a function of changing the PID of the sub stream to the PID of the main stream to maintain the same configuration.

10) 한쪽 입력 부에 에러 시에 자동으로 정상 입력으로 스위칭되는 기능10) Function to automatically switch to normal input in case of error on one input part

- 본 장비는 Mini PIC(Programmable Input Changer)의 기능을 가지고 있어, 입력의 신호가 에러가 있는 경우 다른 신호를 즉시 절체하는 기능을 가지고 있다.- This unit has the function of Mini PIC (Programmable Input Changer), so it can switch other signals immediately if the input signal has an error.

11) Audio ES 절체 시의 묵음 삽입기능11) Silent insertion function for Audio ES switching

- AC3 의 오디오 절체 시에 TS 와 Audio ES 간의 간격의 문제, 지연 문제로 일정량의 데이터를 강제로 삽입하는 조건이 발생할 수 있으며, 이때 묵음(소리가 없는 ES)을 삽입하여 음성의 Tick 현상을 제거할 수 있다.- In the case of audio switching of AC3, there may occur a problem of inserting a certain amount of data due to the problem of the interval between TS and Audio ES and delay problem. At this time, insertion of silence (ES without sound) can do.

12) Video ES 절체 시의 InMemory P Frame(All Residual = 0) 삽입기능12) Insertion of InMemory P Frame (All Residual = 0) when Video ES is switched

- MEPG2 의 비디오 절체 시에 끊김 없는 비디오의 절체를 위해 내부에 마련된 가상의 P Frame을 사용하여 절체를 수행하며, 특수 사항에서는 강제로 임의의 P Frame 을 삽입할 수 있는 기능을 가지고 있다.- In case of MEPG2 video switching, it performs switching by using a virtual P frame provided for interchanging seamless video, and has the function of forcibly inserting arbitrary P frame in special specification.

13) 모드에 따라, Errorless 모드, Time Accuracy Mode 의 두 가지 모드13) Depending on the mode, there are two modes, Errorless mode and Time Accuracy mode

- 두 개의 서로 다른 스트림을 절체할 때, 비디오/오디오의 ES Level에서의 Error가 전혀 없는 Errorless 모드(이때는 시간 정보의 오차가 발생할 수 있다), PCR, PTS, DTS 의 변동이 전혀 없이 원본 스트림에 기준하여 시간을 처리하는 Time Accuracy Mode(이때는 오디오의 경우 일부 ES Level 에서의 훼손이 발생할 수 있으며, 비디오의 ES Level에서의 에러는 없지만, 비디오 Time Stamp의 연속성의 손실이 발생할 수 있다)의 두 가지 모드를 선택하여 사용할 수 있다.- When switching two different streams, there is no error in the ES level of the video / audio (error information of time information may occur in this case), PCR, PTS, (In this case, audio may be damaged at some ES level and there is no error at the ES level of the video, but loss of continuity of the video time stamp may occur). Mode can be selected and used.

한편, 본 발명에 따른 단계 S101 내지 단계 S109 및 단계 S201 내지 단계 S210에 따른 다채널 디지털 방송을 위한 스플라이싱 방법을 프로그램화하여 컴퓨터가 읽을 수 있도록 시디롬, 메모리, ROM, EEPROM 등의 기록매체에 저장시킬 수도 있다.Meanwhile, the splicing method for multi-channel digital broadcasting according to the present invention in steps S101 to S109 and steps S201 to S210 is programmed and recorded on a recording medium such as a CD-ROM, a memory, a ROM, and an EEPROM May be stored.

이상의 설명에서는 본 발명의 바람직한 실시예를 제시하여 설명하였으나, 본 발명이 반드시 이에 한정되는 것은 아니며, 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자라면 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 여러 가지 치환, 변형 및 변경할 수 있음을 쉽게 알 수 있을 것이다.While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is clearly understood that the same is by way of illustration and example only and is not to be taken by way of illustration, It will be readily apparent that various substitutions, modifications, and alterations can be made herein.

100: ASI 입력부 200: 클럭 동기화부
300: TS 분석부 400; 스플라이서부
500: ASI 출력부
100: ASI input unit 200: Clock synchronization unit
300: TS analysis unit 400; West of Split
500: ASI output section

Claims (15)

다채널 디지털 방송을 위한 스플라이싱 장치에 있어서,
엠펙 전송스트림 형태인 제1스트림의 출력 중에 상기 제1스트림으로 절체신호가 수신된 후 상기 제1스트림에서 유예신호에 도달하면,
엠펙 전송스트림 형태인 제2스트림에서 절체시점이 도달된 이후부터 출력이 제2스트림으로 전환되도록 하는 스플라이서부
가 포함되어 구성된 것을 특징으로 한 다채널 디지털 방송을 위한 스플라이싱 장치.
1. A splicing apparatus for multi-channel digital broadcasting,
When a transfer signal is received in the first stream during the output of the first stream, which is in the form of an MPEG transport stream, and then reaches the grace signal in the first stream,
And the output is switched to the second stream after the switching point is reached in the second stream, which is an MPEG transport stream,
And a splicing device for multi-channel digital broadcasting.
청구항 1에 있어서, 상기 유예신호는 제1스트림에서 P프레임 또는 I프레임이 시작될 때이고, 상기 절체시점은 상기 제2스트림에서 I프레임이 시작될 때인 것을 특징으로 한 다채널 디지털 방송을 위한 스플라이싱 장치.The apparatus of claim 1, wherein the grace signal is generated when a P frame or an I frame starts in a first stream and when an I frame starts in the second stream. . 청구항 2에 있어서, 상기 유예신호와 절체시점 사이에 존재하는 프레임은 내부 P프레임으로 대체되어 출력되는 것을 특징으로 한 다채널 디지털 방송을 위한 스플라이싱 장치.The splicing apparatus according to claim 2, wherein a frame existing between the grace signal and the switching point is replaced with an internal P frame and output. 청구항 1에 있어서, 제1스트림에서 제2스트림으로 전환되어 출력 중 첫 번째 I프레임에 이어지는 B프레임은 내부 P프레임으로 대체되어 출력되는 것을 특징으로 한 다채널 디지털 방송을 위한 스플라이싱 장치.The splicing apparatus as claimed in claim 1, wherein the B frame, which is switched from the first stream to the second stream and subsequent to the first I frame, is replaced with an internal P frame and output. 청구항 1에 있어서, 제1스트림에서 제2스트림으로 전환되어 출력 중 상기 제2스트림으로 절체신호가 수신된 후 상기 제2스트림에서 유예신호에 도달하면,
상기 제2스트림의 프레임 갯수보다 상기 제1스트림의 프레임 갯수가 적거나 같은 경우, 프레임 갯수의 차이만큼 제2스트림의 출력 프레임을 널 패킷으로 대체하고, 이후부터 출력이 제1스트림으로 전환되어 제1스트림의 절체시점까지의 프레임은 내부 P프레임으로 대체되어 출력되도록 하는 스플라이서부
가 포함되어 구성된 것을 특징으로 한 다채널 디지털 방송을 위한 스플라이싱 장치.
The method of claim 1, further comprising: when a transition is made from a first stream to a second stream and a switch signal is received from the second stream during the output,
If the number of frames of the first stream is less than or equal to the number of frames of the second stream, the output frame of the second stream is replaced with a null packet by the difference of the number of frames, A frame up to the switching point of one stream is replaced with an internal P frame and output,
And a splicing device for multi-channel digital broadcasting.
청구항 1에 있어서, 제1스트림에서 제2스트림으로 전환되어 출력 중 상기 제2스트림으로 절체신호가 수신된 후 상기 제2스트림에서 유예신호에 도달하면,
상기 제2스트림의 프레임 갯수보다 상기 제1스트림의 프레임 갯수가 많은 경우, 프레임 갯수의 차이만큼 제2스트림의 출력 프레임을 내부 P프레임으로 대체하고, 이후부터 출력이 제1스트림으로 전환되어 제1스트림의 절체시점까지의 프레임은 내부 P프레임으로 대체되어 출력되도록 하는 스플라이서부
가 포함되어 구성된 것을 특징으로 한 다채널 디지털 방송을 위한 스플라이싱 장치.
The method of claim 1, further comprising: when a transition is made from a first stream to a second stream and a switch signal is received from the second stream during the output,
If the number of frames of the first stream is larger than the number of frames of the second stream, the output frame of the second stream is replaced with the inner P frame by the difference of the number of frames, A frame up to the switching point of the stream is replaced with an internal P frame and output,
And a splicing device for multi-channel digital broadcasting.
청구항 5 또는 청구항 6에 있어서, 제2스트림에서 제1스트림으로 전환되어 출력 중 첫 번째 I프레임에 이어지는 B프레임은 내부 P프레임으로 대체되는 것을 특징으로 한 다채널 디지털 방송을 위한 스플라이싱 장치.The splicing apparatus according to claim 5 or 6, wherein the B frame, which is switched from the second stream to the first stream and is followed by the first I frame, is replaced with an internal P frame. 다채널 디지털 방송을 위한 스플라이싱 방법에 있어서,
(a) 엠펙 전송스트림 형태인 제1스트림의 출력 중에 상기 제1스트림으로 절체신호가 수신되는 제1절체신호수신단계;
(b) 상기 제1절체신호수신단계 이후 상기 제1스트림에서 유예신호에 도달할 때까지 대기하는 제1유예신호대기단계; 및
(c) 상기 제1유예신호대기단계 이후 제2스트림의 절체시점에 도달되면 출력을 엠펙 전송스트림 형태인 제2스트림으로 전환시키는 제1절체단계
를 포함하는 것을 특징으로 한 다채널 디지털 방송을 위한 스플라이싱 방법.
1. A splicing method for multi-channel digital broadcasting,
(a) a first switch signal reception step in which a switch signal is received in the first stream during output of a first stream in the form of an MPEG transport stream;
(b) a first delayed signal waiting step to wait until the delayed signal is reached in the first stream after receiving the first switched signal; And
(c) a first switching step of switching the output to a second stream in the form of MPEG transport stream when the switching time of the second stream is reached after the first delayed signal waiting step
And a splicing method for multi-channel digital broadcasting.
청구항 8에 있어서, 상기 제1유예신호대기단계에서 유예신호는 제1스트림에서 P프레임 또는 I프레임이 시작될 때이고, 상기 제1절체단계에서 절체시점은 상기 제2스트림에서 I프레임이 시작될 때인 것을 특징으로 한 다채널 디지털 방송을 위한 스플라이싱 방법.The method of claim 8, wherein the grace signal in the first grace period signal waiting time is when a P frame or an I frame starts in the first stream, and the switching time in the first switching step is when an I frame starts in the second stream. A splicing method for multi-channel digital broadcasting. 청구항 9에 있어서, 상기 유예신호와 절체시점 사이에 존재하는 프레임은 내부 P프레임으로 대체되어 출력되는 단계를 포함하는 것을 특징으로 한 다채널 디지털 방송을 위한 스플라이싱 방법.The method of claim 9, wherein the frame existing between the grace signal and the switching point is replaced with an internal P frame and output. 청구항 8에 있어서, 상기 제1절체단계에서는 제1스트림에서 제2스트림으로 전환되어 출력 중 첫 번째 I프레임에 이어지는 B프레임은 내부 P프레임으로 대체되어 출력되는 단계를 포함하는 것을 특징으로 한 다채널 디지털 방송을 위한 스플라이싱 방법.The method as claimed in claim 8, wherein in the first switching step, the B frame, which is switched from the first stream to the second stream and subsequent to the first I frame of the output, is replaced with an internal P frame, A splicing method for digital broadcasting. 청구항 8에 있어서, 상기 제1절체단계 이후에,
(d1) 제1스트림에서 제2스트림으로 전환되어 출력 중에 상기 제2스트림으로 절체신호가 수신되는 제2절체신호수신단계;
(e1) 상기 제2절체신호수신단계 이후 상기 제2스트림에서 유예신호에 도달할 때까지 대기하는 제2유예신호대기단계;
(f1) 상기 제2유예신호대기단계 이후 제2스트림의 프레임 갯수보다 상기 제1스트림의 프레임 갯수가 적거나 같은 경우, 프레임 갯수의 차이만큼 제2스트림의 출력 프레임을 널 패킷으로 대체하는 대체단계; 및
(g1) 상기 대체단계 이후 출력은 제1스트림으로 전환되고, 제1스트림의 절체시점까지의 프레임은 내부 P프레임으로 대체되어 출력되는 제2절체단계
를 포함하는 것을 특징으로 한 다채널 디지털 방송을 위한 스플라이싱 방법.
9. The method of claim 8, wherein after the first transfer step,
(d1) a second switch signal receiving step of switching from a first stream to a second stream and receiving a switch signal to the second stream during output;
(e1) a second grace signal waiting step of waiting after the second switch signal reception step until a grace signal is reached in the second stream;
(f1) replacing an output frame of the second stream with a null packet by a difference of the number of frames when the number of frames of the first stream is less than or equal to the number of frames of the second stream after the second wait signal waiting step ; And
(g1) the output after the replacing step is switched to the first stream, the frame up to the switching point of the first stream is replaced with the inner P frame,
And a splicing method for multi-channel digital broadcasting.
청구항 8에 있어서, 상기 제1절체단계 이후에,
(d2) 제1스트림에서 제2스트림으로 전환되어 출력 중에 상기 제2스트림으로 절체신호가 수신되는 제2절체신호수신단계;
(e2) 상기 제2절체신호수신단계 이후 상기 제2스트림에서 유예신호에 도달할 때까지 대기하는 제2유예신호대기단계;
(f2) 상기 제2유예신호대기단계 이후 제2스트림의 프레임 갯수보다 상기 제1스트림의 프레임 갯수가 많은 경우, 프레임 갯수의 차이만큼 제2스트림의 출력 프레임을 내부 P프레임으로 대체하는 대체단계; 및
(g2) 상기 대체단계 이후 출력은 제1스트림으로 전환되고, 제1스트림의 절체시점까지의 프레임은 내부 P프레임으로 대체되어 출력되는 제2절체단계
를 포함하는 것을 특징으로 한 다채널 디지털 방송을 위한 스플라이싱 방법.
9. The method of claim 8, wherein after the first transfer step,
(d2) a second switch signal receiving step of switching from a first stream to a second stream and receiving a switch signal to the second stream during output;
(e2) a second grace signal waiting step waiting until the grace signal is reached in the second stream after receiving the second switch signal;
(f2) replacing an output frame of the second stream with an inner P frame by a difference of the number of frames when the number of frames of the first stream is larger than the number of frames of the second stream after the second wait signal waiting step; And
(g2) a second transfer step in which the output after the replacing step is switched to the first stream, the frame up to the transfer time point of the first stream is replaced with an internal P frame,
And a splicing method for multi-channel digital broadcasting.
청구항 12 또는 청구항 13에 있어서, 제2스트림에서 제1스트림으로 전환되어 출력 중 첫 번째 I프레임에 이어지는 B프레임은 내부 P프레임으로 대체되는 단계를 포함하는 것을 특징으로 한 다채널 디지털 방송을 위한 스플라이싱 방법.The method as claimed in claim 12 or 13, wherein the B frame, which is switched from the second stream to the first stream and subsequent to the first I frame in output, is replaced with an internal P frame. Plying method. 청구항 8 내지 청구항 14 중 어느 한 청구항의 다채널 디지털 방송을 위한 스플라이싱 방법을 실행하는 프로그램이 기록되어 컴퓨터로 읽을 수 있는 기록매체.A computer-readable recording medium having recorded thereon a program for executing a splicing method for a multi-channel digital broadcast according to any one of claims 8 to 14.
KR1020140114261A 2014-08-29 2014-08-29 Splicing Apparatus for Multi Channel Digital Broadcasting and Method thereof KR101620083B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020140114261A KR101620083B1 (en) 2014-08-29 2014-08-29 Splicing Apparatus for Multi Channel Digital Broadcasting and Method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020140114261A KR101620083B1 (en) 2014-08-29 2014-08-29 Splicing Apparatus for Multi Channel Digital Broadcasting and Method thereof

Publications (2)

Publication Number Publication Date
KR20160026201A true KR20160026201A (en) 2016-03-09
KR101620083B1 KR101620083B1 (en) 2016-05-11

Family

ID=55536644

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020140114261A KR101620083B1 (en) 2014-08-29 2014-08-29 Splicing Apparatus for Multi Channel Digital Broadcasting and Method thereof

Country Status (1)

Country Link
KR (1) KR101620083B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107135330A (en) * 2017-07-04 2017-09-05 广东工业大学 A kind of method and apparatus of video frame synchronization

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101087666B1 (en) 2007-06-12 2011-11-30 주식회사 케이티 System for providing video on demand service including block advertisement and method therefor

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100345312B1 (en) 1999-12-24 2002-07-25 한국전자통신연구원 Splicing Method for video stream with open GOP
KR100789365B1 (en) * 2004-12-10 2007-12-28 한국전자통신연구원 Apparatus and Method for splicing of terrestrial DMB signal

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101087666B1 (en) 2007-06-12 2011-11-30 주식회사 케이티 System for providing video on demand service including block advertisement and method therefor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107135330A (en) * 2017-07-04 2017-09-05 广东工业大学 A kind of method and apparatus of video frame synchronization
CN107135330B (en) * 2017-07-04 2020-04-28 广东工业大学 Method and device for video frame synchronization

Also Published As

Publication number Publication date
KR101620083B1 (en) 2016-05-11

Similar Documents

Publication Publication Date Title
EP3086558B1 (en) Transmission method, reception method, transmitting device, and receiving device
US9860458B2 (en) Method, apparatus, and system for switching transport stream
US20070162852A1 (en) Method and apparatus for changing codec to reproduce video and/or audio data streams encoded by different codecs within a channel
KR101967818B1 (en) Receiver and the receiving method thereof
EP2280541A1 (en) Fast channel switch between digital televisison channels
JP7457098B2 (en) Transmission method, reception method, transmission device and reception device
US7693222B2 (en) Method and system for re-multiplexing of content-modified MPEG-2 transport streams using PCR interpolation
KR20130121058A (en) Video reproduction apparatus for 3dtv and method for processing by video reproduction apparatus
JP4339322B2 (en) Transport stream receiving apparatus for providing multiple screens and control method thereof
US20140112395A1 (en) Method and apparatus for decoder buffering in hybrid coded video system
KR101131836B1 (en) ASI Switcher for digital advertisement inserter
KR101620083B1 (en) Splicing Apparatus for Multi Channel Digital Broadcasting and Method thereof
JP2006254298A (en) Device and method for moving picture reproduction
KR100473116B1 (en) content conversion device and method the same
US10757473B2 (en) Digital media splicing system and method
US10554711B2 (en) Packet placement for scalable video coding schemes
KR20140053777A (en) Method and apparatus for decoder buffering in hybrid coded video system
KR20140148304A (en) Transport stream switching method, apparatus and system
KR100663565B1 (en) Amending Apparatus and Amending Method of PCR and Data rate
KR101114749B1 (en) Method for processing image data in mpeg-2 ts in order to not occurring blue screen and digital multimedia broadcasting receiver thereof
KR20230086585A (en) Method and apparatus for minimizing initial screen output delay in channel selection of digital broadcasting receiver
JP2002344890A (en) Data recording/reproducing device
Wang et al. A method of accurate DTV transport streams splicing
Chen Transport Packet Scheduling and Multiplexing
JPH11215203A (en) Digital data switching system

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant