Public bug reported:

Binary package hint: ffmpeg

Certain .wav files crash ffmpeg when encoding to ALAC, at least with default 
options.  The last things output to the tty are:
. . .
Stream mapping:
  Stream #0.0 -> #0.0
[alac @ 0x1253c50]error encoding frame

The command was:
  $ ffmpeg -i test_truncated.wav -acodec alac -track 1 test.m4a

The input .wav file was produced by decoding a .flac file originally
created using rubyripper (rr_gui), which runs cdparanoia several times
on each track and combines the outputs using a voting technique to
correct random errors.  So there is a chance that this problem is really
a bug in rubyrip where it generated an invalid original .wav file, or
that flac(1) introduced corruptions when encoding it to flac (but note
that flac did not crash when encoding the origijnal).

Per the guildelines shown on the bug-report form, I will attach a 10MB 
truncated version of the .wav file
which makes ffmpeg croak (the original is 162MB).

Here's a dump of the first part of the input in case the header has anything 
interesting:
$ hexdump -C -n 128 -s 0 test.wav
00000000  52 49 46 46 64 60 10 0a  57 41 56 45 66 6d 74 20  |RIFFd`..WAVEfmt |
00000010  10 00 00 00 01 00 02 00  44 ac 00 00 10 b1 02 00  |........D.......|
00000020  04 00 10 00 64 61 74 61  40 60 10 0a f6 a9 86 fe  |....d...@`......|
00000030  e2 c0 49 90 36 ec 16 cd  ce d5 94 5f 2f 78 1c 22  |..I.6......_/x."|
00000040  89 d9 a6 da fa db 03 1b  41 cb 70 57 64 3e ab 50  |........A.pWd>.P|
00000050  7f 7c 20 21 d8 18 5a 8a  bb 27 33 5a 95 fb 2f 03  |.| !..Z..'3Z../.|
00000060  5c 01 f9 c0 42 d0 31 9c  14 69 cf 6e d4 2c 5f 5d  |\...B.1..i.n.,_]|
00000070  f8 39 82 92 e1 ad 88 7d  a6 a1 ba f8 73 02 a5 c1  |.9.....}....s...|

ProblemType: Bug
Architecture: amd64
Date: Fri Jan  1 22:28:49 2010
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: fglrx
Package: ffmpeg 4:0.5+svn20090706-2ubuntu2
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-16.53-generic
SourcePackage: ffmpeg
Uname: Linux 2.6.31-16-generic x86_64

** Affects: ffmpeg (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug

-- 
ffmpeg -acodec alac chokes on some .wav files
https://bugs.launchpad.net/bugs/502264
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to