ok, so i'm still having trouble with certain types of movies. i can play some mpeg4 files, but not others using the GDCL (http://www.gdcl.co.uk/) and ffdshow-tryouts (libavcodec). it seems as if the files containing a Coded slice of a non-IDR picture and SEI play while the ones containing three Coded slices of an IDR picture do not. it looks like the second and third coded slices of a idr picture, in the file that does not work, are closely related to the SEI section of the one that does. so this is my situation...
on to the code: it seems as if the ff_h264_decode_seq_parameter method, mentioned in the subject line, is failing in this instance. the first observation is that get_ue_golomb_31 is returning zero. looking at the array definition, it should be zero when the value is greater than 256. i'm not sure how an sps id of zero is ever relevent. can anyone explain this to me? not sure if this matters, but the method is ok with this and it continues...next we reach the spot that i cannot get past for this type of mpeg4 file. eventually frame_mbs_only_flag gets set to 0 via get_bits1(&s->gb). in the file that works, this flag ends up being '1'. moving on, we eventually set direct_8x8_inference_flag in the same way (using get_bits1). the result of this is also '0'. the next line is a conditional statement checking the values of the two aforementioned flags. one of them must be one, but in this case both are '0' and the method fails with a log message stating "This stream was generated by a broken encoder, invalid 8x8 inference." obvisouly this error doesn't mean much to me and isn't ringing and bells, so to speak. can anyone help with this situation? someone has to have seen this before, right? anyway, i've posted before under a different subject, but got no love. for some reason the elecard decoder can decode streams that the ffdshow-tryouts cannot. any suggestions would be much appreciated. anything... i mean it. even if you don't have a clue, let me know. sometimes i feel like i'm talking to myself... thanks, nick p.s. below should be screen-shtos from the h.264 viewer http://libav-users.943685.n4.nabble.com/file/n3027611/not_working%28h264_video_es_viewer%29.bmp http://libav-users.943685.n4.nabble.com/file/n3027611/working%28h264_video_es_viewer%29.bmp -- View this message in context: http://libav-users.943685.n4.nabble.com/ff-h264-decode-seq-parameter-fails-for-Coded-slice-of-an-IDR-picture-invalid-8x8-inference-tp3027611p3027611.html Sent from the libav-users mailing list archive at Nabble.com. _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
