Skip to main content

Topic: Problems with encoding 6.1 flac to ogg (Read 2482 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • Yersh
  • [*]
Problems with encoding 6.1 flac to ogg
Hi. I got a problem. When I try to encode a 6.1 audio file form FLAC to Ogg Vorbis, I get wrong channels order. While encoding from 6.1 wav or DTS works ok.
I'm using the latest oggenc2.exe 2.87 (06.11.2010). For the testing purposes I took two 6.1 files from msoptyspl's post (they both play fine on my PC) and encoded them.
The results are here.  http://www.sendspace.com/file/g2qqwg
right and center switched in ogg file encoded from flac.
Accidentally I found the same problem encoding from 4.1 flac to vorbis.
How can I fix it?

  • Yersh
  • [*]
Problems with encoding 6.1 flac to ogg
Reply #1
Solved. Since I tested allmost all encoding software and nothing can put channels in the right order automatically, you have to open FLAC 6.1 in any sound editor (I tried sf 10).
And change channel order  from FL, FR, FC, LF, BC, BL  BR to FL, FR, FC, LF, BC, BL  BR, than save it as wave. After this it can be encoded perfectly well.

  • msoltyspl
  • [*]
Problems with encoding 6.1 flac to ogg
Reply #2
Solved. Since I tested allmost all encoding software and nothing can put channels in the right order automatically, you have to open FLAC 6.1 in any sound editor (I tried sf 10).
And change channel order  from FL, FR, FC, LF, BC, BL  BR to FL, FR, FC, LF, BC, BL  BR, than save it as wave. After this it can be encoded perfectly well.


As long as the wav file has proper extensible header, it should encode fine (now). Latest john33's oggenc2 (http://www.rarewares.org/ogg-oggenc.php), official oggenc (from svn trunk) as well as ffmpeg set channels properly (the last one has some minor weird other problems though).