Audio encoding changed, truncated audio files
artisticforge .
artisticforge at gmail.com
Mon Sep 12 08:22:14 PDT 2016
below is a verbose log file of a truncated radio program
take note of the "Duration:". the Bit rate is 4.978193146417 times 321.
the Duration of this program should be close to 3 hours/10800 seconds
the Duration of the truncated program is roughly 1/5 of 10800 seconds.
This is under linux. I need to test under Windows 10 and MacOSX.
get_iplayer v2.96, 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.
INFO: encodinglocale = UTF-8
INFO: encodinglocalefs = UTF-8
INFO: encodingconsoleout = UTF-8
INFO: encodingconsolein = UTF-8
INFO: ${^UNICODE} = 0
INFO: User prefs dir: /home/blank/.get_iplayer
INFO: System options dir: /etc/get_iplayer/options
Current options:
atomicparsley = /usr/bin/AtomicParsley
encodingconsolein = UTF-8
encodingconsoleout = UTF-8
encodinglocale = UTF-8
encodinglocalefs = UTF-8
ffmpeg = /usr/local/bin/ffmpeg
fileprefix = <name> - <episode> <pid> <version>
force = 1
isodate = 1
modes = best
nopurge = 1
pid = p045j35r
radiomode = best
refreshfuture = 1
subdir = 1
subtitles = 1
tag_isodate = 1
thumb = 1
thumbsizecache = 640
tvmode = best
type = radio
verbose = 1
versionlist = default
INFO: Search args: ''
INFO: Will try prog types: radio
INFO: Got 15722 file cache entries for radio
INFO Trying to stream pid using type radio
INFO: pid found in cache
Matches:
21600: Rod Whiting - 03/09/2016, BBC Radio Lincolnshire, p045j35r
INFO: 1 Matching Programmes
INFO: Programme metadata URL = http://www.bbc.co.uk/programmes/p045j35r.xml
INFO: Getting page http://www.bbc.co.uk/programmes/p045j35r.xml
INFO: Getting page
http://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/pc/vpid/p045j35y/transferformat/dash?cb=88023
INFO: Getting page
http://aod-dash-uk-live.edgesuite.net/usp/auth/vod/piff_abr_full_audio/427a8a-p045j35y/vf_p045j35y_ebc3cee8-474d-41d5-a126-6dcaab62d62b.ism/pc_hd_abr_v2_uk_dash_master.mpd?__gda__=1473709576_f8a22f139f86ef26fc3e3a5ea70da9c4
INFO: Getting page
http://aod-dash-uk-live.bbcfmt.vo.llnwd.net/usp/auth/vod/piff_abr_full_audio/427a8a-p045j35y/vf_p045j35y_ebc3cee8-474d-41d5-a126-6dcaab62d62b.ism/pc_hd_abr_v2_uk_dash_master.mpd?s=1473666376&e=1473709576&h=d50fab6ac370323d1eb4441601fe4dce
INFO: Getting page
http://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/apple-ipad-hls/vpid/p045j35y/transferformat/hls?cb=08018
INFO: Getting page
http://cp401492-vh.akamaihd.net/i/prod_af_mp4_aaclc_128/iplayerstream/l2o/p045j35y_ed59a711-8b89-41e8-a706-b6318fc25016.mp4/master.m3u8?hdnea=st=1473687979~exp=1473709579~acl=/*p045j35y_ed59a711-8b89-41e8-a706-b6318fc25016.mp4*~hmac=78139031dcdbd04ac617602424c2433055d71f994f76a2f5a0efbefaa7456852
INFO: Getting page
http://aod-hls-uk-live.edgesuite.net/usp/auth/vod/piff_abr_full_audio/427a8a-p045j35y/vf_p045j35y_ebc3cee8-474d-41d5-a126-6dcaab62d62b.ism/vf_p045j35y_ebc3cee8-474d-41d5-a126-6dcaab62d62b.m3u8?__gda__=1473709579_5d320c93bf0420befc57db30f7038bc7
INFO: Getting page
http://aod-hls-uk-live.bbcfmt.vo.llnwd.net/usp/auth/vod/piff_abr_full_audio/427a8a-p045j35y/vf_p045j35y_ebc3cee8-474d-41d5-a126-6dcaab62d62b.ism/vf_p045j35y_ebc3cee8-474d-41d5-a126-6dcaab62d62b.m3u8?s=1473666379&e=1473709579&h=69ff3744b13c58add0433ec62ffc1aa8
INFO: Getting page
http://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/apple-iphone4-ipad-hls-3g/vpid/p045j35y/transferformat/hls?cb=00012
INFO: Getting page
http://cp401492-vh.akamaihd.net/i/prod_af_mp4_heaacv1_48/iplayerstream/l2o/p045j35y_e5c87c6b-36db-4fce-9688-6949469d1ae6.mp4/master.m3u8?hdnea=st=1473687987~exp=1473709587~acl=/*p045j35y_e5c87c6b-36db-4fce-9688-6949469d1ae6.mp4*~hmac=696063818d605e16cc4cbea6f47568bbc10fb0c767b70d18f5dca674912b94b1
INFO: Found mode dashhigh1: (gip_dash_iplayer_320) dash aac 320kbps
stream (CDN: af_limelight_uk_dash/2)
INFO: Found mode dashhigh2: (gip_dash_iplayer_320) dash aac 320kbps
stream (CDN: af_akamai_uk_dash/1)
INFO: Found mode dashlow1: (gip_dash_iplayer_48) dash aac 48kbps
stream (CDN: af_limelight_uk_dash/2)
INFO: Found mode dashlow2: (gip_dash_iplayer_48) dash aac 48kbps
stream (CDN: af_akamai_uk_dash/1)
INFO: Found mode dashmed1: (gip_dash_iplayer_96) dash aac 96kbps
stream (CDN: af_limelight_uk_dash/2)
INFO: Found mode dashmed2: (gip_dash_iplayer_96) dash aac 96kbps
stream (CDN: af_akamai_uk_dash/1)
INFO: Found mode dashstd1: (gip_dash_iplayer_128) dash aac 128kbps
stream (CDN: af_limelight_uk_dash/2)
INFO: Found mode dashstd2: (gip_dash_iplayer_128) dash aac 128kbps
stream (CDN: af_akamai_uk_dash/1)
INFO: Found mode hafhigh1: (gip_haf_iplayer_332) hls aac 332kbps
stream (CDN: af_limelight_uk_hls/2)
INFO: Found mode hafhigh2: (gip_haf_iplayer_332) hls aac 332kbps
stream (CDN: af_akamai_uk_hls/1)
INFO: Found mode haflow1: (gip_haf_iplayer_49) hls aac 49kbps stream
(CDN: af_limelight_uk_hls/2)
INFO: Found mode haflow2: (gip_haf_iplayer_49) hls aac 49kbps stream
(CDN: af_akamai_uk_hls/1)
INFO: Found mode hafmed1: (gip_haf_iplayer_99) hls aac 99kbps stream
(CDN: af_limelight_uk_hls/2)
INFO: Found mode hafmed2: (gip_haf_iplayer_99) hls aac 99kbps stream
(CDN: af_akamai_uk_hls/1)
INFO: Found mode hafstd1: (gip_haf_iplayer_132) hls aac 132kbps stream
(CDN: af_limelight_uk_hls/2)
INFO: Found mode hafstd2: (gip_haf_iplayer_132) hls aac 132kbps stream
(CDN: af_akamai_uk_hls/1)
INFO: Found mode hlsaaclow1: (gip_hlsaac_iplayer_45) hls aac 45kbps
stream (CDN: akamai_hls_open/10)
INFO: Found mode hlsaacstd1: (gip_hlsaac_iplayer_125) hls aac 125kbps
stream (CDN: akamai_hls_open/10)
INFO: Getting page http://www.bbc.co.uk/programmes/p045j35y.rdf
INFO: Will search for versions: original
INFO: Mode list:
dashhigh,hafhigh,dashstd,hafstd,hlsaacstd,dashmed,hafmed,dashlow,haflow,hlsaaclow
INFO: Checking existence of original version
INFO: Version = original
INFO: dashhigh1,dashhigh2,hafhigh1,hafhigh2,dashstd1,dashstd2,hafstd1,hafstd2,hlsaacstd1,dashmed1,dashmed2,hafmed1,hafmed2,dashlow1,dashlow2,haflow1,haflow2,hlsaaclow1
modes will be tried for version original
INFO: Trying dashhigh1 mode to record radio: Rod Whiting - 1362. 03/09/2016
INFO: Attempt number: 1 / 3
INFO: Creating subdirectory /home/blank/get_iplayer.dir/Rod_Whiting
for programme
INFO: File name prefix = Rod_Whiting_-_1362._2016-09-03_p045j35r_original
INFO: Begin recording file:
/home/blank/get_iplayer.dir/Rod_Whiting/Rod_Whiting_-_1362._2016-09-03_p045j35r_original.partial.m4a.m4a
Recording: 0.42MB / 419.43MB 1147kbps 0.1% 00:49:53 remaining
<snip>
Recording: 420.51MB / 419.43MB 1779kbps 100.3% 00:00:00 remaining
INFO: Recorded: 420.75MB in 00:32:17 at 1779kbps to
/home/blank/get_iplayer.dir/Rod_Whiting/Rod_Whiting_-_1362._2016-09-03_p045j35r_original.partial.m4a.m4a
INFO: Begin converting file:
/home/blank/get_iplayer.dir/Rod_Whiting/Rod_Whiting_-_1362._2016-09-03_p045j35r_original.partial.m4a.m4a
INFO: Command: "/usr/local/bin/ffmpeg" "-loglevel" "verbose" "-y" "-i" \
"/home/blank/get_iplayer.dir/Rod_Whiting/Rod_Whiting_-_1362._2016-09-03_p045j35r_original.partial.m4a.m4a"
\
"-vn" "-acodec" "copy" "-absf" "aac_adtstoasc"
"/home/blank/get_iplayer.dir/Rod_Whiting/Rod_Whiting_-_1362._2016-09-03_p045j35r_original.partial.m4a"
ffmpeg version 3.1.3-static http://johnvansickle.com/ffmpeg/
Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 5.4.1 (Debian 5.4.1-1) 20160803
configuration: --enable-gpl --enable-version3 --enable-static
--disable-debug --enable-libmp3lame --enable-libx264 \
--enable-libx265 --enable-libwebp --enable-libspeex --enable-libvorbis
--enable-libvpx --enable-libfreetype --enable-fontconfig \
--enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libtheora --enable-libvo-amrwbenc --enable-gray \
--enable-libopenjpeg --enable-libopus --enable-libass --enable-gnutls
--enable-libvidstab --enable-libsoxr --enable-frei0r \
--enable-libfribidi --disable-indev=sndio --disable-outdev=sndio
--enable-librtmp --enable-libmfx --enable-libzimg --cc=gcc-5
libavutil 55. 28.100 / 55. 28.100
libavcodec 57. 48.101 / 57. 48.101
libavformat 57. 41.100 / 57. 41.100
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 47.100 / 6. 47.100
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 1.100 / 2. 1.100
libpostproc 54. 0.100 / 54. 0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
'/home/blank/get_iplayer.dir/Rod_Whiting/Rod_Whiting_-_1362._2016-09-03_p045j35r_original.partial.m4a.m4a':
Metadata:
major_brand : iso6
minor_version : 0
compatible_brands: iso6dash
Duration: 00:36:48.00, start: 0.000000, bitrate: 1598 kb/s
Stream #0:0(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz,
stereo, fltp, 320 kb/s (default)
Metadata:
handler_name : USP Sound Handler
[ipod @ 0x3d58ee0] Using AVStream.codec to pass codec parameters to
muxers is deprecated, use AVStream.codecpar instead.
Output #0, ipod, to
'/home/blank/get_iplayer.dir/Rod_Whiting/Rod_Whiting_-_1362._2016-09-03_p045j35r_original.partial.m4a':
Metadata:
major_brand : iso6
minor_version : 0
compatible_brands: iso6dash
encoder : Lavf57.41.100
Stream #0:0(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz,
stereo, 320 kb/s (default)
Metadata:
handler_name : USP Sound Handler
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
size= 36885kB time=00:15:44.25 bitrate= 320.0kbits/s speed=1.89e+03x
size= 67861kB time=00:28:57.23 bitrate= 320.0kbits/s speed=1.74e+03x
No more output streams to write to, finishing.
size= 86656kB time=00:36:48.00 bitrate= 321.5kbits/s speed=1.67e+03x
video:0kB audio:86250kB subtitle:0kB other streams:0kB global
headers:0kB muxing overhead: 0.470196%
Input file #0 (/home/blank/get_iplayer.dir/Rod_Whiting/Rod_Whiting_-_1362._2016-09-03_p045j35r_original.partial.m4a.m4a):
Input stream #0:0 (audio): 103500 packets read (88320128 bytes);
Total: 103500 packets (88320128 bytes) demuxed
Output file #0 (/home/blank/get_iplayer.dir/Rod_Whiting/Rod_Whiting_-_1362._2016-09-03_p045j35r_original.partial.m4a):
Output stream #0:0 (audio): 103500 packets muxed (88320128 bytes);
Total: 103500 packets (88320128 bytes) muxed
INFO: Command exit code 0 (raw code = 0)
INFO: Converted file:
/home/blank/get_iplayer.dir/Rod_Whiting/Rod_Whiting_-_1362._2016-09-03_p045j35r_original.partial.m4a
INFO: Recorded file:
/home/blank/get_iplayer.dir/Rod_Whiting/Rod_Whiting_-_1362._2016-09-03_p045j35r_original.m4a
DEBUG: Record using dashhigh1 mode return code: '0'
INFO: Getting thumbnail from
http://ichef.bbci.co.uk/images/ic/640x360/p02xtsrb.jpg
INFO: Getting page http://ichef.bbci.co.uk/images/ic/640x360/p02xtsrb.jpg
INFO: Downloaded Thumbnail to
'/home/blank/get_iplayer.dir/Rod_Whiting/Rod_Whiting_-_1362._2016-09-03_p045j35r_original.jpg'
INFO: Loading recordings history
WARNING: File /home/blank/get_iplayer.dir/Rod_Whiting/Rod_Whiting_-_1362._2016-09-03_p045j35r_original.jpg
already exists
INFO: MP4 tagging M4A file
INFO: Command: "/usr/bin/AtomicParsley"
"/home/blank/get_iplayer.dir/Rod_Whiting/Rod_Whiting_-_1362._2016-09-03_p045j35r_original.m4a"
\
"--freefree" "--overWrite" "--stik" "Normal" "--advisory" "remove"
"--copyright" "2016 British Broadcasting Corporation, all rights
reserved" \
"--title" "Rod Whiting: 2016-09-03" "--artist" "BBC Radio
Lincolnshire" "--albumArtist" "BBC Radio" "--album" "Rod Whiting" \
"--grouping" "Magazines & Reviews,Entertainment" "--composer" "BBC
iPlayer" "--genre" "Magazines & Reviews" \
"--comment" "Saturday breakfast, including sport and weather."
"--year" "2016-09-03T06:00:00+01:00" "--tracknum" "1362" "--disk" "1"
\
"--lyrics" "Saturday breakfast, including sport and weather.
EPISODE
http://www.bbc.co.uk/programmes/p045j35r
SERIES
http://www.bbc.co.uk/programmes/p001d75z" "--artwork"
"/home/blank/get_iplayer.dir/Rod_Whiting/Rod_Whiting_-_1362._2016-09-03_p045j35r_original.jpg"
Started writing to temp file.
Progress: >0%-----------------------------------------------------------------------------|
<snip>
Progress: ===========================================================================>100%|
Finished writing to temp file.
INFO: Command exit code 0 (raw code = 0)
On Mon, Sep 12, 2016 at 8:24 AM, artisticforge .
<artisticforge at gmail.com> wrote:
> Hello
>
> I have been doing some further investigation into this problem.
> to rule out it being a ffmpeg issue I tried ffmpeg 2.6.7, 2.8.7 & 3.0.2
> under Debian Linux. all the same results.
>
> I then downloaded radio programs from 2016-09-03, which download fine and
> used the old version of the encoder.
>
> the new downloads were all truncated. What surprised me was that these programs
> were encoded with the new version of the encoder.
>
> The audio downloads are all truncated under Debian Linux right now.
> I have not tried get_iplayer-2.96 under windows 10 nor
> get_iplayer-2.96 under Mac OSX
> Mountain Lion nor Snow Leopard.
>
> I will post a verbose log file from one of the latest truncated downloads.
>
>
> On Sun, Sep 11, 2016 at 6:27 PM, artisticforge .
> <artisticforge at gmail.com> wrote:
>> Hello
>>
>> It is not clear as to where I am to send them.
>> to you personally or the list?
>>
>>
>> On Sun, Sep 11, 2016 at 3:32 PM, Jon Davies <jon at hedgerows.org.uk> wrote:
>>> On 11 September 2016 at 14:01, artisticforge . <artisticforge at gmail.com> wrote:
>>>> The downloaded file are within nominal file size, it is after
>>>> conversion that they are truncated.
>>>
>>> Please could you email a verbose log of an example that fails?
>>>
>>> thanks
>>> jon
>>
>>
>>
>> --
>> terry l. ridder ><>
>
>
>
> --
> terry l. ridder ><>
--
terry l. ridder ><>
More information about the get_iplayer
mailing list