On 22/12/15 23:13, Andy Furniss wrote: [snip] Press [q] to stop, [?] for help >> [ipod @ 0xa75100] Malformed AAC bitstream detected: use the audio >> bitstream filter 'aac_adtstoasc' to fix it ('-bsf:a aac_adtstoasc' >> option with ffmpeg) > > The errors may mess things up, but as the input is identified as aac, > try -c copy with what it says to do above ... > > ffmpeg -i input-file -c copy -bsf:a aac_adtstoasc outfile.m4
Hi Andy, Many thanks. I tried that and still no joy. Here is the result:- alastair@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@ibmx3400: I am wondering whether Easytag messed up the file treating it as an .mp3 when actually it was an .m4a. Tagging was done a while ago and Easytag has moved on but in 2012 as I recall it was not comfortable with .m4a and .mp4 files. I shall keep on trying and please let me know if you have any ideas. Thanks again, Budge _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user