I've been trying the examples in the Intel Media SDK tutorial:
However, I found that when trying to take a sample raw YUV4 video (such as "coastguard" from http://media.xiph.org/video/derf/) which plays correctly in VLC, encode it with simple_3_encode, and decode it with simple_2_decode (which should give me back a lossy version of the original YUV), the final video looks quite different in VLC. See the attachments below. Furthermore, MediaInfo can't read any metadata in the final output.
- No changes to the source for simple_3_encode nor simple_2_decode were made other than changing the input resolution of simple_3_encode to match CIF format.
- The same issue happens for the variants of simple_3_encode (and simple_2_decode) such as simple_3_decode - d3d.
- The same issue happens for larger YUV4 videos such as 1920 x 1080 "pedestrian_area" from http://media.xiph.org/video/derf/y4m/pedestrian_area_1080p25.y4m
- I also tried playing encoder's output file ".264" directly in VLC but it did not play at all.
What could be the problem?