[issue1850] AC3 transcode (eg to WAV) - bad audio

2010-03-28 Thread Justin Ruggles
Justin Ruggles justin.rugg...@gmail.com added the comment: So right now the application can know that the number of channels changes because avctx-channels changes. But I guess it wouldn't hurt to log a warning in the decoder when the number of channels changes and the decoder goes from

[issue1850] AC3 transcode (eg to WAV) - bad audio

2010-03-27 Thread Antr
New submission from Antr ant20...@gmail.com: ffmpeg.exe -i test.ac3 -acodec pcm_s16le -f wav -ac 6 test.wav Tested in VLC File 'test.ac3' not attached - you can download it from https://roundup.ffmpeg.org/file854. -- files: test.ac3 messages: 10003 priority: normal status: new

[issue1850] AC3 transcode (eg to WAV) - bad audio

2010-03-27 Thread Justin Ruggles
Justin Ruggles justin.rugg...@gmail.com added the comment: So what happens is that when the stream changes to stereo, the decoder will start outputting stereo. The audio seems correct though. But since the output format is wav, it expects everything to be the same channel layout. So when