[Live-devel] doubled framerate necessary to correctly capture RTSP stream using openRTSP

Ross Finlayson finlayson at live555.com
Thu Oct 31 18:19:13 PDT 2013


> The encoder is configured with a frame rate / GOP length of 30 fps, yet if I set openRTSP with a frame rate of 30 like this:
> 
>    openRTSP -d 300 -4 -w 640 -h 360 -f 30 -Q rtsp://URL > test.mp4 (or)
>    openRTSP -d 300 -q -w 640 -h 360 -f 30 -Q rtsp://URL > test.mov
> 
> The video is the incorrect speed and does not match the audio.  If however, I set openRTSP with a frame rate of 60 with:
> 
>    openRTSP -d 300 -4 -w 640 -h 360 -f 60 -Q rtsp://URL > test.mp4 (or)
>    openRTSP -d 300 -q -w 640 -h 360 -f 60 -Q rtsp://URL > test.mov
> 
> The video is captured correctly and is synchronous with the audio for the duration of the capture.  This is a perfectly viable work-around, but I'm curious about why openRTSP only seems to work as expected when set to capture at a 2x (actual) frame rate.

Yes, I also find this strange.  If anyone out there wants to take a look at this, the source code module to look at is "QuickTimeFileSink" (in the "liveMedia" directory).


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20131031/22994bbf/attachment.html>


More information about the live-devel mailing list