[Live-devel] MPEG-4 Streaming presentation rate

Michael Barkowski michael at abriskwok.net
Tue May 12 08:31:08 PDT 2009


Hello Ross,

On Mon, May 11, 2009 at 5:07 AM, Ross Finlayson <finlayson at live555.com> wrote:
>> The file I am using as a source to testOnDemandRTSP Server was
>> captured by either openRTSP (using -4 to output to Quicktime
>> container)
>
> Our server *cannot* stream from this type of file (".mp4" or ".mov" format).
>  The only type of MPEG-4 file it can stream from is a MPEG-4 Video
> Elementary Stream.  (If you want to record files of this type using
> "openRTSP", then *do not* use the "-4" or "-q" options.)

Thanks so much for the reply.

Ok - I've now tried with openRTSP creating MPEG-4 ES - no "-4" or "-q".
Having the same issue.

Turned on debug...  testOnDemandRTSP is calculating presentation times
that work out to 15 fps, for example:
#parsing VideoObjectPlane
vop_coding_type: 1(P), modulo_time_base: 0, vop_time_increment: 133
MPEGVideoStreamFramer::computePresentationTime(133) -> 98426.157286 [0.240799]
fDurationInMicroseconds: 67000 ((67*1000000)/1000.000000)

The file should be 30 fps, and plays as such in VLC.

If I change the camera settings to 15 fps, then everything is 15 fps
and testOnDemandRTSP streams things at the proper rate.

How do I go about checking the file that openRTSP has created?  Where
do I look to find out why testOnDemandRTSP always calculates 15 fps?

Many thanks,

--
Michael Barkowski


More information about the live-devel mailing list