Patent ID: 8218079

Claim:
A stream generating apparatus in which the video signal of a frame structure is input and encoded by a first signal processing unit at the timing of a frame sync signal, and a stream including a header field and an information field is generated by a second signal processing unit at the timing of the frame sync signal, comprising: an acquirer configured to acquire from an external source a reference signal synchronized with the video signal; a self-driven counter configured to include a first count mode in which the number of clocks in the frame period is counted independently and asynchronously with the reference signal thereby to generate and supply a frame sync signal to the first and second signal processing units, and a second count mode in which the frame sync signal is adjusted automatically based on the reference signal acquired by the acquirer; and a controller configured to switch a count mode from the second count mode to the first count mode when the first and second signal processing units start processing of the video signal.