H.264 Video format (YUV420p vs YUV420sp)

Viewed 23805

I'm doing a video streaming project. The standard only mentions using the following format for video:

The terminal shall support H.264 video codecs by default using the H.264 - frame rate of 25 frames / sec - CIF (352 * 288) format - payload type (payload_type): 98 - timestamp frequency (kHz): 90

By default my Android device packs the data in YUV420SP format. When the video goes thru, it comes up with a green tint and a slight distortion.

Probing further it seems that I should have used the YUV420P format instead.

Can somebody help educate me on why H264 itself does not define the actual data format to use? Doesn't this leave it open to developer interpretation instead? Or am I missing something?

2 Answers
Related