OT: Help with Broken Downloads Please

Budge ajebay at errichel.co.uk
Tue Dec 22 14:53:55 PST 2015


On 22/12/15 18:53, batguano999 wrote:
>> This tells me to use aac_adtstoasc to fix it but as usual cannot quite 
>> get the command. What is the -bsf:a aac_adtstoasc command...
>>
> That's OK (bsf=bit stream filter).
> Add "-bsf:a aac_adtstoasc" to your command and try again like this...
>
> ffmpeg -i foo.mp3 -c copy -bsf:a aac_adtstoasc foo.m4a
Still no joy.  This is what I get now:-

alastair at ibmx3400:~/GiP_Recordings> ffmpeg -i
Composer_of_the_Week_-_Carl_Philipp_Emmanuel_Bach_1714-1788_1._The_Belligerent_Flautist.mp3
-c copy -bsf:a aac_adtstoasc
Composer_of_the_Week_-_Carl_Philipp_Emmanuel_Bach_1714-1788_1._The_Belligerent_Flautist.m4a
ffmpeg version 2.8.3 Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.8 (SUSE Linux)
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64
--incdir=/usr/include/ffmpeg --extra-cflags='-fmessage-length=0
-grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector
-funwind-tables -fasynchronous-unwind-tables -g'
--optflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall
-D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables
-fasynchronous-unwind-tables -g' --disable-htmlpages --enable-pic
--disable-stripping --enable-shared --disable-static
--enable-runtime-cpudetect --enable-gpl --disable-openssl
--enable-avresample --enable-libcdio --enable-gnutls --enable-ladspa
--enable-libass --enable-libbluray --enable-libcelt --enable-libcdio
--enable-libdc1394 --enable-libfreetype --enable-libgsm
--enable-libopenjpeg --enable-libopus --enable-libpulse
--enable-libschroedinger --enable-libspeex --enable-libtheora
--enable-libvorbis --enable-libvpx --enable-libwebp --enable-pic
--enable-pthreads --enable-vaapi --enable-vdpau --disable-decoder=dca
--enable-libdcadec --enable-libmp3lame --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-version3 --enable-libtwolame
--enable-libvo-aacenc --enable-libx264 --enable-libx265 --enable-libxvid
--enable-x11grab
  libavutil      54. 31.100 / 54. 31.100
  libavcodec     56. 60.100 / 56. 60.100
  libavformat    56. 40.101 / 56. 40.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 40.101 /  5. 40.101
  libavresample   2.  1.  0 /  2.  1.  0
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
  libpostproc    53.  3.100 / 53.  3.100
[aac @ 0xfe1e80] Error decoding AAC frame header.
[aac @ 0xfe0900] Estimating duration from bitrate, this may be inaccurate
Input #0, aac, from
'Composer_of_the_Week_-_Carl_Philipp_Emmanuel_Bach_1714-1788_1._The_Belligerent_Flautist.mp3':
  Metadata:
    encoder         : Lavf53.24.2
    artist          : BBC Radio 4
    album           : Composer_of_the_Week - Carl_Ph
    track           : 1
    comment         : Tagged with EasyTAG
    title           : of the Week - Carl Philipp Emm
    date            : 2011
    genre           : Other
  Duration: 01:11:26.78, bitrate: 190 kb/s
    Stream #0:0: Audio: aac (LC), 44100 Hz, stereo, fltp, 190 kb/s
File
'Composer_of_the_Week_-_Carl_Philipp_Emmanuel_Bach_1714-1788_1._The_Belligerent_Flautist.m4a'
already exists. Overwrite ? [y/N] y
[ipod @ 0xff4200] Codec for stream 0 does not use global headers but
container format requires global headers
Output #0, ipod, to
'Composer_of_the_Week_-_Carl_Philipp_Emmanuel_Bach_1714-1788_1._The_Belligerent_Flautist.m4a':
  Metadata:
    genre           : Other
    artist          : BBC Radio 4
    album           : Composer_of_the_Week - Carl_Ph
    track           : 1
    comment         : Tagged with EasyTAG
    title           : of the Week - Carl Philipp Emm
    date            : 2011
    encoder         : Lavf56.40.101
    Stream #0:0: Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, 190 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
[NULL @ 0xff4800] Error parsing ADTS frame header!
Failed to open bitstream filter aac_adtstoasc for stream 0 with codec
copy: Invalid data found when processing input
[ipod @ 0xff4200] Malformed AAC bitstream detected: use the audio
bitstream filter 'aac_adtstoasc' to fix it ('-bsf:a aac_adtstoasc'
option with ffmpeg)
av_interleaved_write_frame(): Operation not permitted
size=       1kB time=00:00:00.02 bitrate= 182.3kbits/s   
video:0kB audio:1kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: unknown
Conversion failed!
alastair at ibmx3400:~/GiP_Recordings> ffmpeg -i
Composer_of_the_Week_-_Carl_Philipp_Emmanuel_Bach_1714-1788_1._The_Belligerent_Flautist.mp3
-c copy -bsf:a aac_adtstoasc
Composer_of_the_Week_-_Carl_Philipp_Emmanuel_Bach_1714-1788_1._The_Belligerent_Flautist.m4a




More information about the get_iplayer mailing list