Hello,

Sorry but I have to ask again. I explore a little bit around my problem and 
found following fact. If I read a h264 frame and look if it is a keyframe, I 
get a strange result. Every frame in my stream should be a keyframe ?!?!?! 
This is really strange or? The error messages down below are not connecting 
with my code. These errormessages are generated from ffmpeg himself in the 
beginning where I am initialize the Codec with:

// Open codec
  if(avcodec_open(mPCodecCtx, mPCodec)<0)
    cerr << "Kann den Codec nicht öffnen" << endl;

So the very important question is: Why recognize libav every frame in an 
h.264-ts-stream as a keyframe??? Is it a bug? I can't belive it because of 
the nice mplayer result.

regards,
Sven

Am Montag 19 Januar 2009 10:38 schrieb Sven Alisch:
> Hello all,
>
> When I try to open an h.264-Stream with libav I get following errors:
>
> [h264 @ 0x81ac290]non-existing PPS referenced
> [h264 @ 0x81ac290]decode_slice_header error
> [h264 @ 0x81ac290]non-existing PPS referenced
> [h264 @ 0x81ac290]decode_slice_header error
> [h264 @ 0x81ac290]non-existing PPS referenced
> [h264 @ 0x81ac290]decode_slice_header error
> [h264 @ 0x81ac290]non-existing PPS referenced
> [h264 @ 0x81ac290]decode_slice_header error
> [h264 @ 0x81ac290]non-existing PPS referenced
> [h264 @ 0x81ac290]decode_slice_header error
> [h264 @ 0x81ac290]non-existing PPS referenced
> [h264 @ 0x81ac290]decode_slice_header error
> [h264 @ 0x81ac290]no frame!
> ...
> and so on ...
>
> If I try to open the same stream with mplayer it works. It works too, if I
> open a mpeg2-stream with my app (programmed with libav). And of course, i
> don't use mpeg2-specific issues in my code, so i wonder. I work with the
> latest libav per svn/git.
>
> What my be is the reason for these errors? Could anyone help me?
>
> regards,
> Sven
> _______________________________________________
> libav-user mailing list
> [email protected]
> https://lists.mplayerhq.hu/mailman/listinfo/libav-user
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to