RTMP failing with send error

Andy Wedge andy_wedge at lineone.net
Thu Jun 6 14:48:35 EDT 2013


I've made the swfVfy changes as suggested earlier and now I can download
again although it seems to take several attempts at times.  I tested
this by downloading an episode of Eastenders, however, now I have a
problem at the end of the FFmpeg processing and end up with a .mp4 file
(playable) and an associated .jpg file rather than just the .mp4 file I
normally get.  I am sure someone can explain what a wide character is,
something from a double byte character set perhaps? 

Here is my logfile:

C:\Program Files (x86)\get_iplayer>get_iplayer -g 244
get_iplayer v2.80, 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:
244:    EastEnders - 30/05/2013, BBC One, Audio
Described,Drama,Soaps,TV, default,audiodescribed

INFO: 1 Matching Programmes
INFO: Checking existence of default version
INFO: flashhigh1,flashhigh2,flashstd1,flashstd2 modes will be tried for
version default
INFO: Trying flashhigh1 mode to record tv: EastEnders - 30/05/2013
INFO: File name prefix = EastEnders_-_30_05_2013_b020ys8v_default
RTMPDump 2.4 git-6230845 2011-9-25
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license:
GPL
ERROR: RTMP_HashSWF: couldn't contact swfurl --resume (HTTP error -1)
Connecting ...
INFO: Connected...
ERROR: HandleCtrl: Ignoring SWFVerification request, use --swfVfy!
Starting download at: 0.000 kB
INFO: Metadata:
INFO:   duration              1697.11
INFO:   moovPosition          28.00
INFO:   width                 640.00
INFO:   height                360.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                42425000.00
INFO:   timescale             25000.00
INFO:   language              eng
INFO: sampledescription:
INFO:   sampletype            avc1
INFO:   length                40730624.00
INFO:   timescale             24000.00
INFO:   language              eng
INFO: sampledescription:
INFO:   sampletype            mp4a
325.040 kB / 3702.78 sec (218.1%)INFO: Command exit code 1 (raw code =
256)
WARNING: Failed to stream file
D:\get_iplayer\videos\EastEnders_-_30_05_2013_b020ys8v_default.partial.m
p4.flv via RTMP
INFO: skipping flashhigh1 mode
INFO: Trying flashhigh2 mode to record tv: EastEnders - 30/05/2013
INFO: File name prefix = EastEnders_-_30_05_2013_b020ys8v_default
RTMPDump 2.4 git-6230845 2011-9-25
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license:
GPL
ERROR: RTMP_HashSWF: couldn't contact swfurl --resume (HTTP error -1)
Connecting ...
INFO: Connected...
ERROR: HandleCtrl: Ignoring SWFVerification request, use --swfVfy!
Starting download at: 0.000 kB
INFO: Metadata:
INFO:   duration              1697.11
INFO:   moovPosition          28.00
INFO:   width                 640.00
INFO:   height                360.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                42425000.00
INFO:   timescale             25000.00
INFO:   language              eng
INFO: sampledescription:
INFO:   sampletype            avc1
INFO:   length                40730624.00
INFO:   timescale             24000.00
INFO:   language              eng
INFO: sampledescription:
INFO:   sampletype            mp4a
138359.882 kB / 1416.44 sec (83.4%)
ERROR: RTMP_ReadPacket, failed to read RTMP packet body. len: 61996
138917.133 kB / 1421.64 sec (83.7%)
INFO: Connection timed out, trying to resume.


Resuming download at: 138917.133 kB
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
138917.133 kB / 0.00 sec
INFO: Connection timed out, trying to resume.


ERROR: RTMP_ReadPacket, failed to read RTMP packet header
ERROR: Failed to resume the stream


Download may be incomplete (downloaded about 0.00%), try resuming
INFO: Command exit code 2 (raw code = 512)
WARNING: Retry recording for 'EastEnders - 30/05/2013 (b020ys8v)'
INFO: File name prefix = EastEnders_-_30_05_2013_b020ys8v_default
RTMPDump 2.4 git-6230845 2011-9-25
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license:
GPL
ERROR: RTMP_HashSWF: couldn't contact swfurl --resume (HTTP error -1)
Connecting ...
INFO: Connected...
ERROR: HandleCtrl: Ignoring SWFVerification request, use --swfVfy!
Starting download at: 0.000 kB
INFO: Metadata:
INFO:   duration              1697.11
INFO:   moovPosition          28.00
INFO:   width                 640.00
INFO:   height                360.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                42425000.00
INFO:   timescale             25000.00
INFO:   language              eng
INFO: sampledescription:
INFO:   sampletype            avc1
INFO:   length                40730624.00
INFO:   timescale             24000.00
INFO:   language              eng
INFO: sampledescription:
INFO:   sampletype            mp4a
151966.124 kB / 1553.67 sec (91.5%)
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
151977.020 kB / 1553.67 sec (91.5%)
INFO: Connection timed out, trying to resume.


Resuming download at: 151977.020 kB
165652.858 kB / 1697.07 sec (99.9%)
Download complete
ffmpeg version 0.8, Copyright (c) 2000-2011 the FFmpeg developers
  built on Jun 23 2011 14:18:53 with gcc 4.5.3
  configuration: --enable-gpl --enable-version3 --enable-memalign-hack
--enable-runtime-cpudetect --enable-avisynth --enable-bzlib
--enable-frei0r --enable-libopenco
re-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm
--enable-libmp3lame --enable-libopenjpeg --enable-librtmp
--enable-libschroedinger --enable-
libspeex --enable-libtheora --enable-libvorbis --enable-libvpx
--enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil    51.  9. 1 / 51.  9. 1
  libavcodec   53.  7. 0 / 53.  7. 0
  libavformat  53.  4. 0 / 53.  4. 0
  libavdevice  53.  1. 1 / 53.  1. 1
  libavfilter   2. 23. 0 /  2. 23. 0
  libswscale    2.  0. 0 /  2.  0. 0
  libpostproc  51.  2. 0 / 51.  2. 0
[flv @ 003DA3A0] Estimating duration from bitrate, this may be
inaccurate
Input #0, flv, from
'D:\get_iplayer\videos\EastEnders_-_30_05_2013_b020ys8v_default.partial.
mp4.flv':
  Metadata:
    duration        : 1697
    moovPosition    : 28
    width           : 640
    height          : 360
    videocodecid    : avc1
    audiocodecid    : mp4a
    avcprofile      : 77
    avclevel        : 30
    aacaot          : 2
    videoframerate  : 25
    audiosamplerate : 24000
    audiochannels   : 2
  Duration: 00:28:17.11, start: 0.005000, bitrate: N/A
    Stream #0.0: Video: h264 (Main), yuv420p, 640x360 [PAR 90:90 DAR
16:9], 25 tbr, 1k tbn, 50 tbc
    Stream #0.1: Audio: aac, 48000 Hz, stereo, s16
Output #0, mp4, to
'D:\get_iplayer\videos\EastEnders_-_30_05_2013_b020ys8v_default.partial.
mp4':
  Metadata:
    duration        : 1697
    moovPosition    : 28
    width           : 640
    height          : 360
    videocodecid    : avc1
    audiocodecid    : mp4a
    avcprofile      : 77
    avclevel        : 30
    aacaot          : 2
    videoframerate  : 25
    audiosamplerate : 24000
    audiochannels   : 2
    encoder         : Lavf53.4.0
    Stream #0.0: Video: libx264, yuv420p, 640x360 [PAR 90:90 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=42425 fps=5402 q=-1.0 Lsize=  165344kB time=00:28:17.00 bitrate=
798.2kbits/s
video:144537kB audio:19626kB global headers:0kB muxing overhead
0.719210%
INFO: Recorded
D:\get_iplayer\videos\EastEnders_-_30_05_2013_b020ys8v_default.mp4

Wide character in print at get_iplayer.pl line 3532.
INFO: Downloaded Thumbnail to
'D:\get_iplayer\videos\EastEnders_-_30_05_2013_b020ys8v_default.jpg'
Cannot decode string with wide characters at Encode.pm line 174.

C:\Program Files (x86)\get_iplayer>

Andy



More information about the get_iplayer mailing list