[Live-devel] X-SV3V-ES video type

n0dalus n0dalus+live555 at gmail.com
Wed Mar 8 16:54:56 PST 2006


Hi,

I have been trying to view my University's streaming video content
using Mplayer and Linux.

I installed an older copy of the live555 library I got from the Fedora
Livna rpm repository; when I used -rtsp-stream-over-tcp I was able to
hear the audio, but I've still had no luck with video. Without using
stream-over-tcp, it didn't work at all, it just said (after the usual
output):

==> Found audio stream: 0

and did nothing (though my computer was receiving lots of udp packets).

With stream-over-tcp, I get the following output (verbose, but edited
a bit for brevity and privacy):

STREAM_RTSP, URL: rtsp://server.edu/movie.mov
...
Filename for url is now rtsp://server.edu/movie.mov
...
Connecting to server server.edu[0.0.0.0]: 554...
rtsp_session: Not a Real server. Server type is 'QTSS/5.0.3.2
(Build/452.22.3; Platform/MacOSX; Release/Panther; Update/3GPP; )'.
STREAM_LIVE555, URL: rtsp://server.edu/movie.mov
STREAM: [RTSP and SIP] rtsp://server.edu/movie.mov
STREAM: Description: standard RTSP and SIP
STREAM: Author: Ross Finlayson
STREAM: Comment: Uses LIVE555 Streaming Media library.
Stream not seekable!
Sending request: DESCRIBE rtsp://server.edu/movie.mov RTSP/1.0
CSeq: 1
Accept: application/sdp
User-Agent: MPlayer (LIVE.COM Streaming Media v2005.08.08)

Received DESCRIBE response: RTSP/1.0 200 OK
Server: QTSS/5.0.3.2 (Build/452.22.3; Platform/MacOSX;
Release/Panther; Update/3GPP; )
Cseq: 1
Last-Modified: Wed, 01 Mar 2006 23:13:27 GMT
Cache-Control: must-revalidate
Content-length: 361
Date: Wed, 08 Mar 2006 05:33:28 GMT
Expires: Wed, 08 Mar 2006 05:33:28 GMT
Content-Type: application/sdp
x-Accept-Retransmit: our-retransmit
x-Accept-Dynamic-Rate: 1
Content-Base: rtsp://server.edu/movie.mov/

Need to read 361 extra bytes
Read 361 extra bytes: v=0
o=StreamingServer 3350784807 1141254807000 IN IP4 0.0.0.0
s=/socsci/psyc1101_01_03_06.mov
u=http:///
e=admin@
c=IN IP4 0.0.0.0
b=AS:378
t=0 0
a=control:*
a=range:npt=0-3047.24000
m=audio 0 RTP/AVP 96
b=AS:185
a=rtpmap:96 X-QT/44100/1
a=control:trackID=3
m=video 0 RTP/AVP 97
b=AS:192
a=rtpmap:97 X-SV3V-ES/90000
a=control:trackID=4

Initiated "audio/X-QT" RTP subsession on port 45106
Increased audio socket receive buffer to 106496 bytes
Sending request: SETUP rtsp://server.edu/movie.mov/trackID=3 RTSP/1.0
CSeq: 2
Transport: RTP/AVP/TCP;unicast;interleaved=0-1
User-Agent: MPlayer (LIVE.COM Streaming Media v2005.08.08)


Received SETUP response: RTSP/1.0 200 OK
Server: QTSS/5.0.3.2 (Build/452.22.3; Platform/MacOSX;
Release/Panther; Update/3GPP; )
Cseq: 2
Last-Modified: Wed, 01 Mar 2006 23:13:27 GMT
Cache-Control: must-revalidate
Session: 5584668533570698377
Date: Wed, 08 Mar 2006 05:33:33 GMT
Expires: Wed, 08 Mar 2006 05:33:33 GMT
Transport: RTP/AVP/TCP;unicast;interleaved=0-1;ssrc=41C43DB2

Failed to initiate "video/X-SV3V-ES" RTP subsession: RTP payload
format unknown or not supported
Sending request: PLAY rtsp://server.edu/movie.mov RTSP/1.0
CSeq: 3
Session: 5584668533570698377
Range: npt=0.000-
User-Agent: MPlayer (LIVE.COM Streaming Media v2005.08.08)

Received PLAY response: RTSP/1.0 200 OK
Server: QTSS/5.0.3.2 (Build/452.22.3; Platform/MacOSX;
Release/Panther; Update/3GPP; )
Cseq: 3
Session: 5584668533570698377
Range: npt=0.00000-3047.24000
RTP-Info: url=rtsp://server.edu/movie.mov/trackID=3;seq=10532;rtptime=1868876016

==> Found audio stream: 0
==========================================================================
Opening audio decoder: [imaadpcm] IMA ADPCM audio decoder
dec_audio: Allocating 34 bytes for input buffer.
dec_audio: Allocating 8192 + 65536 = 73728 bytes for output buffer.
AUDIO: 44100 Hz, 1 ch, s16le, 187.4 kbit/26.56% (ratio: 23428->88200)
Selected audio codec: [imaadpcm] afm: imaadpcm (IMA ADPCM)
==========================================================================
Building audio filter chain for 44100Hz/1ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 44100Hz/1ch/s16le
[dummy] Was reinitialized: 44100Hz/1ch/s16le
ao2: 44100 Hz  1 chans  s16le
audio_setup: using '/dev/dsp' dsp device
audio_setup: using '/dev/mixer' mixer device
audio_setup: using 'pcm' mixer device
audio_setup: sample format: s16le (requested: s16le)
audio_setup: using 1 channels (requested: 1)
audio_setup: using 44100 Hz samplerate (requested: 44100)
audio_setup: frags:   8/8  (8192 bytes/frag)  free:  65536
AO: [oss] 44100Hz 1ch s16le (2 bytes per sample)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Building audio filter chain for 44100Hz/1ch/s16le -> 44100Hz/1ch/s16le...
[dummy] Was reinitialized: 44100Hz/1ch/s16le
[dummy] Was reinitialized: 44100Hz/1ch/s16le
Video: no video
Freeing 0 unused video chunks.
Starting playback...
audio stream has been synchronized using RTCP
A:   1.0 (00.9) of 0.0 (unknown) 32.2%


I thought maybe if I changed live555's source code to treat X-SV3V-ES
as X-QUICKTIME it might work, but when I tested that I got:

Initiated "video/X-SV3V-ES" RTP subsession on port 45116
Increased video socket receive buffer to 2000000 bytes
Sending request: SETUP rtsp://server.edu/movie.mov/trackID=4 RTSP/1.0
CSeq: 3
Transport: RTP/AVP/TCP;unicast;interleaved=2-3
Session: 1241045404843520304
User-Agent: MPlayer (LIVE.COM Streaming Media v2005.08.08)

Received SETUP response: RTSP/1.0 200 OK
Server: QTSS/5.0.3.2 (Build/452.22.3; Platform/MacOSX;
Release/Panther; Update/3GPP; )
Cseq: 3
Session: 1241045404843520304
Last-Modified: Wed, 01 Mar 2006 23:13:27 GMT
Cache-Control: must-revalidate
Date: Wed, 08 Mar 2006 06:03:37 GMT
Expires: Wed, 08 Mar 2006 06:03:37 GMT
Transport: RTP/AVP/TCP;unicast;interleaved=2-3;ssrc=5DF56317

Sending request: PLAY rtsp://server.edu/movie.mov RTSP/1.0
CSeq: 4
Session: 1241045404843520304
Range: npt=0.000-
User-Agent: MPlayer (LIVE.COM Streaming Media v2005.08.08)

Received PLAY response: RTSP/1.0 200 OK
Server: QTSS/5.0.3.2 (Build/452.22.3; Platform/MacOSX;
Release/Panther; Update/3GPP; )
Cseq: 4
Session: 1241045404843520304
Range: npt=0.00000-3047.24000
RTP-Info: url=rtsp://server.edu/movie.mov/trackID=3;seq=31896;rtptime=1609749459,url=rtsp://server.edu/movie.mov/trackID=4;seq=10311;rtptime=1333534581

==> Found audio stream: 0
==> Found video stream: 0
Unknown MPlayer format code for MIME type "video/X-SV3V-ES"
VIDEO:  []  0x0  0bpp  0.000 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:21  fourcc:0x0  size:0x0  fps: 0.00  ftime:=0.0000
FPS not specified in the header or invalid, use the -fps option.
==========================================================================


I don't know what video type SV3V-ES is, I think it might be a
sorenson codec? Probably SVQ3? Any way to hack mplayer/live555 to
treat it as such?

I tried to run the latest version of the live555 library (compiled
myself), and I get a lot more errors, and nothing works now, not even
audio:
- Some of these interleaved through the output, associated with long pauses:
Unable to determine our source address: This computer has an invalid
IP address: 0x0
- And after the 'Found audio stream' message, a stream of continued
messages like:
Discarding interleaved RTP or RTCP packet (19 bytes, channel id 2)
Discarding interleaved RTP or RTCP packet (84 bytes, channel id 3)
Discarding interleaved RTP or RTCP packet (1450 bytes, channel id 2)

Without -rtsp-stream-over-tcp it once again pauses after 'Found audio
stream' message.

Any help is appreciated,
n0dalus.



More information about the live-devel mailing list