How to maximize rtpmdump to obtain the highest quality file [Ubuntu Linux]?
ok so using this route with rtmpdump i seem to be getting no higher than 640 x 360 video files whether from 4Od or iplayer when i know that they are sometimes much higher [480 or even 720]
example tested today using rtmpdump on its own then get-iplayer
Quote:
sudo iptables -t nat -A OUTPUT -p tcp --dport 1935 -j REDIRECT && rtmpsrv
RTMP Server v2.4-n25-git60218d0-ppa5~oneiric
(c) 2010 Andrej Stepanchuk, Howard Chu; license: GPL
Streaming on rtmp://0.0.0.0:1935
WARNING: Trying different position for client digest!
rtmpdump -r "rtmp://cp41752.edgefcs.net:1935/ondemand?auth=daEbcdycTcJcRa4ciawb5cqdpbKdAdxdCdF-bplp32-bWG-DqpFFpBpIBtGvwE&aifp=v001&slist=secure/400kbps/b01bgqhj_1328185859.mp4;secure/480kbps/MP/b01bgqhj_1328185863.mp4;secure/1500kbps/MP/b01bgqhj_1328185555.mp4;secure/800kbps/MP/b01bgqhj_1328185863.mp4" -a "ondemand?auth=daEbcdycTcJcRa4ciawb5cqdpbKdAdx dCdF-bplp32-bWG-DqpFFpBpIBtGvwE&aifp=v001&slist=secure/400kbps/b01bgqhj_1328185859.mp4;secure/480kbps/MP/b01bgqhj_1328185863.mp4;secure/1500kbps/MP/b01bgqhj_1328185555.mp4;secure/800kbps/MP/b01bgqhj_1328185863.mp4" -f "LNX 11,1,102,55" -W "http://www.bbc.co.uk/emp/releases/iplayer/revisions/617463_618125_4/617463_618125_4_emp.swf" -p "http://www.bbc.co.uk/iplayer/episode/b01bgqlc/How_the_Brits_Rocked_America_Go_West_Stairway_to_H eaven/" -C O:1 -C O:0 -y "mp4:secure/480kbps/MP/b01bgqhj_1328185863.mp4?auth=daEbcdycTcJcRa4ciawb5 cqdpbKdAdxdCdF-bplp32-bWG-DqpFFpBpIBtGvwE&aifp=v001&slist=secure/400kbps/b01bgqhj_1328185859.mp4;secure/480kbps/MP/b01bgqhj_1328185863.mp4;secure/1500kbps/MP/b01bgqhj_1328185555.mp4;secure/800kbps/MP/b01bgqhj_1328185863.mp4" -o b01bgqhj_1328185863.flv
RTMPDump v2.4-n25-git60218d0-ppa5~oneiric
Closing connection... done!
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Duplicate request, skipping.
Closing connection... done!
Caught signal: 13, cleaning up, just a second...
ERROR: WriteN, RTMP send error 32 (42 bytes)
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
^CCaught signal: 2, cleaning up, just a second...
shantiq@shantiq-00000000000000000000000:~$ sudo iptables -t nat -D OUTPUT -p tcp --dport 1935 -j REDIRECT
shantiq@shantiq-00000000000000000000000:~$ rtmpdump -r "rtmp://cp41752.edgefcs.net:1935/ondemand?auth=daEbcdycTcJcRa4ciawb5cqdpbKdAdxdCdF-bplp32-bWG-DqpFFpBpIBtGvwE&aifp=v001&slist=secure/400kbps/b01bgqhj_1328185859.mp4;secure/480kbps/MP/b01bgqhj_1328185863.mp4;secure/1500kbps/MP/b01bgqhj_1328185555.mp4;secure/800kbps/MP/b01bgqhj_1328185863.mp4" -a "ondemand?auth=daEbcdycTcJcRa4ciawb5cqdpbKdAdx dCdF-bplp32-bWG-DqpFFpBpIBtGvwE&aifp=v001&slist=secure/400kbps/b01bgqhj_1328185859.mp4;secure/480kbps/MP/b01bgqhj_1328185863.mp4;secure/1500kbps/MP/b01bgqhj_1328185555.mp4;secure/800kbps/MP/b01bgqhj_1328185863.mp4" -f "LNX 11,1,102,55" -W "http://www.bbc.co.uk/emp/releases/iplayer/revisions/617463_618125_4/617463_618125_4_emp.swf" -p "http://www.bbc.co.uk/iplayer/episode/b01bgqlc/How_the_Brits_Rocked_America_Go_West_Stairway_to_H eaven/" -C O:1 -C O:0 -y "mp4:secure/480kbps/MP/b01bgqhj_1328185863.mp4?auth=daEbcdycTcJcRa4ciawb5 cqdpbKdAdxdCdF-bplp32-bWG-DqpFFpBpIBtGvwE&aifp=v001&slist=secure/400kbps/b01bgqhj_1328185859.mp4;secure/480kbps/MP/b01bgqhj_1328185863.mp4;secure/1500kbps/MP/b01bgqhj_1328185555.mp4;secure/800kbps/MP/b01bgqhj_1328185863.mp4" -o b01bgqhj_1328185863.flv
RTMPDump v2.4-n25-git60218d0-ppa5~oneiric
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO: duration 3379.04
INFO: moovPosition 32.00
INFO: width 640.00
INFO: height 360.00
INFO: videocodecid avc1
INFO: audiocodecid mp4a
INFO: avcprofile 66.00
INFO: avclevel 30.00
INFO: aacaot 2.00
INFO: videoframerate 25.00
INFO: audiosamplerate 44100.00
INFO: audiochannels 2.00
INFO: trackinfo:
INFO: length 84475000.00
INFO: timescale 25000.00
INFO: language eng
INFO: sampledescription:
INFO: sampletype avc1
INFO: length 149015552.00
INFO: timescale 44100.00
INFO: language eng
INFO: sampledescription:
INFO: sampletype mp4a
651.607 kB / 11.56 sec (0.3%)
187229.409 kB / 3379.01 sec (99.9%)
Download complete
|
get-iplayer
Quote:
get-iplayer --vmode=flashvhigh2 --get 369 --subtitles
get_iplayer v2.80+n3-gitc313712-ppa2, Copyright (C) 2008-2010 Phil Lewis
This program comes with ABSOLUTELY NO WARRANTY; for details use --warranty.
This is free software, and you are welcome to redistribute it under certain
conditions; use --conditions for details.
Matches:
369: How the Brits Rocked America - Go West: 2. Stairway to Heaven, BBC Four, Arts Culture & the Media,Classic Pop & Rock,Factual,Guidance,Music,TV, default
INFO: 1 Matching Programmes
INFO: Checking existence of default version
INFO: flashvhigh2 modes will be tried for version default
INFO: Trying flashvhigh2 mode to record tv: How the Brits Rocked America - Go West: 2. Stairway to Heaven
INFO: File name prefix = How_the_Brits_Rocked_America_-_Go_West_2._Stairway_to_Heaven_b01bgqlc_default
INFO: Downloading Subtitles to '/home/shantiq/How_the_Brits_Rocked_America_-_Go_West_2._Stairway_to_Heaven_b01bgqlc_default.sr t'
RTMPDump v2.4-n25-git60218d0-ppa5~oneiric
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO: duration 3379.11
INFO: moovPosition 32.00
INFO: width 832.00
INFO: height 468.00
INFO: videocodecid avc1
INFO: audiocodecid mp4a
INFO: avcprofile 77.00
INFO: avclevel 30.00
INFO: aacaot 2.00
INFO: videoframerate 25.00
INFO: audiosamplerate 24000.00
INFO: audiochannels 2.00
INFO: trackinfo:
INFO: length 84475000.00
INFO: timescale 25000.00
INFO: language eng
INFO: sampledescription:
INFO: sampletype avc1
INFO: length 81098752.00
INFO: timescale 24000.00
INFO: language eng
INFO: sampledescription:
INFO: sampletype mp4a
620211.475 kB / 3379.07 sec (99.9%)
Download complete
ffmpeg version git-N-30582-gef28c7b, Copyright (c) 2000-2011 the FFmpeg developers
built on Jun 7 2011 16:45:28 with gcc 4.6.1
configuration: --prefix=/usr --datadir=/usr/share/ffmpeg-extra --enable-static --disable-shared --enable-gpl --enable-version3 --enable-pic --enable-runtime-cpudetect --enable-bzlib --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libschroedinger --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-decoder=aac --enable-decoder=aac_latm --enable-encoder=aac
libavutil 51. 6. 0 / 51. 6. 0
libavcodec 53. 6. 1 / 53. 6. 1
libavformat 53. 2. 0 / 53. 2. 0
libavdevice 53. 1. 1 / 53. 1. 1
libavfilter 2. 14. 0 / 2. 14. 0
libswscale 0. 14. 1 / 0. 14. 1
libpostproc 51. 2. 0 / 51. 2. 0
[flv @ 0x23213e0] Estimating duration from bitrate, this may be inaccurate
Input #0, flv, from '/home/shantiq/How_the_Brits_Rocked_America_-_Go_West_2._Stairway_to_Heaven_b01bgqlc_default.pa rtial.mp4.flv':
Metadata:
duration : 3379
moovPosition : 32
width : 832
height : 468
videocodecid : avc1
audiocodecid : mp4a
avcprofile : 77
avclevel : 30
aacaot : 2
videoframerate : 25
audiosamplerate : 24000
audiochannels : 2
Duration: 00:56:19.11, start: 0.000000, bitrate: N/A
Stream #0.0: Video: h264 (Main), yuv420p, 832x468 [PAR 117:117 DAR 16:9], 25 tbr, 1k tbn, 50 tbc
Stream #0.1: Audio: aac, 48000 Hz, stereo, s16
Output #0, mp4, to '/home/shantiq/How_the_Brits_Rocked_America_-_Go_West_2._Stairway_to_Heaven_b01bgqlc_default.pa rtial.mp4':
Metadata:
duration : 3379
moovPosition : 32
width : 832
height : 468
videocodecid : avc1
audiocodecid : mp4a
avcprofile : 77
avclevel : 30
aacaot : 2
videoframerate : 25
audiosamplerate : 24000
audiochannels : 2
encoder : Lavf53.2.0
Stream #0.0: Video: libx264, yuv420p, 832x468 [PAR 117:117 DAR 16:9], q=2-31, 25 tbn, 25 tbc
Stream #0.1: Audio: aac, 48000 Hz, stereo
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Press [q] to stop, [?] for help
frame=84475 fps=2761 q=-1.0 Lsize= 619534kB time=00:56:19.00 bitrate=1502.0kbits/s
video:578170kB audio:39076kB global headers:0kB muxing overhead 0.370696%
INFO: Recorded /home/shantiq/How_the_Brits_Rocked_America_-_Go_West_2._Stairway_to_Heaven_b01bgqlc_default.mp 4
INFO: Downloaded Thumbnail to '/home/shantiq/How_the_Brits_Rocked_America_-_Go_West_2._Stairway_to_Heaven_b01bgqlc_default.jp g'
INFO: MP4 tagging MP4 file
Started writing to temp file.
Progress: ================================================== =====>100% |
Finished writing to temp file.
|
so my question is and i cannot see the settings on rtmpdump manpage or even googling it how do i ensure rtmpdump targets the highest quality file available for download
thank you in advance if you know how to
|