Re: [Live-devel] H264or5VideoStreamParser::parse() from a FramedSource

2015-01-15 Thread Richard Lince
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.co

Re: [Live-devel] H264or5VideoStreamParser::parse() from a FramedSource

2015-01-15 Thread Chris Richardson (WTI)
Hi Richard, >I am setting every nal: >fDurationInMicroseconds = 3; >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

Re: [Live-devel] H264or5VideoStreamParser::parse() from a FramedSource

2015-01-15 Thread Ross Finlayson
> I am setting every nal: > fDurationInMicroseconds = 3; > gettimeofday(&fPresentationTime, 0); Because you're streaming from a live source, I'd suggest not setting "fDurationInMicroseconds" at all. Just be prepared for your "MyStreamSource ::doGetNextFrame()" function to get called immedia

Re: [Live-devel] H264or5VideoStreamParser::parse() from a FramedSource

2015-01-15 Thread Richard Lince
Hi Ross, " So - just to clarify: Are you saying that a particular stream of NAL units, when written as a file (with a 0x00 0x00 0x00 0x01 'start code' preceding each NAL unit) can be streamed OK by the "LIVE555 Media Server", but the *same* stream of NAL units, when generated by your "MyStreamS