[Mp4-tech] Consecutive IDR pictures

Tomislav Muic tomislav.muic gmail.com
Sun Aug 12 19:15:36 EDT 2007


I am writing H264 codec and I am trying to get stream working with IDR
coded pictures in a sequence. First picture is coded OK, but second
one gives weird errors in reference decoder. it reads the A.U.
delimiter OK, but crashes on decoding slice which is identical
bitstream as first open
I update following parameters:
 ++seq_id;//seq_parameter_set_id
 ++pic_id; //pic_parameter_set_id
frame_num=0;
++idr_pic_id;
did I forget some parameter?
I use following NAL units for each IDR picture
 access_unit_delimiter
  seq_par set
  PPS
  slice
  end_of _sequence
etc...
-- 
Tomislav Muić


More information about the Mp4-tech mailing list