PDA

View Full Version : Encoding empty pictures


Ixal
9th May 2008, 13:31
For a test I need a empty yuv picture encoded into H.264 but both the x264 or the JM reference encoder produce very small files which the decoder I use can't read (even if its just an I picture) for some reason.

Is there a way to disable some functions which gets applied in such a special case? Maybe my decoder can read those pictures then.
Specifically I try to encode a single picture with 4x4 Blocks and as few optional functions as possible at the lowest level.

Manao
9th May 2008, 15:25
What macroblock types does your decoder support ? A completely uniform picture will most probably be encoded as intra 16x16, with different prediction types.

Ixal
10th May 2008, 15:21
Technically the decoder supports all types of MBs. The only thing it can't do is frame reordering.

But somehow the decoder has problems with uniform pictures. Whenever I try to decode them I get a parser error while "normal" pictures will decode fine.
Thats why I'm asking if there is some kind of special algorithm used for these kind of pictures.

Manao
10th May 2008, 16:46
No, there isn't. There must be a bug in your parser.