<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Ross,</div><div><br></div><div>How can I use the "-f" option and specify the frame rate if I don't know the server settings? Is there any way to get this info from the server? Besides that, when streaming camera feeds, I believe the frame rate is not constant.</div><div><br></div><div>Paulo</div><br><div><div>On Apr 20, 2009, at 2:58 AM, Ross Finlayson wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div><blockquote type="cite" cite="" style="padding-top: 0px; padding-bottom: 0px; ">Sorry, I didn't saw the "-t" option before. Now I was able to get stream data packets, but I still have problems to play the video file. I'm running this:</blockquote><blockquote type="cite" cite="" style="padding-top: 0px; padding-bottom: 0px; "><br></blockquote><blockquote type="cite" cite="" style="padding-top: 0px; padding-bottom: 0px; ">openRTSP -t -4 -d 20 -w 320 -h 240<span class="Apple-converted-space"> </span><a href="rtsp://video3.americafree.tv/AFTVAdventureH264250.sdp">rtsp://video3.americafree.tv/AFTVAdventureH264250.sdp</a><span class="Apple-converted-space"> </span>> video.mp4</blockquote><blockquote type="cite" cite="" style="padding-top: 0px; padding-bottom: 0px; "><br></blockquote><blockquote type="cite" cite="" style="padding-top: 0px; padding-bottom: 0px; ">As you can see, I'm defining a duration limit (20 seconds) and explicitly defining the image size. The output video has two problems:</blockquote><blockquote type="cite" cite="" style="padding-top: 0px; padding-bottom: 0px; "><br></blockquote><blockquote type="cite" cite="" style="padding-top: 0px; padding-bottom: 0px; ">1. The first video frame is a green frame. I would like to get the actual video in the very first frame, is it possible?</blockquote><div><br>Sorry, but I don't know what's causing this.<br></div><blockquote type="cite" cite="" style="padding-top: 0px; padding-bottom: 0px; ">2. The video seems to be in slow motion and the total video duration is not 20 seconds as defined, by more than 40 seconds. The audio is perfect and 20 sec length though</blockquote><div><br></div><div>The problem is that you're not using the "-f <frame-rate>" option. You *must* specify the correct video frame rate if you want to have any chance of your recorded video playing properly.</div><div><br></div><x-sigsep><pre>--
</pre></x-sigsep><div><br>Ross Finlayson<br>Live Networks, Inc.<br><a href="http://www.live555.com/">http://www.live555.com/</a></div>_______________________________________________<br>live-devel mailing list<br><a href="mailto:live-devel@lists.live555.com">live-devel@lists.live555.com</a><br><a href="http://lists.live555.com/mailman/listinfo/live-devel">http://lists.live555.com/mailman/listinfo/live-devel</a><br></div></span></blockquote></div><br></body></html>