>       
>     Then I found :
> 
>                  level_idc= 41 (base 10)
>                  profile_idc= 66 (base 10)
>                  extradata_size=30
>                  I store 00 00 01 67 42 00 1e e2 90 16 02 4d 81 
> 
> 27 05 01 05 e1 e2 44 54 00 00 01 68 ce 3c 80 00 00 in extradata
> 

I stored PPS & SPS of SDP as Nal Units instead of storing in avcC format.
Therefore my extradata :

01 42 00 1e ff e1 00 12 67 42 00 1e e2 90 16 02 4d 81 27 05 01 05 e1 e2 44 54 01

00 06 68 ce 3c 80 00 00
There is no error to decode it.


But after when I'm using avcodec_decode_video to decode a nal (SPS, PPS, NAL_IDR

or NAL_SLICE), I get the following error :



[h264 @ 00334fe0]AVC: nal size number          

the number is: 
- 360
- 442
- a very large number (8 digits)




Moreover when the nal_type is 5 (IDR) or 1 (SLICE), I get more the following
error:

[h264 @ 00334fe0]sps_id out of range

It is generated by the function decode_slice_header but I don't knwo haw to
solve the problem. Maybe it is due to my SDP ...








_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to