[Live-devel] H264DiscreteFramer from custom source
James Norris
norris.j at gmail.com
Thu Nov 17 03:22:26 PST 2011
OK sorted.. The answer was indeed due to my encoder, thanks again &
sorry it went a little off-topic. For others in similar situation
though:
Apparently the x264 annex_b needed disabling before the discrete
framer would accept. I still skip the startcode in the same way as
before, e.g.:
for ( int i=0; i<i_nals i++ )
{
unsigned char* nal = nals[i].p_payload + 4;
int size = nals[i].i_payload - 4;
[ deliver ( nal, size ) ]
}
I noticed this as apparently with annex b enabled I was getting 2x PPS
NALs for each keyframe (where one was actually an IDR).
Thanks again,
James
On Thu, Nov 17, 2011 at 10:42 AM, Ross Finlayson <finlayson at live555.com> wrote:
> I'm at a complete loss here, as far as I can see the stream is
> correct, but still nothing is able to interpret it.
>
> Yes, that's what it looks like to me as well. At this point I suspect that
> there's a problem with your encoder.
>
> Ross Finlayson
> Live Networks, Inc.
> http://www.live555.com/
>
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel
>
>
More information about the live-devel
mailing list