Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#3715 closed defect (fixed)

aac -> m4a muxed files do not play on my iPod any more.

Reported by: bat999 Owned by:
Priority: important Component: undetermined
Version: git-master Keywords: regression
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Hi
Until recently (probably approximately one or two weeks) I could mux aac files into m4a with FFmpeg and they would play OK on my (old) 2nd generation iPod Shuffle MB225ZO/A.

With latest ffmpeg-HEAD-8d02a55 the muxed files do not play.
$ ffmpeg -i foo.aac -c copy -bsf:a aac_adtstoasc foo1.m4a

They will play OK if I use a different program to mux them.
VLC media player 2.1.5 Rincewind (revision 791b550). Compiled on Jun 6 2014 16:07:36.
$ cvlc foo.aac --sout="#std{access=file,mux=mp4,dst='foo2.m4a'}" vlc://quit

My system is 32-bit Xubuntu-14.04.

@Xubuntu:~/ffmpeg-HEAD-8d02a55$ ./ffmpeg -i foo.aac -c copy -bsf:a aac_adtstoasc foo1.m4a
ffmpeg version 2.2.git-8d02a55 Copyright (c) 2000-2014 the FFmpeg developers

built on Jun 10 2014 21:14:08 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
configuration:
libavutil 52. 89.100 / 52. 89.100
libavcodec 55. 66.100 / 55. 66.100
libavformat 55. 43.100 / 55. 43.100
libavdevice 55. 13.101 / 55. 13.101
libavfilter 4. 7.100 / 4. 7.100
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100

[aac @ 0xa96e8a0] Estimating duration from bitrate, this may be inaccurate
Input #0, aac, from 'foo.aac':

Duration: 00:00:37.14, bitrate: 105 kb/s

Stream #0:0: Audio: aac, 44100 Hz, stereo, fltp, 105 kb/s

Output #0, ipod, to 'foo1.m4a':

Metadata:

encoder : Lavf55.43.100
Stream #0:0: Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, 105 kb/s

Stream mapping:

Stream #0:0 -> #0:0 (copy)

Press [q] to stop, ? for help
size= 475kB time=00:00:30.00 bitrate= 129.7kbits/s
video:0kB audio:469kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.227843%

I've attached some test files.
foo.aac is the un-muxed aac file.
foo1.m4a is the file muxed using FFmpeg that won't play.
foo2.m4a is the file muxed using VLC that plays OK.

Attachments (5)

foo.aac (478.0 KB) - added by bat999 4 years ago.
foo1.m4a (474.9 KB) - added by bat999 4 years ago.
foo2.m4a (475.8 KB) - added by bat999 4 years ago.
foo3.m4a (474.9 KB) - added by bat999 4 years ago.
foo4.m4a (474.9 KB) - added by bat999 4 years ago.

Change History (12)

Changed 4 years ago by bat999

Changed 4 years ago by bat999

Changed 4 years ago by bat999

comment:1 Changed 4 years ago by bat999

  • Version changed from unspecified to git-master

comment:2 Changed 4 years ago by llogan

Can you perform a git bisect to determine which commit(s) are likely to be responsible for the change? I don't have one of these devices to test.

comment:3 Changed 4 years ago by cehoyos

  • Keywords regression added
  • Priority changed from normal to important

Probably a regression since 862120f9
Please test versions 862120f9 and a87685d8

Changed 4 years ago by bat999

Changed 4 years ago by bat999

comment:4 Changed 4 years ago by bat999

"Probably a regression since 862120f9"

Yes, that's it.

@Xubuntu:~/ffmpeg-a87685d$ ./ffmpeg -i foo.aac -c copy -bsf:a aac_adtstoasc foo3.m4a
ffmpeg version 2.2.git-a87685d Copyright (c) 2000-2014 the FFmpeg developers

built on Jun 11 2014 12:27:32 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
configuration:
libavutil 52. 88.100 / 52. 88.100
libavcodec 55. 66.100 / 55. 66.100
libavformat 55. 42.100 / 55. 42.100
libavdevice 55. 13.101 / 55. 13.101
libavfilter 4. 5.100 / 4. 5.100
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100

[aac @ 0xab338a0] Estimating duration from bitrate, this may be inaccurate
Input #0, aac, from 'foo.aac':

Duration: 00:00:37.14, bitrate: 105 kb/s

Stream #0:0: Audio: aac, 44100 Hz, stereo, fltp, 105 kb/s

Output #0, ipod, to 'foo3.m4a':

Metadata:

encoder : Lavf55.42.100
Stream #0:0: Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, 105 kb/s

Stream mapping:

Stream #0:0 -> #0:0 (copy)

Press [q] to stop, ? for help
size= 475kB time=00:00:30.00 bitrate= 129.7kbits/s
video:0kB audio:469kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.229300%

@Xubuntu:~/ffmpeg-862120f$ ./ffmpeg -i foo.aac -c copy -bsf:a aac_adtstoasc foo4.m4a
ffmpeg version 2.2.git-862120f Copyright (c) 2000-2014 the FFmpeg developers

built on Jun 11 2014 13:01:52 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
configuration:
libavutil 52. 88.100 / 52. 88.100
libavcodec 55. 66.100 / 55. 66.100
libavformat 55. 42.100 / 55. 42.100
libavdevice 55. 13.101 / 55. 13.101
libavfilter 4. 5.100 / 4. 5.100
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100

[aac @ 0xae6b8a0] Estimating duration from bitrate, this may be inaccurate
Input #0, aac, from 'foo.aac':

Duration: 00:00:37.14, bitrate: 105 kb/s

Stream #0:0: Audio: aac, 44100 Hz, stereo, fltp, 105 kb/s

Output #0, ipod, to 'foo4.m4a':

Metadata:

encoder : Lavf55.42.100
Stream #0:0: Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, 105 kb/s

Stream mapping:

Stream #0:0 -> #0:0 (copy)

Press [q] to stop, ? for help
size= 475kB time=00:00:30.00 bitrate= 129.7kbits/s
video:0kB audio:469kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.227843%

Files attached.
foo3.m4a ffmpeg-a87685d plays OK.
foo4.m4a ffmpeg-862120f won't play.

comment:5 Changed 4 years ago by cehoyos

  • Status changed from new to open

comment:6 Changed 4 years ago by michael

  • Resolution set to fixed
  • Status changed from open to closed

comment:7 Changed 4 years ago by bat999

Yes it's fixed.
Thanks.

Note: See TracTickets for help on using tickets.