[MPlayer-users] -user-agent being ignored? (Apple keynote)

Stroller stroller at stellar.eclipse.co.uk
Sun Jan 31 08:20:48 CET 2010


On 28 Jan 2010, at 11:36, Carl Eugen Hoyos wrote:
> Stroller <stroller <at> stellar.eclipse.co.uk> writes:
>
>> I'm trying to download yesterday's Jobs show from Apple's site. There
>> is a link on the homepage, and then you can select of 3 sizes. I get
>> the largest:
>>
>> wget
> http://stream.qtv.apple.com/events/jan/1001q3f8hhr1001908r5ft6dswz_1_650_ref.mov
>
> Using just this url with mplayer works (with a few warnings that I  
> should really
> try to silence), so I don't think you have to try to set a user agent.
> ...
>> However the download fails.
>
> Please note that it is not possible to "download" rtsp streams, you  
> have to
> remux them (which may or may not work with mencoder or ffmpeg)

May thanks for your reply, Carl. Is there any chance I  could trouble  
you for some further hints, please?

When I google "remux rtsp mplayer" this page <http://www.mplayerhq.hu/DOCS/HTML/en/menc-feat-quicktime-7.html 
 > is a top hit, with the illustrative commands:

mplayer narnia.avi -dumpaudio -dumpfile narnia.aac
mplayer narnia.avi -dumpvideo -dumpfile narnia.h264


However:

$ mplayer -noframedrop -dumpvideo -dumpfile video.h264  
1001908r5ft6dswz_1_650_ref.mov -ao null -vo null -v
MPlayer SVN-r29796-4.3.4 (C) 2000-2009 MPlayer Team
CPU vendor name: GenuineIntel  max cpuid level: 2
CPU: Intel(R) Celeron(R) CPU 2.80GHz (Family: 15, Model: 2, Stepping: 9)
extended cpuid-level: 4
Detected cache-line size is 64 bytes
Testing OS support for SSE... yes.
Tests of OS support for SSE passed.
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSSE3: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2 CMOV
get_path('codecs.conf') -> '/home/stroller/.mplayer/codecs.conf'
Reading /home/stroller/.mplayer/codecs.conf: Can't open '/home/ 
stroller/.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: --cc=i686-pc-linux-gnu-gcc --host-cc=i686-pc-linux-gnu- 
gcc --prefix=/usr --confdir=/etc/mplayer --datadir=/usr/share/mplayer  
--libdir=/usr/lib --enable-network --disable-arts --disable-fribidi -- 
disable-ftp --disable-inet6 --disable-lirc --disable-lircc --disable- 
apple-ir --disable-libnut --disable-joystick --disable-cdparanoia -- 
charset=UTF-8 --disable-tv-bsdbt848 --disable-ivtv --disable-tv -- 
disable-tv-v4l1 --disable-tv-v4l2 --disable-radio --disable-radio-v4l2  
--disable-radio-bsdbt848 --disable-dvb --disable-dvbhead --disable-tv- 
teletext --disable-v4l2 --disable-pvr --disable-liba52 --disable- 
musepack --disable-libopencore_amrnb --disable-libopencore_amrwb -- 
disable-liblzo --disable-libbs2b --disable-mng --disable-pnm --disable- 
tga --disable-xanim --realcodecsdir=/opt/RealPlayer/codecs --disable- 
directfb --disable-sdl --disable-aa --disable-fbdev --disable-caca -- 
disable-zr --disable-gui --disable-dga1 --disable-dga2 --disable-dxr3  
--disable-ggi --enable-menu --disable-vdpau --disable-vidix --disable- 
vidix-pcidb --disable-xinerama --disable-xvmc --disable-3dfx --disable- 
tdfxvid --disable-tdfxfb --disable-esd --disable-jack --disable-ladspa  
--disable-nas --disable-openal --disable-pulse --disable-ossaudio
CommandLine: '-noframedrop' '-dumpvideo' '-dumpfile' 'video.h264'  
'1001908r5ft6dswz_1_650_ref.mov' '-ao' 'null' '-vo' 'null' '-v'
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/home/stroller/.mplayer/fonts'
Using nanosleep() timing
get_path('input.conf') -> '/home/stroller/.mplayer/input.conf'
Can't open input config file /home/stroller/.mplayer/input.conf: No  
such file or directory
Parsing input config file /etc/mplayer/input.conf
Input config file /etc/mplayer/input.conf parsed: 90 binds
get_path('1001908r5ft6dswz_1_650_ref.mov.conf') -> '/home/ 
stroller/.mplayer/1001908r5ft6dswz_1_650_ref.mov.conf'

Playing 1001908r5ft6dswz_1_650_ref.mov.
get_path('sub/') -> '/home/stroller/.mplayer/sub/'
[file] File size is 239 bytes
STREAM: [file] 1001908r5ft6dswz_1_650_ref.mov
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename 1001908r5ft6dswz_1_650_ref.mov  
ext: .mov
Trying demuxer 35 based on filename extension
demuxer: continue fuzzy content-based format guessing...
Checking for Nullsoft Streaming Video
Checking for MOV
MOV: Movie header found!
MOV: Reference Media file!!!
Added reference to playlist
   min. data rate: 76800 bits/sec
Adding file rtsp://a2047.v1411b.c1411.g.vq.akamaistream.net/5/2047/1411/2_h264_650/1a1a1ae454c430950065de4cbb2f94c226950c7ae655b61a48a91475e243acda3dac194879adde0f/1001908r5ft6dswz_1_650.mov 
  to element entry.
ds_fill_buffer: EOF reached (stream: video)

get_path('1001908r5ft6dswz_1_650.mov.conf') -> '/home/ 
stroller/.mplayer/1001908r5ft6dswz_1_650.mov.conf'

Playing rtsp://a2047.v1411b.c1411.g.vq.akamaistream.net/5/2047/1411/2_h264_650/1a1a1ae454c430950065de4cbb2f94c226950c7ae655b61a48a91475e243acda3dac194879adde0f/1001908r5ft6dswz_1_650.mov 
.
get_path('sub/') -> '/home/stroller/.mplayer/sub/'
STREAM_RTSP, URL: rtsp://a2047.v1411b.c1411.g.vq.akamaistream.net/5/2047/1411/2_h264_650/1a1a1ae454c430950065de4cbb2f94c226950c7ae655b61a48a91475e243acda3dac194879adde0f/1001908r5ft6dswz_1_650.mov
Filename for url is now rtsp://a2047.v1411b.c1411.g.vq.akamaistream.net/5/2047/1411/2_h264_650/1a1a1ae454c430950065de4cbb2f94c226950c7ae655b61a48a91475e243acda3dac194879adde0f/1001908r5ft6dswz_1_650.mov
Filename for url is now rtsp://a2047.v1411b.c1411.g.vq.akamaistream.net/5/2047/1411/2_h264_650/1a1a1ae454c430950065de4cbb2f94c226950c7ae655b61a48a91475e243acda3dac194879adde0f/1001908r5ft6dswz_1_650.mov
Resolving a2047.v1411b.c1411.g.vq.akamaistream.net for AF_INET...
Connecting to server  
a2047.v1411b.c1411.g.vq.akamaistream.net[92.122.218.43]: 554...
SDP:
v=0
o=StreamingServer 3473911018 0 IN IP4 92.122.218.43
s=/ 
5 
/ 
2047 
/ 
1411 
/ 
2_h264_650 
/ 
1a1a1ae454c430950065de4cbb2f94c226950c7ae655b61a48a91475e243acda3dac194879adde0f 
/1001908r5ft6dswz_1_650.mov
u=http://www.akamai.com/
e=quicktime at akamai.com
c=IN IP4 0.0.0.0
b=AS:611
t=0 0
a=control:*
a=maxprate:74.000000
a=sdplang:en
a=x-qt-text-cmt:Apple Inc.
a=x-qt-text-cmt:Apple Inc.
a=x-qt-text-cpy:?2010 All Rights Reserved
a=x-qt-text-cpy:?2010 All Rights Reserved
a=x-qt-text-nam:Apple
a=x-qt-text-nam:Apple
a=x-qt-meta-text-com.apple.quicktime.player.version:7.6.3 (7.6.3)
a=x-qt-meta-text-com.apple.quicktime.version:7.6.3 (1591.3) 0x7638000  
(Mac OS X, 10.6.2, 10C540)
a=range:npt=0-5586.58100
m=audio 0 RTP/AVP 96
b=AS:37
b=TIAS:34
a=maxprate:15
a=rtpmap:96 mpeg4-generic/16000/2
a=control:trackID=3
a=fmtp:96 profile-level-id=15;mode=AAC- 
hbr;sizelength=13;indexlength=3;indexdeltalength=3;config=1410
m=video 0 RTP/AVP 97
b=AS:577
b=TIAS:561
a=maxprate:74
a=rtpmap:97 H264/90000
a=control:trackID=4
a=cliprect:0,0,360,640
a=framesize:97 640-360
a=fmtp:97 packetization-mode=1;profile-level-id=42E01E;sprop-parameter- 
sets=Z0LgHpWgKAv+XAQC,aM48gA==

A single media stream only is supported atm.
rtsp_session: unsupported RTSP server. Server type is 'QTSS-Akamai/ 
5.5.4 (Build/489.13; Platform/Linux; Release/Darwin; )'.
Filename for url is now rtsp://a2047.v1411b.c1411.g.vq.akamaistream.net/5/2047/1411/2_h264_650/1a1a1ae454c430950065de4cbb2f94c226950c7ae655b61a48a91475e243acda3dac194879adde0f/1001908r5ft6dswz_1_650.mov
Filename for url is now rtsp://a2047.v1411b.c1411.g.vq.akamaistream.net/5/2047/1411/2_h264_650/1a1a1ae454c430950065de4cbb2f94c226950c7ae655b61a48a91475e243acda3dac194879adde0f/1001908r5ft6dswz_1_650.mov
STREAM_LIVE555, URL: rtsp://a2047.v1411b.c1411.g.vq.akamaistream.net/5/2047/1411/2_h264_650/1a1a1ae454c430950065de4cbb2f94c226950c7ae655b61a48a91475e243acda3dac194879adde0f/1001908r5ft6dswz_1_650.mov
STREAM: [RTSP and SIP] rtsp://a2047.v1411b.c1411.g.vq.akamaistream.net/5/2047/1411/2_h264_650/1a1a1ae454c430950065de4cbb2f94c226950c7ae655b61a48a91475e243acda3dac194879adde0f/1001908r5ft6dswz_1_650.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://a2047.v1411b.c1411.g.vq.akamaistream.net/5/2047/1411/2_h264_650/1a1a1ae454c430950065de4cbb2f94c226950c7ae655b61a48a91475e243acda3dac194879adde0f/1001908r5ft6dswz_1_650.mov 
  RTSP/1.0
CSeq: 1
Accept: application/sdp
User-Agent: MPlayer (LIVE555 Streaming Media v2009.06.02)


Received DESCRIBE response: RTSP/1.0 200 OK
Server: QTSS-Akamai/5.5.4 (Build/489.13; Platform/Linux; Release/ 
Darwin; )
Cseq: 1
Last-Modified: Mon, 19 Feb 1996 07:01:07 GMT
Cache-Control: must-revalidate
Content-length: 1190
Date: Sun, 31 Jan 2010 07:16:58 GMT
Expires: Sun, 31 Jan 2010 07:16:58 GMT
Content-Type: application/sdp
x-Accept-Retransmit: our-retransmit
x-Accept-Dynamic-Rate: 1
Content-Base: rtsp://a2047.v1411b.c1411.g.vq.akamaistream.net/5/2047/1411/2_h264_650/1a1a1ae454c430950065de4cbb2f94c226950c7ae655b61a48a91475e243acda3dac194879adde0f/1001908r5ft6dswz_1_650.mov/


Need to read 1190 extra bytes
Read 1190 extra bytes: v=0
o=StreamingServer 3473911017 824713267000 IN IP4 92.122.218.65
s=/ 
5 
/ 
2047 
/ 
1411 
/ 
2_h264_650 
/ 
1a1a1ae454c430950065de4cbb2f94c226950c7ae655b61a48a91475e243acda3dac194879adde0f 
/1001908r5ft6dswz_1_650.mov
u=http://www.akamai.com/
e=quicktime at akamai.com
c=IN IP4 0.0.0.0
b=AS:611
t=0 0
a=control:*
a=maxprate:74.000000
a=sdplang:en
a=x-qt-text-cmt:Apple Inc.
a=x-qt-text-cmt:Apple Inc.
a=x-qt-text-cpy:©2010 All Rights Reserved
a=x-qt-text-cpy:©2010 All Rights Reserved
a=x-qt-text-nam:Apple
a=x-qt-text-nam:Apple
a=x-qt-meta-text-com.apple.quicktime.player.version:7.6.3 (7.6.3)
a=x-qt-meta-text-com.apple.quicktime.version:7.6.3 (1591.3) 0x7638000  
(Mac OS X, 10.6.2, 10C540)
a=range:npt=0-5586.58100
m=audio 0 RTP/AVP 96
b=AS:37
b=TIAS:34
a=maxprate:15
a=rtpmap:96 mpeg4-generic/16000/2
a=control:trackID=3
a=fmtp:96 profile-level-id=15;mode=AAC- 
hbr;sizelength=13;indexlength=3;indexdeltalength=3;config=1410
m=video 0 RTP/AVP 97
b=AS:577
b=TIAS:561
a=maxprate:74
a=rtpmap:97 H264/90000
a=control:trackID=4
a=cliprect:0,0,360,640
a=framesize:97 640-360
a=fmtp:97 packetization-mode=1;profile-level-id=42E01E;sprop-parameter- 
sets=Z0LgHpWgKAv+XAQC,aM48gA==

Initiated "audio/MPEG4-GENERIC" RTP subsession on port 51412
Increased audio socket receive buffer to 114688 bytes
Sending request: SETUP rtsp://a2047.v1411b.c1411.g.vq.akamaistream.net/5/2047/1411/2_h264_650/1a1a1ae454c430950065de4cbb2f94c226950c7ae655b61a48a91475e243acda3dac194879adde0f/1001908r5ft6dswz_1_650.mov/trackID=3 
  RTSP/1.0
CSeq: 2
Transport: RTP/AVP;unicast;client_port=51412-51413
User-Agent: MPlayer (LIVE555 Streaming Media v2009.06.02)


Received SETUP response: RTSP/1.0 200 OK
Server: QTSS-Akamai/5.5.4 (Build/489.13; Platform/Linux; Release/ 
Darwin; )
Cseq: 2
Last-Modified: Mon, 19 Feb 1996 07:01:07 GMT
Cache-Control: must-revalidate
Session: 523616974792397145
Date: Sun, 31 Jan 2010 07:16:58 GMT
Expires: Sun, 31 Jan 2010 07:16:58 GMT
Transport: RTP/ 
AVP 
;unicast 
;source 
= 
92.122.218.65 
;client_port=51412-51413;server_port=6972-6973;ssrc=7E67720D


Initiated "video/H264" RTP subsession on port 50894
Increased video socket receive buffer to 2000000 bytes
Sending request: SETUP rtsp://a2047.v1411b.c1411.g.vq.akamaistream.net/5/2047/1411/2_h264_650/1a1a1ae454c430950065de4cbb2f94c226950c7ae655b61a48a91475e243acda3dac194879adde0f/1001908r5ft6dswz_1_650.mov/trackID=4 
  RTSP/1.0
CSeq: 3
Transport: RTP/AVP;unicast;client_port=50894-50895
Session: 523616974792397145
User-Agent: MPlayer (LIVE555 Streaming Media v2009.06.02)


Received SETUP response: RTSP/1.0 200 OK
Server: QTSS-Akamai/5.5.4 (Build/489.13; Platform/Linux; Release/ 
Darwin; )
Cseq: 3
Session: 523616974792397145
Last-Modified: Mon, 19 Feb 1996 07:01:07 GMT
Cache-Control: must-revalidate
Date: Sun, 31 Jan 2010 07:16:58 GMT
Expires: Sun, 31 Jan 2010 07:16:58 GMT
Transport: RTP/ 
AVP 
;unicast 
;source 
= 
92.122.218.65 
;client_port=50894-50895;server_port=6972-6973;ssrc=493F0048


Sending request: PLAY rtsp://a2047.v1411b.c1411.g.vq.akamaistream.net/5/2047/1411/2_h264_650/1a1a1ae454c430950065de4cbb2f94c226950c7ae655b61a48a91475e243acda3dac194879adde0f/1001908r5ft6dswz_1_650.mov/ 
  RTSP/1.0
CSeq: 4
Session: 523616974792397145
Range: npt=0.000-
User-Agent: MPlayer (LIVE555 Streaming Media v2009.06.02)


Received PLAY response: RTSP/1.0 200 OK
Server: QTSS-Akamai/5.5.4 (Build/489.13; Platform/Linux; Release/ 
Darwin; )
Cseq: 4
Session: 523616974792397145
Range: npt=0.00000-5586.58100
RTP-Info: url=rtsp://a2047.v1411b.c1411.g.vq.akamaistream.net/5/2047/1411/2_h264_650/1a1a1ae454c430950065de4cbb2f94c226950c7ae655b61a48a91475e243acda3dac194879adde0f/1001908r5ft6dswz_1_650.mov/trackID=3;seq=13909;rtptime=1297530866,url=rtsp://a2047.v1411b.c1411.g.vq.akamaistream.net/5/2047/1411/2_h264_650/1a1a1ae454c430950065de4cbb2f94c226950c7ae655b61a48a91475e243acda3dac194879adde0f/1001908r5ft6dswz_1_650.mov/trackID=4;seq=27279;rtptime=159879104


==> Found audio stream: 0
==> Found video stream: 0
demux_rtp: Failed to guess the video frame rate
VIDEO:  [H264]  0x0  0bpp  0.000 fps    0.0 kbps ( 0.0 kbyte/s)
ds_fill_buffer: EOF reached (stream: video)
Core dumped ;)
Sending request: TEARDOWN rtsp://a2047.v1411b.c1411.g.vq.akamaistream.net/5/2047/1411/2_h264_650/1a1a1ae454c430950065de4cbb2f94c226950c7ae655b61a48a91475e243acda3dac194879adde0f/1001908r5ft6dswz_1_650.mov/ 
  RTSP/1.0
CSeq: 5
Session: 523616974792397145
User-Agent: MPlayer (LIVE555 Streaming Media v2009.06.02)


Received TEARDOWN response: RTSP/1.0 200 OK
Server: QTSS-Akamai/5.5.4 (Build/489.13; Platform/Linux; Release/ 
Darwin; )
Cseq: 5
Session: 523616974792397145
Connection: Close


vo: x11 uninit called but X11 not initialized..

Exiting... (End of file)
$


Unfortunately I don't have any Linux boxes here with either a X11 or a  
framebuffer, so I can't try playing direct to screen.

I've kinda lost interest in the show itself, but I don't like being  
frustrated this way.

Stroller.



More information about the MPlayer-users mailing list