Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > General > Audio encoding

Reply
 
Thread Tools Search this Thread Display Modes
Old 21st June 2018, 11:25   #1  |  Link
jz1276
Registered User
 
Join Date: Mar 2011
Posts: 17
Anyone familiar with MOGG's? What's the best output file?

I've been using MOGG files (multiple OGG files) to make my own mixes in 5.1 with Audacity. I play these back using Kodi which is connected to a Pioneer receiver. At first, I used OGG, but the channels were all off (front right in rear left, LFE in the rear right, etc.) so I switched to FLAC which playback as expected. I know going from lossy to lossless will result in a bigger file than the original, however, the resulting FLAC files are around 4x bigger than the original MOGG's. I was thinking about switching to AC3 but am concerned about losing too much quality. Any input is appreciated!
jz1276 is offline   Reply With Quote
Old 21st June 2018, 23:45   #2  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,890
If you have a multichannel FLAC, than play with correct channels as you expect, you can recode it to any lossy format at your choice ogg, aac, opus, ac3, ...

If you select AC3 Kodi can send by SPDIF or HDMI the audio to your Pioneer.
With other format Kodi must decode your lossy format to PCM 5.1 and send it, by HDMI only, to your Pioneer.
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 22nd June 2018, 03:18   #3  |  Link
jz1276
Registered User
 
Join Date: Mar 2011
Posts: 17
Quote:
Originally Posted by tebasuna51 View Post
If you have a multichannel FLAC, than play with correct channels as you expect, you can recode it to any lossy format at your choice ogg, aac, opus, ac3, ...

If you select AC3 Kodi can send by SPDIF or HDMI the audio to your Pioneer.
With other format Kodi must decode your lossy format to PCM 5.1 and send it, by HDMI only, to your Pioneer.
Thanks, but I already know this. What I'm asking is which format is best to use (other than OGG for the reasons stated in my first post).
jz1276 is offline   Reply With Quote
Old 22nd June 2018, 07:40   #4  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,890
The best, to avoid compatibility issues with players, is the AC3.

But by quality/size AAC, OPUS and OGG are better. We can't expect channels change if you use a apropriate encoder (NeroAacEnc.exe, qaac.exe, opusenc.exe or oggenc2.exe).
There are GUI's (BatchEncoder, MeGUI, BeHappy, UsEac3to, ...) if you don't know how use command line encoders.

Seems the problem is because Audacity export the channels to oggenc2 in bad order, you can still use Audacity if reorder the channels like the image:
Attached Images
 
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 22nd June 2018, 08:07   #5  |  Link
jz1276
Registered User
 
Join Date: Mar 2011
Posts: 17
Quote:
Originally Posted by tebasuna51 View Post
The best, to avoid compatibility issues with players, is the AC3.

But by quality/size AAC, OPUS and OGG are better. We can't expect channels change if you use a apropriate encoder (NeroAacEnc.exe, qaac.exe, opusenc.exe or oggenc2.exe).
There are GUI's (BatchEncoder, MeGUI, BeHappy, UsEac3to, ...) if you don't know how use command line encoders.

Seems the problem is because Audacity export the channels to oggenc2 in bad order, you can still use Audacity if reorder the channels like the image:
As far as compatibility issues, playback with all formats except OGG is correct (I've never tried OPUS). I do prefer OGG because the originals are (M)OGG and the output file size is appropriate. FLAC however, is just way too big. I'll take your advice & encode the FLAC files to OGG & reorder the channels in Audacity. Thanks!
jz1276 is offline   Reply With Quote
Old 22nd June 2018, 12:39   #6  |  Link
Midzuki
Unavailable
 
Midzuki's Avatar
 
Join Date: Mar 2009
Location: offline
Posts: 1,480
@jz1276: when you said "ogg" you actually meant VORBIS. Ogg is a container. An evil and stupid container BTW. Opus audio is stored in the ogg container as well... the file extension ".opus" is in fact an intentional misnomer — in the same way ".wmv" means *ASF*.

Last edited by Midzuki; 22nd June 2018 at 12:43. Reason: clarity
Midzuki is offline   Reply With Quote
Old 24th June 2018, 04:00   #7  |  Link
jz1276
Registered User
 
Join Date: Mar 2011
Posts: 17
Quote:
Originally Posted by tebasuna51 View Post
The best, to avoid compatibility issues with players, is the AC3.

But by quality/size AAC, OPUS and OGG are better. We can't expect channels change if you use a apropriate encoder (NeroAacEnc.exe, qaac.exe, opusenc.exe or oggenc2.exe).
There are GUI's (BatchEncoder, MeGUI, BeHappy, UsEac3to, ...) if you don't know how use command line encoders.

Seems the problem is because Audacity export the channels to oggenc2 in bad order, you can still use Audacity if reorder the channels like the image:
So I tested out a OGG Vorbis file with the channel mapping you provided & it plays back correctly. However, I have at least 100 files I have to convert & when exporting the audio with Audacity I have to remap the channels every time. Is there a way to save the channel mapping specifically for OGG Vorbis??
jz1276 is offline   Reply With Quote
Old 24th June 2018, 10:34   #8  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,890
Maybe if you explain what are your sources (format, size, channels,...), and the process than you do in Audacity (only merge or ...), I can show you a way to do the job more easy.

BTW you can use oggenc2.exe directly from the Audacity Export dialog to avoid the Audacity buggy remap.
See the image.

You need oggenc2.exe at some point in your PC.

1) You must select the Name like X.ogg
2) and Type: (extern program)
3) Explore to found your oggenc2.exe in your PC.
4) Complete the needed command line, where:
-q 3 (is the desired quality from 10 high to 0 low)
--ignorelength (only needed for big files but can be used always)
-o "%f" (replaced be the Name X.ogg selected like output file)
- (take like encoder input the Audacity output, now without buggy remap)

That command line is remembered by Audacity and can be selected with the down arrow in Command for further exports.

5) Save and accept the remap dialog without changes.
Attached Images
 
__________________
BeHappy, AviSynth audio transcoder.

Last edited by tebasuna51; 24th June 2018 at 10:44.
tebasuna51 is offline   Reply With Quote
Old 26th June 2018, 06:34   #9  |  Link
jz1276
Registered User
 
Join Date: Mar 2011
Posts: 17
Quote:
Originally Posted by tebasuna51 View Post
Maybe if you explain what are your sources (format, size, channels,...), and the process than you do in Audacity (only merge or ...), I can show you a way to do the job more easy.

BTW you can use oggenc2.exe directly from the Audacity Export dialog to avoid the Audacity buggy remap.
See the image.

You need oggenc2.exe at some point in your PC.

1) You must select the Name like X.ogg
2) and Type: (extern program)
3) Explore to found your oggenc2.exe in your PC.
4) Complete the needed command line, where:
-q 3 (is the desired quality from 10 high to 0 low)
--ignorelength (only needed for big files but can be used always)
-o "%f" (replaced be the Name X.ogg selected like output file)
- (take like encoder input the Audacity output, now without buggy remap)

That command line is remembered by Audacity and can be selected with the down arrow in Command for further exports.

5) Save and accept the remap dialog without changes.
Thanks for this. I will give this a try when I have time. My sources are MOGG files. Each MOGG file contains multiple OGG files which usually have a separate OGG for vocal track, guitar, drums, bass, etc.. I import the MOGG file into audacity and create a 5.1 mix.
jz1276 is offline   Reply With Quote
Old 26th June 2018, 13:13   #10  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,890
Well, if you need Audacity to do the mix at your taste we can't do anymore.
The standard channel order in 5.1 is: Front-Left, Front-Right, Front-Center, Low Frequency Effects, Surround-Left, Surround-Right.
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 28th June 2018, 04:04   #11  |  Link
jz1276
Registered User
 
Join Date: Mar 2011
Posts: 17
Quote:
Originally Posted by tebasuna51 View Post
Well, if you need Audacity to do the mix at your taste we can't do anymore.
The standard channel order in 5.1 is: Front-Left, Front-Right, Front-Center, Low Frequency Effects, Surround-Left, Surround-Right.
Having a little trouble. followed your instructions but cannot get the channel mapping to save. I still have to remap the channels when importing a new file.

Last edited by jz1276; 28th June 2018 at 05:06.
jz1276 is offline   Reply With Quote
Old 28th June 2018, 11:50   #12  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,890
Quote:
Originally Posted by jz1276 View Post
I still have to remap the channels when importing a new file.
Please upload a little sample of new file than you import.
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:07.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.