<div dir="ltr"><div>thanks,<br>&nbsp;<br>the original file is a .mpg file, and my openRTSP command is :openRTSP -4 &gt;haha.mp4 rtsp://<a href="http://172.28.40.101/video.mpg">172.28.40.101/video.mpg</a><br>but the test.mp4 also without audio when I use Windows Media Player play it. <br>
Am I made some mistake?<br>&nbsp;<br>I want to save it to a mp4 file with video and audio.&nbsp; ~~</div>
<div>Many thanks.</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////</div>
<div>//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////</div>
<div>//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////</div>
<div>D:\MyApp\HK\RTSPPOC\TestApp\openRTSP\debug&gt;openRTSP.exe -4 &gt;haha.mp4 rtsp:<br>//<a href="http://172.28.40.101/video.mpg">172.28.40.101/video.mpg</a><br>Warning: The -q, -4 or -i option was used, but not -w.&nbsp; Assuming a video width o<br>
f 240 pixels<br>Warning: The -q, -4 or -i option was used, but not -h.&nbsp; Assuming a video height<br>of 180 pixels<br>Warning: The -q, -4 or -i option was used, but not -f.&nbsp; Assuming a video frame r<br>ate of 15 frames-per-second<br>
Sending request: OPTIONS rtsp://<a href="http://172.28.40.101/video.mpg">172.28.40.101/video.mpg</a> RTSP/1.0<br>CSeq: 1<br>User-Agent: sdkTest.exe (LIVE555 Streaming Media v2008.07.24)</div>
<p><br>Received OPTIONS response: RTSP/1.0 200 OK<br>CSeq: 1<br>Date: Fri, Sep 05 2008 01:56:23 GMT<br>Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE</p>
<p><br>Sending request: DESCRIBE rtsp://<a href="http://172.28.40.101/video.mpg">172.28.40.101/video.mpg</a> RTSP/1.0<br>CSeq: 2<br>Accept: application/sdp<br>User-Agent: sdkTest.exe (LIVE555 Streaming Media v2008.07.24)</p>

<p><br>Received DESCRIBE response: RTSP/1.0 200 OK<br>CSeq: 2<br>Date: Fri, Sep 05 2008 01:56:23 GMT<br>Content-Base: rtsp://<a href="http://172.28.40.101/video.mpg/">172.28.40.101/video.mpg/</a><br>Content-Type: application/sdp<br>
Content-Length: 455</p>
<p><br>Need to read 455 extra bytes<br>Read 455 extra bytes: v=0<br>o=- 5631314726 1 IN IP4 <a href="http://172.28.40.101">172.28.40.101</a><br>s=MPEG-1 or 2 Program Stream, streamed by the LIVE555 Media Server<br>i=video.mpg<br>
t=0 0<br>a=tool:LIVE555 Streaming Media v2008.02.08<br>a=type:broadcast<br>a=control:*<br>a=range:npt=0-170.097<br>a=x-qt-text-nam:MPEG-1 or 2 Program Stream, streamed by the LIVE555 Media Server</p>
<p>a=x-qt-text-inf:video.mpg<br>m=video 0 RTP/AVP 32<br>c=IN IP4 <a href="http://0.0.0.0">0.0.0.0</a><br>a=control:track1<br>m=audio 0 RTP/AVP 14<br>c=IN IP4 <a href="http://0.0.0.0">0.0.0.0</a><br>a=control:track2</p>
<p>Opened URL &quot;rtsp://<a href="http://172.28.40.101/video.mpg">172.28.40.101/video.mpg</a>&quot;, returning a SDP description:<br>v=0<br>o=- 5631314726 1 IN IP4 <a href="http://172.28.40.101">172.28.40.101</a><br>s=MPEG-1 or 2 Program Stream, streamed by the LIVE555 Media Server<br>
i=video.mpg<br>t=0 0<br>a=tool:LIVE555 Streaming Media v2008.02.08<br>a=type:broadcast<br>a=control:*<br>a=range:npt=0-170.097<br>a=x-qt-text-nam:MPEG-1 or 2 Program Stream, streamed by the LIVE555 Media Server</p>
<p>a=x-qt-text-inf:video.mpg<br>m=video 0 RTP/AVP 32<br>c=IN IP4 <a href="http://0.0.0.0">0.0.0.0</a><br>a=control:track1<br>m=audio 0 RTP/AVP 14<br>c=IN IP4 <a href="http://0.0.0.0">0.0.0.0</a><br>a=control:track2</p>
<p>Created receiver for &quot;video/MPV&quot; subsession (client ports 2272-2273)<br>Created receiver for &quot;audio/MPA&quot; subsession (client ports 2274-2275)<br>Sending request: SETUP rtsp://<a href="http://172.28.40.101/video.mpg/track1">172.28.40.101/video.mpg/track1</a> RTSP/1.0<br>
CSeq: 3<br>Transport: RTP/AVP;unicast;client_port=2272-2273<br>User-Agent: sdkTest.exe (LIVE555 Streaming Media v2008.07.24)</p>
<p><br>Received SETUP response: RTSP/1.0 200 OK<br>CSeq: 3<br>Date: Fri, Sep 05 2008 01:56:28 GMT<br>Transport: RTP/AVP;unicast;destination=<a href="http://172.28.40.100">172.28.40.100</a>;source=<a href="http://172.28.40.101">172.28.40.101</a>;client<br>
_port=2272-2273;server_port=6970-6971<br>Session: 1</p>
<p><br>Setup &quot;video/MPV&quot; subsession (client ports 2272-2273)<br>Sending request: SETUP rtsp://<a href="http://172.28.40.101/video.mpg/track2">172.28.40.101/video.mpg/track2</a> RTSP/1.0<br>CSeq: 4<br>Transport: RTP/AVP;unicast;client_port=2274-2275<br>
Session: 1<br>User-Agent: sdkTest.exe (LIVE555 Streaming Media v2008.07.24)</p>
<p><br>Received SETUP response: RTSP/1.0 200 OK<br>CSeq: 4<br>Date: Fri, Sep 05 2008 01:56:28 GMT<br>Transport: RTP/AVP;unicast;destination=<a href="http://172.28.40.100">172.28.40.100</a>;source=<a href="http://172.28.40.101">172.28.40.101</a>;client<br>
_port=2274-2275;server_port=6972-6973<br>Session: 1</p>
<p><br>Setup &quot;audio/MPA&quot; subsession (client ports 2274-2275)<br>Warning: We don&#39;t implement a QuickTime Video Media Data Type for the &quot;MPV&quot; trac<br>k, so we&#39;ll insert a dummy &quot;????&quot; Media Data Atom instead.&nbsp; A separate, codec-sp<br>
ecific editing pass will be needed before this track can be played.<br>Warning: We don&#39;t implement a QuickTime Audio Media Data Type for the &quot;MPA&quot; trac<br>k, so we&#39;ll insert a dummy &quot;????&quot; Media Data Atom instead.&nbsp; A separate, codec-sp<br>
ecific editing pass will be needed before this track can be played.<br>Sending request: PLAY rtsp://<a href="http://172.28.40.101/video.mpg/">172.28.40.101/video.mpg/</a> RTSP/1.0<br>CSeq: 5<br>Session: 1<br>Range: npt=0.000-170.097<br>
User-Agent: sdkTest.exe (LIVE555 Streaming Media v2008.07.24)</p>
<p><br>Received PLAY response: RTSP/1.0 200 OK<br>CSeq: 5<br>Date: Fri, Sep 05 2008 01:56:28 GMT<br>Range: npt=0.000-170.097<br>Session: 1<br>RTP-Info: url=rtsp://<a href="http://172.28.40.101/video.mpg/track1;seq=6291;rtptime=2147487686">172.28.40.101/video.mpg/track1;seq=6291;rtptime=2147487686</a>,<br>
url=rtsp://<a href="http://172.28.40.101/video.mpg/track2;seq=5005;rtptime=6938">172.28.40.101/video.mpg/track2;seq=5005;rtptime=6938</a></p>
<p><br>Started playing session<br>Receiving streamed data (for up to 175.097000 seconds)...<br>Sending request: TEARDOWN rtsp://<a href="http://172.28.40.101/video.mpg/">172.28.40.101/video.mpg/</a> RTSP/1.0<br>CSeq: 6<br>
Session: 1<br>User-Agent: sdkTest.exe (LIVE555 Streaming Media v2008.07.24)</p>
<p><br>Received TEARDOWN response: RTSP/1.0 200 OK<br>CSeq: 6<br>Date: Fri, Sep 05 2008 01:59:24 GMT</p>
<div>//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////</div>
<div>//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////</div>
<div>//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////<br><br></div>
<div class="gmail_quote">2008/9/5 YiMing Liu <span dir="ltr">&lt;<a href="mailto:liuxy66@gmail.com">liuxy66@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div dir="ltr">
<div>thanks,</div>
<div>&nbsp;</div>
<div>the original file is a .mpg file, and my openRTSP command is :openRTSP -4 &gt;haha.mp4 rtsp://<a href="http://172.28.40.101/video.mpg" target="_blank">172.28.40.101/video.mpg</a></div>
<div>but the test.mp4 also without audio when I use Windows Media Player play it. </div>
<div>Am I made some mistake?</div>
<div>&nbsp;</div>
<div>I want to save it to a mp4 file with video and audio.&nbsp; ~~</div>
<div><br>Many thanks.</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div class="gmail_quote">2008/9/5 Ross Finlayson <span dir="ltr">&lt;<a href="mailto:finlayson@live555.com" target="_blank">finlayson@live555.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<div></div>
<div class="Wj3C7c">
<div>
<div>
<blockquote type="cite">When I useing openRTSP to down a mpg file, openRTSP.exe rtsp://<a href="http://172.28.40.123/video.mpg" target="_blank">172.28.40.123/video.mpg</a>&nbsp; (I use liveMediaServer as RTSP Server)</blockquote>

<blockquote type="cite"><br>I got two files: audio and video file separately, and now I want to get a total file with audio and video, how can I do it?</blockquote>
<div><br></div></div>
<div>There&#39;s currently no way to combine the audio and video streams into a MPEG Program Stream file (like the original).&nbsp; However, you *might* be able to output a &quot;.mp4&quot; or &quot;.mov&quot;-format file, or perhaps even a &quot;.avi&quot; format file, that contains the audio+video.&nbsp; See <a href="http://www.live555.com/openRTSP/#quicktime" target="_blank">http://www.live555.com/openRTSP/#quicktime</a></div>
<pre>-- 
</pre><font color="#888888">
<div><br>Ross Finlayson<br>Live Networks, Inc.<br><a href="http://www.live555.com/" target="_blank">http://www.live555.com/</a></div></font></div><br></div></div>_______________________________________________<br>live-devel mailing list<br>
<a href="mailto:live-devel@lists.live555.com" target="_blank">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>
<br></blockquote></div><br></div></blockquote></div><br></div>