[Live-devel] Hinting the audio track of file created by openRTSP
tpollock1958 at aol.com
tpollock1958 at aol.com
Tue Jun 10 17:25:10 PDT 2008
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:
VLC -> Darwin Streaming Server -> openRTSP -> file, then hint with mp4creator
Here are the details (using mp4info) of the file I want to stream:
mp4info version 1.6.1
src.mp4:
Track??? Type? ?? Info
1??????? audio??? MPEG-4 AAC LC, 59.141 secs, 256 kbps, 44100 Hz
2??????? video??? MPEG-4 Adv Simple at L3, 59.166 secs, 512 kbps, 320x240 @ 30.000338 fps
In order to generate an sdp file I first run VLC with these command line arguments:
vlc src.mp4 --sout-rtp-dst="127.0.0.1" --sout-rtp-ttl="127" --sout-rtp-sdp="file://c:\\foo
.sdp"
I then copy foo.sdp to the Darwin media directory.
Next, with Darwin running, I launch openRTSP with these command arguments:
-n -w 320 -h 240 -f 30 -4 rtsp://localhost/foo.sdp
(I've slightly modified openRTSP to close the mp4 file it's writing to when it detects the stream has stopped.)
Finally, I run VLC with the same command line arguments, except without the "--sout-rtp-sdp=" argument:
vlc src.mp4 --sout-rtp-dst="127.0.0.1" --sout-rtp-ttl="127"
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:
dst.mp4:
Track??? Type?? ? Info
1 ? ? ?? audio??? AAC from .mov, 58.537 secs, 256 kbps, 44100 Hz
2??????? video??? MPEG-4 Unknown Profile(255), 58.533 secs, 872 kbps, 320x240 @ 30.000171 fps
I can play dst.mp4 with QuickTime.
Using mp4creator, I can hint the video track, but not the audio track.? That is the issue here.
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:
mp4info version 1.6.1
exported_dst.mp4:
Track?? Type??? Info
1?????? audio?? MPEG-4 AAC LC, 58.537 secs, 128 kbps, 44100 Hz
2?????? video?? MPEG-4 Simple @ L1, 58.533 secs, 64 kbps, 160x120 @ 15.000085 fps
I can hint the audio track of exported_dst.mp4.
Any ideas how to get openRTSP to generate an 'MPEG-4 AAC LC' audio track?
Tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20080610/3fa9bdd3/attachment.html>
More information about the live-devel
mailing list