Ipod playback truncated at around 20-22 mins

scrofula 101 scrofula101 at gmail.com
Sun May 18 02:53:16 PDT 2014


On Sat, May 17, 2014 at 3:30 PM, dinkypumpkin <dinkypumpkin at gmail.com> wrote:
> On 16/05/2014 20:53, scrofula 101 wrote:
>>
>> Having problems with get_iplayer in Linux Mint 16 for a while now. Using
>> current version 2.86. All the radio files I obtain playback fine on the
>> computer but when I transfer them to ipod nano using itunes on Windows
>> 8.1 they cut out at around 20-22 mins and it skips to the next track.
>
>
> My first guess is that avconv might be the culprit.  This problem isn't
> related to rtmpdump, and it's very unlikely to be related to iTunes. avconv
> is what muxes the audio into an MP4 container, so that's where to look
> first.  I don't have a nano to check, but here are a couple of suggestions
> based on past experience:
>
> 1.  Add --ffmpeg-radio-opts="-movflags rtphint" to your get_iplayer command
> on Mint.  That has fixed some timestamp problems on a couple of other
> devices, including iPod Classic 5th gen.  No idea if it will help with nano,
> but it's quick to test.
>
> 2. When you use get_iplayer on Windows and Linux distros not derived from
> Debian, you're using the original ffmpeg.  Debian/Ubuntu/Mint use avconv,
> part of the libav fork that was split off 3 years ago (google if you're
> bored).  A very similar nano problem to yours was fixed by simply upgrading
> ffmpeg from a version before the libav/ffmpeg split  to a more recent
> version.  If there was some issue in the codebase before the split that
> would affect nano playback, it may have persisted in libav and thus would
> affect Mint.
>
> I'm not drunk enough to look into the libav/ffmpeg divergences, but you can
> test by installing the original ffmpeg from this PPA:
>
> https://launchpad.net/~jon-severinsson/+archive/ffmpeg
>
> The version available for Saucy (and thus Mint 16) is 0.10, pretty old by
> ffmpeg standards, but should be good enough.  If it doesn't work with
> default parameters, also try --ffmpeg-radio-opts="-movflags rtphint" as
> described above.
>
> Be aware that this PPA ffmpeg package "upgrades" (replaces) the libav-tools
> package and makes avconv a link to the original ffmpeg.  If you decide later
> to remove the ffmpeg package, after removal you'll need to remove its PPA
> from your configured repositories, run apt-get update, then re-install
> libav-tools and get-iplayer.
>
> If you feel like rolling your own, start here:
>
> https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
>
>
>
> _______________________________________________
> get_iplayer mailing list
> get_iplayer at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/get_iplayer

Thanks for the above. I installed the ffpmpeg from the ppa and did the
ffmpeg-radio-opts="-movflags rtphint" to the command line. I am using
a 6th gen ipod nano. The file I tested now stops at about 7 mins.

I tried using Banshee in Linux Mint to transfer files and it went
through the motions but the files didn't transfer. I have the same
timestamp flitting around issue mentioned above by Jon. I don't use
any tagging tools for itunes.

This is the output in my Linux Terminal for the file I tested

INFO: 1 Matching Programmes
user at laptop ~/iplayer $ ./get_iplayer --type radio --channel "BBC
Radio 4" --mode=flashaacstd --ffmpeg-radio-opts="-movflags rtphint" -g
comp
get_iplayer v2.86, 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:
10741: Can a Computer Write Shakespeare? - -, BBC Radio 4, Factual,Radio

INFO: 1 Matching Programmes
INFO: Checking existence of default version
INFO: flashaacstd1 modes will be tried for version default
INFO: Trying flashaacstd1 mode to record radio: Can a Computer Write
Shakespeare? - Can a Computer Write Shakespeare?
INFO: File name prefix =
Can_a_Computer_Write_Shakespeare_-_Can_a_Computer_Write_Shakespeare_b0435kkd_default
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO:   duration              1800.06
INFO:   moovPosition          36.00
INFO:   audiocodecid          mp4a
INFO:   aacaot                2.00
INFO:   audiosamplerate       44100.00
INFO:   audiochannels         2.00
INFO: tags:
INFO:   ©alb                 Can a Computer Write Shakespeare?
INFO:   aART                  BBC Radio 4 FM
INFO:   ©ART                 BBC Radio 4 FM
INFO:   ©cmt                 Trevor Cox asks whether computers can
ever be truly creative.
INFO:   cprt                  British Broadcasting Corporation
Copyright 2014, all rights reserved.
INFO:   ©gen                 Podcast
INFO:   ©nam                 Can a Computer Write Shakespeare? 15 05 2014
INFO:   ©day                 2014
INFO: trackinfo:
INFO:   length                79382528.00
INFO:   timescale             44100.00
INFO:   language              und
INFO: sampledescription:
INFO:   sampletype            mp4a
29413.537 kB / 1800.03 sec (99.9%)
Download complete
ffmpeg version 0.10.12-7:0.10.12-1~saucy1 Copyright (c) 2000-2014 the
FFmpeg developers
  built on Apr 26 2014 09:54:16 with gcc 4.8.1
  configuration: --arch=amd64 --disable-stripping --enable-pthreads
--enable-runtime-cpudetect --extra-version='7:0.10.12-1~saucy1'
--libdir=/usr/lib/x86_64-linux-gnu --prefix=/usr --enable-bzlib
--enable-libdc1394 --enable-libfreetype --enable-frei0r
--enable-gnutls --enable-libgsm --enable-libmp3lame --enable-librtmp
--enable-libopencv --enable-libopenjpeg --enable-libpulse
--enable-libschroedinger --enable-libspeex --enable-libtheora
--enable-vaapi --enable-vdpau --enable-libvorbis --enable-libvpx
--enable-zlib --enable-gpl --enable-postproc --enable-libcdio
--enable-x11grab --enable-libx264 --shlibdir=/usr/lib/x86_64-linux-gnu
--enable-shared --disable-static
  libavutil      51. 35.100 / 51. 35.100
  libavcodec     53. 61.100 / 53. 61.100
  libavformat    53. 32.100 / 53. 32.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 61.100 /  2. 61.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  6.100 /  0.  6.100
  libpostproc    52.  0.100 / 52.  0.100
[flv @ 0xb8b740] max_analyze_duration 5000000 reached at 5014000
Input #0, flv, from
'/home/user/iplayer/Can_a_Computer_Write_Shakespeare_-_Can_a_Computer_Write_Shakespeare_b0435kkd_default.partial.m4a.flv':
  Metadata:
    moovPosition    : 36
    aacaot          : 2
    audiochannels   : 2
  Duration: 00:30:00.05, start: 0.000000, bitrate: 133 kb/s
    Stream #0:0: Audio: aac, 44100 Hz, stereo, s16
Output #0, ipod, to
'/home/user/iplayer/Can_a_Computer_Write_Shakespeare_-_Can_a_Computer_Write_Shakespeare_b0435kkd_default.partial.m4a':
  Metadata:
    moovPosition    : 36
    aacaot          : 2
    audiochannels   : 2
    encoder         : Lavf53.32.100
    Stream #0:0: Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
size=   31377kB time=00:30:00.05 bitrate= 142.8kbits/s
video:0kB audio:28126kB global headers:0kB muxing overhead 11.560299%
INFO: Recorded /home/user/iplayer/Can_a_Computer_Write_Shakespeare_-_Can_a_Computer_Write_Shakespeare_b0435kkd_default.m4a

INFO: Downloaded Thumbnail to
'/home/user/iplayer/Can_a_Computer_Write_Shakespeare_-_Can_a_Computer_Write_Shakespeare_b0435kkd_default.jpg'
INFO: MP4 tagging M4A file

 Started writing to temp file.
 Progress: ===========================================================================>100%|
 Finished writing to temp file.



More information about the get_iplayer mailing list