This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RTOS/TMS320C6678: How to encode interlaced video with H.264 encoder(H264 High Profile Encoder Version 01.00.01.04)

Part Number: TMS320C6678

Tool/software: TI-RTOS

Hello all:

I remove the tftp module from the demo in  the mcsdk_video_2_2_0_46\examples\transcode , add the SRIO drive module and rtp module into the project. The interlaced video (PAL 720*576 25fps) comes from a camera, and then is sent into DDR3 through SRIO.  After the interlaced video is encoded by DSP, the generated stream is packeted with RTP protocol and sent out to PC. I choose mplayer to play the video. When I choose the following params

inputContentType = IVIDEO_INTERLACED 

interlaceCodingType = 4

inputBufDesc->topFieldFirstFlag = 0

captureWidth =720

inputwidth =720

inputheight =288,

the pictures showed in the mplayer are 720*288, not the expected 720*576.

when I choose inputContentType = IVIDEO_PROGRESSIVE, no difference can be seen on the mplayer.

The question is what I need to do to make the interlaced video be encoded by the h.264 encoder.

Any suggestion will be appreiated!

Thanks!