New submission from Igor Katson <[EMAIL PROTECTED]>:
FFmpeg version SVN-r14827, Copyright (c) 2000-2008 Fabrice Bellard, et al.
configuration: --prefix=/usr --enable-libx264 --enable-gpl --enable-libxvid
--enable-liba52 --enable-libmp3lame --enable-libvorbis --enable-libfaac
--enable-libfaad --enable-liba52 --enable-pthreads --enable-shared
libavutil 49. 9. 0 / 49. 9. 0
libavcodec 51.64. 0 / 51.64. 0
libavformat 52.20. 0 / 52.20. 0
libavdevice 52. 1. 0 / 52. 1. 0
built on Aug 18 2008 23:23:08, gcc: 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
After overall day-long experiments, i figured out that this is an FFmpeg
bug:
When giving FFMpeg a 5.1-channel DTS, or WAV, or AC3, or AAC, it swaps
channels somehow incorrectly, i.e. in the resulting file i start to hear the
voice only from the front right speaker, not both front speakers. If i feed
FFmpeg with a 5.1 OGG file, it is ok.
Originally, i had a 5.1 DTS track, decoded it with mencoder to WAV (i couldn't
do it with FFMpeg cause it has this bug), and
then with "aften" "neroaacenc" and "oggenc" to other formats. All the
resulting files are playing well in MPlayer and VLC (except neroaacenc generated
AAC + VLC,
it also swaps the channels). As soon as i try to make something with any
of these files with FFmpeg, it messes the channels somehow, and neither of the
resulting files, except the one that came from the OGG one, are playing with the
correct channel positions in VLC or MPlayer.
There are no errors, the output is absolutely normal, i.e.:
Stream #0.0: Audio: dca, 48000 Hz, 5:1, s16, 768 kb/s
File '/dev/null' already exists. Overwrite ? [y/N] y
Output #0, wav, to '/dev/null':
Stream #0.0: Audio: pcm_s16le, 48000 Hz, 5:1, s16, 4608 kb/s
----------
messages: 2815
nosy: descentspb
priority: normal
status: new
substatus: new
title: Incorrect channel routing when decoding multichannel audio
type: patch
______________________________________________________
FFmpeg issue tracker <[EMAIL PROTECTED]>
<https://roundup.mplayerhq.hu/roundup/ffmpeg/issue589>
______________________________________________________