Hi Richard,

>I am setting every nal:
>fDurationInMicroseconds = 33333;
>gettimeofday(&fPresentationTime, 0);
>
>I have a feeling that the answer is in the time stamp, as it plays but at a
slow rate.

The error.264 file contains multiple slices for each frame, and each slice
is a single NAL.  Each of these NAL units will need the same time stamp as
all the other NALs in the same frame, so you will want to only call
gettimeofday when dealing with the first NAL for each frame.  Then, as Ross
suggested, I don't think you want the 33ms delay between reading each slice,
so you can remove the fDurationInMicroseconds assignment.

Thanks,

Chris Richardson
WTI

_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to