[MPlayer-users] purevoice audio
Raphael Clifford
drraph at gmail.com
Fri Feb 22 19:39:06 CET 2008
On 22/02/2008, Raphael Clifford <drraph at gmail.com> wrote:
> I am trying to play the lecture at
> rtsp://129.7.38.97:80/streaming/Sec_pt_10935_4fpsB.mov . By doing
>
> mplayer -v -rtsp-stream-over-tcp
> rtsp://129.7.38.97:80/streaming/Sec_pt_10935_4fpsB.mov I can get the
> video to play but I get no audio. It complains that
>
> Failed to initiate "audio/X-PUREVOICE" RTP subsession: RTP payload
> format unknown or not supported
>
> There are two problems it seems.
>
> The first is that live555 doesn't support the payload. I reported it
> to their mailing list and got a reply that I was right they didn't
> support it :)
>
> However...Rathan on #mplayer tried the SVN daily snapshot of 11 Feb
> 2008 as well with libnemesi. libnemesi does appear to support it but
> mplayer can't play the audio so it would be great if at least the
> mplayer problem could be fixed. You might have thought that on 32 bit
> intel the qcelp codec would do it but I can't see how to get that to
> work.
>
> The full output from mplayer rc2 with live555 is below.
>
> Best wishes.
> Raphael
>
> mplayer -v -rtsp-stream-over-tcp
> rtsp://129.7.38.97:80/streaming/Sec_pt_10935_4fpsB.mov
> MPlayer 1.0rc2-4.1.3 (C) 2000-2007 MPlayer Team
> CPU: Intel(R) Pentium(R) M processor 1.30GHz (Family: 6, Model: 13, Stepping: 8)
> CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
> Compiled with runtime CPU detection.
> get_path('codecs.conf') -> '/home/raph/.mplayer/codecs.conf'
> Reading /home/raph/.mplayer/codecs.conf: Can't open
> '/home/raph/.mplayer/codecs.conf': No such file or directory
> Reading /etc/mplayer/codecs.conf: Can't open
> '/etc/mplayer/codecs.conf': No such file or directory
> Using built-in default codecs.conf.
> Configuration: --target=i586-linux --prefix=/usr
> --confdir=/etc/mplayer --mandir=/usr/share/man
> --win32codecsdir=/usr/lib/win32 --enable-runtime-cpudetection
> --enable-largefiles --disable-libdvdcss-internal --enable-smb
> --enable-ftp --enable-cdparanoia --enable-radio --enable-lirc
> --enable-joystick --enable-xf86keysym --disable-tremor-internal
> --enable-liba52 --enable-musepack --enable-speex --enable-libvorbis
> --enable-mad --enable-mp3lib --enable-theora --enable-libdv
> --enable-libmpeg2 --enable-tv-v4l2 --enable-alsa --enable-ossaudio
> --enable-esd --enable-arts --enable-pulse --enable-nas
> --enable-xinerama --enable-menu --enable-xv --enable-vm --enable-gl
> --enable-xmga --enable-mga --enable-3dfx --enable-tdfxfb --enable-sdl
> --enable-aa --enable-caca --enable-dxr3 --enable-xvmc
> --with-xvmclib=XvMCW --enable-ggi --enable-fbdev --enable-freetype
> --enable-gif --enable-png --enable-jpeg --enable-liblzo
> --enable-fribidi --enable-ladspa --enable-gui --enable-mencoder
> CommandLine: '-v' '-rtsp-stream-over-tcp'
> 'rtsp://129.7.38.97:80/streaming/Sec_pt_10935_4fpsB.mov'
> init_freetype
> get_path('font/font.desc') -> '/home/raph/.mplayer/font/font.desc'
> font: can't open file: /home/raph/.mplayer/font/font.desc
> font: can't open file: /usr/share/mplayer/font/font.desc
> Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
> get_path('fonts') -> '/home/raph/.mplayer/fonts'
> Using nanosleep() timing
> get_path('input.conf') -> '/home/raph/.mplayer/input.conf'
> Can't open input config file /home/raph/.mplayer/input.conf: No such
> file or directory
> Parsing input config file /etc/mplayer/input.conf
> Input config file /etc/mplayer/input.conf parsed: 81 binds
> Setting up LIRC support...
> mplayer: could not connect to socket
> mplayer: No such file or directory
> Failed to open LIRC support. You will not be able to use your remote control.
> get_path('Sec_pt_10935_4fpsB.mov.conf') ->
> '/home/raph/.mplayer/Sec_pt_10935_4fpsB.mov.conf'
>
> Playing rtsp://129.7.38.97:80/streaming/Sec_pt_10935_4fpsB.mov.
> get_path('sub/') -> '/home/raph/.mplayer/sub/'
> STREAM_RTSP, URL: rtsp://129.7.38.97:80/streaming/Sec_pt_10935_4fpsB.mov
> Filename for url is now rtsp://129.7.38.97:80/streaming/Sec_pt_10935_4fpsB.mov
> Filename for url is now rtsp://129.7.38.97:80/streaming/Sec_pt_10935_4fpsB.mov
> Resolving 129.7.38.97 for AF_INET6...
> Couldn't resolve name for AF_INET6: 129.7.38.97
> Connecting to server 129.7.38.97[129.7.38.97]: 80...
> SDP:
> v=0
> o=StreamingServer 3411741951 1134166329000 IN IP4 129.7.38.97
> s=/streaming/Sec_pt_10935_4fpsB.mov
> u=http:///
> e=admin@
> c=IN IP4 0.0.0.0
> b=AS:47
> t=0 0
> a=control:*
> a=mpeg4-iod:"data:application/mpeg4-iod;base64,AoIbAE/////z/wOBKgABQIxkYXRhOmFwcGxpY2F0aW9uL21wZWc0LW9kLWF1O2Jhc2U2NCxBVXdCU2dVZkEwWUF5UUFFTHlBUkFBQUFBQUFBQUFBQUFBQUZJQUFBQWJEekFBQUJ0UTdnUU1EUEFBQUJBQUFBQVNBQWhFRDZLSUFoZ0tJZkJoQUFSQUFBQWxnQUFBSllJQ0FBQUFBRAQNAQUAAMgAAAAAAAAAAAYJAQAAAAAAAAAAA2UAAkBCZGF0YTphcHBsaWNhdGlvbi9tcGVnNC1iaWZzLWF1O2Jhc2U2NCx3QkFTWVFRZndBQUFIOEFBQUVRb0lvS2ZnQT09BBICDQAAZAAAAAAAAAAABQMAAGAGCQEAAAAAAAAAAA=="
> a=isma-compliance:1,1.0,1
> a=range:npt=0- 551.00000
> m=video 0 RTP/AVP 96
> b=AS:40
> a=rtpmap:96 MP4V-ES/90000
> a=control:trackID=3
> a=cliprect:0,0,384,512
> a=fmtp:96 profile-level-id=1;config=000001B0F3000001B50EE040C0CF0000010000000120008440FA28802180A21F
> a=mpeg4-esid:201
> m=audio 0 RTP/AVP 97
> b=AS:6
> a=rtpmap:97 x-Purevoice/11025/1
> a=control:trackID=4
>
> A single media stream only is supported atm.
> rtsp_session: unsupported RTSP server. Server type is 'QTSS/5.5.3
> (Build/489.0.4; Platform/MacOSX; Release/Update; )'.
> Filename for url is now rtsp://129.7.38.97:80/streaming/Sec_pt_10935_4fpsB.mov
> Filename for url is now rtsp://129.7.38.97:80/streaming/Sec_pt_10935_4fpsB.mov
> STREAM_LIVE555, URL: rtsp://129.7.38.97:80/streaming/Sec_pt_10935_4fpsB.mov
> STREAM: [RTSP and SIP] rtsp://129.7.38.97:80/streaming/Sec_pt_10935_4fpsB.mov
> STREAM: Description: standard RTSP and SIP
> STREAM: Author: Ross Finlayson
> STREAM: Comment: Uses LIVE555 Streaming Media library.
> Stream not seekable!
> file format detected.
> Sending request: DESCRIBE
> rtsp://129.7.38.97:80/streaming/Sec_pt_10935_4fpsB.mov RTSP/1.0
> CSeq: 1
> Accept: application/sdp
> User-Agent: MPlayer (LIVE555 Streaming Media v2007.02.20)
>
>
> Received DESCRIBE response: RTSP/1.0 200 OK
> Server: QTSS/5.5.3 (Build/489.0.4; Platform/MacOSX; Release/Update; )
> Cseq: 1
> Last-Modified: Fri, 09 Dec 2005 22:12:09 GMT
> Cache-Control: must-revalidate
> Content-length: 968
> Date: Mon, 11 Feb 2008 18:05:39 GMT
> Expires: Mon, 11 Feb 2008 18:05:39 GMT
> Content-Type: application/sdp
> x-Accept-Retransmit: our-retransmit
> x-Accept-Dynamic-Rate: 1
> Content-Base: rtsp://129.7.38.97:80/streaming/Sec_pt_10935_4fpsB.mov/
>
>
> Need to read 968 extra bytes
> Read 968 extra bytes: v=0
> o=StreamingServer 3411741952 1134166329000 IN IP4 129.7.38.97
> s=/streaming/Sec_pt_10935_4fpsB.mov
> u=http:///
> e=admin@
> c=IN IP4 0.0.0.0
> b=AS:47
> t=0 0
> a=control:*
> a=mpeg4-iod:"data:application/mpeg4-iod;base64,AoIbAE/////z/wOBKgABQIxkYXRhOmFwcGxpY2F0aW9uL21wZWc0LW9kLWF1O2Jhc2U2NCxBVXdCU2dVZkEwWUF5UUFFTHlBUkFBQUFBQUFBQUFBQUFBQUZJQUFBQWJEekFBQUJ0UTdnUU1EUEFBQUJBQUFBQVNBQWhFRDZLSUFoZ0tJZkJoQUFSQUFBQWxnQUFBSllJQ0FBQUFBRAQNAQUAAMgAAAAAAAAAAAYJAQAAAAAAAAAAA2UAAkBCZGF0YTphcHBsaWNhdGlvbi9tcGVnNC1iaWZzLWF1O2Jhc2U2NCx3QkFTWVFRZndBQUFIOEFBQUVRb0lvS2ZnQT09BBICDQAAZAAAAAAAAAAABQMAAGAGCQEAAAAAAAAAAA=="
> a=isma-compliance:1,1.0,1
> a=range:npt=0- 551.00000
> m=video 0 RTP/AVP 96
> b=AS:40
> a=rtpmap:96 MP4V-ES/90000
> a=control:trackID=3
> a=cliprect:0,0,384,512
> a=fmtp:96 profile-level-id=1;config=000001B0F3000001B50EE040C0CF0000010000000120008440FA28802180A21F
> a=mpeg4-esid:201
> m=audio 0 RTP/AVP 97
> b=AS:6
> a=rtpmap:97 x-Purevoice/11025/1
> a=control:trackID=4
>
> Initiated "video/MP4V-ES" RTP subsession on port 32846
> Increased video socket receive buffer to 2000000 bytes
> Sending request: SETUP
> rtsp://129.7.38.97:80/streaming/Sec_pt_10935_4fpsB.mov/trackID=3
> RTSP/1.0
> CSeq: 2
> Transport: RTP/AVP/TCP;unicast;interleaved=0-1
> User-Agent: MPlayer (LIVE555 Streaming Media v2007.02.20)
>
>
> Received SETUP response: RTSP/1.0 200 OK
> Server: QTSS/5.5.3 (Build/489.0.4; Platform/MacOSX; Release/Update; )
> Cseq: 2
> Last-Modified: Fri, 09 Dec 2005 22:12:09 GMT
> Cache-Control: must-revalidate
> Session: 2668027263539477650
> Date: Mon, 11 Feb 2008 18:05:52 GMT
> Expires: Mon, 11 Feb 2008 18:05:52 GMT
> Transport: RTP/AVP/TCP;unicast;interleaved=0-1;ssrc=6A14BC9B
>
>
> Failed to initiate "audio/X-PUREVOICE" RTP subsession: RTP payload
> format unknown or not supported
> Sending request: PLAY
> rtsp://129.7.38.97:80/streaming/Sec_pt_10935_4fpsB.mov/ RTSP/1.0
> CSeq: 3
> Session: 2668027263539477650
> Range: npt=0.000-
> User-Agent: MPlayer (LIVE555 Streaming Media v2007.02.20)
>
>
> Received PLAY response: RTSP/1.0 200 OK
> Server: QTSS/5.5.3 (Build/489.0.4; Platform/MacOSX; Release/Update; )
> Cseq: 3
> Session: 2668027263539477650
> Range: npt=0.00000-551.00000
> RTP-Info: url=rtsp://129.7.38.97:80/streaming/Sec_pt_10935_4fpsB.mov/trackID=3;seq=56472;rtptime=1211651079
>
>
> ==> Found video stream: 0
> video stream has been synchronized using RTCP
> demux_rtp: Guessed the video frame rate as 2 frames-per-second.
> (If this is wrong, use the "-fps <frame-rate>" option instead.)
> VIDEO: [mp4v] 0x0 0bpp 2.000 fps 0.0 kbps ( 0.0 kbyte/s)
> [V] filefmt:21 fourcc:0x7634706D size:0x0 fps: 2.00 ftime:=0.5000
> get_path('sub/') -> '/home/raph/.mplayer/sub/'
> X11 opening display: :0.0
> vo: X11 color mask: FFFFFF (R:FF0000 G:FF00 B:FF)
> vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
> [x11] Detected wm supports layers.
> [x11] Using workaround for Metacity bugs.
> [x11] Detected wm supports NetWM.
> [x11] Detected wm supports ABOVE state.
> [x11] Detected wm supports BELOW state.
> [x11] Detected wm supports FULLSCREEN state.
> [x11] Current fstype setting honours FULLSCREEN ABOVE BELOW X atoms
> Disabling DPMS
> DPMSDisable stat: 1
> xscreensaver_disable: Could not find XScreenSaver window.
> GNOME screensaver disabled
> [xv common] Drawing colorkey manually.
> [xv common] Using colorkey from Xv (0x0101fe).
> [xv common] Maximum source image dimensions: 1920x1088
> ==========================================================================
> Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
> INFO: libavcodec init OK!
> Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
> ==========================================================================
> Audio: no sound
> Freeing 0 unused audio chunks.
> Starting playback...
> [ffmpeg] aspect_ratio: 1.333333
> VDec: vo config request - 512 x 384 (preferred colorspace: Planar YV12)
> Trying filter chain: vo
> VDec: using Planar YV12 as output csp (no 0)
> Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
> VO Config (512x384->512x384,flags=0,'MPlayer',0x32315659)
> VO: [xv] 512x384 => 512x384 Planar YV12
> VO: Description: X11/Xv
> VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de> and others
> Xvideo image format: 0x32595559 (YUY2) packed
> Xvideo image format: 0x32315659 (YV12) planar
> Xvideo image format: 0x30323449 (I420) planar
> Xvideo image format: 0x59565955 (UYVY) packed
> using Xvideo port 73 for hw scaling
> [xv] dx: 0 dy: 0 dw: 512 dh: 384
> *** [vo] Allocating (slices) mp_image_t, 512x384x12bpp YUV planar, 294912 bytes
> [xv] dx: 6 dy: 27 dw: 512 dh: 384
> *** [vo] Allocating (slices) mp_image_t, 512x384x12bpp YUV planar, 294912 bytes
> get_path('subfont.ttf') -> '/home/raph/.mplayer/subfont.ttf'
> Unicode font: 255 glyphs.
> Uninit video: ffmpeg 0% 0.0% 0 0
> Sending request: TEARDOWN
> rtsp://129.7.38.97:80/streaming/Sec_pt_10935_4fpsB.mov/ RTSP/1.0
> CSeq: 4
> Session: 2668027263539477650
> User-Agent: MPlayer (LIVE555 Streaming Media v2007.02.20)
>
Here is the full dump of an svn run with libnemesi
# $ mplayer -v -rtsp-stream-over-tcp
rtsp://129.7.38.97:80/streaming/Sec_pt_10935_4fpsB.mov
# MPlayer SVN-r25979 rpm.livna.org (C) 2000-2007 MPlayer Team
# CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ (Family: 15,
Model: 35, Stepping: 2)
# CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
# Compiled with runtime CPU detection.
# get_path('codecs.conf') -> '/home/rathann/.mplayer/codecs.conf'
# Reading /home/rathann/.mplayer/codecs.conf: Can't open
'/home/rathann/.mplayer/codecs.conf': No such file or directory
# Reading /etc/mplayer/codecs.conf: Can't open
'/etc/mplayer/codecs.conf': No such file or directory
# Using built-in default codecs.conf.
# Configuration: --prefix=/usr --bindir=/usr/bin
--datadir=/usr/share/mplayer --mandir=/usr/share/man
--confdir=/etc/mplayer --libdir=/usr/lib64
--codecsdir=/usr/lib64/codecs --disable-encoder=FAAC
--disable-encoder=MP3LAME --disable-encoder=X264 --enable-largefiles
--enable-unrarexec --disable-termcap --disable-bitmap-font
--enable-lirc --enable-joystick --disable-smb
--disable-dvdread-internal --disable-libdvdcss-internal --enable-menu
--disable-live --disable-faad-internal --disable-tremor-internal
--disable-libamr_nb --disable-libamr_wb --disable-mad --disable-svga
--enable-xvmc --disable-directfb --disable-svga --disable-arts
--disable-esd --disable-jack --disable-openal
--enable-runtime-cpudetection --target=x86_64-linux --language=all
--with-xvmclib=XvMCW
# CommandLine: '-v' '-rtsp-stream-over-tcp'
'rtsp://129.7.38.97:80/streaming/Sec_pt_10935_4fpsB.mov'
# init_freetype
# Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
# get_path('fonts') -> '/home/rathann/.mplayer/fonts'
# Using nanosleep() timing
# get_path('input.conf') -> '/home/rathann/.mplayer/input.conf'
# Parsing input config file /home/rathann/.mplayer/input.conf
# Input config file /home/rathann/.mplayer/input.conf parsed: 62 binds
# Setting up LIRC support...
# get_path('Sec_pt_10935_4fpsB.mov.conf') ->
'/home/rathann/.mplayer/Sec_pt_10935_4fpsB.mov.conf'
#
# Playing rtsp://129.7.38.97:80/streaming/Sec_pt_10935_4fpsB.mov.
# get_path('sub/') -> '/home/rathann/.mplayer/sub/'
# STREAM_RTSP, URL: rtsp://129.7.38.97:80/streaming/Sec_pt_10935_4fpsB.mov
# Filename for url is now rtsp://129.7.38.97:80/streaming/Sec_pt_10935_4fpsB.mov
# Filename for url is now rtsp://129.7.38.97:80/streaming/Sec_pt_10935_4fpsB.mov
# STREAM: [rtsp] rtsp://129.7.38.97:80/streaming/Sec_pt_10935_4fpsB.mov
# STREAM: Description: RTSP streaming
# STREAM: Author: Alessandro Molina
# STREAM: Comment: implemented over libnemesi
# Stream not seekable!
# file format detected.
# Initializing libNemesi
# Opening: rtsp://129.7.38.97:80/streaming/Sec_pt_10935_4fpsB.mov
# ----- Playing... -----
# libNemesi supported media: MP4V-ES
# Detected as VIDEO stream...
# Prebuffer complete.
# ==> Found video stream: 0
# libNemesi supported media: x-Purevoice
# ==> Found audio stream: 0
# Detected as AUDIO stream...
# Unknown MPlayer format code for MIME type "audio/x-Purevoice"
# VIDEO: [MP4V] 0x0 0bpp 2.000 fps 0.0 kbps ( 0.0 kbyte/s)
# [V] filefmt:45 fourcc:0x5634504D size:0x0 fps: 2.00 ftime:=0.5000
# get_path('sub/') -> '/home/rathann/.mplayer/sub/'
# dvdsublang...sec pt 10935 4fpsb pol pl eng en
# X11 opening display: :0.0
# vo: X11 color mask: FFFFFF (R:FF0000 G:FF00 B:FF)
# vo: X11 running at 1920x1200 with depth 24 and 32 bpp (":0.0" =>
local display)
# [x11] Detected wm supports NetWM.
# [x11] Detected wm supports FULLSCREEN state.
# [x11] Detected wm supports ABOVE state.
# [x11] Detected wm supports BELOW state.
# [x11] Current fstype setting honours FULLSCREEN ABOVE BELOW X atoms
# [xv common] Drawing no colorkey.
# [xv common] Maximum source image dimensions: 2046x2046
# [vo] query(Planar YV12) -> 3
# [ass] auto-open
# [ass] Init
# get_path('fonts') -> '/home/rathann/.mplayer/fonts'
# get_path('subfont.ttf') -> '/home/rathann/.mplayer/subfont.ttf'
# ==========================================================================
# Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
# INFO: libavcodec init OK!
# Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
# ==========================================================================
# ==========================================================================
# Opening audio decoder: [pcm] Uncompressed PCM audio decoder
# dec_audio: Allocating 2048 + 65536 = 67584 bytes for output buffer.
# Unknown/missing audio format -> no sound
# Uninit audio: pcm
# ADecoder init failed :(
# Cannot find codec for audio format 0x0.
# Read DOCS/HTML/en/codecs.html!
# Audio: no sound
# Freeing 0 unused audio chunks.
# Starting playback...
# [ffmpeg] aspect_ratio: 1.333333
# VDec: vo config request - 512 x 384 (preferred colorspace: Planar YV12)
# Trying filter chain: ass vo
# VDec: using Planar YV12 as output csp (no 0)
# Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
# VO Config (512x384->512x384,flags=0,'MPlayer',0x32315659)
# REQ: flags=0x437 req=0x0
# VO: [xv] 512x384 => 512x384 Planar YV12
# VO: Description: X11/Xv
# VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de> and others
# Xvideo image format: 0x32595559 (YUY2) packed
# Xvideo image format: 0x32315659 (YV12) planar
# Xvideo image format: 0x59565955 (UYVY) packed
# Xvideo image format: 0x30323449 (I420) planar
# using Xvideo port 355 for hw scaling
# [xv] dx: 0 dy: 0 dw: 512 dh: 384
# *** [ass] Allocating mp_image_t, 512x384x12bpp YUV planar, 294912 bytes
# *** [ass] Allocating mp_image_t, 512x384x12bpp YUV planar, 294912 bytes
# *** [vo] Direct Rendering mp_image_t, 512x384x12bpp YUV planar, 294912 bytes
# Unicode font: 561 glyphs.
# Unicode font: 561 glyphs.
# [xv] dx: 1 dy: 21 dw: 512 dh: 384
# Uninit video: ffmpeg 1% 0.0% 0 0
# Closing libNemesi RTSP Stream...
# vo: uninit ...
Raphael
More information about the MPlayer-users
mailing list