[Live-devel] openRTSP producing bad video files
Ross Finlayson
finlayson at live555.com
Thu Aug 28 18:57:28 PDT 2008
>On Thu, Aug 28, 2008 at 03:51:29PM -0700, Ross Finlayson wrote:
>>> I am having a problem with openRTSP recording video from a few Axis
>>> video cameras. I'm basically running openRTSP like this:
>>>
>>> openRTSP -q -b 80000 -w 704 -h 480 -f 30 rtsp://url > foo.mov
>>>
>>> When I play foo.mov in mplayer, it's jerky and plays too fast, where 10
>>> seconds of wall time will go by in 4 to 6 seconds.
>>
>> It sounds like your "-f" (frame rate) parameter is wrong. Perhaps it
>> should be 15, or 12 frames-per-second? You need to get that correct.
>
>I did try 15 with similar results. I can try other values tomorrow I
>suppose. Is it possible that the mpeg4 stream actually has a variable
>framerate?
I don't think so.
You can find the actual frame rate quite easily: Just play the stream
using QuickTime Player, and look at the 'stream information' (there's
a menu item for this).
--
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
More information about the live-devel
mailing list