[Live-devel] openRTSP saved mp4 can't play audio

Adamo Dondoni adondoni at xech.it
Thu Jan 26 14:32:10 PST 2006


I'm trying to save streamed movie with openRTSP (linux).

This is the command I used to stream
openRTSP -F sample_movie -n -O -V -Q -e 180 -w 176 -h 144 -f 30 -y -l -4
rtsp://theserver/themovie > sample_movie.mp4 2>> outfile.log

The server is Vidiator Streaming Server 3.2

this is the SDP returned from the server
----------------------------------------
v=0
o=!dmsadmin 1138273542 1138273542 IN IP4 62.13.171.57
s=3
i=3/Rai
u=www.tre.it
c=IN IP4 0.0.0.0
t=0 0
a=control:dynstream
a=range:npt=now-
m=video 0 RTP/AVP 96
b=AS:70
a=rtpmap:96 MP4V-ES/90000
a=fmtp:96
profile-level-id=2;framesize=176-144;config=000001B002000001B58913000001000000012000C488802D50584121463F
a=control:dynstream/1
m=audio 0 RTP/AVP 97
b=AS:16
a=rtpmap:97 MP4A-LATM/8000
a=fmtp:97 profile-level-id=15;object=2;cpresent=0;config=40002B100000
a=control:dynstream/2
----------------------------------------

Playing the stream online I have:
(with philips platform palyer and VLC on WindowsXP)
audio is AAC, sampling frequency is 8000 Hz, 1 channel

Philips platform player plays OK video and audio
VLC plays only video. (error is: faad - invalid number of channels)


Playing the saved mp4
Philips player refuses to play
VLC plays only video. (error is faad - invalid number of channels)
but
VLC stream info are:
Track0
 Coding: mp4a
 type: Audio
 Channels: 1
 Sampling: 30464 Hz
 Bit per sample: 16
 Bitrate: 487 kb/s
Track1
 Coding: mp4v
 Type: Video
 Resolution: 176x144
General
 Duration: 0:02:59


I inserted a printout of the FrequencyFromConfig in QuickTimeFileSink.cpp
the value returned for "frequencyFromConfig" is 96000

Maybe something wrong with MPEG4GenericRTPsource.cpp or strange
streaming server
I'm only a beginner with C and MPEG4
can you give some directions?




-- 


Adamo Dondoni
Xech - Solutions for IT Operation
338 1029707





More information about the live-devel mailing list