<br><br>
<div><span class="gmail_quote">On 7/5/07, <b class="gmail_sendername">Ross Finlayson</b> <<a href="mailto:finlayson@live555.com">finlayson@live555.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div><span class="q">
<blockquote type="cite"><font size="-1">Do you have a specific reason to not use openRTSP to receive transport streams? testMPEG2TransportStreamer has an optional RTSP server in it.</font><br><br><font size="-1">I think instead of making MPEG2TransportStreamRTPSource, you should set up the chain like this:
</font><br><br><font size="-1">SimpleRTPSource -> MPEG2TransportStreamFramer -> FileSink</font></blockquote>
<div><br> </div></span>
<div>Actually, you won't need to insert a "MPEG2TransportStreamFramer", because its main purpose is to extract presentation times from the transport stream, and you won't need those if you're just outputting to a "FileSink".
</div>
<div><br> </div>
<div>You can create a "RTPSource" for receiving a MPEG Transport/RTP stream by calling</div>
<div> SimpleRTPSource::createNew(envir(), rtpGroupsock, 30,</div>
<div> <span></span> <span></span> <span></span> <span></span> 90000, "video/MP2T", 0, False);</div></div></blockquote></div>
<div><br>xcsmith, I am not using RTSP because I am actually integrating this into an existing software framework, and the openRTSP app seems to be much more functionalty than I want or need. I actually haven't really looked at the code though.
</div>
<div> </div>
<div>Ross, I used a SimpleRTPSource::createNew(envir(), rtpGroupsock, 33, 90000, "video/MP2T", 0, False);</div>
<div>source as you suggested, but with 33 as my payload type ( I believe this is what you meant). This worked right off the bat, but playing my captured stream back out to RTP and then playing the stream in VLC, I get a lot of intermittent video freezing, especially when my video (playing on loop) repeats at the beginning. However, using VLC to save this stream to file yields perfect playback when I open it up later in VLC. Very strange. This sounds like a VLC issue to me, do you concur or is there something that I might need to incorporate in order to get playback working smoothly? I can't imagine what data I might be missing that would cause VLC trouble with playing while capturing, but no trouble while capturing to file.
</div>
<div> </div>
<div>~Russell</div>
<div> </div>
<div> </div>