Hello Chris, Without testing, your theory sounds correct and obvious! I will try this evening and let you know the results, Thanks. The same fPresentationTime is required for all the nal slices in a frame. Rich.
-----Original Message----- From: live-devel [mailto:live-devel-boun...@ns.live555.com] On Behalf Of Chris Richardson (WTI) Sent: 15 January 2015 16:45 To: 'LIVE555 Streaming Media - development & use' Subject: Re: [Live-devel] H264or5VideoStreamParser::parse() from a FramedSource 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 ______________________________________________________________________ This email has been scanned by the Symantec Email Security.cloud service. For more information please visit http://www.symanteccloud.com ______________________________________________________________________ ______________________________________________________________________ This email has been scanned by the Symantec Email Security.cloud service. For more information please visit http://www.symanteccloud.com ______________________________________________________________________ _______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel