-user-agent being ignored? (Apple keynote)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]<

 



Hi there,

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/1001q3f8hhr/1001908r5ft6dswz_1_650_ref.mov 
"

As per [1] and [2] I'm trying to set the user agent to be Quicktime,  
using the command:

   mplayer -noframedrop -ao null -vo null -dumpfile Keynote -user- 
agent 'QuickTime/7.5'  1001908r5ft6dswz_1_650_ref.mov -v -cache 4048

However the download fails. Prominent in the output on the screen is  
the line:

   "User-Agent: MPlayer (LIVE555 Streaming Media v2009.06.02)"

which suggests the user agent I have requested is being ignored.
Is this the case, please, or is the problem unrelated?

Many thanks in advance for any pointers,

Stroller.



[1] http://lists.mplayerhq.hu/pipermail/mplayer-users/2009-October/078035.html
[2] http://linuxtidbits.wordpress.com/2009/08/30/download-apple-trailer-fix/





$ mplayer -noframedrop -ao null -vo null -dumpfile Keynote -user-agent  
'Qu
ickTime/7.5'  1001908r5ft6dswz_1_650_ref.mov -v -cache 4048
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 --pref
ix=/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-joyst
ick --disable-cdparanoia --charset=UTF-8 --disable-tv-bsdbt848 -- 
disable-ivtv --
disable-tv --disable-tv-v4l1 --disable-tv-v4l2 --disable-radio -- 
disable-radio-v
4l2 --disable-radio-bsdbt848 --disable-dvb --disable-dvbhead --disable- 
tv-telete
xt --disable-v4l2 --disable-pvr --disable-liba52 --disable-musepack -- 
disable-li
bopencore_amrnb --disable-libopencore_amrwb --disable-liblzo --disable- 
libbs2b -
-disable-mng --disable-pnm --disable-tga --disable-xanim -- 
realcodecsdir=/opt/Re
alPlayer/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 --disa
ble-tdfxfb --disable-esd --disable-jack --disable-ladspa --disable-nas  
--disable
-openal --disable-pulse --disable-ossaudio
CommandLine: '-noframedrop' '-ao' 'null' '-vo' 'null' '-dumpfile'  
'Keynote' '-us
er-agent' 'QuickTime/7.5' '1001908r5ft6dswz_1_650_ref.mov' '-v' '- 
cache' '4048'
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/1001
908r5ft6dswz_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)
CACHE_PRE_INIT: 0 [0] 239  pre:829030  eof:1
Cache fill:  0.01% (239 bytes)
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_6
50 
/ 
1a1a1ae454c430950065de4cbb2f94c226950c7ae655b61a48a91475e243acda3dac194879add
e0f/1001908r5ft6dswz_1_650.mov to element entry.
ds_fill_buffer: EOF reached (stream: video)

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

Playing rtsp://a2047.v1411b.c1411.g.vq.akamaistream.net/5/2047/1411/2_h264_650/1
a1a1ae454c430950065de4cbb2f94c226950c7ae655b61a48a91475e243acda3dac194879adde0f 
/
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 
/1a1a1ae454c430950065de4cbb2f94c226950c7ae655b61a48a91475e243acda3dac194
879adde0f/1001908r5ft6dswz_1_650.mov
Filename for url is now rtsp://a2047.v1411b.c1411.g.vq.akamaistream.net/5/2047/1
411 
/ 
2_h264_650 
/1a1a1ae454c430950065de4cbb2f94c226950c7ae655b61a48a91475e243acda3
dac194879adde0f/1001908r5ft6dswz_1_650.mov
Filename for url is now rtsp://a2047.v1411b.c1411.g.vq.akamaistream.net/5/2047/1
411 
/ 
2_h264_650 
/1a1a1ae454c430950065de4cbb2f94c226950c7ae655b61a48a91475e243acda3
dac194879adde0f/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[207.246.192.155]:
554...
SDP:
v=0
o=StreamingServer 3473655326 1751069231000 IN IP4 207.246.192.155
s=/ 
5 
/ 
2047 
/1411/2_h264_650/1a1a1ae454c430950065de4cbb2f94c226950c7ae655b61a48a914
75e243acda3dac194879adde0f/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;indexdelt
alength=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=Z0Lg
HpWgKAv+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/1
411 
/ 
2_h264_650 
/1a1a1ae454c430950065de4cbb2f94c226950c7ae655b61a48a91475e243acda3
dac194879adde0f/1001908r5ft6dswz_1_650.mov
Filename for url is now rtsp://a2047.v1411b.c1411.g.vq.akamaistream.net/5/2047/1
411 
/ 
2_h264_650 
/1a1a1ae454c430950065de4cbb2f94c226950c7ae655b61a48a91475e243acda3
dac194879adde0f/1001908r5ft6dswz_1_650.mov
STREAM_LIVE555, URL: rtsp://a2047.v1411b.c1411.g.vq.akamaistream.net/5/2047/1411
/ 
2_h264_650 
/1a1a1ae454c430950065de4cbb2f94c226950c7ae655b61a48a91475e243acda3dac
194879adde0f/1001908r5ft6dswz_1_650.mov
STREAM: [RTSP and SIP] rtsp://a2047.v1411b.c1411.g.vq.akamaistream.net/5/2047/14
11 
/ 
2_h264_650 
/1a1a1ae454c430950065de4cbb2f94c226950c7ae655b61a48a91475e243acda3d
ac194879adde0f/1001908r5ft6dswz_1_650.mov
STREAM: Description: standard RTSP and SIP
STREAM: Author: Ross Finlayson
STREAM: Comment: Uses LIVE555 Streaming Media library.
This stream is non-cacheable
Stream not seekable!
  file format detected.
Sending request: DESCRIBE rtsp://a2047.v1411b.c1411.g.vq.akamaistream.net/5/2047
/ 
1411 
/ 
2_h264_650 
/1a1a1ae454c430950065de4cbb2f94c226950c7ae655b61a48a91475e243acd
a3dac194879adde0f/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: Thu, 28 Jan 2010 08:15:27 GMT
Cache-Control: must-revalidate
Content-length: 1181
Date: Thu, 28 Jan 2010 08:15:21 GMT
Expires: Thu, 28 Jan 2010 08:15:21 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 
/ 
1a1a1ae454c430950065de4cbb2f94c226950c7ae655b61a48a91475e243acda3dac194879a
dde0f/1001908r5ft6dswz_1_650.mov/


Need to read 1181 extra bytes
Read 1181 extra bytes: v=0
o=StreamingServer 3473655327 0 IN IP4 207.246.192.161
s=/ 
5 
/ 
2047 
/1411/2_h264_650/1a1a1ae454c430950065de4cbb2f94c226950c7ae655b61a48a914
75e243acda3dac194879adde0f/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;indexdelt
alength=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=Z0Lg
HpWgKAv+XAQC,aM48gA==

Initiated "audio/MPEG4-GENERIC" RTP subsession on port 51630
Increased audio socket receive buffer to 114688 bytes
Sending request: SETUP rtsp://a2047.v1411b.c1411.g.vq.akamaistream.net/5/2047/14
11 
/ 
2_h264_650 
/1a1a1ae454c430950065de4cbb2f94c226950c7ae655b61a48a91475e243acda3d
ac194879adde0f/1001908r5ft6dswz_1_650.mov/trackID=3 RTSP/1.0
CSeq: 2
Transport: RTP/AVP;unicast;client_port=51630-51631
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: Thu, 28 Jan 2010 08:15:27 GMT
Cache-Control: must-revalidate
Session: 6480241369412191501
Date: Thu, 28 Jan 2010 08:15:19 GMT
Expires: Thu, 28 Jan 2010 08:15:19 GMT
Transport: RTP/ 
AVP;unicast;source=207.246.192.161;client_port=51630-51631;server
_port=6972-6973;ssrc=1F7F9DAB


Initiated "video/H264" RTP subsession on port 58878
Increased video socket receive buffer to 2000000 bytes
Sending request: SETUP rtsp://a2047.v1411b.c1411.g.vq.akamaistream.net/5/2047/14
11 
/ 
2_h264_650 
/1a1a1ae454c430950065de4cbb2f94c226950c7ae655b61a48a91475e243acda3d
ac194879adde0f/1001908r5ft6dswz_1_650.mov/trackID=4 RTSP/1.0
CSeq: 3
Transport: RTP/AVP;unicast;client_port=58878-58879
Session: 6480241369412191501
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: 6480241369412191501
Last-Modified: Thu, 28 Jan 2010 08:15:27 GMT
Cache-Control: must-revalidate
Date: Thu, 28 Jan 2010 08:15:27 GMT
Expires: Thu, 28 Jan 2010 08:15:27 GMT
Transport: RTP/ 
AVP;unicast;source=207.246.192.161;client_port=58878-58879;server
_port=6972-6973;ssrc=0C9962C8


Sending request: PLAY rtsp://a2047.v1411b.c1411.g.vq.akamaistream.net/5/2047/141
1 
/ 
2_h264_650 
/1a1a1ae454c430950065de4cbb2f94c226950c7ae655b61a48a91475e243acda3da
c194879adde0f/1001908r5ft6dswz_1_650.mov/ RTSP/1.0
CSeq: 4
Session: 6480241369412191501
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: 6480241369412191501
Range: npt=0.00000-5586.58100
RTP-Info: url=rtsp://a2047.v1411b.c1411.g.vq.akamaistream.net/5/2047/1411/2_h264
_650 
/ 
1a1a1ae454c430950065de4cbb2f94c226950c7ae655b61a48a91475e243acda3dac194879a
dde0f/1001908r5ft6dswz_1_650.mov/ 
trackID=3;seq=51139;rtptime=824036674,url=rtsp:
//a2047.v1411b.c1411.g.vq.akamaistream.net/ 
5/2047/1411/2_h264_650/1a1a1ae454c430
950065de4cbb2f94c226950c7ae655b61a48a91475e243acda3dac194879adde0f/ 
1001908r5ft6d
swz_1_650.mov/trackID=4;seq=55935;rtptime=1868368128


==> 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)
[V] filefmt:21  fourcc:0x34363248  size:0x0  fps:0.000  ftime:=0.0000
FPS not specified in the header or invalid, use the -fps option.
get_path('sub/') -> '/home/stroller/.mplayer/sub/'
= 
= 
========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
dec_audio: Allocating 4608 bytes for input buffer.
dec_audio: Allocating 49152 + 65536 = 114688 bytes for output buffer.
FAAD: Decoder init done (0Bytes)!
FAAD: Negotiated samplerate: 32000Hz  channels: 2
FAAD: compressed input bitrate missing, assuming 128kbit/s!
AUDIO: 32000 Hz, 2 ch, s16le, 128.0 kbit/12.50% (ratio: 16000->128000)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))
= 
= 
========================================================================
Building audio filter chain for 32000Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 32000Hz/2ch/s16le
[dummy] Was reinitialized: 32000Hz/2ch/s16le
Trying preferred audio driver 'null', options '[none]'
AO: [null] 32000Hz 2ch s16le (2 bytes per sample)
AO: Description: Null audio output
AO: Author: Tobias Diedrich <ranma+mplayer at tdiedrich.de>
Building audio filter chain for 32000Hz/2ch/s16le -> 32000Hz/2ch/ 
s16le...
[dummy] Was reinitialized: 32000Hz/2ch/s16le
[dummy] Was reinitialized: 32000Hz/2ch/s16le
Video: no video
Freeing 0 unused video chunks.
Starting playback...
ds_fill_buffer: EOF reached (stream: audio)
EOF code: 1  nown) of 5586.6 ( 1:33:06.5) ??,?% 0%

Uninit audio filters...
[libaf] Removing filter dummy
Uninit audio: faad
FAAD: Closing decoder!
Sending request: TEARDOWN rtsp://a2047.v1411b.c1411.g.vq.akamaistream.net/5/2047
/ 
1411 
/ 
2_h264_650 
/1a1a1ae454c430950065de4cbb2f94c226950c7ae655b61a48a91475e243acd
a3dac194879adde0f/1001908r5ft6dswz_1_650.mov/ RTSP/1.0
CSeq: 5
Session: 6480241369412191501
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: 6480241369412191501
Connection: Close


vo: x11 uninit called but X11 not initialized..

Exiting... (End of file)
$



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux