[Live-devel] openRTSP - audio file without header ?

bourda guillaume bourdag at gmail.com
Tue May 12 08:49:11 PDT 2009


Hi everybody,

I am using openRTSP to record the video and the audio stream of an RTSP
source (openRTSP rtsp://url).
As expected, openRTSP is creating two files: "audio-MPEG4-GENERIC-2" for the
audio (aac) and "video-MP4V-ES-1" for the video (m4v).
I manage to play the video file with vlc (vlc file/m4v://video-MP4V-ES-1),
however vlc fails when I try to do the same on the audio file (vlc
file/m4a://audio-MPEG4-GENERIC-2).

Here bellow is the output of vlc in verbose mode:
############
[00000305] main packetizer debug: using packetizer module
"packetizer_mpeg4audio"
[00000303] main demuxer debug: using demux2 module "m4a"
[00000298] main input debug: thread 1126287696 (input) created at priority 0
(input/input.c:265)
[00000298] main input debug: `file/m4a://audio-MPEG4-GENERIC-2' successfully
opened
[00000298] main input debug: EOF reached
[00000298] main input debug: closing input
############

I believe this is because openRTSP creates a "raw" aac file, i.e a file
without header.

Thus my questions:
How can I change openRTSP so that it creates a header for the audio file?
Is it possible to use the SDP information to create a header?
Does anyone knows a program/library that I can use to create a header for my
aac raw file(ex: from SDP info)?


I am a newbe to openRTSP, thanks a lot in advance for any help!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20090512/2cf02adb/attachment.html>


More information about the live-devel mailing list