<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>Hi,</DIV>
<DIV>&nbsp;</DIV>
<DIV>First of all, thanks for your reply. I read the reply but i don't know how to make the correction. I checked the Groupsocks' objects defined in RTPSink and RTPSource.cpps and I found that they were defined as pointer objects. For examples, </DIV>
<DIV>&nbsp;</DIV><FONT size=2>
<DIV>RTPSource::RTPSource(UsageEnvironment&amp; env, <STRONG>Groupsock* RTPgs</STRONG>, </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>unsigned</FONT></FONT><FONT size=2> </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>char </FONT></FONT><FONT size=2>rtpPayloadFormat,u_int32_t rtpTimestampFrequency)</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV><FONT size=2><FONT size=2>
<DIV>RTPSink::RTPSink(UsageEnvironment&amp; env, <STRONG>Groupsock* rtpGS</STRONG>, </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>unsigned</FONT></FONT><FONT size=2> </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>char</FONT></FONT><FONT size=2> rtpPayloadType, </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>unsigned</FONT></FONT><FONT size=2> rtpTimestampFrequency, </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>char</FONT></FONT><FONT size=2> </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>const</FONT></FONT><FONT size=2>* rtpPayloadFormatName,</DIV>
<DIV></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>unsigned</FONT></FONT><FONT size=2> numChannels)</DIV></FONT>
<DIV></FONT>&nbsp;</DIV>
<DIV>I am new to live555 and also C++ programming. Can you please give me more directions on solving this problem?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thank you</DIV>
<DIV>&nbsp;</DIV>
<DIV>Regards,</DIV>
<DIV>Yee Wan<BR><BR>--- On <B>Mon, 6/15/09, Woods <I>&lt;woods.biz@gmail.com&gt;</I></B> wrote:<BR></DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid"><BR>From: Woods &lt;woods.biz@gmail.com&gt;<BR>Subject: Re: [Live-devel] (no subject)<BR>To: "LIVE555 Streaming Media - development &amp; use" &lt;live-devel@ns.live555.com&gt;<BR>Date: Monday, June 15, 2009, 12:09 PM<BR><BR>
<DIV id=yiv1847467048>Hi,<BR><BR>I guess you copied from test code as I did before :)<BR><BR>It is because of that GroupSock. Don't use as a stack object which will be released after function call. <BR><BR>Use a pointer for that GroupSock for RTP and RTCP.<BR><BR>Woods<BR><BR><BR>
<DIV class=gmail_quote>On Mon, Jun 15, 2009 at 6:01 PM, wong yeewan <SPAN dir=ltr>&lt;<A href="http://us.mc515.mail.yahoo.com/mc/compose?to=yeewan_20@yahoo.com" target=_blank rel=nofollow ymailto="mailto:yeewan_20@yahoo.com">yeewan_20@yahoo.com</A>&gt;</SPAN> wrote:<BR>
<BLOCKQUOTE class=gmail_quote style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<TABLE cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD style="FONT-FAMILY: inherit; font-size-adjust: inherit; font-stretch: inherit" vAlign=top>
<DIV>Hi all,</DIV>
<DIV>&nbsp;</DIV>
<DIV>I am interested to use testMPEG1or2ProgramtoTransportStream to convert a MPEG2 video file into TS file. I selected all the header and source files that were needed to build testMPEG1or2ProgramtoTransportStream. I finally built the testMPEG1or2ProgramtoTransportStream.exe in Visual C++ 2005 in Windows. However, problem occured when I ran it. The error message was:</DIV>
<DIV>&nbsp;</DIV>
<DIV>Beginning to read...</DIV>
<DIV>BasicTaskScheduler::SingleStep():select() fails: No error</DIV>
<DIV>&nbsp;</DIV>
<DIV>And I obtained an output file which was zero in size. Can anyone please help me with this matter?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thank you</DIV>
<DIV>&nbsp;</DIV>
<DIV>Regards,</DIV>
<DIV>Yee Wan</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV></TD></TR></TBODY></TABLE><BR><BR>_______________________________________________<BR>live-devel mailing list<BR><A href="http://us.mc515.mail.yahoo.com/mc/compose?to=live-devel@lists.live555.com" target=_blank rel=nofollow ymailto="mailto:live-devel@lists.live555.com">live-devel@lists.live555.com</A><BR><A href="http://lists.live555.com/mailman/listinfo/live-devel" target=_blank rel=nofollow>http://lists.live555.com/mailman/listinfo/live-devel</A><BR><BR></BLOCKQUOTE></DIV><BR><BR clear=all><BR>-- <BR>Woods<BR></DIV><BR>-----Inline Attachment Follows-----<BR><BR>
<DIV class=plainMail>_______________________________________________<BR>live-devel mailing list<BR><A href="http://us.mc515.mail.yahoo.com/mc/compose?to=live-devel@lists.live555.com" ymailto="mailto:live-devel@lists.live555.com">live-devel@lists.live555.com</A><BR><A href="http://lists.live555.com/mailman/listinfo/live-devel" target=_blank>http://lists.live555.com/mailman/listinfo/live-devel</A><BR></DIV></BLOCKQUOTE></td></tr></table><br>