Community
cancel
Showing results for 
Search instead for 
Did you mean: 
billcruse
Beginner
64 Views

H264 decode problem

Hi..

I receive data from ip camera , data as follows:

00 00 00 01 67 42 00 28 e9 01 60 7b 20 00 00 00 01 68 ce 38 80 00 00 00 01 65 88 87 81 71 08 89
80 10 16 7b 80 0d 0e 3b 90 37 9c 29 53 d5 e1 bc 0c 00 29 50 7c ab 55 60 49 2b bd a5 14 29 de 08 .......

The datas contain nal SPS,PPS and IDR,I push data to Intel H264 codec
(http://software.intel.com/en-us/articles/getting-started-with-intel-ipp-unified-media-classes-sample... )
, but codec always return ERROR( H264Decoder.GetFrame ),I don't know why, the same data push to ffmpeg codec is ok.
0 Kudos
2 Replies
billcruse
Beginner
64 Views

Quoting - billcruse
Hi..

I receive data from ip camera , data as follows:

00 00 00 01 67 42 00 28 e9 01 60 7b 20 00 00 00 01 68 ce 38 80 00 00 00 01 65 88 87 81 71 08 89
80 10 16 7b 80 0d 0e 3b 90 37 9c 29 53 d5 e1 bc 0c 00 29 50 7c ab 55 60 49 2b bd a5 14 29 de 08 .......

The datas contain nal SPS,PPS and IDR,I push data to Intel H264 codec
(http://software.intel.com/en-us/articles/getting-started-with-intel-ipp-unified-media-classes-sample... )
, but codec always return ERROR( H264Decoder.GetFrame ),I don't know why, the same data push to ffmpeg codec is ok.

Upload h264.dat file
ole_van_off
Beginner
64 Views

it's important how you do init(), read the thread named H264 NAL unit, it helped me with similar problems :

and try this order (per Mikls Szeles) -

- Init with SPS NAL Unit
- GetFrame with SPS NAL Unit
- GetFrame with PPS NAL Unit
- GetInfo with PPS NAL Unit

then proceed with other NALUs


O.

Reply