I'm having a problem hinting the audio track of a file created by
openRTSP. First of all, I was never able to get the -H argument to
work, so I'm trying to hint the file with mp4creator. Here's the setup
I'm using:<br>
<br>
VLC -> Darwin Streaming Server -> openRTSP -> file, then hint with mp4creator<br>
<br>
Here are the details (using mp4info) of the file I want to stream:<br>
<br>
mp4info version 1.6.1<br>
src.mp4:<br>
<span style="font-family: courier new,monospace;">Track Type Info</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">1 audio MPEG-4 AAC LC, 59.141 secs, 256 kbps, 44100 Hz</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">2 video MPEG-4 Adv Simple@L3, 59.166 secs, 512 kbps, 320x240 @ 30.000338 fps</span><br style="font-family: courier new,monospace;">
<br>
In order to generate an sdp file I first run VLC with these command line arguments:<br>
<br>
vlc src.mp4 --sout-rtp-dst="<a href="http://127.0.0.1" target="_blank">127.0.0.1</a>" --sout-rtp-ttl="127" --sout-rtp-sdp="file://c:\\foo
<div id="1f38" class="ArwC7c ckChnd"><wbr>.sdp"<br>
<br>
I then copy foo.sdp to the Darwin media directory.<br>
<br>
Next, with Darwin running, I launch openRTSP with these command arguments:<br>
<br>
-n -w 320 -h 240 -f 30 -4 rtsp://localhost/foo.sdp<br>
<br>
(I've slightly modified openRTSP to close the mp4 file it's writing to when it detects the stream has stopped.)<br>
<br>
Finally, I run VLC with the same command line arguments, except without the "--sout-rtp-sdp=" argument:<br>
<br>
vlc src.mp4 --sout-rtp-dst="<a href="http://127.0.0.1" target="_blank">127.0.0.1</a>" --sout-rtp-ttl="127"<br>
<br>
The file is streamed, and openRTSP creates a file (dst.mp4) with an
audio and video track. Here are the details of the file generated by
openRTSP:<br>
<br>
dst.mp4:<br>
<span style="font-family: courier new,monospace;">Track Type Info</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">1 audio AAC from .mov, 58.537 secs, 256 kbps, 44100 Hz</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">2 video MPEG-4 Unknown Profile(255), 58.533 secs, 872 kbps, 320x240 @ 30.000171 fps</span><br style="font-family: courier new,monospace;">
<br>
I can play dst.mp4 with QuickTime.<br>
<br>
Using mp4creator, I can hint the video track, but not the audio track. That is the issue here.<br>
<br>
If I open dst.mp4 with QuickTime Pro and export it as a MPEG-4 file, then examine it with mp4info, it looks like this:<br>
<br>
mp4info version 1.6.1<br>
exported_dst.mp4:<br>
<span style="font-family: courier new,monospace;">Track Type Info</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">1 audio MPEG-4 AAC LC, 58.537 secs, 128 kbps, 44100 Hz</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">2 video MPEG-4 Simple @ L1, 58.533 secs, 64 kbps, 160x120 @ 15.000085 fps</span><br style="font-family: courier new,monospace;"><br>
I can hint the audio track of exported_dst.mp4.<br>
<br>
Any ideas how to get openRTSP to generate an 'MPEG-4 AAC LC' audio track?<br>
<br>
Tim</div>
<div id='u8CA9970BDEA89BE-16A8-28FF' class='aol_ad_footer'><FONT style="color: black; font: normal 10pt ARIAL, SAN-SERIF;"><HR style="MARGIN-TOP: 10px"><A title="http://toolbar.aol.com/moviefone/download.html?ncid=aolcmp00050000000011" href="http://toolbar.aol.com/moviefone/download.html?ncid=aolcmp00050000000011" target="_blank">Get the Moviefone Toolbar</A>. Showtimes, theaters, movie news, & more!</FONT> </div>